Mounting Ext HDD

albi at scii.nl albi at scii.nl
Sun Sep 4 10:39:16 UTC 2005


On Sun, 04 Sep 2005 11:26:17 +0930
Mike <oziemike at yahoo.com> wrote:

> I have a Lacie external 200Gb HDD and I am trying to mount it without
> much luck.
-- cut --
> SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
> sda: assuming drive cache: write through
>  /dev/scsi/host5/bus0/target0/lun0: p1 < p5 >
> Attached scsi disk sda at scsi5, channel 0, id 0, lun 0
> Attached scsi generic sg1 at scsi5, channel 0, id 0, lun 0,  type 0
> 
> As it stands it is formatted in ext2 and I would like to mount it
> manually or eventually at boot. 
> 
> Any attempts I have made at putting it in fstab have failed as hotplug
> hasn't found it at this stage.

how did you put an ext2-partition on it ?
what happens if you do : mount -t ext2 /dev/sda1 /mnt
? any error-messages (try dmesg afterwards) ?

about the automatic mounting during boot, you can create a file
called /etc/init.d/rc.local and put the following in there :

#! /bin/sh
mount -a

make it executable (chmod 755)
install rcconf, and add rc.local

-- 
grtjs, albi
lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import




More information about the ubuntu-users mailing list