On Fri, 2010-04-09 at 10:57 +1200, Bryce Stenberg wrote:
> 
> > -----Original Message-----
> > From: Wayne Rooney [mailto:[email protected]]
> > I don't think your /etc/fstab is quite right.  Can you post the file
> so we
> > can
> > see it.
> > 
> 
> 
> Fstab:
> 
> # /etc/fstab: static file system information.
> #
> # Use 'blkid -o value -s UUID' to print the universally unique
> identifier
> # for a device; this may be used with UUID= as a more robust way to name
> # devices that works even if disks are added and removed. See fstab(5).
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> /dev/mapper/grp--a-root /               ext3    errors=remount-ro 0
> 1
> 
> ## this is the row I added...
> /dev/mapper/grp--b-third /var           ext3    defaults      0
> 2
> 
> LABEL=BootPart        /boot   ext2    defaults        0       2
> /dev/mapper/grp--b-second /home           ext3    defaults        0
> 2
> 
> UUID=12f9e615-f44d-4392-bd81-457927f82142 none            swap    sw
> 0       0
> /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0
> 0
> /dev/sde1     /media/usbdrive auto    rw,user,exec    0       0
> 
> 
> Cheers, Bryce.
FOUND IT!

Was confused as I'v been mounting /var separately since it was split
away from /usr way back in the dark ages.

The last colum in fstab is marked pass. This defines in what order
partitions are mounted. You must mount /var in the first pass, as
software needs it there immediately. So change the root and /var pass
values to 0 and all should be well.

Once that is changed, there's no need for any of these weird /.var,
symbolic liks, etc solutions.

hth,

Steve


-- 
Steve Holdoway <[email protected]>
http://www.greengecko.co.nz
MSN: [email protected]
GPG Fingerprint = B337 828D 03E1 4F11 CB90  853C C8AB AF04 EF68 52E0

Reply via email to