Results 1 to 6 of 6

Thread: Dual-boot Issue

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Beans
    9

    Dual-boot Issue

    Okay, I know I've made the biggest error in Linux history, but I've installed Ubuntu Hardy Heron, and then installed Windows XP. The reason I'm trying to dual boot is that I'm having problems with some of my PC games in wine. I've been able to get back into Ubuntu through following the directions to re-install GRUB. I've also added windows xp to the /boot/grub/menu.lst. The issue I'm having is that every time I boot windows, when I restart instead of GRUB, it goes right back to windows. I then have to load up the live cd, and use Gparted to set the linux partition to boot again. It's a huge pain. I'm still relatively new to linux, but capable of following directions. If anyone could help I'd really appreciate it.

  2. #2
    Join Date
    May 2008
    Location
    Vancouver, Canada
    Beans
    106
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Dual-boot Issue

    is this a two physical hard drive setup? or is it one disk with two partitions?

    if its two hard drives just go in your motherboard's BIOS settings and set the ubuntu drive as the first boot device (or second.. as long as its before the XP drive.)

  3. #3
    Join Date
    Mar 2008
    Location
    Area 36 /lilongwe
    Beans
    Hidden!

    Re: Dual-boot Issue

    You can just boot from an ubuntu disk and reinstall grub, once that is done everything will work fine. if case is not as trevelyan state

    ie
    harddisk case!= trevelyan

  4. #4
    Join Date
    Jun 2008
    Beans
    9

    Re: Dual-boot Issue

    Single hard drive. Two partitions. I've reinstalled grub. Through piddling around I've narrowed down the issue. After I boot windows and restart to get back to linux I have to use gparted from the live cd to reset the linux partition to boot. Once I do that grub works again.

    Here's a link to "sudo fdisk -ls"

    http://paste.ubuntu.com/19600/

    And here's a link to "sudo gedit /boot/grub/menu.lst"

    http://paste.ubuntu.com/19601/

  5. #5
    Join Date
    Jun 2008
    Beans
    9

    Re: Dual-boot Issue

    Okay, what's happening is when I boot into windows it's some how setting the system to boot from the windows partition. If I load up the Live cd and use gparted to move the "boot" flag from the windows partition to the linux one every thing works fine until I boot windows again.

  6. #6
    Join Date
    Jun 2008
    Beans
    9

    Re: Dual-boot Issue

    I'M AN IDIOT!!!

    Here's what I was doing wrong. When reinstalling GRUB I was issuing these commands.....

    sudo grub

    root (hd0,0)

    setup (hd0,0)

    I was reinstalling grub over and over to the same location!!!!

    I fixed the problem by using the correct command of:

    setup (hd0)

    I hope someone else is aided by my idiocy. System is booting fine now. Now if I can just get winblowz to recognize my networking card I'll be able to fix all the other devices it doesn't recognize. Thanks for the help guys.

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
  •