LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2015, 10:05 PM   #1
randyvh
Member
 
Registered: Jun 2014
Posts: 95

Rep: Reputation: Disabled
duel boot not working


Hellow
I am trying to duel boot ubuntu 14.04.3 and windows 8. At this point I may have made a shambles of my partitions. Ubuntu will boot but I get an error message while opening windows in grub "windows boot manager on /dev/sda1". Here are what my partitions look like.
part.#1 524 mb /dev/sda1 bios boot, part#2 42mb /dev/sda2 fat32 not mounted
part#3 134mb /dev/sda3 ms recovery, part#4 736mb /dev/sda4 ms recovery ntfs
part#5 385 gb /dev/sda5 basic data ntfs not mounted, part#6 9gb /dev/sda ms windows recovery ntfs not mounted, part#7 105 gb /dev/sda7 linux file system ext4 vertion1 mounted at file system root.Should I wipe out everything and just install ubuntu and then figure out how to install ms, or if I haven't screwed up to bad, is there a way to get ms to boot? sda1 was where ms boot loader was.

Last edited by randyvh; 09-19-2015 at 10:10 PM. Reason: missing data
 
Old 09-20-2015, 07:44 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,152

Rep: Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368
Windows and dual boot

First: Windows always tries to take over ALL boot control on install. Thus, to install dual boot you ALWAYS want to install Windows first.

Second: make sure that BOTH things you want to install will install properly and boot using your current BIOS settings. It is easy (now) to have two perfectly good operating systems that require different settings, rendering them unfit for dual boot. That USED to be impossible (than you Microsoft!).

Third: if you can, pre-partition your drive and get the first one (windows) to use the partitions you allocate for it, and NOT the ones you set aside for other operating systems. If Windows insists on taking up everything, you will be forced into shrinking the windows partition to free up space for your Linux partition. Easy, when it works: a real pain when it does not.

There are a gazillion (technical term for a larger number than I want to know about) how-to documents, wiki pages, and online tutorials for this process. Some of them are very good, some are seriously dated, some WERE good but are obsolete or apply only to certain hardware.
Look up a few, and focus on those specific to your version of Windows and linux distribution if you can.

You want grub to take over boot (on the raw disk MBA (/dev/sda ) so it can forward boot to the windows boot manager in the windows partition AND still serve the linux boot. When this works properly, you might see a message like that on install and updates, but not on every boot.

I hope that this helps.
 
Old 09-20-2015, 09:20 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,823

Rep: Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842
Are you using UEFI to boot? A default windows 8 install will use UEFI, if you installed it yourself, then you would know whether you use it or not. If you did have windows using UEFI, you need to install Ubuntu in UEFI. Your partitions look a little bit odd. Usually in UEFI, there will be a 200-500MB partition for EFI files and it will be labelled so. Not sure what those other small partitions are unless you also created a BIOS boot partition. Not sure why you would have 3 partitions labelled Recovery. The only one that seems large enough to be an actual recovery partition is sda6 at 9GB.

Post more details. The best way to do that is to boot Ubuntu and go to the site below and get boot repair. Download and run it but select the option to CreateBootInfo Summary and do not try to do any repairs. If you post the output here or post a link to it, someone should be able to give you suggestions.

https://help.ubuntu.com/community/Boot-Repair
 
Old 09-20-2015, 11:03 AM   #4
randyvh
Member
 
Registered: Jun 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
Thankyou both for your replies.
Yancek, I did as you suggested.
here is the info.
http://paste.ubuntu.com/12501878
 
Old 09-20-2015, 12:44 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,823

Rep: Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842
You have Grub installed to the MBR of the drive pointing to sda7 where Ubuntu is with it's boot files so that boots. sda1 is the BIOS boot partition needed to boot using GPT which you are. I don't know what sda2, sda3 and sda4 are except that they are windows partitions. The only partition with windows boot files is sda5 which is a logical partition. Windows needs to have it's boot files on a primary. I don't use UEFI but from what I have read, if you are using GPT with windows, you need to use UEFI which you are not. There is not entry for windows in the grub.cfg file. I don't know is running: sudo update-grub from Ubuntu would help due to the UEFI/GPT thing as I don't use it. Wait for someone who uses UEFI/GPT and windows to post as I don't know how you would repair the problem.
 
Old 09-20-2015, 02:02 PM   #6
randyvh
Member
 
Registered: Jun 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
O.K. thanks.
 
  


Reply


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
duel boot intheshadows Linux - Newbie 15 12-23-2009 05:07 PM
[SOLVED] ubuntu linux will not boot from SATA duel boot system with XP makoshark Linux - Newbie 4 06-20-2009 11:07 PM
Duel boot w/ windows. I've got it working but it fails at times, why? sleekmason Linux - General 8 11-26-2006 03:13 AM
duel boot again help me kennycc Linux - Software 2 03-19-2005 04:55 PM
Duel boot?? Lost_linux_Noob Linux - Newbie 6 10-08-2003 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration