I am a newbie who bought a 2 gig flash drive that I find is formatted W95 FAT32.
It looks as if PARTED is what I need to format the drive for Linux but I am not sure quite how to proceed. I have openSUSE 11.1 installed.
Would someone be kind enough to give me step-by-step instructions?
Thanks, Henk, sound advice that I shall keep in mind; fortunately no spam yet! I shall be on line for the whole weekend so can check from time to time. My problem is that I don’t know what partitioning to do. As I said, I am a newbie and this confonts me with all sorts of imponderable.
Identified as USB storage on power up, not found in sysinfo nor in fstab or mtab. I need to know what to enter in fstab fields. Do I format as ext2 or something? I presume fstab is set up after /dev/disk-bi-id…etc with /usb/Jet-Flash_…etc., but how do I define fields 2,3 and 4 if I leave as fat32? also wanted to format as Linux as I don’t like anytjing that smeels of Windows! rotfl!
Well you may not like Windows, but FAT32 is still a good idea. It’s compatible with lots of OSes, and also because it doesn’t carry ownership metadata, you won’t have problems of files not owned by you, etc, as you move it across systems. But it does have the disadvantage of not supporting files beyond a certain size.
Hey, you guys, I’m getting desperate! As intimated, the drive is just not recognised. I don’t wanr to move across systems; I use only openSUSE. Apart from entering fstab scsi data, I presume that I must also make an entry in the dev field. :’(
Suse mounts the drive in /media.
If you cna’t see it there, go to yast>system>partitioner and see if it shows up there.
You can make a permanent mount point for it by creating say /media/usb and mounting it there
If it’s formatted correctly, it’s probably best to leave it as fat32 so you can share data with windows pcs.
Yup, it’s in system partitioner partitioner wit two entries:
usb-jetFlash…T0-0:0 with device path pci0000-0… and
usb-jetFlash…T0-0:0-part1 and same device path, but surely I must set it up in fstab? How?
/dev/sdb /media/usb/? fat32 noauto,user,unhide 0 0?
As you will gather, I am completely in the dark.
I have a corsair flash voyager that said it was linux compatable but opensuse didn.t see it. I re-formated the usb stick and linux will see it. Have you tried to reformat the mem stick?
Try deleting the fstab entries for it. (Make a backup of fstab first.) I seem to remember that’s how I got usb to automount.
Else delete the noauto part in fstab.
Thats my problem - am not sure just what to enter in the four fields, apart from the first, which I presume is /dev/sdb (or should it be /dev/sdb1?). Or two entries with both?.
The formatting went fine. Now I am stuck with fstab. The second field, fs_file, which I understand to be the mount point has me stumped. Entry is sdb1, ???, ext3, noauto,user,unhide 0 0. So I am still in the dark! Any suggestions? :’(
The mount point is something up to you. You apparently need diskspace somehere in your directory tree, so mount it there.
Examples:
You have a big web-site and your pages are at /svr/www/htdocs. So mount at /srv/www/htdocs. Or when you also have ftp data for the web-site, mount at /srv.
One particular user has a lot of music and he wants his own amount of data (and pays for it!). You as system administratot ask him where he wants this and then mount there: /home/<user>/Music (do not forget to chown this dir to his uid and his group).
I myself have a MySQL database ad wanted in /home because /home is backed-up and left alone when I install a new openSUSE. So I put it in /home/databases. So you could mount there. But you can also use /databases. Or, MySQL using /var/lib/mysql by default, mount it there.
Possibilities are endless. Knowing why you are doing it is important because then the place will be obvious in most cases.
A few warnings::
When you are going to use a dirctory that exists already first move everything in there to another place. Then mount. Then move it back to what now is the mounted diskspace. You will not loose it when you mount, but it will be unreachable until you umount again.
You can use YaST to create the entry in fstab and generate the mountpoint. But if you do it manualy do not forget to create the mountpoint before you try a mount (using mkdir is OK). And (as said earlier) se that owner/group and access bits are as they must be for the intended usage).
And a last remark when you are used to how MS-DOS and it windows children work: forget about their way of using disk partitiions only as a top of the new tree. Unix/Linux let you use it everywhere you want.