| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 68623 | 2006-05-05 12:29:00 | need know what fstab in linx whould register fat12,16 as e.g vfat, msdos | ziggyinta (10355) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 452396 | 2006-05-05 12:29:00 | i am backing up some files on linxe and have installed a hard drive that is formated in fat12 or fat16 (not serton witch one ).i now need to edit "fstab" so that linxe (suse) will 'see' the hard drive, and i have no i dear on what to put in fstab where it needs to now what format the hard drive is. e.g if the hard drive is is formated to fat32 you would call it 'vfat' thanks :) |
ziggyinta (10355) | ||
| 452397 | 2006-05-05 12:35:00 | SuSE is very user friendly. You shouldn't need to manually edit fstab to mount the drive. Have a look under the SuSE configuration section (YaST?) for this. Let us know if SuSE cannot automatically detect and mount the drive for you, and you require detailed instructions for manual editing fstab. If the drive is formatted with FAT, then you would use the vfat option if editing the fstab manually. Welcome to PressF1 as well. :) |
Jen (38) | ||
| 452398 | 2006-05-05 13:41:00 | It's easier if you're logged in as root. In a terminal first you'll need to issue the command: fdisk -l This should list all the drives/partitions recognised. It should even show the file system used. Make a note of what device it is that you want to create an entry in fstab for, e.g. /dev/hdb1 If the file system is FAT12/16 then you would use msdos if it's FAT32 then you would use vfat. First you would need to create a mount point for the drive. mkdir /mnt/drivename Where "drivename" is what you want to use to describe it. You will probably want to create a backup file of fstab, so do this: cp /etc/fstab /etc/fstab.bak Then you'll want to edit it, I use vim but you can use any editor you like: vim /etc/fstab Inside it, on it's own line I would add the entry you'd need to make: /dev/hdb1 /mnt/drivename msdos auto,noexec,user,rw 0 0 I would then test it out by mounting the drive: mount -t msdos /dev/hdb1 /mnt/drivename If that works, you should be able to access /mnt/drivename and display the contents, write to it, etc. Cheers, KK |
Kame (312) | ||
| 452399 | 2006-05-05 14:21:00 | 'auto' works well too ;) esp with the likes of submount |
Chilling_Silence (9) | ||
| 452400 | 2006-05-06 01:35:00 | I don't know if this is really much help; but what you are doing is something similar to what I do. I have a linux (debian sarge) computer in my network and I use Filezilla to back up stuff onto it from my WinXP computer (I can also do other stuff on it using Putty (ssh). Anyway here is my fstab (I back up onto drive 2, it's a separate hard drive. Note I set it up as ext2). # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0$/dev/hda5 none swap sw 0 0 /dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 # /dev/hdb /home/admin/drive2 ext2 defaults 1 1 |
jcr1 (893) | ||
| 452401 | 2006-05-06 06:02:00 | mount -t msdos /dev/hdb1 /mnt/drivename Probably best to use vfat rather than msdos as the file system - I think you get the 8.3 rule for file names whereas vfat gives long file names. |
johnd (85) | ||
| 452402 | 2006-05-07 03:03:00 | However, John, FAT12 and FAT16 won't handle long file names. :( That's why there is vfat and msdos fs support. | Graham L (2) | ||
| 452403 | 2006-05-17 07:17:00 | cheers for your help with "fstad" in the end i used "puppy linux live cd" to back up files | ziggyinta (10355) | ||
| 1 | |||||