# Configure serial port to use as console. Ignore if you'll use VGA only serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1 # Let the user select which console to use (serial or VGA), default # to serial after 10s terminal --timeout=10 serial console ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. default 0 ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 10 #Grub config file for NetBSD/xen. Copy as /grub/menu.lst and run # grub-install /dev/rwd0d (assuming your boot device is wd0). title NetBSD (chain, serial) root (hd0,3,a) chainloader +1 # An entry for NetBSD/xen, using /netbsd as the domain0 kernel, and serial # console. Xen reserves 64MB for its own use. # Assume NetBSD is installed in the first MBR partition. title Xen 2.0.6 / NetBSD (hda0, serial) root(hd0,3,a) kernel (hd0,3,a)/xen-2.0.7.gz dom0_mem=65536 com1=9600,8n1 noacpi module (hd0,3,a)/netbsd-XEN0 root=/dev/hda1 ro console=ttyS0 title Debian Installer kernel (hd0,3,a)/debian/linux root=/dev/ram0 ramdisk_size=12000 initrd (hd0,3,a)/debian/initrd.gz #Load a kernel for installing netbsd title NetBSD 3.0 (install) root (hd1,4) kernel --type=netbsd /boot/grub/netbsd-INSTALL ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specifiv kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro # kopt=root=/dev/hdb5 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd1,4) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic 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 ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## ## End Default Options ## title Debian GNU/Linux, kernel 2.4.27-2-686 root (hd1,4) kernel /boot/vmlinuz-2.4.27-2-686 root=/dev/hdb5 ro initrd /boot/initrd.img-2.4.27-2-686 savedefault boot title Debian GNU/Linux, kernel 2.4.27-2-686 (recovery mode) root (hd1,4) kernel /boot/vmlinuz-2.4.27-2-686 root=/dev/hdb5 ro single initrd /boot/initrd.img-2.4.27-2-686 savedefault boot ### END DEBIAN AUTOMAGIC KERNELS LIST