Fw: Sharing swap and /boot

Josh Glover colug at jmglov.net
Wed Jun 9 20:51:47 EDT 2004


Quoth Jim (Wed 2004-06-09 12:03:51PM -0400):

> On Wed, 09 Jun 2004 10:03:29 -0400 (EDT) Josh Glover <colug at jmglov.net> wrote:
> 
> > you can always let [a linux installer] put /boot on the
> > / partition, and then tweak /etc/fstab afterwards.
> 
> This can be troublesome with big drives on boxes with old BIOSs.  
> /boot is typically in a separate partition, 
> so that the entirety of it can be placed at the beginning of a drive.  
> 
> Nonetheless, installing /boot to somewhere other than an existing 
> /boot partition, and tweaking stuff later is fine.  

Right, that is what I was advocating. Besides the very good reason you
mentioned, keeping /boot at the beginning of the drive, another great
reason to partition it separately is so that you can keep it unmounted
until you need it, so it is really hard to screw it up. My /etc/fstab
has a line like this:

/dev/hda1    /boot     ext2    noauto,noatime      1 1

Not only is it not mounted by default, it is also ext2 so that I do
not have to pay the disk space cost for a journalling filesystem.
Since it is only mounted when I am copying a new bzImage over, I am
not too worried about the consistency of that partition.

-- 
Josh Glover

Gentoo Developer (http://dev.gentoo.org/~jmglov/)
Tokyo Linux Users Group Listmaster (http://www.tlug.jp/)

GPG keyID 0xDE8A3103 (C3E4 FA9E 1E07 BBDB 6D8B  07AB 2BF1 67A1 DE8A 3103)
gpg --keyserver pgp.mit.edu --recv-keys DE8A3103
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.colug.net/pipermail/colug/attachments/20040609/5cc0670c/attachment.bin


More information about the colug mailing list