PDA

View Full Version : Ubuntu 14.04 and Windows dual boot



africanbuffalo
January 22nd, 2015, 06:14 PM
http://paste.ubuntu.com/9816306/

Hi,

Above is the bootinfo generated by boot-repair.

I had a working windows 7 on my Alienware laptop. I wanted to make it dual boot by installing ubuntu 14.04 LTS.
After installing ubuntu (I chose, work along side with windows option) on reboot boot menu does come up with ubuntu and windows options.
however when i select windows it comes up with error saying it cannot find an attached device etc.

please help.

Thanks

Paul

oldfred
January 22nd, 2015, 07:43 PM
Windows boot partition looks normal but sda2 does not.
Script could not mount it, blkid does not show a UUID, but partition table says it is NTFS.

Usually from grub menu the f8 Windows repair console does not work. Some said it may if you press it at the same time as the Windows entry in grub. Better to have a separate Windows repair flash drive for repairs.You may be able to install with Boot-Repair a Windows boot loader and then see if f8 works.
I would see if you can run chkdsk on your main install in sda2.
If not I might try testdisk and see what it says about sda2.

Did you shrink Windows from inside Windows using its partition tools and then reboot into Windows immediately so it can run chkdsk. And make sure hibernation is off?

africanbuffalo
January 22nd, 2015, 09:18 PM
first of all, thanks a lot for the response.
I did shrunk windows using its partition tools and then rebooted into windows couple of times and ran chkdsk before I installed ubuntu. chkdsk took a long time to finish but I made sure it ran to completion. sorry didn't check if hibernation setting is off.
I will try the f8 key.
test disk says invalid ntfs or exfat boot. so now I am doing a search to find the partition.
I will create a windows 7 repair disk and try if that works.

i will post the progress here.

oldfred
January 22nd, 2015, 09:55 PM
Sometimes you have to do a deeper search with testdisk.

Or you may need this, but you want partition 2:
http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step#NTFS_Boot_sector_recovery

[HowTo] Repair the bootsector of a Windows partition - YannBuntu
https://help.ubuntu.com/community/BootSectorFix
http://ubuntuforums.org/showthread.php?t=1926510