Advertisement
marcello

grub legacy and grub2 config to install netbsd

Sep 9th, 2011
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. mkdir /boot/netbsd
  2. cd /boot/netbsd
  3. wget ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.1/i386/binary/kernel/netbsd-INSTALL_FLOPPY.gz
  4. gunzip netbsd-INSTALL_FLOPPY.gz
  5.  
  6. If you only have a single Linux partition, and it is the first partition of your hard drive
  7.  
  8. # Grub Legacy: stuff to add to grub legacy's /boot/grub/menu.st
  9. title NetBSD Installer
  10. root (hd0,0)
  11. kernel --type=netbsd  /boot/netbsd/netbsd-INSTALL_FLOPPY
  12.  
  13. # GRUB2: Stuff to add to /etc/grub.d/40_custom
  14. menuentry "NetBSD Installer" {
  15. set root=(hd0,msdos1)
  16. multiboot /boot/netbsd/netbsd-INSTALL_FLOPPY
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement