PDA

View Full Version : [SOLVED] Lost access to Windows partition after install (but it's still there)



superchar42
August 9th, 2014, 12:44 AM
This surprised me because I've been using linux on and off for 10 years.

I just did an install of Ubuntu on my laptop. I created empty space using the tool built into windows, created a partition with the ubuntu installer, then proceeded to install on the not-windows partition.

So I boot up my shiny new ubuntu, notice that the grub menu didn't pop up, and made a mental note to look into that later. Later was a couple days when I wanted to play Star Trek Online, and tried to get to Windows 7 after getting grub to load up and it wasn't even there!

So I thought I had wiped my Windows partition out but when I'm in Ubuntu I can access all the data.

My guess is I need to repair the bootloader?

Bashing-om
August 9th, 2014, 12:47 AM
superchar42; Hi !

Sounds reasonable !
Try from the ubuntu install:
Terminal command:


sudo update-grub

To pick up the Windows install, and chainload it to grub's menu.



hope this helps

superchar42
August 11th, 2014, 03:33 AM
Alright, ran it and got this -- I'll update what happens on reboot. :)


$ sudo update-grub
[sudo] password for charlie:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda4
done

superchar42
August 11th, 2014, 01:19 PM
Success!

Thanks a bunch!

Bashing-om
August 11th, 2014, 05:18 PM
superchar42; Great !

Ain't grub a wonder to behold !



all in the care and feeding



of your 'buntu