Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
Ok, i want to dual boot xubuntu 9.04 and windows xp. i have two hard drives and the first one already has xubuntu installed: 160gb sda (my xubuntu drive) and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229

    dual boot xubuntu + windows xp with 2 hard drives


    Ok, i want to dual boot xubuntu 9.04 and windows xp.
    i have two hard drives and the first one already has xubuntu installed:
    160gb sda (my xubuntu drive)
    and
    40gb sdb (the drive i want windows xp on)

    how would i go about installing xp without destroying my xubuntu installation?
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Unuplug your 160 GB harddrive or Disable it from bios
    then install Windows.

    after installation plug in 160 GB hardrive.
    set it on primary boot media.

    boot into linux.
    open
    /boot/grub/menu.lst

    and add entry.
    title Windows
    root (hd1,0)
    chainloader +1
    save file

    then reboot select Windows, all done.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    You have to add mapping code too.
    Code:
    title Windows 
    rootnoverify (hd1,0)
    map (hd0)  (hd1)
    map (hd1)  (hd0)
    chainloader +1
    Last edited by devils casper; 05-23-2009 at 04:17 AM.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229
    So put
    title Windows
    rootnoverify (hd1,0)
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainload + in /boot/grub/menu.lst?
    or the first one?
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Code posted by me will work fine.

    * Unplug or disable Linux Harddisk.
    * Install Windows OS in other Hard disk.
    * Plug-in or enable Linux hard disk. Linux will boot up by default.
    * Add code for Windows OS in menu.lst file. You will have an option to boot up Windows OS in GRUB Menu.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Well, isnt mapping needed only when disks are on IDE?
    I think its needed because Windows cant boot from secondary IDE.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    It doesn't matter if you are using SATA or PATA or any other media. Without mapping code, Windows Boot Loader doesn't work in multi disk setup unless you have set Windows Hard disk as First Boot Device in BIOS.

    Mapping is a cheat code. Windows Boot Loader works only if it is installed in Primary Hard disk or Hard disk set as First Boot Device in BIOS.

    In two hard disk setup, we set Linux disk as First Boot Device. GRUB chainloads Windows Boot Loader to boot up Windows OS but it doesn't work in this setup. We have to use mapping code to cheat Windows Boot Loader.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229
    ok, neither worked....
    first i put:
    Code:
    title Windows 
    rootnoverify (hd1,0)
    map (hd0)  (hd1)
    map (hd1)  (hd0)
    chainload +1
    at the end of menu.lst.
    and when i booted up i selected windows from the list, but it didnt do anything...
    so i booted back into xubuntu and changed the menu.lst to:
    Code:
    title Windows
    root (hd1,0)
    chainloader +1
    and restarted.

    this time when i tried to boot windows it went to a screen that said:
    "starting up..."
    and it stayed there for like 30-45 minutes, so i just botted back into xubuntu.
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  9. #9
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,040
    With Linux drive disabled does Windows boot sucessfully?

    With both drives connected and Linux booted ... what does fdisk -l report?

  10. #10
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229
    Windows boots fine and fdisk -l shows
    Code:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000c3512
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       19177   154039221   83  Linux
    /dev/sda2           19178       19457     2249100    5  Extended
    /dev/sda5           19178       19457     2249068+  82  Linux swap / Solaris
    
    Disk /dev/sdb: 41.1 GB, 41174138880 bytes
    255 heads, 63 sectors/track, 5005 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x103badbb
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1        5005    40202631    c  W95 FAT32 (LBA)
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •