Mounting drive

Richard Barmann reb68 at bellsouth.net
Fri Jun 3 23:41:38 UTC 2005


On Friday 03 June 2005 05:47 pm, arjaybe wrote:
> Are all those asterisks actually in the commands you use?  Try them
> without.  eg,
>
>
>
> sudo mkdir /mnt/windows
>
>
>
> Check to see if /mnt/windows exists (it should), then
>
>
>
> sudo mount -t ntfs /dev/hda1 /mnt/windows
>
>
>
> Check to see if it's mounted.
>
>
>
> To automate it you'll then add a line to /etc/fstab (not
> root/etc/fstab)
>
>
>
> /dev/hda1 /mnt/windows ntfs defaults,umask=000 0 0
>
>
>
> To edit fstab do sudo kwrite /etc/fstab (you need root privileges)
>
>
>
> Let us know how it goes.
>
>
> --
> arjaybe
The sequence from arjaybe mounts and unmount the drive but when mounted I get 
"Could not enter folder /mnt/windows."
The following is the error codes while setting this up,
--------------------------------
root at adsl-065-005-184-154:/home/richard # sudo mkdir /mnt/windows
mkdir: cannot create directory `/mnt/windows': File exists
root at adsl-065-005-184-154:/home/richard # sudo mount -t 
ntfs /dev/hda1 /mnt/windows mount: /dev/hda1 already mounted or /mnt/windows 
busy
mount: according to mtab, /dev/hda1 is mounted on /media/windows
root at adsl-065-005-184-154:/home/richard # sudo kwrite /etc/fstab
kbuildsycoca running...
KWrited - Listening on Device /dev/pts/2
libhal.c 911 : Error sending msg: No property info.category on device with 
id /org/free desktop/Hal/devices/computer
libhal.c 911 : Error sending msg: No property info.category on device with 
id /org/free desktop/Hal/devices/ide_0_0
libhal.c 911 : Error sending msg: No property info.category on device with 
id /org/free desktop/Hal/devices/ide_0_1
libhal.c 911 : Error sending msg: No property info.category on device with 
id /org/free desktop/Hal/devices/ide_0_1
libhal.c 911 : Error sending msg: No property info.category on device with 
id /org/free desktop/Hal/devices/ide_0_1
root at adsl-065-005-184-154:/home/richard # ICE default IO error handler doing 
an exit(),  pid = 10082, errno = 0
root at adsl-065-005-184-154:/home/richard # sudo mount -t 
ntfs /dev/hda1 /mnt/windows
root at adsl-065-005-184-154:/home/richard #
------------------
Does thie help?
Dick Barmann




More information about the ubuntu-users mailing list