You are not logged in.

#1 2009-08-25 23:49:54

toasty_ghosty
Member
From: The Internets
Registered: 2009-01-12
Posts: 103

/boot - What do you do?

Hello,

Installing Arch on a friends laptop soon. I have always just followed the Wiki on partitioning, but my question is this: What type of file type do you use on /boot? Is there an advantage of using ext4 or ext3 over the default ext2? I understand ext3 and ext4 use journaling, but why is ext2 still default?

Thanks.

-Ghosty


Thinkpad X200 FTW!

Offline

#2 2009-08-26 00:05:35

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: /boot - What do you do?

I suppose ext2 is common for /boot because there is no need for journalling or any of the other fancy features the other filesystems have.


neutral

Offline

#3 2009-08-26 00:15:58

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: /boot - What do you do?

I still use ext2... No point in journaling something that really only gets used at boot time. It's arguable that ext2 is the most reliable and most widely supported across the board so if anything fsck's up, it's least likely to be that, and if it does, you've got a good chance at recovering it.

Offline

#4 2009-09-01 00:51:57

toasty_ghosty
Member
From: The Internets
Registered: 2009-01-12
Posts: 103

Re: /boot - What do you do?

Both bring up good points. Next time I install Arch I won't have to fret about "only" using ext2.

Thanks.

-Ghosty


Thinkpad X200 FTW!

Offline

#5 2009-09-01 21:57:54

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: /boot - What do you do?

just to say i use ext2 too. If anything it provides you with a tiny bit more space, so less waste.

Just make sure you dont use ext2 anywhere else ;-)

Offline

#6 2009-09-01 22:22:39

filoktetes
Member
From: Skien, Norway
Registered: 2003-12-29
Posts: 287

Re: /boot - What do you do?

Maybe this is a tiny bit offtopic, but I can't see the use of having a /boot partition for most users. If something terrible happens to /, I can't see how keeping the kernel imaga and other boot files safe can help me. If I were at all able to boot, I would probably boot into a useless system anyway. Using a usb/cdrom rescue disk is usually the best way when something goes terribly wrong (which it doen't for you, I'm sure of course).
I'm not saying that having a separate /boot partition makes a lot of sense for systems totally different from mine, of course, but I can't think of why.

Last edited by filoktetes (2009-09-01 22:22:57)

Offline

#7 2009-09-01 22:41:14

apollokk
Member
From: Please delete me!
Registered: 2009-03-23
Posts: 157
Website

Re: /boot - What do you do?

I always format this partition as ext3.

With Grub2, we'll have ext4 support.


/me wants you to detele this account... please delete it.

Offline

#8 2009-09-01 23:14:13

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: /boot - What do you do?

filoktetes wrote:

I'm not saying that having a separate /boot partition makes a lot of sense for systems totally different from mine, of course, but I can't think of why.

It allows you to use file systems for your '/' partition that GRUB doesn't support.

Offline

#9 2009-09-01 23:42:36

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: /boot - What do you do?

Yes, you pretty much only need a separate partition for /boot if you're not using one of the Ext filesystems or ReiserFS for your root partition, or your root partition is on LVM/RAID.

Last edited by Wintervenom (2009-09-01 23:43:34)

Offline

#10 2009-09-01 23:52:22

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: /boot - What do you do?

$ mount -l |grep boot
/dev/hda2 on /boot type ext2 (rw)

Offline

Board footer

Powered by FluxBB