LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-27-2009, 12:42 PM   #1
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Rep: Reputation: 30
may seem like a stupid question but...


If I'm manually partitioning and I make a separate partition for /boot which partitions do I mark as bootable?

Does the / (root) partition need to be bootable, the /boot partition or both?
 
Old 05-27-2009, 12:44 PM   #2
nuwen52
Member
 
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208

Rep: Reputation: 46
According to my linux system, /boot is bootable and nothing else.
 
Old 05-27-2009, 01:05 PM   #3
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Not a stupid question at all- The thing is, you don't need to set a seperate boot partition if you don't one, but yes- which ever partion your boot directory is on did ought to be bootable.

The kiwis seem pretty up on this sort of thing:
http://pressf1.pcworld.co.nz/showthread.php?t=62079
 
Old 05-27-2009, 01:34 PM   #4
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 30
I'll probably never use the benefits of a separate boot partition and it forced me to move the /tmp partition onto another drive (only 4 primary partitions allowed per drive right) but who knows. Maybe it will come in handy some day.

Anyway, thanks
 
Old 05-27-2009, 01:40 PM   #5
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
This is slightly off topic but is there any reason why you couldn't have made /tmp a logical partition? Just Curious.
 
Old 05-27-2009, 01:50 PM   #6
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
/boot directory contains the boot files (stage 1.5 and 2.0 of grub boot loader, vmlinuz kernel, and initrd.img, etc), so the partition where this directory could be found will be the bootable partition...
So, if /boot in a separate partition, then that partition will be the bootable one...

else, naturally /boot will be a part of / directory and will be residing in a partition where / directory is, and so / partition will be the bootable one.

Last edited by saagar; 05-27-2009 at 02:01 PM.
 
Old 05-27-2009, 01:55 PM   #7
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
sorry for double post..I am just editing to delete this....

Last edited by saagar; 05-27-2009 at 02:02 PM.
 
Old 05-27-2009, 03:02 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Linux (at least GRUB) does not use the "bootable" flag. The config file tells GRUB what partition to boot and--as long as there is boot code there--off it goes.
 
Old 05-28-2009, 09:40 AM   #9
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by verdeboy2k View Post
This is slightly off topic but is there any reason why you couldn't have made /tmp a logical partition? Just Curious.
I guess I figured there might be some performance penalty and overall it would just make things slightly more complicated (which is fine if it was necessary, but it really wasn't; on the second drive I had two spare partitions that were suitable for being a single partition).
 
Old 05-28-2009, 10:02 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by davidstvz View Post
If I'm manually partitioning and I make a separate partition for /boot which partitions do I mark as bootable?
It's irrelevant. Linux doesn't care about the bootable flag as pixellany very well said.

Quote:
Originally Posted by davidstvz View Post
I'll probably never use the benefits of a separate boot partition and it forced me to move the /tmp partition onto another drive (only 4 primary partitions allowed per drive right) but who knows. Maybe it will come in handy some day.
Linux partitions do not need to be primary either. You can even host a linux file system inside a file instead of a partition. To save you some trouble, you could just create a big extended partition and then create logical drives inside of it. You don't need primary partitions at all.

Quote:
Originally Posted by davidstvz View Post
I guess I figured there might be some performance penalty and overall it would just make things slightly more complicated (which is fine if it was necessary, but it really wasn't; on the second drive I had two spare partitions that were suitable for being a single partition).
Not really. Once extra indirection at boot time, nothing else. And of course no penalty at all at run time. It's just a location on the disk, nothing else.
 
  


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
Stupid, stupid question; I lost Klaptop. :( Surfrider Slackware 2 08-31-2005 10:12 PM
Stupid Dumb Stupid Question... drigz Linux - Software 3 09-23-2004 04:09 PM
Maybe a stupid question.... Coolstar Linux - Software 1 11-01-2003 07:58 PM
stupid question but here goes... RIgimp75 Slackware 3 09-01-2003 06:43 PM
Very, Very Stupid Question Lampei Linux - Newbie 2 03-17-2003 09:33 AM


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