Nxl67170: Difference between revisions

From miki
Jump to navigation Jump to search
(Template)
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 8: Line 8:
== System ==
== System ==
=== Hardware ===
=== Hardware ===
* Laptop '''DELL Latitude E5430'''
To be completed


=== Log ===
=== Log ===
To be completed
To be completed

* Original size: C: (AWS_System) was '''36.4GB''' (39,104,897,024 bytes).

* Copy HDD to SSD:
<source lang=bash>
# Booting on Live Ubuntu

# Clone sda3, sda5 and sda7. Use rsync.
for D in sda3 sda5 sda7; do
sudo mkdir -p /mnt/any
sudo mount /dev/$D /mnt/any
ssh ubuntu@remote sudo mount /dev/$D /mnt/any
sudo rsync -aHAXS --delete --rsync-path "sudo rsync" --numeric-ids -h -v --exclude='lost+found' ubuntu@remote:/remote/path /local/path
sudo umount /mnt/any
ssh ubuntu@remote umount /mnt/any
done

# For sda1, sda2 (ntfs), use ntfsclone.
# sda1: we shrink it first using gparted
gparted # on original
ssh user@server sudo ntfsclone --save-image --force -o - /dev/sda1 | sudo ntfsclone --restore-image --overwrite /dev/sda1 -
ssh user@server sudo ntfsclone --save-image --force -o - /dev/sda2 | sudo ntfsclone --restore-image --overwrite /dev/sda2 -
sudo ntfsresize /dev/sda1

# Need to update grub
sudo mount /dev/sda3 /boot # We must update grub config on /dev/sda3
sudo grub-install /dev/sda
sudo update-grub2 # grub.cfg contains old UUID that must be udpated
</source>
* Configure all device harddrive as '''solid-state drive'' in ''VirtualBox''.


=== Partition ===
=== Partition ===
Line 24: Line 54:
|<tt>/dev/sda3/</tt>||UBUNTU||align="right"|xx.xxGiB||reiserfs||<tt>/</tt>||?||?||<tt>drwxr.xr.x</tt>
|<tt>/dev/sda3/</tt>||UBUNTU||align="right"|xx.xxGiB||reiserfs||<tt>/</tt>||?||?||<tt>drwxr.xr.x</tt>
|}
|}

== 1st Install ==
To be completed

Latest revision as of 13:32, 7 June 2015

Installed Operating System

Current OS Log

System

Hardware

  • Laptop DELL Latitude E5430

Log

To be completed

  • Original size: C: (AWS_System) was 36.4GB (39,104,897,024 bytes).
  • Copy HDD to SSD:
# Booting on Live Ubuntu

# Clone sda3, sda5 and sda7. Use rsync.
for D in sda3 sda5 sda7; do 
  sudo mkdir -p /mnt/any
  sudo mount /dev/$D /mnt/any
  ssh ubuntu@remote sudo mount /dev/$D /mnt/any
  sudo rsync -aHAXS --delete --rsync-path "sudo rsync" --numeric-ids -h -v --exclude='lost+found' ubuntu@remote:/remote/path  /local/path
  sudo umount /mnt/any
  ssh ubuntu@remote umount /mnt/any
done

# For sda1, sda2 (ntfs), use ntfsclone.
# sda1: we shrink it first using gparted
gparted    # on original
ssh user@server sudo ntfsclone --save-image --force -o - /dev/sda1 | sudo ntfsclone --restore-image --overwrite /dev/sda1 -
ssh user@server sudo ntfsclone --save-image --force -o - /dev/sda2 | sudo ntfsclone --restore-image --overwrite /dev/sda2 -
sudo ntfsresize /dev/sda1

# Need to update grub
sudo mount /dev/sda3 /boot         # We must update grub config on /dev/sda3
sudo grub-install /dev/sda
sudo update-grub2                  # grub.cfg contains old UUID that must be udpated
  • Configure all device harddrive as 'solid-state drive in VirtualBox.

Partition

Device Label Size Type Mount uid gid permissions
/dev/sda1/ OS xx.xxGiB ntfs /windows/c ? ? drwxrwx---
/dev/sda2/ SWAP xx.xxGiB linux-swap swap ? ?
/dev/sda3/ UBUNTU xx.xxGiB reiserfs / ? ? drwxr.xr.x