Jump to content

mounting disk problem - debian/ubuntu


 Share

Recommended Posts

well, i am still fighting with my debian based ubuntu 4.10 distro refusing to mount my other partitions properly.

i mount the partitions as root and they show up in the respective folders. but then i get stuck. the partition and all corresponding sub-folders are shown with the following user rights:

 

drwxr--r--

 

group and user is thus root. i want to change it to

 

drwxr-xr-x

 

but everytime i try to change the user rights, they switch back in place and it tells me that the rights cannot be changed by root. :screwy:

 

any ideas how it can be fixed?

Edited by arctic
Link to comment
Share on other sites

i mounted these two partitions:

 

mount -t vfat /dev/hdb9 /mnt/data

mount -t vfat /dev/hdb5 /mnt/media

 

no problem. i can see all folders. but my fstab doesn't show the partitions at all. is that the reason why i can't change the user rights? i almost think so. but they should show up after mounting... right?

 

fstab:

# /etc/fstab: static file system information.

#

# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0

/dev/hdb1 / reiserfs defaults 0 1

/dev/hdb8 none swap sw 0 0

/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0

/dev/hdd /media/cdrom1 udf,iso9660 ro,user,noauto 0 0

/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

 

as you see, neither partition gets "really" mounted... i tried to add an entry manually and the result were some bloody error messages while booting, something about "fstab files not found, fix manually, enter root password or press ctrl+d to continue"... so, i removed them again :rolleyes:

Link to comment
Share on other sites

Edit your fstab by creating entries in fstab for each partition like so:

 

/dev/hdb5 /mnt/media vfat umask=0,iocharset=iso8859-1,codepage=850 0 0

/dev/hdb9 /mnt/data vfat umask=0,iocharset=iso8859-1,codepage=850 0 0

 

Read/write access to FAT32 partitions is controlled by the options you pass in fstab. Changing the mount point permissions won't work with FAT32. The above lines will give ordinary users read/write access and will cause the partitions to be automounted at boot.

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...