[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: edit menu.lst to boot Netbsd
From: |
Florian Hatat |
Subject: |
Re: edit menu.lst to boot Netbsd |
Date: |
Mon, 29 Jan 2001 19:02:38 +0100 |
User-agent: |
Mutt/1.2.2i |
Dans son message du samedi 27 janvier 2001, Petros Sidiropoulos écrivait:
> hello,
> This is my first post to this list, I'd like to know if there is a way to
> edit menu.lst file in order to boot
> NetBSD and how this achived. I run grub in floppy and i want to boot Netbsd
> which is installed in the
> second IDE hd in the first partition, Am i asking too much? :)
> Further more I'd like to know if I could boot from the grub floppy other os
> like windows, Linux, Solaris,
> for now i use the grub floppy to boot only GNU/Hurd.
You should read the GRUB Manual.
Here is an example of a menu.lst file which comes with this manual.
o /
----X-------------------------- CUT HERE ----------
o \
#
# 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 the GNU Hurd
title GNU/Hurd
root (hd0,0)
kernel /boot/gnumach.gz root=hd0s1
module /boot/serverboot.gz
# For booting Linux
title GNU/Linux
root (hd1,0)
kernel /vmlinuz root=/dev/hdb1
# For booting Mach (getting kernel from floppy)
title Utah Mach4 multiboot
root (hd0,2)
pause Insert the diskette now^G!!
kernel (fd0)/boot/kernel root=hd0s3
module (fd0)/boot/bootstrap
# For booting FreeBSD
title FreeBSD 3.4
root (hd0,2,a)
kernel /boot/loader
# For booting OS/2
title OS/2
root (hd0,1)
makeactive
# chainload OS/2 bootloader from the first sector
chainloader +1
# This is similar to "chainload", but loads a specific file
#chainloader /boot/chain.os2
# For booting Windows NT or Windows95
title Windows NT / Windows 95 boot menu
rootnoverify (hd0,0)
makeactive
chainloader +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos
# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root (hd0,0)
setup (hd0)
# Change the colors.
title Change the colors
color light-green/brown blink-red/blue
o /
----X-------------------------- CUT HERE ----------
o \
--
Florian,
xbill level 21, 22674
http://www.linux-france.org/article/mininet/