[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#485790: generate separate /boot as workaround for buggy LBA48 ?

On Sun, Jun 15, 2008 at 04:52:32PM +0200, Frans Pop wrote:
> The disadvantage of that (assuming you want to avoid LVM) is that for a 
> really small / you'll need at least separate /var, /usr, /tmp, /srv 
> and /home partitions and then you have the question what the best 
> relative sizes are for that particular user.

> Here's a wild idea that could be used to work around that.

> Create two partitions: / and a partition e.g. "/media/multifs".
> And then bind mount all other partitions inside the second one.

> /etc/fstab would look something like this:
> <snip>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> /dev/hda1       /               ext3    errors=remount-ro 0       1
> /dev/hda3       /media/multifs  ext3    defaults        0       2
> /dev/hda5       none            swap    sw              0       0
> /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

> /media/multifs/home	/home	ext3	bind		0	0
> /media/multifs/srv	/srv	ext3	bind		0	0
> /media/multifs/usr	/usr	ext3	bind		0	0
> /media/multifs/var	/var	ext3	bind		0	0
> /media/multifs/tmp	/tmp	ext3	bind		0	0
> </snip>

> I've tested this and it actually seems to work. If people like this idea, 
> all we'd need is to add support for it in partman :-)
> One added advantage would be short fsck times for /.

I've done this sort of thing before, in the distant past; I've moved away
from it because I couldn't find any real advantages to not just using a
single large root partition plus a small /boot.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Reply to: