LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-11-2008, 05:15 PM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
I got a noob question about the /boot partition


I triple booted my puter with xp/backtrack 3/fedora 8.

Here are my partitions

sda1 windows xp
sda2 /boot
sda3 / for fedora 8
sda4 extended
sda5 swap
sda6 backtrack 3

I'm using the grub bootloader. In my grub.conf, (hd0,2) which is the sda3 fedora 8 partition is where fedora 8's kernel and initrd are located. The same goes with backtrack 3. So basically sda3 is used for booting kernels and initrd.

My question is, what is the purpose of sda2 the /boot partition if it doesn't get used?

When would it get used?
 
Old 08-11-2008, 05:27 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
If it has nothing in it, it has no use.
If it has something in it, and is not being used, same applies.
 
Old 08-11-2008, 06:43 PM   #3
kzutter
Member
 
Registered: Nov 2007
Location: Carson City, NV USA
Distribution: Various, but always Debian based
Posts: 70

Rep: Reputation: 15
Smile Who or what created the partition

My question is: Where did it come from?

Did you create it? Perhaps when installing Fedora, you created a boot partition, but then neglected to tell the installer that you wanted it mounted and used.

I am in the habit of creating a separate boot partition and formatting it with a basic filesystem like ext2 or ext3. My root system is usually something more esoteric or exotic like xfs, which the bootloader may not like.

In any case, if it is indeed not being used and you do not need to reclaim the space, you can pretty much ignore it for now.

Regards,
Ken
 
Old 08-11-2008, 08:44 PM   #4
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Original Poster
Rep: Reputation: 70
Hehe, well I created it during the Fedora 8 install. I'm barely learning how to use linux(about 5 months now) and was just in a habit to make 3 parttions, /boot, swap, and root /.

It's only 100mb, guess I'll just keep it there just in case.
 
Old 08-11-2008, 08:48 PM   #5
kenoshi
Member
 
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32
If its not being used when checking df -h , then you can just delete it.
 
Old 08-11-2008, 08:57 PM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Fedora wants to default to an LVM filesystem (logical volume management) that grub can't understand, so the Fedora default is to create a /boot that is formatted as ext3 and it puts the kernel, etc. there where grub can read it. The boot process then loads the LVM, and you're on your way.

It's actually handy to have /boot separate - if nothing else I stick my "master" grub there and chainload to other grubs on each linux / partition/ It makes menu.lst uodating easier (since most updaters want to update their menu.lst when a new kernel is installed)
 
Old 08-12-2008, 12:50 AM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
That is it. It is a bad idea to place your boot files on an LVM. And the same applies if you decide to use XFS or JFS as a filesystem for your / partition.
 
  


Reply



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
Noob install and partition question NickC Ubuntu 6 09-24-2006 11:48 AM
boot/partition question whitshade Linux - General 4 05-15-2006 05:33 AM
Please Help A Noob, Quick Question About Dual Boot JacobRV Linux - Newbie 6 11-18-2004 10:35 PM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 12:03 AM
Clearning up the /boot partition question tarballed Linux - General 5 06-22-2003 12:56 AM

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

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