[plug] fstab

Colin Muller colin at twobluedots.com.au
Sun Jun 9 14:25:47 WST 2002


On Sun, Jun 09, 2002 at 12:07:03PM +0800, Jon L. Miller wrote:
> After doing an upgrade from a old hard disk to a new hard disk I need to
> make changes to the /etc/fstab.  On the new disk it is located at
> /newhdd/rt/etc/fstab
> 
> In /etc/fstab on the old drive it states the following:
> LABEL=/		/
> LABEL=/boot	/boot
> 
> On the new hdd it should state the following:
> LABEL=/		/newhdd
> LABEL=/boot	/newhdd/rt/boot
> is this correct?

Replace the LABEL instructions in fstab with /dev/hdb1 and /dev/hdb2 -
it may be mounting the old drive's partitions if they have the labels
'/' and '/boot'. I don't know what sort of error message you would get
(if any) if you mount the same rive on two mount points in this way.

> I ran the tune2fs -j /dev/hdb1 and /dev/hdb3
> I do not see the correct file system when I issue the command mount, it
> still shows up as ext2.  Is there a reason for this?

If it's mounting the old drives instead of the new and the old
partitions are ext2, that might explain this.

Colin



More information about the plug mailing list