Showing posts with label grub2. Show all posts
Showing posts with label grub2. Show all posts

Wednesday, May 26, 2010

New Primary HDD: A full Ubuntu backup & restoration experience (Draft)

Steps:
  1. Use "SystemRescueCD"
  2. "fsarchiver savefs"
  3. "fsarchiver restfs"
  4. mount /dev/sda1 /mnt
    mount /dev/sda2 /mnt/boot  #skip this if don't have a separate /boot partition
    grub2-install --root-directory=/mnt/ /dev/sda
Operation Stats:
  • Original Disk Space used on the HDD to backup: 45 GB
  • Size of the backup images using "fsarchiver" default settings: 30 GB
  • Time taken to restore the whole HDD: around 45 min.
  • Bootloader restoration (grub2): 1 min.
Impression: Very fast, very little disk space used, very happy :)

Sunday, March 7, 2010

How to edit the Grub2 bootloader entries (used for some new linux distros, e.g. Ubuntu Karmic)

I used to edit the "/boot/grub/menu.lst", that's not the case in grub2:
  1. Firstly, you should edit the "/etc/default/grub"
  2. Next, run the "update-grub" command, that's it :)