View Full Version : ubuntu & windows boot

August 19th, 2013, 02:27 PM
here's what I have... first drive, I had win XP and then installed ubuntu.. worked great and I had access to both... I ended getting another drive and installed windows 8, with its boot the only way I could access the ubuntu is if I booted of the first drive.. which was fine cuz I still had access to all 3... but having problems with XP, I did a repair and now its all messed up, I tried bunch of things, even ran a live cd and tried the boot repair which now the grub ONLY loads ubuntu..
heres the 'link' it generated:

can I keep all 3 OS with only 1 boot manager?

August 19th, 2013, 02:32 PM
So you can boot Ubuntu?
Please try this from Ubuntu

sudo update-grub

sudo grub-install /dev/sda

August 19th, 2013, 02:46 PM
thanks for the quick reply... I did upgrade grub.. seems to be stuck...

give me a message...

found...so and so
found... so and so
found memtest...

and nothing after that besides a flashing cursor under memtest... about 5 min already

August 19th, 2013, 04:03 PM
In the nautlius file browser
Open the windows partitions as if to read the files, for both XP and Windows 8
Is there an error with accessing windows 8 or is it OK?

August 19th, 2013, 04:53 PM
ok.. I'll try that.. I'll let you know after I come home.... looking over the grub report.. it said something .. "XP not detected by os-prober on sda1. Please report this message to boot.repair@gmail.com"

August 19th, 2013, 05:16 PM
Windows installs its boot files to the active partition (boot flag) of the drive you have set to boot from with BIOS. So it looks like Windows 8 installed its boot files to your XP install.

Boot files in XP, You also have grldr or grub4dos, so were you using EasyBCD?
Boot files: /boot.ini /grldr /bootmgr /Boot/BCD /grldr /ntldr

Windows Boot files:
/boot.ini /ntldr /NTDETECT.COM
Vista/7/8 (with 7 or 8 the first two files are usually in a separate 100MB boot partition) Yours are in XP.
/bootmgr /Boot/BCD /Windows/System32/winload.exe

I might install a Windows boot loader to sdb and make repairs so Windows 8 boots without any other drive. You would have to install the Windows boot loader to the MBR and set BIOS to boot sdb before running Windows 8 repairs.

WARNING for Windows 8 Dual-Booters
It defaults shutdown to a hybrid hibernation/off state for fast boot
But then files may be corrupted similar to Windows 7 Hibernation:
Fast Startup off/hibernation
Force removal of hiberfil from Ubuntu

August 20th, 2013, 12:42 AM
In the nautlius file browser
Open the windows partitions as if to read the files, for both XP and Windows 8
Is there an error with accessing windows 8 or is it OK?

ok, I have no problems reading the first drive with XP and ubuntu... BUT now the win8 drive does not even show up in the browser.. but it was there yesterday before I ran the boot repair

but the second drive does show up in the bios... the grub is installed on the second (win8) drive ... if I diable/unplug the second drive than nothing loads up.. I get a grub rescue screen

August 20th, 2013, 04:10 AM
Last machine I worked on with 2 drives and winders 8 I had to have the windows 8 HD 1st in the BIOS boot order
But my knowledge is incomplete because the customer to a look at windows 8 and hated it, and we replaced it with windows 7.

I don't know how knowledgeable you are or how easy you will find, but...

You could make the win8 HD first and repair it's MBR
Replace the Ubuntu HD and use the live cd to repair grub (installing to sda) (the windows 8 HD) MBR

August 22nd, 2013, 12:54 AM
ok.. this is what i did so far... set the 2nd drive (IDE: win8 and grub boot) to be the 1st boot drive.. booted off the win8 cd and went into command prompt... ran chkdsk c:.. no problems.. ran chksdk d: (sata: winXP and ubuntu) which found few 'index' errors... ran chkdsk with /f option to fix errors

once done, I wanna disable/remove the the second drive and run the fixmbr and fixboot on the xp drive
then, remove the xp drive and connect the win8 and do the same
once the xp can boot off the 1st by itself and the win8 can boot by itself when the 1st boot is set to second drive
then I wanna run the ubuntu live cd and try the boot repair...

ok.. with the second drive ddisconnected.. I got the xp to boot..

August 22nd, 2013, 05:08 AM
YES.. I finally got it... I repaired win8 boot with bootrec /fixmbr
so, I had first drive boot into xp and second into win8 and still nothing for ubuntu..
I downloaded boot editor... easy BCD.. with it, took me less than a minute to add all three into the boot menu...finally I can select any OS without having to switch drive boot!!

August 22nd, 2013, 05:11 AM
the EASY BCD is awesome!!
thanks all for help