Find the answer to your Linux question:
Results 1 to 2 of 2
I'm trying to dual boot ubuntu and xp pro below is my fdisk print out Disk /dev/sda: 400.0 GB, 400088457216 bytes 255 heads, 63 sectors/track, 48641 cylinders Units = cylinders ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    1

    trying to dual boot ubuntu and XP


    I'm trying to dual boot ubuntu and xp pro

    below is my fdisk print out

    Disk /dev/sda: 400.0 GB, 400088457216 bytes
    255 heads, 63 sectors/track, 48641 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 637 5116671 83 Linux
    /dev/sda2 638 892 2048287+ 82 Linux swap / Solaris
    /dev/sda3 * 893 1275 3076447+ b W95 FAT32
    /dev/sda4 1276 12748 92156872+ f W95 Ext'd (LBA)
    /dev/sda5 1276 12748 92156841 7 HPFS/NTFS

    I installed ubuntu first then xp and couldn't get back to ubuntu, so being a newbe I reinstalled ubuntu, now xp won't boot from grub. I had to manually add in the xp option in grub
    here is the list from the menu.lst

    title Windows XP Professional
    root (hd0,3)
    makeactive
    chainloader +1

    thanks,

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    try mapping code.
    Code:
    title Windows XP Professional
    map (hd0,0) (hd0,3)
    map (hd0,3) (hd0,0)
    root (hd0,3)
    makeactive
    chainloader +1
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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