LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Thread Tools
Old 09-26-2007, 11:02 AM   #1
pmorg
LQ Newbie
 
Registered: Jun 2007
Location: Costa Rica
Distribution: Fedora 7
Posts: 18
Thanked: 0
fstab settings to share WIN98 partition


[Log in to get rid of this advertisement]
I just converted from FC2 to FC6 on my laptop. I have WIN98 living on partitions 1 and 2 and want to share the second partition (fat). In FC2 I called the second partition /dev/hda2 in fstab. However, FC6 can't find /dev/hda2, not with "mount -a" and not at bootup. When I try "fdisk hda" I get an error...something about hda not existing. Does FC6 use some other naming protocol?
pmorg is offline     Reply With Quote
Old 09-26-2007, 11:05 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: Southampton, UK
Distribution: Slackware
Posts: 1,698
Thanked: 93
As root, use the output of
Code:
fdisk -l
to determine what device your windows fat32 is assigned as, and then amend your /etc/fstab as appropriate.
pwc101 is offline     Reply With Quote
Old 09-26-2007, 08:20 PM   #3
pmorg
LQ Newbie
 
Registered: Jun 2007
Location: Costa Rica
Distribution: Fedora 7
Posts: 18
Thanked: 0

Original Poster
thanks .. so far

That got me the info I need. Now it's /dev/sda5. Don't know why, but I can live with that. I can now see it, but root owns it. I tried "uid=500" (500 is correct) but I still can only see it, not write to it.

I should be only one step from being done. What is that step to give me complete (exclusive would be OK) access?
pmorg is offline     Reply With Quote
Old 09-28-2007, 04:20 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: Southampton, UK
Distribution: Slackware
Posts: 1,698
Thanked: 93
In the fstab entry, you probably need to add "users" to the section where you added "uid=500". That's always allowed me to mount and write to media as a user.
pwc101 is offline     Reply With Quote
Old 09-28-2007, 05:35 AM   #5
sycamorex
Senior Member
 
Registered: Nov 2005
Location: London
Distribution: Slackware 13 32/64
Posts: 1,657
Thanked: 75
I would write: users,uid=500,rw
sycamorex is offline     Reply With Quote
Old 09-28-2007, 12:32 PM   #6
jay73
Senior Member
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 8.04 / 9.04
Posts: 4,781
Thanked: 89
defaults,uid=500,gid=500,umask=0022
jay73 is offline     Reply With Quote
Old 10-01-2007, 12:02 PM   #7
pmorg
LQ Newbie
 
Registered: Jun 2007
Location: Costa Rica
Distribution: Fedora 7
Posts: 18
Thanked: 0

Original Poster
That did the trick... for some reason I was using "user" rather than "users". You set me on the right track. Thanks.
pmorg is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
/home partition will not mount at boot despite fstab settings zach_barrow Slackware 11 03-10-2005 11:24 PM
How can i mount a win98 share ? landuchi Linux - Networking 2 11-20-2004 02:26 PM
Win98 cannot acces share on Samba jonabyte Linux - Software 7 12-02-2003 09:04 AM
Can't connect via Win98 on Samba Share sudhashen Linux - Software 1 10-16-2003 12:15 PM
Win98 (internet share) <-> RedHat 7.2 Carlos Rocha Linux - Networking 5 01-30-2003 04:06 AM


All times are GMT -5. The time now is 01:46 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration