Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-06-2004, 11:41 AM
|
#1
|
LQ Newbie
Registered: Nov 2004
Posts: 19
Rep:
|
cannot see any data on fat 32 drive
Hello all,
Im new to linux and mandrake, so please bear with my ignorance.
i have a dual boot system with xp on one drive and mandrake community on another drive by itself.
there is a 3rd drive that is a fat 32 drive.
everything was fine until i unmounted and remounted the fat 32 drive and now i cant see any data on it. reads the size properly, and i can access it in xp fine.
when i open the folder it is empty (file:/mnt/misc)
ive also moved the boot point from c2 to misc
but i could not see any data before i moved the boot point
thanks in advance
Dan
|
|
|
11-06-2004, 12:03 PM
|
#2
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
So how do you mount? Do you have an entry for the drive in /etc/fstab or do you mount as root manually? In the first case, please post the /etc/fstab, in the second case the mount command. From your description I would assume that the drive isn't mounted at all. You can check that if you type 'mount -l' on a console. If your drive doesn't appear there, it is not mounted.
|
|
|
11-06-2004, 02:45 PM
|
#3
|
LQ Newbie
Registered: Nov 2004
Posts: 19
Original Poster
Rep:
|
thanks for replying,
i dont think it is mounted, here is the terminal report
[d@localhost d]$ mount -l
/dev/sdb1 on / type ext3 (rw) []
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /sys type sysfs (rw)
/dev/sdb6 on /home type ext3 (rw) []
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,codepage=850)
/dev/sda1 on /mnt/win_c type ntfs (ro,umask=0,nls=iso8859-1)
/dev/sda5 on /mnt/win_d type ntfs (ro,umask=0,nls=iso8859-1)
capifs on /dev/capi type capifs (rw,mode=0666)
[d@localhost d]$
in control center, when i try to mount the drive it says mount failed
i will login as root and try again
Last edited by idagon; 11-06-2004 at 02:58 PM.
|
|
|
11-06-2004, 02:50 PM
|
#4
|
LQ Newbie
Registered: Nov 2004
Posts: 19
Original Poster
Rep:
|
it says mount failed using root login
im trying to mount using control center--mount -points--partitions
|
|
|
11-06-2004, 02:54 PM
|
#5
|
LQ Newbie
Registered: Nov 2004
Posts: 19
Original Poster
Rep:
|
sorry, her is the ftab listing
/dev/sdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/sdb6 /home ext3 defaults 1 2
/dev/hda /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hdc /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/sdc1 /mnt/misc ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/sda1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/sda5 /mnt/win_d ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/sdb5 swap swap defaults 0 0
|
|
|
11-06-2004, 02:54 PM
|
#6
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
/etc/fstab is a file, not a directory. I don't know mandrake, but it should be there.
I would suggest to login as root and check on which device the drive is located (type 'fdisk -l'), but I would guess it's sdc1. Then try to mount manually with 'mount -t vfat /dev/<the-device> /mnt/misc'.
|
|
|
11-06-2004, 02:59 PM
|
#7
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Didn't get your last post in time:
If you are sure that the drive is fat32 and not ntfs, try to change the entry for /dev/sdc1 to the following (need to be root):
Code:
/dev/sdc1 /mnt/misc vfat umask=0,gid=users,nls=iso8859-1 0 0
Be sure that every entry is in one line only!
|
|
|
11-06-2004, 03:05 PM
|
#8
|
LQ Newbie
Registered: Nov 2004
Posts: 19
Original Poster
Rep:
|
thanks
i tried this
[root@localhost d]# mount -t vfat /dev/sdc1/mnt/misc
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
|
|
|
11-06-2004, 03:10 PM
|
#9
|
LQ Newbie
Registered: Nov 2004
Posts: 19
Original Poster
Rep:
|
where/how do i enter this?
/dev/sdc1 /mnt/misc vfat umask=0,gid=users,nls=iso8859-1 0 0
i saw in system configuration it was listed as an ntfs, although in xp it is a fat32
|
|
|
11-06-2004, 03:15 PM
|
#10
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Quote:
where/how do i enter this?
/dev/sdc1 /mnt/misc vfat umask=0,gid=users,nls=iso8859-1 0 0
|
In /etc/fstab (open a console, become root by typing 'su' followed by the password, use your favourite editor, eg. 'pico /etc/fstab' and change the line that starts with "/dev/sdc1").
Quote:
i tried this
[root@localhost d]# mount -t vfat /dev/sdc1/mnt/misc
|
There is a space missing between sdc1 and /mnt
|
|
|
11-06-2004, 03:40 PM
|
#11
|
LQ Newbie
Registered: Nov 2004
Posts: 19
Original Poster
Rep:
|
Thats done it!
thanks
I had to change permissions using permdrake to group access (had root only after mounting)
|
|
|
11-07-2004, 10:49 AM
|
#12
|
LQ Newbie
Registered: Nov 2004
Posts: 19
Original Poster
Rep:
|
this is weird!
the drive has unmounted itself
could not read files on it
i remounted. and now all directories and files have the same icon, and when i right click on a known doc file, (to open it with a reader)the options grey out and i cant open directories ----- basically unusable .but it does show the correct size and free space
here is the fstab
/dev/sdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/sdb6 /home ext3 defaults 1 2
/dev/hda /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hdc /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/sdc1 /mnt/misc vfat umask=0,gid=users,nls=iso8859-1 0 0
/dev/sda1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/sda5 /mnt/win_d ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/sdb5 swap swap defaults 0 0
here is the fdisk-l
[root@localhost d]# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3917 31463271 7 HPFS/NTFS
/dev/sda2 3918 19457 124825050 5 Extended
/dev/sda5 3918 19457 124825018+ 7 HPFS/NTFS
Disk /dev/sdb: 37.0 GB, 37019566080 bytes
255 heads, 63 sectors/track, 4500 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 764 6136798+ 83 Linux
/dev/sdb2 765 4500 30009420 5 Extended
/dev/sdb5 765 827 506016 82 Linux swap
/dev/sdb6 828 4500 29503341 83 Linux
Disk /dev/sdc: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 9964 80035798+ c W95 FAT32 (LBA)
any ideas?
|
|
|
11-07-2004, 11:04 AM
|
#13
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Try to append the option 'exec' to the /etc/fstab line. This allows to execute of programs from that location. Maybe that helps...
|
|
|
11-07-2004, 11:11 AM
|
#14
|
LQ Newbie
Registered: Nov 2004
Posts: 19
Original Poster
Rep:
|
how/where do i append exec?
|
|
|
11-07-2004, 11:21 AM
|
#15
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Come on, have a little phantasy!
In /etc/fstab
/dev/sdc1 /mnt/misc vfat umask=0,gid=users,nls=iso8859-1, exec 0 0
|
|
|
All times are GMT -5. The time now is 03:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|