Probleme mit grub

Lutz Willek lutz.willek at belug.de
Mit Jul 23 08:08:07 BST 2008


Luise Kunkle schrieb:
> 
> Hi Liste,
Guten Morgen,

> ich habe xubuntu 7.10 auf meinem alten Rechner installiert...
> ...Aber ich habe Probleme mit grub.
> 
> Es zeigt zwar die anderen (Linux) Systeme auf der 2. Festplatte an, aber 
> wenn ich sie auswähle, kommt jeweils die Meldung, dass der ausgewählte 
> Zylinder zu hoch ist. Ich kann also nur nach xubuntu hochfahren.
> 
> Ich habe das System seit Jahren mit dem lilo bootloader gefahren mit 
> denselben Systemen und habe nie Probleme gehabt.
> 
> Weiß jemand, was ich da machen kann?
Wie andere sich schon vertippfehixelt haben: Das richt nach einem 
Problem deiner Festplatte in Verbindung mit dem Bios. Sowohl Lilo als 
auch grub können damit umzugehen, wenn Dein Bios das auch kann. Grub 
unterstützt imho lba automatisch, siehe dazu die Infopage von grub:
> GRUB supports Logical Block Addressing (LBA) mode. LBA places the addressing conversion used to find files on the drive in the drive's firmware, and it is used on many IDE and all SCSI hard disks. Before LBA, hard drives could encounter a 1024-cylinder limit, where the BIOS could not find a file after that point, such as a boot loader or kernel files. LBA support allows GRUB to boot operating systems from partitions beyond the 1024-cylinder limit, so long as the system BIOS supports LBA mode (most do).
Lilo benötigt eine extra option, ich denke lba32=on (oder ähnlich, ich 
habe nicht nachgeschaut)

Einige Fragen: Du schreibst das Du seit Jahren mit diesen System 
arbeitest und es erst seit der Installation von xubuntu zu Problemen 
kam. Hast Du während der Installation eine Umpartitionierung der 
Festplatte vorgenommen?

Hat Dein Bios die Option, die Startplatten zu tauschen? (mapping) Wenn 
ja könnte das auch die Fehlerquelle gewesen sein. Alle Bootloader für 
X86-Systeme mit herkömmlichen Bios (also auch Dein System) arbeiten beim 
starten des Systems auch mit den Informationen vom Bios, die können aber 
falsch sein. Deshalb ist auch der Inhalt der Datei /boot/grub/device.map 
wichtig. Nähere Informationen zum Mapping findest Du unter 
http://www.belug.de/bootloader_grub.html
Auch die Dokumentation zu Grub liefert Hinweise dazu:
http://www.gnu.org/software/grub/manual/grub.html#Invoking-the-grub-shell
> If there is anything wrong with it, don't hesitate to try the native GRUB environment, especially when it guesses a wrong map between BIOS drives and OS devices. 
http://www.gnu.org/software/grub/manual/grub.html#Device-map
> The reason why the grub shell gives you the device map file is that it cannot guess the map between BIOS drives and OS devices correctly in some environments. For example, if you exchange the boot sequence between IDE and SCSI in your BIOS, it gets the order wrong.

In jedem Fall ist es hilfreich wenn Du uns den Inhalt der Datei 
/boot/grub/menu.lst, /boot/grub/device.map, die alte lilo Konfiguration 
(/etc/lilo.conf) sowie die Partitionierung Deiner Festplatten geben 
kannst (fdisk -l)

-- 
Freundliche Grüße / Best Regards

         Lutz Willek

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~        Have you tried turning it off and on again?             ~
~ Bitte denken Sie an die Umwelt bevor Sie diese Mail ausdrucken ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~