LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 05-30-2013, 11:01 PM   #1
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Rep: Reputation: 16
Dual Boot Win 8 Ubuntu on two different drives


This should be simple but I can't find a simple answer.

I just built a new pc and installed Win 8 on one drive (primary) and Ubuntu 12.10 on another drive.

How do I create a (Grub or other) selection of which OS to go to at boot time (e.g. a simple menu).

Win 8 works fine on it's drive and Ubuntu 12.10 works fine on it's drive as is.
 
Old 05-31-2013, 03:24 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
I set mine up the same way.

What I do, is have win on the 1st drive and linux / (and /boot) on the second.

After installing windows, then I install linux and install the boot loader to the windows drive.

Now, Ubuntu uses grub2 and the process is different from grub(legacy).

This thread may help you...Update Grub

Hope this helps, Glenn

Last edited by GlennsPref; 05-31-2013 at 03:26 AM.
 
1 members found this post helpful.
Old 05-31-2013, 01:42 PM   #3
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Original Poster
Rep: Reputation: 16
2 Drive Boot

Quote:
Originally Posted by GlennsPref View Post
I set mine up the same way.

What I do, is have win on the 1st drive and linux / (and /boot) on the second.

After installing windows, then I install linux and install the boot loader to the windows drive.

Now, Ubuntu uses grub2 and the process is different from grub(legacy).

This thread may help you...Update Grub

Hope this helps, Glenn

Many thanks for the reply. I think I understand. At the moment though I can't access the 2nd drive with Ubuntu on it. I had loaded Ubuntu 12.10 on it before having to build a new pc. The 1st drive has been loaded with Win8 and seems to work ok. But while I can see the 2nd drive in BIOS, it won't boot. I guess I'll have to double check the connections and see if I can reload Ubuntu on it from the web. Then I can do the grub-mkconfig I suppose.

However, if you have any suggestions/guidance along the way, it is always appreciated.

Duane
 
Old 05-31-2013, 03:04 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,533

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
I usually don't try to dual boot that way. I just select the hard drive order with a hot key at boot time. That should allow you to keep each drive a single OS drive.

You can either fool with windows to allow dual boot option at boot or you can fool with linux loader to get both choices as an option.
 
1 members found this post helpful.
Old 05-31-2013, 07:01 PM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Quote:
But while I can see the 2nd drive in BIOS, it won't boot.
To be sure, to be sure... I used to disconnect the first drive and then install linux,,

That way there can be no confusion of which bootable disk, for grub?

Plug the windows drive back into the system and boot like you said, use the bios to select the OS to boot.

Linux stays fairly hidden to the casual onlooker, most notice the grub boot screen, you might get called a hacker, lol.
 
1 members found this post helpful.
Old 06-01-2013, 09:41 AM   #6
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Original Poster
Rep: Reputation: 16
Hot key?

Quote:
Originally Posted by jefro View Post
I usually don't try to dual boot that way. I just select the hard drive order with a hot key at boot time. That should allow you to keep each drive a single OS drive.

You can either fool with windows to allow dual boot option at boot or you can fool with linux loader to get both choices as an option.
Thanks for the reply. I guess Alzheimer's is really advancing in me. What do you mean by selecting the hard drive order at boot time with a hot key?

Duane
 
Old 06-01-2013, 12:15 PM   #7
jefro
Guru
 
Registered: Mar 2008
Posts: 11,533

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
Almost every computer made in the last 8 years has a way to select the boot media with some F key while booting from cold power off. Almost every computer made in the last 15 years can choose the boot order in bios.

What I am suggesting is that you fool the system sort of. Use bios to select which drive is considered the first bootable device. Since you say primary I assume IDE but I'd suspect more like sata channel.

What I do sometimes is to even go so far as to remove power from one drive. Set bios to show that drive as first boot order. Then load and OS. Do the same for the other OS so that both drives now contain an OS that the computer thinks is a first boot order. Neither drive has any knowledge of the other's OS. No grub or bcd issue to affect either.

Now that you have to clean OS installs, you can either permanently choose the boot media in bios order or select at boot time the choice with a F key option. Generally the F key is F9 or F12 or F10 but see your documentation. I do this also to boot to usb flash drives.

I started to do this a very long time ago with odd OS's. I continued it when issues like lilo and grub and later grub1 grub2. When I want to change the computer it is just a matter of one drive and not trying to fix a loader issue.
 
1 members found this post helpful.
Old 06-02-2013, 12:49 AM   #8
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Original Poster
Rep: Reputation: 16
Wow

jefro - wow that sounds wonderful. I'm trying it when I get home Monday. Thank you. Also, thank you GlennsPref.

Duane
 
Old 06-02-2013, 05:23 AM   #9
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by loftus49 View Post
Many thanks for the reply. I think I understand. At the moment though I can't access the 2nd drive with Ubuntu on it. I had loaded Ubuntu 12.10 on it before having to build a new pc. The 1st drive has been loaded with Win8 and seems to work ok. But while I can see the 2nd drive in BIOS, it won't boot. I guess I'll have to double check the connections and see if I can reload Ubuntu on it from the web.
Win8 computer, so it probably has 'secure boot'. If you turn off secure boot in the BIOS/UEFI it should boot.

