Backup booting
Karl Larsen
k5di at zianet.com
Sat Jun 7 13:08:16 UTC 2008
I have a rsync backup on my computer at /dev/hda7. The backup came
from /dev/sda2. The backup on hda7 was taken from sda2 to a USB hard
drive. That was then sent to hda7.
Both /etc/fstab and /boot/grub/menu.lst were changed to reflect the
new location on hda7. Copied the menu.lst from the new to the current
menu.lst so it can be tried easy.
When I boot the backup it goes quite a ways but errors out looking
for some std USB things. That seems to be wrong. Here are the parts of
both menu.lst and fstab for review. I am certain menu.lst is working.
menu.lst:
# backed up version on /dev/hda7
title Ubuntu 7.10, kernel 2.6.22-14-generic backup
root (hd0,6)
kernel /boot/vmlinuz-2.6.22-14-generic
root=UUID=16ccb569-10ba-43c2-856e-f2cce1307a29 ro
initrd /boot/initrd.img-2.6.22-14-generic
quiet
Now fstab is from the backed up system and is:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda7
UUID=16ccb569-10ba-43c2-856e-f2cce1307a29 / ext3
defaults,errors=remount-ro 0 1
# /dev/hda3
# UUID=af67fcdb-daeb-4a06-8273-fce1ef201ad1 /media/hda3 ext3
defaults 0 2
# /dev/hda5
# UUID=58f8383b-eae4-410a-9f14-9db64006e9ef /media/hda5 ext3
defaults 0 2
# /dev/hda6
# UUID=3c7b4283-88ff-42e6-85cb-67c95fc9bf54 /media/hda6 ext3
defaults 0 2
# /dev/hda7
# UUID=16ccb569-10ba-43c2-856e-f2cce1307a29 /media/hda7 ext3
defaults 0 2
# /dev/hda8
# UUID=a9c1cb61-ddfd-44f6-88b0-6dc976daf9ca /media/hda8 ext3
defaults 0 2
# /dev/hda9
# UUID=dbb7ee8d-ca89-44f7-a169-8f88af9bb925 /media/hda9 ext3
defaults 0 2
# /dev/sda1
# UUID=984714d3-bcfd-434f-916c-d2b7386b4482 /media/sda1 ext3
defaults 0 2
# /dev/hda1
UUID=7915f630-518c-425b-9fea-0ef07e50d0f9 none swap
sw 0 0
# /dev/hda2
UUID=4d7c4159-d00c-4069-bfb6-f9a6e153c723 none swap
sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/hda9 /home ext3 defaults 1 2
As you can see I have blocked most of the mounts to /media just to make
it simpler.
Does anyone see how init is hitting a error it can't go beyond?
What was the hard part, getting grub to start the right kernel is
working fine. There is something other wrong.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users
mailing list