 |
 |
 |
 |
| Hardware & Laptops Help with your hardware, including laptop issues |

18th August 2008, 04:38 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 20

|
|
|
hard disc partitions not mounting in fedora 9
i have recently installed my sysem with fedora 9. But most of the time i log in as user i dont get the various partitions of the hard disc are not gettin mounted as it did for me in fedora 8. I dont get this problem when i login as root. Also some times i get the partitions mounted without any problem. the systems is really behaving erratic in this issue.. pls help me sort out this problem
|

18th August 2008, 04:51 PM
|
|
Registered User
|
|
Join Date: Dec 2007
Posts: 596

|
|
Hello,
when you log in as root all partitions are mounted automatically, if you want to have some partitions to be available for a normal user you either mount them manually using gnome-mount or su (and then issue mount command), which will ask you for the root password and then mount partition specified, or add special entries for to the /etc/fstab file. If you need help adding entries to fstab, please post output of and tell us what partitions you would like to have mounted
|

19th August 2008, 01:37 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 20

|
|
yes i want to modify my fstab so than i get all the partitions mounted in user login also here is the output u asked for
Quote:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x284302da
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1305 10482381 c W95 FAT32 (LBA)
/dev/sda2 1306 9729 67665780 f W95 Ext'd (LBA)
/dev/sda5 1306 2610 10482381 b W95 FAT32
/dev/sda6 2611 3915 10482381 b W95 FAT32
/dev/sda7 3916 5220 10482381 b W95 FAT32
/dev/sda8 5221 7178 15727603+ b W95 FAT32
/dev/sda9 7179 7831 5245191 b W95 FAT32
/dev/sda10 7832 7856 200781 83 Linux
/dev/sda11 7857 9729 15044841 8e Linux LVM
Disk /dev/dm-0: 14.2 GB, 14294188032 bytes
255 heads, 63 sectors/track, 1737 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800
Disk /dev/dm-1 doesn't contain a valid partition table
|
i would also like to know why is that i have to do these to mount partions in user login.. when i had fedora 8 i had no such problems.. thanks in advance
|

20th August 2008, 01:30 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 20

|
|
|
can anyone pls give the options and values that i must enter in fstab so that these partions gets mounted each time i login as user...?
|

20th August 2008, 02:01 PM
|
|
Registered User
|
|
Join Date: Dec 2007
Posts: 596

|
|
to mount a partition add the following line (repeat for each partition you want to mount, make sure that mount points exists)
Code:
/dev/sdaN /media/disk-N vfat defaults,user 0 0
where N is partition number (e.g. 1,2,3 and so on). Once again, make sure mount points exist (i.e. /media/disk-1 is present and so on)
|

20th August 2008, 02:52 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 20

|
|
|
no write permission on the mounted drives
thank u for ur guidance... but i cant copy files to the partitions or delete files that are already present there.. which i was able to do in fedora 8... kindly help me solve this problem.. thanks in advance
|

20th August 2008, 02:59 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 20

|
|
|
i m also not able to save any new files in these partitions... pls tell how to solve this problem.. thank u
|

20th August 2008, 03:18 PM
|
|
Registered User
|
|
Join Date: Jul 2008
Posts: 800

|
|
You can try setting the owner/group to your user account, or if you use more than account, assign those users to a group, then assign that gid to the mount. Based on the example above:
Code:
/dev/sdaN /media/disk-N vfat defaults,user,uid=99,gid=100 0 0
That will set the owning user to NOBODY and the group to USERS when mounted, or should anyways. If you just want to assign your own user account, swap the id numbers for yours. If unsure what they are, do "id <username>" from a command prompt to get your uid and gid.
|

20th August 2008, 05:07 PM
|
|
Registered User
|
|
Join Date: Dec 2007
Posts: 596

|
|
Quote:
|
Originally Posted by hareeshkumaru
i m also not able to save any new files in these partitions... pls tell how to solve this problem.. thank u
|
add rw option after defaults,user
|

20th August 2008, 08:53 PM
|
 |
Registered User
|
|
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,105

|
|
|
If you want the partitions mounted automatically with full access, use something like this:
/dev/sdN /media/disk-N vfat auto,umask=0000 0 0
and Bob's your uncle. If you don't want them automounted, but don't want to need root perms to mount change the above to this:
/def/sdN /media/disk-N vfat noauto,users,umask=0000 0 0
and you'll have what you need. BTW, the easiest way to do this is to log in as root so they all get mounted. Then, use /etc/mtab as a guide to the partition numbers and mount points when editing /etc/fstab. Just don't try to modify mtab, as it's intended as a snapshot of what's currently mounted.
__________________
Registered Linux user #470359 and permanently recovered BOFH.
Any advice in this post is worth exactly what you paid for it.
|

26th August 2008, 04:24 AM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 20

|
|
thanks a lot.. now i have read write premissions in other hard disk partitions..
|

28th August 2008, 07:51 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Taipei Taiwan
Age: 34
Posts: 401

|
|
|
How can I erase the fat32 partitions from the "New device notefier"?
I don't want them there. I want them mounted as a local file system and not like a USB drive.
__________________
smolt profile
Without fedoraforum.org I would still be using Windows
Can annyone borow me some space on a ftp server?
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 16:20 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|