LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-25-2006, 01:00 AM   #1
ezor
Member
 
Registered: Mar 2006
Location: Toytown, NY
Distribution: Suse10.2 FreeBSD6.2
Posts: 83

Rep: Reputation: 15
Questions about a /boot partition


While Googling, I saw a suggestion to create a /boot partition. I'm assuming it would be a partition in addition to Linux Swap and Linux.

What would its purpose be, (1) in a linux only or (2) in a dual boot installation?

How is this done, and where would it fit into the partitioning scheme, eg. hda1 for /boot, hda2 for Linux Swap, hda3 for Linux?

What would be the size of this partition, and what would be written into it?

Thanks for any help.
 
Old 03-25-2006, 01:16 AM   #2
jerryvb
Member
 
Registered: Nov 2003
Location: Jerryland
Distribution: LinuxMint
Posts: 59

Rep: Reputation: 16
You can create one if you want to, but as far as I know, it's not needed for today's Linux distributions.

It used to be that lilo couldn't read the boot files past the 1024th sector on the hard drive, so a boot partition at the front of the drive was needed to house the boot files. Lilo has since overcome that limitation, so a boot partition isn't needed any longer.
 
Old 03-25-2006, 02:00 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
If you have a multiboot setup where you are running more than one distro, you might have a shared /boot partition.
You would want to update the boot loader using the same distro each time, but a /boot partition <100MB could contain all of the kernel and initrd files no problem.

Another reason to have a separate /boot partition is to use a filesystem that is better supported by Lilo or Grub. For example, the other partitions may be a raid1+0 partitions, and having the /boot on an ext3 partition is easier to boot from and setup.
 
Old 03-25-2006, 02:20 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
One reason creating a separate /boot partition is security -- in fstab, you can mount it read-only, thus creating another barrier against anyone/anything that tries to mess with it
 
Old 03-25-2006, 03:19 PM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
an ext3 partition is probably not the best choice for a /boot partition - since it is small (all you store there is a few kernels and grub's files...) and seldom written to the simplest is the best - ext2 .
A filesystem check - should it be needed - on such a small partition (mine is 32 MB) takes less than a second.
Anything else would be wasted space for a journal you never really need - goes for reiserfs as well.
 
Old 03-25-2006, 11:32 PM   #6
ezor
Member
 
Registered: Mar 2006
Location: Toytown, NY
Distribution: Suse10.2 FreeBSD6.2
Posts: 83

Original Poster
Rep: Reputation: 15
I was looking for partitioning info when I came across the reference to /boot. As J.W said, it had to do with security. I gather then that it is not generally used.

Thanks everyone for responding.
 
  


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
Deleted linux partition, how to boot Windows partition? mysak Linux - General 3 12-14-2005 04:22 PM
Disk Partition Resize Trouble and Partition Questions GNewbie Linux - Newbie 2 11-15-2005 04:15 PM
Booting more than one linux - GRUB and \boot partition questions rozoweskarpetki Linux - Newbie 8 05-25-2005 05:58 AM
Nebie Questions- Partition, Format, Dual Boot Zychior Linux - General 3 09-13-2004 04:58 PM
strange partition table - boot partition empty etanter Linux - General 0 12-23-2003 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:01 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
Open Source Consulting | Domain Registration