Vermoedelijk word de hd nummer door elkaar gegooid, deze moet je dus handmatig wijzigen.
Onder is de oude(8.04) en de nieuwe(8.10 en hoger) menu.lst, hier bevind zich de hd0,0 of de UUID nummer.
Vermoedelijk moet jij de UUID nummer gebruiken, deze moet je dus wijzigen naar de goede harde schijf.
Dus de menu.lst moet je wijzigen, indien je van de bootcd opstart wel de goede pakken.
Met "sudo gedit" in de terminal kun je alles wijzigen.
voorbeeld: ubuntu 8.10 en hoger.
in fstab:
# /dev/sda2
UUID=426511g7-4239-4418-8109-57c439ec65cf / ext2 relatime,errors=remount-ro 0 1
in menu.lst:
title Ubuntu 8.10, kernel 2.6.27-9-generic
uuid 426511g7-4239-4418-8109-57c439ec65cfkernel /boot/vmlinuz-2.6.27-9-generic
root=UUID=426511g7-4239-4418-8109-57c439ec65cf ro quiet splash
initrd /boot/initrd.img-2.6.27-9-generic
quiet
Dus de hd nr is eruit gehaald, nu word de uuid nr gebruikt en uuid is erbij gekomen.
"sudo fdisk -l" hier zou je de uuid kunnen zien.(dit weet ik nog niet zeker).
ls -l /dev/disk/by-uuid
Dit is de oude 8.04.
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,6)kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=6fb895fa-729f-407d-8e9-92451ce5a454 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
http://manual.sidux.com/nl/part-uuid-nl.htm let op dit is geen ubuntu.
UUID hoe lees je deze uit:
sudo blkid
Hier zie je de UUID nummer van je hd.
Deze kun je dan vergelijken met fstab.
2e manier:
Hi! If you're new here, you may want to subscribe to the Unix Tutorial RSS feed to get regular tips & tricks for all flavors of Unix. You can follow me on Twitter, too! Thanks for visiting!
Having used this tip a few times myself, I'd like to share it with you: a very simple way to list all the drives in your Ubuntu system using their UUID's.
Disks by uuid in Ubuntu
Apart from blkid command, there's another relatively easy way for you to confirm what each UUID on your system corresponds to. If you look in the /dev/disk/by-uuid directory, it contains symlinks which look like UUIDs and point to the real devices for each of your disks:
ubuntu# ls -al /dev/disk/by-uuid/*
lrwxrwxrwx 1 root root 10 Jan 12 04:25 /dev/disk/by-uuid/2596b3b4-9e54-47e2-bb45-89b3d4a0e7e3 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 12 04:25 /dev/disk/by-uuid/d2ff8a06-74b7-4877-9d37-1873414e25b3 -> ../../sda1
Confirm disk device using its UUID
Knowing the /dev/disk/by-uuid directory, you can easily use this to look disks up by their UUID with the readlink command:
ubuntu# readlink /dev/disk/by-uuid/d2ff8a06-74b7-4877-9d37-1873414e25b3
../../sda1