Debian :: Format USB Pen Drive As FAT32?
Jun 5, 2010Debian 5.0I need to format an USB pen drive as DOS FAT32 but I can't find;
mkfs
mkfs.vfat
mkdosfs
Debian 5.0I need to format an USB pen drive as DOS FAT32 but I can't find;
mkfs
mkfs.vfat
mkdosfs
There is no obvious format command when I right-click on the drive.
View 2 Replies View RelatedI'm not that new in Linux I've been using for years since 2010 mostly, and formatted a number of flash drives with allegedly fat32 fs however, this time I need to be sure I'm formatting it as fat32 for experimental reasons and I can't seen to find a mkfs.fat32, both vfat and fat are fat16 and I don't know what msdos does...
View 4 Replies View RelatedI have created live persistent usb-hdd (fat32) image, put into USB stick, but now I should create persistent live-rw partition. How this persistent partition should be formatted? Should I format with ext2, or fat32?
View 1 Replies View RelatedI converted one of my old iPod touches into a external harddrive, and i wouldnt mind a small tuorial on how to format my Ipod(USB) to FAT32? I'm on a netbook, and i want to delete Fedora and install BAckTrack instead. and without a CD/DVD drive or really much free money, i gotta use my iPod to do this.
View 8 Replies View RelatedI have a second hard drive in my desktop and both the main dirve and second drive are 250GB. I use the second drive for backups, both manual and using back in time. The other day I noticed that the second drive was formated in FAT32. If I go to disk utility and look at the drive it says:Usage:FilesystemPartition Type:Linux (0x83)Type:FAT(32-bit version)Is this ok? I thought in Linux it should be Ext4. So far its been working fine for a while now but if I need to move my files and re format it to ext4 and move them back I would rather do it now when there is less data on the drive.
View 3 Replies View RelatedI'm afraid I am going to expose my age here.
I remember being able to format a 3.5 inch floppy using MS DOS. The command was format a:/s
("a" was the drive letter and the "/s" was to add the bootable system file.)
HOW can I do that in LINUX, specially Debian 6.01 (my current version) I googled it and found a bunch of sites all offering answers.
NONE worked for me, I saw an option in a Slackware installation with a "make bootable USB stick option".
(It can be used as a rescue USB Stick also) We don't have that in Debian. How can I do that with my current Debian install?
I have several Debian USB installs on flash drives, They work great and give the user an opportunity to run and experience Debian with modifying their set-up. I am trying to set-up one that will NOT only boot and work as a live install, but will also allow me to install on the host machine right from the working USB Flash drive, if I choose to do so.
i have external hard drive which will be used for windows and i have to format it. i tried with disk utility program but it tells me all the time device is busy. in terminal its too complicated for me.
View 2 Replies View RelatedKingston DataTraveler R3.0 32GB: plugged in
Code: Select all$ uname -a
Linux dsktop 3.2.0-4-486 #1 Debian 3.2.65-1+deb7u2 i686 GNU/Linux
Code: Select all$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[CODE]....
I am new to debian and recently I have been working with a debian server. I have been asked to find out how to create a script that you can run or can be run by another program to format and mount a new hard disk?
View 3 Replies View RelatedI need some assistance in trying to format a USB hard drive to vfat format but can't seem to do so. I am currently using RHEL 5.3. I have tried the following commands and they all come back as "command not found"
mke2fs vfat /dev/sc1
fdisk vfat /dev/sdc1
mkfs.vfat /dev/sdc1
What am I doing incorrectly?? Can someone please point me in the right direction??
I am setting up a home server and have two hard drives. One is the main HD for system files and the other will be for personal files.
The personal HD is /dev/sdb.
I know I have to edit fstab in order to get it to mount automatically at boot, but I am having trouble with the commands.
I would like for it to mount at boot and have full read-write access from any user.
I have Fedora 11 running on my server and I am trying to use an external WD 160mb usb fat32 drive. When the drive first fires up I am able to see the root file system, but then it fails. Thanks Rondo
Here is my fstab file
PHP Code:
[code].....
I am installing Debian on my netbook. I need to make a single fat32 partition on my usb flash drive. I really love linux and want it on my netbook.
View 4 Replies View RelatedIm usning ubuntu server 10.04 (Command-line)My second harddrive is FAT32 but i would like to change it to HTFS so i can store large files (larger than 2GB)
View 8 Replies View RelatedI have an external harddrive which is fat32 (which was filled when I was on a windows system) with a lot of files on (> 200gb) which have mixed case filenames. I wanted to write a script to rename them all to lowercase however when I did I got an error saying that the filenames are the same (which I guess is true as FAT is case-insensitive). My issue is that I'm mounting this from a linux box now so it would make it a lot easier if things were lower case! I've already run a script to replace all spaces with underscores.
I know I could do this by first going through and renaming everything with a prefix and then renaming it back again (ie, rename File.Jpg to xFile.Jpg and then a second rename to strip that x off and rename lowercase to file.jpg) however I find this approach a bit messy and would prefer to do it all in one pass. Other than that, could I change the drive to ext4 without losing any files on it? The drive has a hell of a lot of stuff on there which is an archive of many years of files - I'd be absolutely gutted if I lost everything.
I loaded Ubuntu 8.4 on a data drive (second drive no OS) from a Windows XP-SP3 system. I MEANT to load it on the main XP OS drive. Bottom line I formatted a FAT-32 with Ubuntu 8.4. Can I (freeware hopefully) roll back the Ubuntu formatted drive to FAT-32 so I can recover my data?
View 5 Replies View RelatedI need to get a backup copy of a huge directory on one of our RHEL servers. Rather than hook the external USB drive up to my PC and manually copy it all across the network, can I just plug it in to one of my USB ports on the server and rsync it?I know how to do the rsync, I just don't know how to get the USB drive to show up when I do a df -h and how to properly remove it before unplugging it from the server. this is a live server, so I can't go playing around and possibly mess something up.
View 14 Replies View RelatedI'm trying to move a tar file from my ext3 linux box onto a FAT32 usb flash drive but keep getting
mv: failed to preserve ownership for `/dir/blah.tar.gz': Operation not permitted
I am using Debian Lenny 5.0.3 with a stock 2.6.26-2-amd64 kernel, and have a ~/Documents/HTMLS directory of 273.2MB (21590 files, 1063 sub-folders) which according to konqueror shows 1130 items - 572 files (60.8MB Total) - 558 folders, these were created by 'Save Page As' in Iceweasel 3.5.11. I am trying to copy the contents of this directory to a similar directory on a 2GB USB thumbdrive /dev/sdb1 which was partitioned and formatted as fat32 by Qparted. Problem is that the copying ceases after about 6 files transfer. I found that (as I am sure you know) the named.html files come with a matching named_files folder, and often there are what appear to be invalid characters such as '*','?',and ':' in the filenames in said named_files folders.
After exhaustive googling [I know we all say that] I found an instruction:
Code:
pax -rw -s '/[*?:]/_/gp' stuff /fat32/partition
that changes the name of the files, replacing said characters with '_', but whilst I can get pax from my repos, I really don't want to 'archive' the files - since I understand that pax was created to bridge a war between tar and cpio - because I want to be able to read the html files on an old (not connected to the Internet) WinXP tablet. So, I believe that I need to create a script, that scans all the filenames, greps and seds to replace said 'unacceptable' characters. I am assuming that Firefox on the Tablet PC will be able to open the htmls if I can get them onto the thumb drive. Are there any other known characters in filenames that M$ file systems can't handle?
Is there like EasyRecovery for Linux? Free open source command-line based software strongly preferred.Expecting something like:
$ fat32_recovery --some-arcane-options dump.img dir/
Recovery in progress...
~ILE1.TXT -> dir/XILE1.TXT
[code]....
I am working from a laptop where all my work is stored on a 80GB drive. I am now also an owner of an external 250GB USB hard drive, formatted with FAT32. I want to keep it FAT32, so that I can offer some of my files to people that run Mac OS or Windows and I don't want to have them install ext3 for windows and what not.I am in need of a strategy which will allow me to keep a mirror of my laptop drive on my new external drive, i.e. no history / versioning required. However, I do care about file permissions. The files don't have to be stored as-is, they can be stored within a large (80GB?) tar file, that is fine - it would be easier for me to coerce people to open a .tar file than to install an ext3 driver for their OS, I suppose. I don't think I can keep file permissions otherwise, can I?
I have previously used a self-written sh script that used rsync to keep an up-to-date copy of my laptop filesystem on a USB flash drive, but in that case I had the flash drive formatted with ext3, so no problem with file permissions there. This time, it's trickier.
I got a Fat32 Extern Hard Drive and I would like to do a defrag and a scandisk on it with fsck? Can any one tell me what is the command to do it? I could not find it on google,
View 2 Replies View RelatedJust installed opensuse 11.3 Kdeversion on my laptop. Before installing it on live mode i had a problem of accessing my other drives (NTFS, FAT32 and EXT4) which said HAL system policy...etc mounting error. I could access all drives with root privilege. I thought problem will be solver once i install opensuse on my system. How ever i was really disappointed after seeing the same problem post install. Googled around for the solution and got this link
[Code]...
After this the problem got worse now i am not able to see any of the drives in the side panel. Gone through many forum and posts all discuss about external USB HDD.
i needed to change my external hard drive's file system from ext3 to fat32, to use it in windows, which i did the simple way: i shrunk the ext3 partition, made a fat32 partition, copied the files over, removed the ext3 and made the fat32 bigger. unfortunately, while gparted was making the partition larger, my computer shut down. i lost all my files and the partition messed up immediately. i made a new fat32 partition, after deleting the old one, but noticed that gparted was showing 100 gigs already in use (???). so now i have a 300 gb hard drive with only 200 gb i can use; i ran df to make sure gparted wasn't messing up, but indeed it shows the partition as being only 200 gigs in size. i haven't tried making any other kind of partition yet, such as ext3, for fear of losing my files again, and because it wouldn't be permanent anyway, because i need those files in windows and stupid microsoft won't make their OS ext3 compatible.
View 2 Replies View Relatedformatted a 64g usb memory stick with gparted use fat32 file system and recognized full 64gig drive plug in and is on /media/usb this is what i got on my fstab UUID=24AF-1E67 /media/The-Hive defaults,nosuid,nodev,locale=en_US.UTF-8 0 0 i want all user access to this memory stick to write delete and execute. am I going nuts i cant make it to do that..
View 2 Replies View RelatedI am getting a new 4kb sector HDD for my laptop, WD scorpio black 750gb, I would like to image existing partitions on 512bytes sector HDD and move them to the new 4kb sector HDD, what's the best way to do this.
present config is as follows:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code].....
I am planning to keep the same three partitions as the primary partitions on the new drive and add few more logical partitions. I would have liked to move to GPT but since I need Win 7, I am stuck with MBR partiotion table.
Now, I understand how to partition an Advanced format disk, what I want to know is how to move the existing partitions on the 80 Gb disk to the new disk?
I use Clonezilla to copy partitions but it is not compatible unless both the target and the source disks are already using 4096 sector size.
I can use Acronis True Image WD Edition to clone Win 7 but how do I clone Ubuntu?
Also my Laptop's chipset is limited to SATA 1.5, will it cause any issues, I know the bandwidth is not an issue.
New to linux in general and am having issues on setting up a Raid 1 array for two disks on an HP Proliant Microserver which I am looking to be accessible from my windows PC. I have installed the latest version of debian succesfully on a 250GB disk that came with the server. I have added 2 2TB disks which I would like to have in a RAID 1 array and to have visible from windows to store music/videos etc on. I have managed to partition the two disks to FAT32 (which I think is best) and have managed to configure the array so that it shows as active when I use cat /proc/mdstat. I have been following the steps in this article [URl]... squeeze-p2 and trying to adapt it to my situation.
I am stuck on the step to create the file systems using the mkfs command. I try mkfs.vfat /dev/md0 and it comes up with the error mkfs.vfat: command not found. I have tried mkfs -t vfat /dev/md0 and it give the error "mkfs.vfat: No such file or directory" So my question is how can I continue with the process of setting up the array? Or maybe I should be asking is it possible to set up an array with FAT32 formatted disks?
I'm not sure what to do, but I just rescued photos and documents using ubuntu live cd, gddrescue and photorec. The data carving went fine and I was able to move all of my recovered jpg's into a recovery/jpg folder, as well as my word doc's into a recover/doc folder. I also have recovery/video and recovery/audio. Now here's my problem...
I used the right-click "safely remove drive" from the ubuntu interface and then unplugged my external drive. I then tried to view the recovered photos, etc on my windows 7 desktop, but when I plug in the external drive I get an error and a prompt to "format the drive" so that windows can use it.
I plugged the external drive back into my failed laptop and with the ubuntu live cd can see the drive, but none of the folders display. I can cd "change directories" to all of the folders using a terminal, but still can't see them outside of the terminal. That is, with the ubuntu interface. I'm just trying to finish up recoverying these photos, which I thought I had done.
My pendrive has become read only. I want to format it using Linux - how do I do that?
If I run mkfs.vfat devsdc1, it doesn't work.