LinuxQuestions.org
Visit Jeremy's Blog.
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 07-08-2014, 10:47 PM   #1
Gremlin022
Member
 
Registered: Jun 2014
Posts: 36

Rep: Reputation: Disabled
Unhappy cfdisk - cannot set boot flag, illegal command


Hi again,

I've managed to seriously bork the hard drive that had my Linux system on it. Not a big deal thus far, except that when using cfdisk (with Arch) I cannot set the root partition as bootable. It says it's an illegal command.

Did I destroy the Master Boot Record? How do I get cfdisk to make the drive bootable?

Was trying to install Arch and once that was done, reinstall sonar linux (ubuntu-based) and let it sort it out. That's the plan, anyway.
Thanks again.

Last edited by Gremlin022; 07-08-2014 at 10:57 PM.
 
Old 07-08-2014, 11:17 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Linux boot-loaders don't use the boot flag.
But even in the brain-dead world of Micro$oft bootloaders, it is only valid for a primary partition (on non-gpt disk). Some BIOSs demand a boot flag - stick it on any primary partition. Make sure you only have one boot flag.
 
1 members found this post helpful.
Old 07-09-2014, 12:10 AM   #3
Gremlin022
Member
 
Registered: Jun 2014
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Linux boot-loaders don't use the boot flag.
But even in the brain-dead world of Micro$oft bootloaders, it is only valid for a primary partition (on non-gpt disk). Some BIOSs demand a boot flag - stick it on any primary partition. Make sure you only have one boot flag.
I didn't know this. Thanks for the information. I got it to work with Gparted.
 
  


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
Necessary to set a boot flag? alfredo10 Linux - General 2 01-24-2011 12:11 PM
Set optimization Flag -o3 amarg Programming 2 09-18-2010 03:56 PM
How to set boot flag on USB through the terminal? linus72 Linux - Newbie 10 08-10-2010 01:18 PM
Can BIOS Limitation Prevent Grub from booting Windows if no boot flag set? CJS Linux - General 4 09-08-2008 09:17 AM
cfdisk and bootable flag HippieCat Slackware - Installation 1 08-30-2005 12:24 AM


All times are GMT -5. The time now is 02:42 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