Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a situation where I have to boot using Ubuntu kernel and initrd first. Then check for attached USB/SCSI disk which has a Windows Installation and then boot Windows through USB/SCSI disk.

I am curious to know what are the changes I have to make to my bootable ubuntu kernel, in itrd and grub.

share|improve this question

You should only need a "chainloader" entry in your menu.lst / grub.cfg (depending which version of grub you're using). For legacy grub it's something like

title         Windows 95/98/NT/2000
root          (hd1,0)
chainloader   +1

For GRUB2 it depends on the MBR setup, but in general it's something like

menuentry "Microsoft Windows XP" {
    insmod chain
    set root=(hd1,1)
    devicemap -s hd0 hd1
    chainloader +1

The exact partition number you'll need to work out based on your setup.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.