Results 1 to 8 of 8

Thread: Installation Crisis - Overwritten Bootloader

  1. #1
    Join Date
    Oct 2007
    Beans
    57

    Exclamation Installation Crisis - Overwritten Bootloader

    I just attempted to install to a USB drive, and somehow in the process, GRUB overwrote my Windows 7 bootloader on the internal disk. My work laptop is now booting into a grub recovery whenever my USB key isn't present (with error: no such device and the uuid) - and hangs on a blinking cursor whenever the key is plugged in.

    I'm not familiar with what my options are for grub rescue, but ls shows (hd0) (hd0,msdos2) (hd0,msdos1) (fd0)


    My laptop is encrypted, so I don't have much chance of recovery unless I can get back to the windows bootloader. Please, please tell me there's some fix.


    UPDATE:
    Here's how to fix it: http://ubuntuforums.org/showthread.php?t=1014708
    Last edited by Terc; December 6th, 2011 at 04:01 AM.

  2. #2
    Join Date
    Jan 2007
    Beans
    3,202

    Re: Installation Crisis - Overwritten Bootloader

    Intel Core i7-950 / Asus P6X58D-E / Nvidia GTX480 / siduction 64-bit on OCZ Revodrive SSD / KDE4.10.2/ Kubuntu 13.04

  3. #3
    Join Date
    Oct 2007
    Beans
    57

    Re: Installation Crisis - Overwritten Bootloader

    Actually, I wasn't even attempting to install on the internal disk at all. The installer made some sort of decision to put the bootloader on the internal disk even though I had selected the USB drive as my installation destination.

    I'm currently looking at a disk with an unknown partition and a BDEDrive partition (I've booted from a live cd).

  4. #4
    Join Date
    Jan 2007
    Beans
    3,202

    Re: Installation Crisis - Overwritten Bootloader

    Also scroll down this to "Reinstating Windows: https://help.ubuntu.com/community/Re...7%20Partitions
    Intel Core i7-950 / Asus P6X58D-E / Nvidia GTX480 / siduction 64-bit on OCZ Revodrive SSD / KDE4.10.2/ Kubuntu 13.04

  5. #5
    Join Date
    Oct 2007
    Beans
    57

    Re: Installation Crisis - Overwritten Bootloader

    How (if there is any way at all) can I restore my Windows bootloader? My first priority is just getting back to a usable windows computer, I'll figure out how to install Ubuntu to a USB again later. I've done lots of installs to USB before... I can't understand what went wrong.

  6. #6
    Join Date
    Jan 2007
    Beans
    3,202

    Re: Installation Crisis - Overwritten Bootloader

    I would try using a Super Grub Disk to boot into Windows, then I believe there are "recovery" techniques available, once you are running Win 7.

    http://www.supergrubdisk.org/
    Intel Core i7-950 / Asus P6X58D-E / Nvidia GTX480 / siduction 64-bit on OCZ Revodrive SSD / KDE4.10.2/ Kubuntu 13.04

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

    Re: Installation Crisis - Overwritten Bootloader

    Quote Originally Posted by Terc View Post
    How (if there is any way at all) can I restore my Windows bootloader? My first priority is just getting back to a usable windows computer, I'll figure out how to install Ubuntu to a USB again later. I've done lots of installs to USB before... I can't understand what went wrong.
    If you can boot the Ubuntu LiveCD, this should point the MBR back to your Windows boot files:

    These commands assume Windows is on sda (first drive). Disregard the messages about fully installing lilo. Run only these two commands and reboot.
    Code:
    sudo apt-get install lilo
    sudo lilo -M /dev/sda mbr
    Back to Xorg...

    Retired.

  8. #8
    Join Date
    Oct 2007
    Beans
    57

    Re: Installation Crisis - Overwritten Bootloader

    Quote Originally Posted by drs305 View Post
    If you can boot the Ubuntu LiveCD, this should point the MBR back to your Windows boot files:

    These commands assume Windows is on sda (first drive). Disregard the messages about fully installing lilo. Run only these two commands and reboot.
    Code:
    sudo apt-get install lilo
    sudo lilo -M /dev/sda mbr
    Thank you, I'll check and see if that works for me.

    Actually, on second thought... My system is encrypted with bitlocker, so there's no way for the bootloader to read my ini file unless it's the Windows bootloader. I'm completely unfamiliar with the inner workings of bitlocker (more of a Truecrypt fan myself). So I'm wondering if lilo will be able to get things off the ground for me, or if it will have issues booting too? I can see a partition at the end of my disk called BEDDRIVE (something like that at least) which is an NTFS partition, I assume it does the work of accepting my unlock info and decrypting the drive.

    Just found this: http://ubuntuforums.org/showthread.php?t=1014708
    Looks like exactly what I (hopefully) need.

    Update,yup, that fixed it. (just in case someone else stumbles across this thread).
    Last edited by Terc; December 6th, 2011 at 04:01 AM. Reason: Fixed!

Tags for this Thread

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
  •