[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub2 in falsche Partition/hd installiert, wie manuell starten?



Am 01.09.2010 02:40, schrieb Sascha Reißner:
...
Nachdem du nur eine Partition hast, auf der / samt /boot liegt, sollten
bei dir alle 'set root=' auf die selbe Partition zeigen.
Wenn es nicht klappt, gib uns mal die Infos von:

ls -l /dev/disk/by-uuid/
grep ' / ' /etc/fstab

Daraus sollten sich die benötigten Infos ablesen lassen.

nee, ich krieg's einfach nicht hin. Aus meiner Sicht sollte root auf (hd0,1) bzw. hd0,msdos1 verweisen - aber auch wenn ich das händisch im grub-Menü editiere klappt es nicht, irgendwas läuft da falsch.

Hier jedenfalls die gewünschten Infos:

ls -l /dev/disk/by-uuid/
insgesamt 0
lrwxrwxrwx 1 root root 10 31. Aug 16:13 09d0c580-cdbc-43d3-b40b-ee09028ac7d2 -> ../../sda7 lrwxrwxrwx 1 root root 10 31. Aug 16:13 10ace5ab-34e0-4429-8feb-a46b3bb8c36a -> ../../sda6 lrwxrwxrwx 1 root root 10 31. Aug 16:12 2531d615-254e-49ea-a3c6-ed3e3383fb2b -> ../../hda2 lrwxrwxrwx 1 root root 10 31. Aug 16:13 2c9efd7f-fa1f-44f7-b761-dd729815f98c -> ../../sda5 lrwxrwxrwx 1 root root 10 31. Aug 16:13 36cc893a-d3e0-4ce0-b488-25f8cad65773 -> ../../dm-1 lrwxrwxrwx 1 root root 11 31. Aug 16:13 3d843fb1-24c8-48af-8338-c97869b4f043 -> ../../sda13 lrwxrwxrwx 1 root root 10 31. Aug 16:13 4976c596-60b7-492e-b160-18cdbd02cd2f -> ../../dm-2 lrwxrwxrwx 1 root root 10 31. Aug 16:12 4e46abf4-dfe2-4c0b-8404-7c893c35b2cc -> ../../sda8 lrwxrwxrwx 1 root root 11 31. Aug 16:12 5e4a062a-32e7-4d0c-8931-2d51cbf8378a -> ../../sda10 lrwxrwxrwx 1 root root 10 31. Aug 16:13 7c971090-f2fb-4064-ba6d-8fe9eb0f50f5 -> ../../dm-4 lrwxrwxrwx 1 root root 10 31. Aug 16:13 7e051610-9f14-46c4-b080-9fa70709b2b9 -> ../../dm-0 lrwxrwxrwx 1 root root 10 31. Aug 16:12 98231aa4-5ada-42f2-8332-2ece7f1b1651 -> ../../sda4 lrwxrwxrwx 1 root root 10 31. Aug 16:13 a2462e3d-94c7-40e5-9247-2f8757e2d67a -> ../../hda1 lrwxrwxrwx 1 root root 10 31. Aug 16:13 a4541b05-e2c0-49dd-a6e9-e537bcfdd7e8 -> ../../sda2 lrwxrwxrwx 1 root root 10 31. Aug 16:12 b7c8adf9-9e3f-49ff-b840-801f3ea3b63d -> ../../sda1 lrwxrwxrwx 1 root root 10 31. Aug 16:13 bbbcbcd7-1e80-4a11-9e39-412b820a4c80 -> ../../dm-6 lrwxrwxrwx 1 root root 10 31. Aug 16:13 cfc554f1-0459-470c-89d5-5015720821d7 -> ../../dm-5 lrwxrwxrwx 1 root root 10 31. Aug 16:13 d2e0c746-c431-4da7-9a81-85368dc80c5f -> ../../sda9 lrwxrwxrwx 1 root root 11 31. Aug 16:12 da45436b-3fac-45de-b53a-ff6f8824df3e -> ../../sda12 lrwxrwxrwx 1 root root 11 31. Aug 16:13 e1a82f94-fcaf-4c59-90af-cdfd359577ed -> ../../sda11 lrwxrwxrwx 1 root root 10 31. Aug 16:13 f3a26c38-bc4d-4a39-a3c2-62bb54578386 -> ../../dm-3

# grep ' / ' /etc/fstab
/dev/sda1       /               ext3    defaults,errors=remount-ro 0       1

Was ich ja sagte, sda1 ist meine Bootplatte und -partition.

Der entsprechende Eintrag, der bisher klappte (zumindest hieß der Titel gleich):

# cat /boot/grub/grub.cfg
...
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-trunk-686-bigmem' --class debian --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set b7c8adf9-9e3f-49ff-b840-801f3ea3b63d
        echo    'Loading Linux 2.6.32-trunk-686-bigmem ...'
linux /boot/vmlinuz-2.6.32-trunk-686-bigmem root=UUID=b7c8adf9-9e3f-49ff-b840-801f3ea3b63d ro quiet
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.32-trunk-686-bigmem
}
...

Wär toll wenn du da einen Fehler findest :-?

Andre



Reply to: