View Single Post
  #6   (View Single Post)  
Old 10th March 2011
nihonto nihonto is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 65
Default

I'm using Debian Squeeze as my main working system. Recently I have installed NetBSD on an external HDD. It's quite easy to tell Grub2 in Squeeze what to do.

1. You have to edit the file /etc/grub.d/40_custom

2. Add something like this:

Quote:
menuentry "NetBSD" {
set root=(hd0,2)
chainloader +1
}
Were I have written "set root=(hd0,2)" you have to insert your individual values concerning HDD geometry.

Be carefull: Grub2 counts hard discs from zero but partitions from one! So what has been (hd0,1) in old Grub is now (hd0,2).

3. sudo update-grub2

(4. Grub2 identified Windows XP on my old Laptop without any further hassle)

et voila
Reply With Quote