Find the answer to your Linux question:
Results 1 to 3 of 3
I have vista and ubuntu on the same disk. I wish to boot up on windows but can't seem to find the right command to reset the boot to windows. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    jw9
    jw9 is offline
    Just Joined! jw9's Avatar
    Join Date
    Feb 2006
    Location
    Arkansas
    Posts
    43

    Dual boot Windows and Ubuntu


    I have vista and ubuntu on the same disk. I wish to boot up on windows but can't seem to find the right command to reset the boot to windows. Can anyone explain how to do this?
    Thanks in advance for any help with this.

  2. #2
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    234
    hello

    If you can not start windows from the grub loader then you will need to
    edit /boot/grub/menu.lst and copy and paste this in the file at the end of the file. save the file and reboot the computer.

    # installer for a non-linux OS
    # on /dev/hda1
    title Microsoft Windows Vista
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1


    I am assuming that you are using ide drive and windows was loaded first.
    hope this helps you.
    --------------------------
    Linux is the FORCE

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    In case objuan's solution doesn't work, post the contents /boot/grub/menu.lst file and output of sudo fdisk -l command here.
    Code:
    less /boot/grub/menu.lst
    sudo fdisk -l
    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
  •