Personally, I prefer to have windows bootloader on the windows drive, linux bootloader on the linux drive. That way you're got the standard windows bootloader on its own drive, if you remove the linux drive is like it was a 'clean' windows install. Setting the system to boot from the linux drive should let you choose to boot linux or windows.

Sure, you can normally select what drive to boot with some Fkey, but the timing can be a pain, and then you've got to select the drive, etc.. More fiddly and longer than doing it other ways IMO.
 
1 members found this post helpful.
Old 06-02-2013, 05:41 PM   #10
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Original Poster
Rep: Reputation: 16
Best laid plans of mice and men ...

I guess it's never simple.

The PC won't boot off my 2nd drive (Linux Unbuntu 12.10). With whatever method I use .. disconnecting drives, trying to force the bios, turning off secure boot ... I merely get a flashing curser in the top left of the screen and it does nothing.

I can see the second drive in BIOS but it does not appear anywhere while in Windows (file manager) except in the device manager. I'm down to trying to wipe out the drive and reformat, then load on the Ubuntu - but I cannot find a way to access the drive and reformat it. This is true even when all other devices are disconnected and it is the only one connected.

I understand that hard drives make good candidates for target practice!

Suggestions?

And thanks.
 
Old 06-02-2013, 07:01 PM   #11
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Not to disagree, but when I turn on/off the drives for install, I just unplug the power cable.

I don't change anything else.

That being said, all of my drives have been marked as active/bootable during the last partitioning and formats.

I suggest, Restart your best laid plans...

powerdown the pc.
disconnect the windows hdd.
boot the pc with the ubuntu dvd (if that fails, check the bios for your hdd).
repartition the drive, to get at least....

a swap, / and /home partitions,

(a fresh install usually requires the formatting of /(root) and /usr directories(and the partition they are on)

personally I go further and create /usr /var /boot /tmp /usr/local as well.

gparted is a good hdd program (live cd). But you can usually do it with the installer.

Be sure to mark the first partition of the drive as "active" for the bios.

install and reboot to check.....

refit win drive when ready.

Last edited by GlennsPref; 06-02-2013 at 07:05 PM.
 
1 members found this post helpful.
Old 06-02-2013, 07:07 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
Quote:
Originally Posted by loftus49 View Post
I can see the second drive in BIOS but it does not appear anywhere while in Windows (file manager) except in the device manager.
This is totally normal. Windows can't read Linux file-systems and therefore doesn't show those partitions in the file-manager. Usually at this point I would just boot from a live-CD, chroot into the installed Linux system and re-install the bootloader, to see if that works. If you want to reinstall Ubuntu just use the Windows partition manager to remove the Linux partitions, then do the install.
 
1 members found this post helpful.
Old 06-03-2013, 02:25 AM   #13
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Original Poster
Rep: Reputation: 16
Good news and not so good news.

First, I got it to boot on the 2nd drive (thank you GlennsPref and TobiSGD) by loading down an ISO to disk then booting from the disk (unplugging the Win drive), then installing the 12.10 to the drive. It seemed ok and I rebooted again to check it. But now, I am getting errors saying that it is booting in low graphics mode, etc. It's possible that I have errors on my ISO (should have check MD5Sum).

It's late here. I'll go back at it again tomorrow.

Again, thank you all for your help.

Duane
 
Old 06-03-2013, 06:51 AM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
Low graphics mode usually comes up when your video card is not supported by the free drivers, so that the system has to fall back to the Vesa drivers. Which videocard are you using? If it is an AMD or Nvidia I would try the proprietary drivers.
 
1 members found this post helpful.
Old 06-03-2013, 02:34 PM   #15
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Original Poster
Rep: Reputation: 16
Pushing the peanut forward!

I suspected a bad ISO on Ubuntu 12.10 so I loaded down and burned a copy of 13.04. I disconnected the WIN drive and booted to the 13.04 disk. I installed 13.04 replacing anything on the drive. I rebooted several times. I then reconnected the Win drive and rebooted. At first the Ubuntu drive displayed errors but after subsequent boots, it worked. I then rebooted and changed to the Win drive in BIOS.

I now have two drives (Ubuntu 13.04 and Win8) that can be booted to by changing the boot order in BIOS.

YEA!

YOU all did it and I thank you.

Now ... if there were a simple little menu that would pop up when you powered on and asked, " Ubuntu or Windows " that would be the ideal solution. But for the meantime, I'm a happy camper.

Duane
 
  


Reply

Tags
boot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me with dual boot Ubuntu 11.10 with Win 7 Vivin Linux - Newbie 2 10-22-2011 04:44 PM
Having to reinstall my Ubuntu on my Win 7 dual boot :( cavibird Linux - Laptop and Netbook 4 12-27-2009 02:12 AM
FC4 and Win XP dual boot Sata drives and Raid ChaoticPi Linux - Hardware 2 10-19-2005 11:47 PM
dual boot win 98 and ubuntu analogg59 Linux - Software 3 07-22-2005 11:44 AM
Dual Boot Win XP and FC2 w/ NTLDR on Seperate Drives? manstretch Linux - Newbie 3 05-21-2004 04:31 AM


All times are GMT -5. The time now is 05:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration