1821052 Members
2221 Online
109631 Solutions
New Discussion юеВ

Fromat USB drive on RH 8

 
SOLVED
Go to solution
Tammy Liang
Regular Advisor

Fromat USB drive on RH 8

How can I format USB drive on redhat 8?

Thanks for any help.
take easy, enjoy life
5 REPLIES 5
Jeroen Peereboom
Honored Contributor
Solution

Re: Fromat USB drive on RH 8

My USB pen drive is formatted as FAT32, and I mount it with mount -t vfat or something like vfat).

If you (really) want to format your USB drive for Linux, you have to use fdisk to partition it, and next create a filesystem on the partition (newfs, mkfs).

But I would just use Windows to format it....

JP
Stuart Browne
Honored Contributor

Re: Fromat USB drive on RH 8

you could also use the appropraite 'mkfs -t ' command (vfat in this case).

But it'd be safer to use a Windows box if you have one available.
One long-haired git at your service...
Alexander Chuzhoy
Honored Contributor

Re: Fromat USB drive on RH 8

Thue USB drive has to be unmounted before the format.
mkfs.vfat /dev/sda1
if you wish to format the USB that's on /dev/sda1 with fat
Steven E. Protter
Exalted Contributor

Re: Fromat USB drive on RH 8

i would use newfs or mkfs command.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Thomas Bianco
Honored Contributor

Re: Fromat USB drive on RH 8

i would recomend no messing with it. most of these devices are not "true" disk but only emulate the filesystem.

my Lexar specifically states that you cannot format it with OS level tools, but requires it's own windows program that directly writes to HW.
There have been Innumerable people who have helped me. Of course, I've managed to piss most of them off.