Автор: Sun Ray
Дата сообщения: 06.04.2007 00:46
		только у меня лежит в другом месте граб, ставил из пакаэджей, сам туда поставился... 
 
Код: # cat /grub/menu.lst 
 #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=115200 --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 
 # An entry for NetBSD/xen, using /netbsd as the domain0 kernel, and serial 
 # console. Domain0 will have 64MB RAM allocated. 
 # Assume NetBSD is installed in the first MBR partition. 
 title Xen 2.0 / NetBSD (hda0, serial) 
   root(hd0,0) 
   kernel (hd0,a)/xen.gz dom0_mem=65536 com1=115200,8n1 
   module (hd0,a)/netbsd root=/dev/hda1 ro console=ttyS0 
 # Same as above, but using VGA console 
 # We can use console=tty0 (Linux syntax) or console=pc (NetBSD syntax) 
 title Xen 2.0 / NetBSD (hda0, vga) 
   root(hd0,0) 
   kernel (hd0,a)/xen.gz dom0_mem=65536 
   module (hd0,a)/netbsd root=/dev/hda1 ro console=tty0 
 # NetBSD/xen using a backup domain0 kernel (in case you installed a 
 # nonworking kernel as /netbsd 
 title Xen 2.0 / NetBSD (hda0, backup, serial) 
   root(hd0,0) 
   kernel (hd0,a)/xen.gz dom0_mem=65536 com1=115200,8n1 
   module (hd0,a)/netbsd.backup root=/dev/hda1 ro console=ttyS0 
 title Xen 2.0 / NetBSD (hda0, backup, VGA) 
   root(hd0,0) 
   kernel (hd0,a)/xen.gz dom0_mem=65536 
   module (hd0,a)/netbsd.backup root=/dev/hda1 ro console=tty0 
 #Load a regular NetBSD/i386 kernel. Can be useful if you end up with a 
 #nonworking /xen.gz 
 title NetBSD 3.0 
   root (hd0,a) 
   kernel --type=netbsd /netbsd.generic 
 #Load the NetBSD bootloader, letting it load the NetBSD/i386 kernel. 
 #May be better than the above, as grub can't pass all required infos 
 #to the NetBSD/i386 kernel (e.g. console, root device, ...) 
 title NetBSD chain 
   root        (hd0,0) 
   chainloader +1 
 ## end of grub config file.