Wie verhindere ich, dass lilo einen Festplatten-Scan ausführt?

397
Mutant Bob

Ich habe gentoo mit root auf LVM auf RAID5 installiert. Ich habe einen Fehler gemacht, als ich lilo eingerichtet habe, aber der von genkernel erstellte initrd hat ihn erwischt und mir erlaubt, die richtige Root-Partition einzugeben. Ich habe die lilo.conf geändert, aber wenn ich versuche, das angepasste Boot-Menü zu installieren, bekomme ich

... Reading boot sector from /dev/sda Fatal: Incompatible Raid version information on /dev/md0 (RV=0.90 GAI=1.2) 

Jetzt weiß ich, dass ich lilo von der Installations-CD zuvor installiert habe, sodass es irgendwie gelang, diesen schwerwiegenden Fehler früher zu überwinden.

Was muss ich zur lilo.conf hinzufügen, damit lilo diese RAID-Partition ignorieren kann? Mein initrd kümmert sich um die ganze Verrücktheit für mich, also brauche ich nicht die zu halbe RAID-Logik von Lilo.

0

1 Antwort auf die Frage

0
Mutant Bob

Right now I have worked around the problem by booting from the install CD and re-running lilo without /proc/ mounted inside the chroot. This gives me a

Warning: '/proc/partitions' does not exist, disc scan bypassed 

This is probably how I got it installed before. I do not consider this a proper answer to my question because it requires me to unmount /proc (which seems dangerous for a running system, and I don't want to have to reboot to a rescue/install CD every time I want to update my lilo).

The true solution to this question will be a way to make lilo work even if /proc/partitions is available.