[H-GEN] Boot selector for Debian
Michael Anthon
michael at anthon.net
Wed May 28 00:25:26 EDT 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> If anybody has any suggestions for solving this, preferably that
> don't endanger the data on the disk, I'd be most grateful for a
> clue so that I don't have to keep booting from floppy ...
Install grub? I don't like lilo, grub knows how to read ext2 and dos (maybe
more now?) file systems so you don't need to futz around with it once it's
configured (just change the config file to add the new kernel and reboot).
A sample of my menu.lst file is below.
My setup is a little different, I have win2k installed on the second IDE
device. It was originally the first device cause that's the way windows
likes it, so it first swaps the drive ordering in the BIOS before booting,
rather neat. In your case you won't need to do the mapping but might need
to hide other partitions if it's not the first one.
Try 'apt-get install grub-doc' and have a read of the doco, it's quite well
documented
Cheers
Michael
#
# Sample boot menu configuration file
#
# Boot automatically after 30 secs.
timeout 30
# By default, boot the first entry.
default 0
# Fallback to the second entry.
fallback 1
# For booting Windows NT or Windows95
title Windoze
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1
title Linux 2.4.5
root (hd0,0)
kernel /bzlinux-2.4.5 root=/dev/hda2 vga=7 mem=128M
title NetBoot
root (hd0,0)
kernel /eb-5.0.8-rtl8029.lzlilo
title Linux 2.2.18 test
root (hd0,0)
kernel /vmlinuz-2.2.18-test root=/dev/hda2 vga=7 mem=128M
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list