Mailinglist Archive: opensuse-de (1027 mails)

< Previous Next >
Re: Grub bleibt stecken
  • From: Martin Deppe <Martin.Deppe@xxxxxx>
  • Date: Thu, 17 Apr 2008 08:16:47 +0200
  • Message-id: <4806EB4F.1050505@xxxxxx>
David Haller schrieb:
Hallo,

Am Die, 15 Apr 2008, Martin Deppe schrieb:
Dann habe ich auch noch
* grub-install --recheck --root-directory=/boot hd0

Das ist falsch. Guck nochmal oben... Wer lesen kann ist klar im
Vorteil.

Und zeig mal den Inhalt deiner /etc/grub.conf, sofern vorhanden sowie
den von /boot/grub/device.map

Normalerweise, bei korrekter grub.conf/device.map (s.o.!) hätte ein:

grub-install /dev/sda

gereicht.

Und du solltest auch selber mal 'man grub-install' und 'info grub'
lesen.

Hallo David,

danke Dir, aber das habe ich getan und genau deshalb habe ich den Befehl wie oben angegeben ausgeführt.

Aber ich versuche auch gern noch exakt Deine Variante:
---------------------------------------------------------------------------
gateway:~ # grub-install hd0

GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> setup --stage2=/boot/grub/stage2 (hd0) (hd0,1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
succeeded
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,1)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> quit
---------------------------------------------------------------------------
Und:
---------------------------------------------------------------------------
gateway:~ # grub-install /dev/sda

GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> setup --stage2=/boot/grub/stage2 (hd0) (hd0,1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
succeeded
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,1)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> quit
gateway:~ #
---------------------------------------------------------------------------

Wie ich erwartet habe, ergeben die beiden Kommandos dasselbe.

Aber was soll mir der Kram jetzt sagen?

Gruß
Martin
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups