Dimitri Rettig: Brauche Hilfe bei Installation von GRUB

Beitrag lesen

Hallo,

ich habe grub ordnungsgemäß mit
apt-get install grub
installiert.
Ohje, da hast du das _nachträglich_ gemacht, und das ist nicht gut.

Ich kann mich nicht erinnern, dass ich bei der Installation von Debian den Bootmanager auswählen könnte.

/dev/hdc2 ist die Partition, wo mein Debian installiert ist.
Für GRUB ist das dann wahrscheinlich (hd2,1), der definiert die Startpartitionen einfach "anders".

grub-install "(hd2,1)"
gibt leider die gleiche (identische) Fehlermeldung aus, also
/dev/hdc2 ...

Du müßtest so gut sein, mal deine menu.lst zu posten, damit man weiterschauen kann.

timeout 15
default 0
fallback 1

title  GNU/Linux
root (hd2,1)
kernel /vmlinuz root=/dev/hdc1

title Windows 98
rootnoverify (hd2,0)
makeactive
chainloader  +1

title Install GRUB into the hard disk
root    (hd2,1)
setup   (hd2)

title Change the colors
color light-green/brown blink-red/blue

BEGIN AUTOMAGIC KERNELS LIST

lines between the AUTOMAGIC KERNELS LIST markers will be modified

by the debian update-grub script except for the default optons below

DO NOT UNCOMMENT THEM, Just edit them to your needs

## Start Default Options

default kernel options

e.g. kopt=root=/dev/hda1 ro

kopt=root=/dev/hda1 ro

default grub root device

e.g. groot=(hd0,0)

groot=(hd0,0)

should update-grub create alternative boot options

e.g. alternative=true

##      alternative=false

alternative=true

should update-grub lock alternative boot options

e.g. lockalternative=true

##      lockalternative=false

lockalternative=false

altoption boot targets option

multiple altoptions lines are allowed

e.g. altoptions=(extra menu suffix) extra boot options

##      altoptions=(recovery mode) single

altoptions=(recovery mode) single

controls how many kernels should be put into the menu.lst

only counts the first occurence of a kernel, not the

alternative kernel options

e.g. howmany=all

##      howmany=7

howmany=all

## End Default Options

title  Debian GNU/Linux, kernel 2.4.18-bf2.4
root  (hd2,1)
kernel  /boot/vmlinuz-2.4.18-bf2.4 root=/dev/hdc2 ro
savedefault

title  Debian GNU/Linux, kernel 2.4.18-bf2.4 (recovery mode)
root  (hd2,1)
kernel  /boot/vmlinuz-2.4.18-bf2.4 root=/dev/hdc1 ro single
savedefault

END DEBIAN AUTOMAGIC KERNELS LIST

Die automatisch erzeugte menu.lst habe ich etwas verändert. Also nicht von den Kommentaren irritieren lassen.

/dev/hdc2 does not have any corresponding BIOS drive.
Klar. GRUB zählt anders, er fängt nicht mit 1 an, sondern mit 0.

Du müßtest aber beim Booten an einer Art "GRUB-Prompt" landen, falls er denn im MBR residiert. Kriegst du dieses Prompt nicht, ist dein MBR nicht für GRUB eingerichtet, und bissel vorsichtig muß man da schon sein, wenn man sich die Partitionstabellen nicht auch noch zerschießen will. Was hast du denn außer Debian noch auf dem Rechner drauf und was kannst du starten?

Auf /dev/hdc1 habe ich Windows98 und auf /dev/hdc2 eben Linux. Mehr nicht. Übrigens ist mein Bootmanager immer noch der LILO. Ich dachte grub-install DEVICE installiert grub in den MBR der Festplatte.

Mit freundlichen Grüßen
   Dimitri Rettig