LinuxQuestions.org
Review your favorite Linux distribution.
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 01-05-2016, 11:59 AM   #1
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Rep: Reputation: Disabled
Two boot partitions- bad idea?


I'm not sure how this happened, but I have two partitions with a boot flag- sda1 on the Windows side, and sda5 on the Linux side. Is that bad housekeeping? I'd be willing to guess it's possible to get along with just one, so long as it has a boot manager that can start either Windows or Linux.
 
Old 01-05-2016, 01:32 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,274

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
The boot flag is relevant only on a primary partition, so get rid of the one on partition 5. To a Linux boot loader, the flag on partiton 1 doesn't matter either, but some BIOS implementations won't recognize the drive as a boot candidate if there is no primary partition with that flag set.
 
Old 01-05-2016, 01:35 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,348

Rep: Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258
The "bootable" flag is largely irrelevant. Just ensure that your bootloader of choice is the one which BIOS/EUFI points to.
 
Old 01-13-2016, 02:19 PM   #4
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
The "bootable" flag is largely irrelevant. Just ensure that your bootloader of choice is the one which BIOS/EUFI points to.
How do I do that, please?
 
Old 01-13-2016, 02:57 PM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18.3 MATE, MX-18.3
Posts: 2,457
Blog Entries: 10

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
Seff,

One way is as follows.

Boot using your live usb/cd of Linux Mint.

Select “Try Linux Mint” and open Terminal.

Use boot-repair to fix the problem.

Run the following commands, one at a time, in terminal:

Code:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

sudo apt-get install -y boot-repair && boot-repair
Use Recommended Repair then reboot.
 
Old 01-13-2016, 03:10 PM   #6
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
Thanks. Unfortunately there's a problem. Here are the error messages I get after trying that first command:

Quote:
W: Failed to fetch cdrom://Linux Mint 17.2 _Rafaela_ - Release amd64 20150627/dists/trusty/contrib/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Linux Mint 17.2 _Rafaela_ - Release amd64 20150627/dists/trusty/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Linux Mint 17.2 _Rafaela_ - Release amd64 20150627/dists/trusty/non-free/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
 
Old 01-13-2016, 04:15 PM   #7
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18.3 MATE, MX-18.3
Posts: 2,457
Blog Entries: 10

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
Seff,

Apologies. The commands have been updated.

Try:

Code:
sudo sh -c 'echo "deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu saucy main" >> /etc/apt/sources.list'

 sudo sh -c 'echo "deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu saucy main " >> /etc/apt/sources.list'

 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 60D8DA0B

 sudo apt-get update

 sudo apt-get install boot-repair
Then run:

Code:
sudo boot-repair
Use Recommended Repair then reboot.

Last edited by beachboy2; 01-13-2016 at 04:31 PM.
 
Old 01-13-2016, 04:55 PM   #8
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
Not sure what's going on; when I copy-pasted your first command it just went back to the prompt.

Quote:
int@mint ~ $ sudo sh -c 'echo "deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu saucy main" >> /etc/apt/sources.list'
mint@mint ~ $ sudo sh -c 'echo "deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu saucy main" >> /etc/apt/sources.list'
mint@mint ~ $
 
  


Reply

Tags
boot, partition flags


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
dd - why is this a bad idea? Why is it failing? genderbender Solaris / OpenSolaris 25 10-22-2010 08:14 AM
couldn't get into fdisk; deleted partitions anyway; bad idea? dancehallwraith Linux - Newbie 3 08-22-2008 08:44 AM
Good idea/bad idea: interface colors introuble General 5 10-30-2006 01:33 PM
Bad Idea dudeman41465 Linux - Software 1 10-10-2005 02:37 AM
Is this a good or bad idea? kemplej Linux - Software 2 10-26-2004 09:34 AM

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

All times are GMT -5. The time now is 09:13 AM.

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