LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please read my fstab and then help please! (https://www.linuxquestions.org/questions/linux-newbie-8/please-read-my-fstab-and-then-help-please-458383/)

Stevetgn 06-26-2006 05:16 AM

Please read my fstab and then help please!
 
I have 3 windows partition on an external USB drive (2x ntfs 1 x fat32) and also my main windows partitions. When I first installed SuSE10.1 I was able to mount the USB partitions via various KDE GUI's now I can't, it doesn't exist apparently yet /dev/sda6 appears in my fstab!

I would like them all to mount at boot with the fat32 mounting r+w.
Here's my fstab can anyone help?

Thanks in advance

Steve

/dev/hda6 / reiserfs acl,user_xattr 1 1
/dev/hda7 /home reiserfs defaults 1 2
/dev/hda1 /windows/C ntfs ro,user,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb1 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda1 /windows/E ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5 /windows/F ntfs ro,user,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5 /windows/G ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda6 /windows/H vfat user,users,gid=users,umask=0002,utf8=true 0 0
/dev/hda8 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0

SlackDaemon 06-26-2006 05:29 AM

Hi,

could you please do the following and let us know if you see any output:

ls /dev | grep 'sda6'

Stevetgn 06-26-2006 06:25 AM

Cheers SlackDaemon. I'm at work at the moment but will do it as soon as I get in.

Cheers Steve

marozsas 06-26-2006 06:51 AM

The output of "fdisk -l" is valuable too.

Stevetgn 06-26-2006 04:24 PM

steve@linux-sexo:~> ls /dev | grep 'sda6'
steve@linux-sexo:~> ls /dev | grep sda6
steve@linux-sexo:~> fdisk -l
bash: fdisk: command not found
steve@linux-sexo:~>

mmm didn't seem to get much with those commands. Have I done somethings wrong?

Thanks again

Steve

greengrocer 06-26-2006 06:14 PM

The command: ls /dev | grep sda6

Should have listed anything that is named "sda6" in your /dev directory I would have thought.

The apostrophes you placed either side of sda6 in your first command there would of course result in not much at all.

greengrocer 06-26-2006 06:19 PM

Do you actually have a directory called "windows" at the top level of your Linux file system?

If so, are there actually C, D, E, F, G and H directories within that "windows" directory?

Is the file system being mounted from 'sda1' visible in your Linux environment? What I mean by that is can you 'cd' to /windows/E? or can you see an icon for sda1 when in KDE?

SlackDaemon 06-26-2006 10:31 PM

Your OS does not seem to be picking up your USB device otherwise the ls /dev | grep 'sda6' or ls -l /dev/sda6 command would have given you some output.

You cannot run the 'fdisk -l' command while logged in as a regular user. You can run it as root.

Try disconnecting your USB device and re-attaching it to your PC. Then check 'dmesg' and 'tail /var/log/messages'. If you see a warning message like 'device sdaX not accepting address <number>' that means your device is not being identified by the OS.

I have had a similar problem with my flash drive. Once I switched to an updated kernel version it was picking up fine. Note that it might just be a hardware problem too (your USB port maybe damaged).

best of luck!

Stevetgn 06-27-2006 09:08 AM

sorry guys, sorted it, my usb drive is f@#ked. bollocks!:mad:

After I've bought a new one(:mad:) what line in the fstab should I be looking for to get it to mount at boot?

Steve

Panagiotis_IOA 06-27-2006 09:24 AM

Login as root and then type fdisk -l or dmesg | tail. Check on which "port" your device is in. Then create a folder in /mnt for example under the name usb. After that you can mount the usb device as: mount -t vfat /dev/sd_yours_here /mnt/usb

Edit the fstab as follow:

/dev/sda_yours_here /mnt/usb vfat noauto,rw,user,umask=1000 0 0

Then it will be mounted every time you boot your system, or by simple opening the folder or by typing just mount /mnt/usb. In that way worked mine. I hope I helped you.


All times are GMT -5. The time now is 02:31 PM.