Results 1 to 10 of 13

Thread: Grub/ Ubuntu 10.04 has taken over system!

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Beans
    29

    Grub/ Ubuntu 10.04 has taken over system!

    I recently installed Lucid Lynx and it has given me tons of problems. I used to dual boot between Windows Vista and Ubuntu 9.10. It worked great! I could use both operating systems without a hitch.

    However, since I have installed Lucid it has rendered Vista and it's recovery hard drive useless. I even tried to boot from a vista recovery disk from the bios. I pressed enter on the cd rom drive from the boot menu and it just took me to the useless grub menu.

    It seems Grub has messed up something when i upgraded to Lucid.

  2. #2
    Join Date
    Jul 2009
    Location
    Bangalore
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Grub/ Ubuntu 10.04 has taken over system!

    Can you please give us the error you are getting in GRUB.

  3. #3
    Join Date
    Apr 2010
    Beans
    29

    Re: Grub/ Ubuntu 10.04 has taken over system!

    Well when I select either Windows Vista or its recovery hard drive I get a black screen with a blinking cursor.

  4. #4
    Join Date
    Jul 2008
    Location
    Melbourne
    Beans
    13
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Grub/ Ubuntu 10.04 has taken over system!

    Did you upgrade from 9.10 to 10.04 or a fresh install? (nvm I need to read!)

    You may want to try running the following as it will update the grub cfg file:

    Code:
    sudo update-grub
    Last edited by zeepal; May 2nd, 2010 at 07:35 PM.

  5. #5
    Join Date
    Apr 2010
    Beans
    29

    Re: Grub/ Ubuntu 10.04 has taken over system!

    Updated Grub. I still have the same problem.

  6. #6
    Join Date
    Jul 2009
    Location
    Bangalore
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Grub/ Ubuntu 10.04 has taken over system!

    Hi iGuitar

    Did you tried to reinstall GRUB,


    • First, grab a copy of the latest Ubuntu LiveCD and boot it.
    • Open a terminal and type

    $ sudo fdisk -l

    • Mount the file system of your linuxto /mnt

    $ sudo mount /dev/sda1 /mnt

    • If you have /boot on a separate partition, that need's to be mounted as well. For reference, /dev/sda2 will be used.

    $ sudo mount /dev/sda2 /mnt/boot Make sure you don't mix these up, pay attention to the output of FDISK

    • Now mount the rest of your devices and some other things needed in the chroot

    $ sudo mount --bind /dev /mnt/dev
    $ sudo mount --bind /proc /mnt/proc
    $ sudo mount --bind /sys /mnt/sys

    • Now chroot into your system

    $ sudo chroot /mnt
    You should be chroot'd into your system as root, you can now run commands as root, without the need for sudo.

    • Now you need to edit the /etc/default/grub file to fit your system

    $ nano /etc/default/grub

    • When that is done you need to run update-grub to create the configuration file.

    $ update-grub

    • To install GRUB 2 to the MBR, next you need to run grub-install /dev/sda

    $ grub-install /dev/sda

    • If you encounter any errors, try grub-install --recheck /dev/sda

    $ grub-install --recheck /dev/sda

    • Press Ctrl+D to exit out of the chroot.
    • Once you exit back to your regular console, undo all the mounting, first the /dev and others

    $ sudo umount /mnt/dev
    $ sudo umount /mnt/sys
    $ sudo umount /mnt/proc
    Now you can unmount the root system. (But if you have a separate boot partition which you mounted earlier, you have to unmount this first, or you will get a "device busy" error message.)

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
  •