Re: reformat a USB with cd image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Somebody in the thread at some point said:

> I have a USB with a livecd image written on it (using dd if livecd.iso
> of /dev/sdc ). How to revert it to FAT  or  other file system?

All you need to do to make it "normal" again is to write a partition
table on /dev/sdc.

# fdisk /dev/sdc

Then "o" for empty partition table, add partion 1 with "n" using the
flag you want (FAT16, ext3 or whatever).  Then "w" to commit the table
to the USB stick and exit.

Pull the stick out and re-insert it to make sure the new partition table
is understood by the kernel.  Then

# mkfs.vfat /dev/sdc1

or whatever to format your first partition.

-Andy


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux