LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting external hard disk (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-external-hard-disk-359932/)

ankit_mcgill 09-03-2005 05:36 PM

mounting external hard disk
 
I moved on from windows & installed suse 9.1 . I have to say ... linux rocks !:D

my P3 laptop runs way faster than it did on windows !!

now when i connect my external 200Gb hardisk suse mounts it in the directory file:/media/usb-storage-10000E0008EA8E93:0:0:0p1/.

what i want it to do is to mount the ext hdd to the directory /media/Lacie.

I read some posts and they told to edit the /etc/fstab file . i did that but still suse mounts it to the same directory with the disk volume name :confused:

my fstab file is :

/dev/hda2 / reiserfs acl,user_xattr 1 1

/dev/hda1 swap swap pri=42 0 0

devpts /dev/pts devpts mode=0620,gid=5 0 0

proc /proc proc defaults 0 0

usbfs /proc/bus/usb usbfs noauto 0 0

sysfs /sys sysfs noauto 0 0

/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

/dev/sda1 /mnt/Lacie vfat noauto 0 0


i tried using both /dev/sda and /dev/sda1 but nothing . also which one is the right one ? sda or sda1

when i do fdisk -l i get the following output

Disk /dev/hda: 20.0 GB, 20003880960 bytes
15 heads, 63 sectors/track, 41344 cylinders
Units = cylinders of 945 * 512 = 483840 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 1084 512158+ 82 Linux swap
/dev/hda2 * 1085 41300 19002060 83 Linux

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 24321 195358401 c W95 FAT32 (LBA)


would really help if you guys could help me as i am still a newbie . Thanks :)

pnellesen 09-03-2005 05:47 PM

Here's what my fstab entry looks like for my external drive:

/dev/sda1 /usbdrive auto noauto,users 0 0

I don't have any issues with this setup - plug it in, mount it, and I'm good to go.

[EDIT] - Is it possible there's a SUSE auto-mount setting that might be overriding what you have in your fstab?

ankit_mcgill 09-03-2005 11:04 PM

Quote:

Originally posted by pnellesen
Here's what my fstab entry looks like for my external drive:

/dev/sda1 /usbdrive auto noauto,users 0 0

I don't have any issues with this setup - plug it in, mount it, and I'm good to go.

[EDIT] - Is it possible there's a SUSE auto-mount setting that might be overriding what you have in your fstab?

hey pat,

thanks for the quick reply :)

i dont know whats happening .. it;s like its compeltely ignoring the entry in the fstab file :scratch:
i will look into the auto-mount setting .

i am sure theres a solution to it . just got to find it ...


All times are GMT -5. The time now is 07:41 PM.