LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2006, 05:16 AM   #1
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Rep: Reputation: 30
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

Last edited by Stevetgn; 06-26-2006 at 05:24 AM.
 
Old 06-26-2006, 05:29 AM   #2
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
Hi,

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

ls /dev | grep 'sda6'
 
Old 06-26-2006, 06:25 AM   #3
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
Cheers SlackDaemon. I'm at work at the moment but will do it as soon as I get in.

Cheers Steve
 
Old 06-26-2006, 06:51 AM   #4
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
The output of "fdisk -l" is valuable too.
 
Old 06-26-2006, 04:24 PM   #5
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
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
 
Old 06-26-2006, 06:14 PM   #6
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
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.
 
Old 06-26-2006, 06:19 PM   #7
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
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?
 
Old 06-26-2006, 10:31 PM   #8
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
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!
 
Old 06-27-2006, 09:08 AM   #9
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
sorry guys, sorted it, my usb drive is f@#ked. bollocks!

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

Steve
 
Old 06-27-2006, 09:24 AM   #10
Panagiotis_IOA
Member
 
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238

Rep: Reputation: 32
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
re-read fstab the-chains Linux - Newbie 2 11-13-2004 02:49 PM
FSTAB help on a read only partition microsoft/linux Debian 8 10-14-2004 11:59 AM
fstab vfat read write prob gbarny Linux - General 3 06-20-2004 01:19 AM
Who can read my fstab, please? fenice1976 Linux - Software 18 05-21-2004 06:26 AM
fstab file to allow all users to read ntfs jza Linux - General 1 01-29-2004 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration