| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 65822 | 2006-02-01 05:18:00 | installing Linux | jupiter1 (2578) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 425993 | 2006-02-20 21:28:00 | Hi Jen, I have completed all the instructions that you gave me and all seemed to work exactly as you said. However, when I try to access the 8.4 Gig (which has many files on it ex Win2k) I get an error msg vis:- Unable to mount HDD. "unknown file system type, "/vfat". In both "my computer" and my "home folder" the icon of the 8.4 Gig has a red circle with a red slash over it. The 8.4Gig is formatted in the FAT 32 format. With respect to spaces in entered commands, in gedit how many spaces between "shared" and "vfat" also "vfat" and "auto" Also please confirm that there is a space between "ln -s" and "/home" also a space between "shared" and "/mnt". I'm fairly certain that I have done it correctly but best to check. Cheers, Phil |
jupiter1 (2578) | ||
| 425994 | 2006-02-20 22:03:00 | The single white spaces are as you mention. In fstab, you can use the tab to line up each section with the one above it eg. all the devices (/dev) under the one column, the mount point under the others (/mnt/shared), the file system type (vfat) under its column etc. It doesn't have to be accurately lined up, or I think a single white space between each section is fine as well. The red circle over the folders means that you do not have permission to access that folder. Can you please post back with your fstab again now that you have edited it. It should of set the permissions so that everyone can access that drive. It also looks like you have an / in front of the vfat in the fstab? cat /etc/fstab |
Jen (38) | ||
| 425995 | 2006-02-20 23:19:00 | You have to be careful with the slash character ("/") . In MS-speak, it's the marker for options to commands . In *nix, it's the separator in a directory tree . A slash, with nothing before it means the root of the whole system directory tree (not of the /root directory, which is the home directory of user "root" :D) . . So, /tmp specifies the tmp directory in the top level . "tmp" specifies a directory in the current directory . /home/fred/tmp explicitly specifies a directory of that name in user "fred"'s home directory . It's not an option marker . Ever . It might be the start of an argument which is a directory . You haven't got a directory called /fat32 . If you give a command, or use an editor to insert a command line in a file such as /etc/fstab, you must have "whitespace" between the elements of the line . "whitespace" is a set of characters containing the space character, the tab character (most often within a line) and often linefeed (which you get by usng the return key), formfeed, etc . You sometimes strike that if you enter a command from the keyboard, and hit enter without giving any arguments . The system will just wait until you give it something it can work with . You have given it the whitespace, and it still want more . In MS you can often run options together, like "/b/s/w" . *nix does not like that . It doesn't see that as a set of separate arguments; that's a root based directory tree . *nix options are prefixed with "-" . You might give a command like "ls" with no options . "ls -l" has one option: "l" . If you type "ls-l" it complains because it hasn't got a command called that . (If you wanted to be smart, you could give it such a command . . . alias ls-l=ls -l . :D) If you give it multiple options, you should do it like tar -t -v -z -f filename . tgz, but there is another way . . . tar -tvzf filename . tgz or, for tar, which is a very old programme, tar tvzf filename . tgz . If you want to use a spelled out option, they are prefixed with "--" . A useful one is, say ls --help . If you still have problems with accessing that Windows disk, it might be due to the permissions on the mount point . That's the /mnt/shared directory . It exists, whether or not the disk is mounted to it . It normally has no files in it unless a physical disk is mounted . You could do (as root), chmod 777 /mnt/shared . (I don't like that "777" 755 would give read access to all; with only root allowed to write . ) |
Graham L (2) | ||
| 425996 | 2006-02-21 00:40:00 | Hi Jen, Below is what it looks like now . On boot up I get error msg = "unable to mnt, format error in superblock" [phil@localhost ~]$ su - Password: [root@localhost ~]# cat /etc/fstab # This file is edited by fstab-sync - see 'man fstab-sync' for details LABEL=/ / ext3 defaults 1 1 /dev/devpts /dev/pts devpts gid=5,mode=620 0 0 /dev/shm /dev/shm tmpfs defaults 0 0 /dev/proc /proc proc defaults 0 0 /dev/sys /sys sysfs defaults 0 0 LABEL=SWAP-hdc5 swap swap defaults 0 0 /dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0 /dev/hdd /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0 /dev/hdb1 /mnt/shared vfat auto,unmask=000,user 0 0 [root@localhost ~]# Cheers, Phil |
jupiter1 (2578) | ||
| 425997 | 2006-02-21 02:33:00 | /dev/hdb1 /mnt/shared vfat auto,unmask=000,user 0 0 [root@localhost ~]#Ah, there is a typo in that line. It should be umask and not unmask. Change that, and it will help with the user permissions. Also make sure you have a single carriage return at the end of that line you added so that the cursor sits on the line underneath, and then save it. See if this helps. Let us know if you still get the error message when you reboot. |
Jen (38) | ||
| 425998 | 2006-02-21 04:13:00 | The misspelt option is what is preventing the mount (though it's a strange error message). ;) Anyway, umask just sets the default permissions on any files created on that disk which it is mounted. As far as I know, it's the permissions set on the mount point which control access to the mounted disk. | Graham L (2) | ||
| 425999 | 2006-02-21 05:55:00 | Hi Guys, Yes, the typo refered to was the cause, the HDD now mounts OK . strange thing is I can see and access it from "computer" on the desktop but not from "home/phil/shared" . Not realy a major . I have also managed to install my printer but have not had any sucess with the internet email or browser, (ie the modem) . Although I can see HDC1 and 2 and 5 in system tools/hardware browser/HDD I can't see or access Hdc2 or 5 from the desktop or computer . This is the 70 Gig partition of the 80Gig hdd with the fedora system on it . I will be away from about 9:00am tomorrow for a couple of days so don't flag me away if you don't hear from me for a while . I really appreciate all of your help . Phil |
jupiter1 (2578) | ||
| 426000 | 2006-02-21 06:09:00 | Hi Phil, good to see we are getting there. :) For your /home/phil/shared folder denying you access, try this command from a terminal and as root (su -). chown phil /home/phil/shared hdc5 according to your fdisk -l output you posted earlier, is the swap partition. You are not meant to be able to mount it and look inside, so to speak. The hdc2 looks like the shell of the extended partition. Modem is next on the list huh? Please tell me you either use broadband with a ethernet connection or an external serial dialup modem ... :p |
Jen (38) | ||
| 426001 | 2006-02-21 08:28:00 | Hi Jen, CHOWN doesn't seem to work but this isn't a major prob as I can access the disk and data OK from the "computer" icon on the desk top . HDc2/5 is supposed to be my 70 Gig data section of the Hard Disk which has Fedora in the first 10 Gig (HDc1) partition, not a swap file . My modem is a standard 28 . 8 dial up on COM2 . |
jupiter1 (2578) | ||
| 426002 | 2006-02-21 08:50:00 | Graham's CHMOD didn't work either :-( | jupiter1 (2578) | ||
| 1 2 3 4 5 6 | |||||