#Grub config file for NetBSD/xen. Copy as /grub/menu.lst and run # grub-install /dev/rwd0d (assuming your boot device is wd0). # # The default entry to load will be the first one default=0 # boot after 10s the default entry if the user didn't hit keyboard timeout=10 # 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 #Load the NetBSD bootloader, letting it load the NetBSD/i386 kernel. #May be better than the other, as grub can't pass all required infos #to the NetBSD/i386 kernel (e.g. console, root device, ...) # NetBSD on 1st MBR partition of 1st IDE disk # XXXX bug : il faut alors un kernel /netbsd bootable sans xen ! title NetBSD (chain, serial) root (hd0,3,a) chainloader +1 #Load a regular NetBSD/i386 kernel. Can be usefull if you end up with a #nonworking /xen.gz title NetBSD 3.0 (bug) root (hd0,3,a) kernel --type=netbsd /netbsd-GENERIC # 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.5 / NetBSD (hda0, serial) # root(hd0,3,a) # kernel (hd0,3,a)/xen.gz dom0_mem=65536 com1=9600,8n1 noacpi # module (hd0,3,a)/netbsd-XEN0 root=/dev/hda1 ro console=ttyS0 # 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.7 / NetBSD 0803 (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-200508030000Z root=/dev/hda1 ro console=ttyS0 # avec un kernel plus vieux title Xen 2.0.6 / NetBSD 0706 (hda0, serial) root(hd0,3,a) kernel (hd0,3,a)/xen-2.0.6.gz dom0_mem=65536 com1=9600,8n1 noacpi module (hd0,3,a)/netbsd-XEN0-200507060000Z root=/dev/hda1 ro console=ttyS0 title FreeBSD 2G root (hd1,3,a) kernel /boot/loader title Debian Installer kernel (hd0,3,a)/debian/linux root=/dev/ram0 ramdisk_size=12000 initrd (hd0,3,a)/debian/initrd.gz title Debian 2.4.27 root (hd1,4) kernel (hd1,4)/boot/vmlinuz-2.4.27-2-686 ro root=/dev/hdb5 initrd (hd1,4)/boot/initrd.img-2.4.27-2-686 # *2* commandes "console" pour avoir les messages Linux sur ecran + serie title Debian 2.4.27 (serial console) root (hd1,4) kernel (hd1,4)/boot/vmlinuz-2.4.27-2-686 ro root=/dev/hdb5 console=tty0 console=ttyS0,9600n8 initrd (hd1,4)/boot/initrd.img-2.4.27-2-686 title Debian 2.4.30 + Xen + console serie root (hd1,4) kernel (hd1,4)/boot/xen-2.0.6.gz dom0_mem=65536 com1=9600,8n1 noacpi module (hd1,4)/boot/vmlinuz-2.4.30-xen0 root=/dev/hdb5 ro console=tty0 console=ttyS0,9600n8 title Debian 2.6.11.10 + Xen + console serie root (hd1,4) kernel (hd1,4)/boot/xen-2.0.6.gz dom0_mem=65536 com1=9600,8n1 noacpi module (hd1,4)/boot/vmlinuz-2.6.11.10-xen0 root=/dev/hdb5 ro console=tty0 console=ttyS0,9600n8