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

Re: Grub installieren



Hallo Andre,
Andre Tann wrote,

> Pascal Volk, Mittwoch, 22. Februar 2012: 
> 
> > > Das war nicht installiert. Ist jetzt installiert, und wenn ich es
> > > aufrufe, dann kriege ich ohne weitere Meldung wieder den Prompt. …
> > 
> > Dann versuche es mit: dpkg-reconfigure -p low grub-pc
> 
> Keine Änderung: Prompt kommt, ohne weitere Meldung. Und es ist immer
> noch LILO konfiguriert, s. meine Mail von nebenan.

Bei mir läuft ein Grub 1.98 und bootet ein Linux von Software RAID1.
Die Installation von Grub2 sollte also soweit möglich sein, auch ohne 
Debian-Installerskripte.

Als erstes würde ich mal eine Sicherung der MBR's machen:
# dd if=/dev/hda bs=512 count=1 of=/boot/boot.hda
..

Wie sieht deine device.map aus? cat /boot/grub/device.map?

Dann würde ich den MBR von den Platten löschen, ohne die
Partitionstabelle zu beschädigen:
# dd if=/dev/zero of=/dev/hda bs=446 count=1 
..

# fdisk -l

Grub2 installieren (wenn md0 deine Boot+Root Partition ist):
# grub-install /dev/md0 

Überprüfen ob Grub installiert wurde:
# dd if=/dev/hda bs=446 count=1 |hexdump -C | grep GRUB
..

Allerdings würde ich ohne Sichtung von /boot/grub/grub.cfg nicht
rebooten ;)

Ist root=/dev/md0 in der append-Zeile? Werden via insmod die Grub2
Module mdraid und raid geladen?

gruss
 Waldemar

-- 
Linux Service & Support (Notdienst - Reparatur - Wartung)
Sie brauchen Hilfe bei Ihrem Linux-System? 
Besuchen Sie doch meine Webseite unter http://www.lss-nrw.de/

Attachment: signature.asc
Description: Digital signature


Reply to: