LinuxQuestions.org
Help answer threads with 0 replies.
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 12-13-2006, 05:41 PM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 636

Rep: Reputation: 32
How do you mark a partition active?


I got the following error when installing lilo:

Warning partition /dev/hda2 not marked active.

How do I mark a partition as active?
 
Old 12-13-2006, 06:10 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
From man sfdisk
Code:
      -N number
              Change only the single partition indicated. For example:
                  % sfdisk /dev/hdb -N5
                  ,,,*
                  %
              will   make   the  fifth  partition  on  /dev/hdb  bootable
              (‘active’) and change nothing else.  (Probably  this  fifth
              partition  is called /dev/hdb5, but you are free to call it
              something else, like ‘/my_equipment/disks/2/5’ or so).
So, in your case, it would look like this...
Code:
sfdisk /dev/hda -N2
,,,*
 
Old 12-15-2006, 06:44 PM   #3
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 636

Original Poster
Rep: Reputation: 32
Is there any way to do it with regular fdisk?
 
  


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
Error - No Active Partition OldManRiver Linux - Software 4 11-29-2006 11:32 AM
Active/Bootable partition question linda Linux - Newbie 11 11-13-2005 08:24 PM
BIOS resetting active partition Snyke Linux - General 5 12-06-2004 10:51 AM
active partition? JediDrunk Linux - Newbie 9 09-01-2003 02:58 PM
Resize an Active Partition deesto Linux - General 1 02-04-2003 03:22 AM


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