Results 1 to 7 of 7

Thread: how to add winxp to grub menu

  1. #1
    Join Date
    Jul 2009
    Location
    Islamabad / Rawalpindi
    Beans
    87
    Distro
    Ubuntu 10.04 Lucid Lynx

    how to add winxp to grub menu

    hi
    i have 2 harddrives in my pc ..
    one has xp and i bought another for linux just to be safe .. i removed the xp hdd and pluged linux hdd installed ubuntu ... after all was done and ubuntu was up and running.. i attached the xp hdd on another seperate IDE cable.. now to boot xp i go to bios and select the correspondign hdd for first boot device and for linux select the other one..
    its very tiresome work as i frequently swap between both..

    Ho can i add an option in the Ubuntu GRUB for XP ?

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: how to add winxp to grub menu

    Boot your Ubuntu OS. With the Windows drive connected, open a terminal and run:
    Code:
    sudo update-grub
    GRUB should find Windows and add it to the GRUB menu. The next time you boot you should have a choice of which OS you would like to boot.
    Back to Xorg...

    Retired.

  3. #3
    Join Date
    Jul 2012
    Beans
    29

    Re: how to add winxp to grub menu

    Open terminal and enter this commands.. If it doesn't works then reply here

    Code:
    sudo update-grub

  4. #4
    Join Date
    Jul 2012
    Beans
    29

    Re: how to add winxp to grub menu

    Quote Originally Posted by drs305 View Post
    Boot your Ubuntu OS. With the Windows drive connected, open a terminal and run:
    Code:
    sudo update-grub
    GRUB should find Windows and add it to the GRUB menu. The next time you boot you should have a choice of which OS you would like to boot.
    Very fast!

  5. #5
    Join Date
    Jan 2008
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: how to add winxp to grub menu

    Hey, you could use ###Boot-Repair###
    sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
    sudo apt-get install -y boot-repair && boot-repair
    check here for instructions
    https://help.ubuntu.com/community/Boot-Repair

  6. #6
    Join Date
    Jul 2009
    Location
    Islamabad / Rawalpindi
    Beans
    87
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to add winxp to grub menu

    i added the following to /boot/grub/menu.list file
    Code:
    title Windows XP
                   map (hd0) (hd1)
                   map (hd1) (hd0)
                   rootnoverify (hd1,0)
                   chainloader +1
    and xp showd there . now i mostly use xp as default with once or twice in a bluemoon i use ubuntu to practice on it my linux commands.. which i am trying to study on myself... so i want to make xp default instead of ubuntu...


    i have just moved the above code above all other options .. will see if just that makes xp the default...

    thanks for real fast help..

  7. #7
    Join Date
    Jul 2009
    Location
    Islamabad / Rawalpindi
    Beans
    87
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to add winxp to grub menu

    moving it to top did made xp as default . so my issue solved..
    thanks all

Bookmarks

Posting Permissions

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