[Debian]:Re: grub fuer Anfaenger
Andreas Tille <tillea@rki.de> writes:
> Aber Irgendwie muß doch der grub-code, der menu.lst liest in den MBR
> der Festplatte kommen oder?
>
> Das mache ich dann mit /usr/bin/grub + ein paar interaktive Sachen,
> oder wie?
Baue dir eine Bootdiskette mit Grub drauf, zusatzlich kannst du eine
Installroutine draufbauen. Die entsprechende menu.lst könnte
z.B. folgendes beinhalten:
#
# Sample boot menu configuration file
#
# Change the color
color=0x1f 0x6f
# Boot automatically after 30 secs.
timeout 5
# By default, boot the first entry.
default 0
# For booting Linux
title GNU/Linux
kernel (hd1,0)/boot/vmlinuz-2.2.13 ro root=/dev/sda1
# For booting Windows NT or Windows95
title Windows 98
root (hd0,0)
makeactive
chainloader +1
# For booting from Floppy
title Diskette
chainloader (fd0)+1
# For booting from Harddisc
title MBR
chainloader (hd0)+1
# Emergency kernel
title Kernel auf Diskette
kernel (fd0)/linux ro root=/dev/sda1
# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root (hd1,0)
install /boot/grub/stage1 d (hd0) /boot/grub/stage2 p /boot/grub/menu.lst
Torsten
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>" enthaelt.
Bei Problemen bitte eine Mail an: Nils.Gundelach@lehmanns.de
-----------------------------------------------------------
Anzahl der eingetragenen Mitglieder: 736
Reply to: