I have a USB thumb drive that I just partitioned using the 'fdisk' utility in Linux. Now I am trying to learn the command that will allow me to format the drive as 'fat32' while also setting the disk label on the device as "ocz_usb" when the drive gets mounted. Does anyone know the command I would use that will format the USB drive and properly set the disk label at the same time?
I use to know this command but lost it and did not note the entire command on my Linux cheat sheet. Someone once showed me a simple very easy command I could use to simple format a USB flash drive as FAT32 and in the same command also name the label of the drive.I have the device /dev/sdc1 and I am formatting this as FAT32 so it's compatible across multiple systems but also want the drive to have the name 'my_usb'.
This isn't important but it's always been an itch I can't figure out. I have 3 partitions on my laptop: Ubuntu, OSx86 and Windows 7. I use Pysdm Storage Device Manager to automount them on start-up.
My OSx86 partition is labelled "OS X" and displays as such on all three systems. My Windows partition displays as "80GB File System" (as it's meant to).
I was just wondering whether or not it was possible to change how it displays on Ubuntu safely, to something more aesthetically pleasing such as "Win7".
Before this partition, I had 6 partition of which /dev/sda6 was the boot partition. I deleted /dev/sda5 partition and hence the earleir /dev/sda6 became /dev/sda5. Now I created two new partitions /dev/sda6 and /dev/sda7.
Due to this change in device label of /dev/sda6 I am not able to boot my computer.
Is there any method to change the disk label of /dev/sda5 to /dev/sda6 ?????
How do I change the partition label of a drive in openSuse. I am using KDE. I have this howto: Editing FAT32 Partition Labels using mtools But its too long and requires to edit configuration files, when actually for removable media this is a very long cycle.
I'm trying to partition/format a new external hard disk for backup and have run into a snag that now prevents my computer from booting. In the description below of what happened please bear with me as I do my best to remember the commands and screen output (which for obvious reasons I don't have in front of me).As root.The disk was subsequently writable. However, I then realized that the default start and end cylinders had resulted in a very small partition apparently occupying some free cyclinders in the beginning of the disk.
So next I ran fdisk again, deleting the sdc4 I had just created and creating a new one instead, this time using the cylinders at the end of the disk. When I exited fdisk I got a message something like that the new tables can only be read upon a subsequent reboot. I ran mkfs again, but not e2label. Indeed using /sbin/fdisk -l, sdc4 still had the small size as defined initially. So I rebooted.
Now when it comes up I get something like "checking filesystems. fchk.ext3: can't resolve 'LABEL=/media/LaCie2TB1'" and am prompted to login as root to correct. I tried to simply delete sdc4 again but that didn't help. I also tried to edit /etc/fstab (using vi, which I don't know at all) but it kept telling me that this is a read only file, even though permissions are rw for root.Can anyone out there help me so that (1) I can boot into my computer, and (2) I can correctly partition and format the hard drive??
I 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"
This is my situation, I had installed Ubuntu in my whole drive in 640Gig. Now, I want to partition it, without affecting my Ubuntu operating system. I just want 320Gig for my Ubuntu and 320 for my Windows.
I know how partition using Windows but from Linux, that I don't know.
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code: sundar@sundar-sundar:~$ fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes
just got Fedora 15 up and running and i have a 2nd internal HDD which i want to use for backups only, how do i format it exactly, mount point? file system? I've tried few options but when i try to point at it with Deja Dup i can't access it?
I have a server with two hard disks SATA (500 GB), I installed centos in one of them, desire to know how I can mount the other hard disk empty and without format, so that this hard disk always appears mounted when "reboot" the system.
I have an 80gb hard drive that I used in an xbox for xbmc and it was formatted to whatever it needed to be formatted to for it. Now that I want to use it in my computer, I can't format it back to ext4 or NTFS. It's somewhat recognized, but the partition shows up as unknown. Is there a program that I can get to reformat it? idk if gparted will work cuz it won't startup on the live CD. I will give it a shot once I install ubuntu onto the computer.
I was looking in the disk utility today, and i was looking in the hard drive formatting section. in the drop down box, i noticed Apple. does that mean that i could format the rest of my hard drive to be OSX compliant?
I just bought a new 320gb laptop hard drive and mounted it into an external enclosure. The hard drive has never been formatted. I plugged it into my computer running Ubuntu 10.10 and nothing happens. I expected something toopup and say the drive has not been formatted and give me formatting choices. I looked in Places>Computer and it's not there. I even looked in Gparted and it does not show it. So how on earth do I format a new external hard drive?
I wanted to get started with Ubuntu so I partitioned an external hard drive with Ubuntu 11.04 onto it. After finding out my computer couldn't but up from a external hard drive I wanted to format my drive. When I plugged it into my computer, Windows would not recognize it. I then dual booted Ubuntu 11.04 onto my laptop and attached my drive. Ubuntu found it a recognized it as 3 separate disks. I then opened up disk utility and told it to format the drive. After clicking a couple "OKs" I got an error message: An error occured while performing an operation on "500 GB Hard Disk" (Seagate FreeAgent GoFlex): The device is busy I clicked details and got:One or more partitions are busy on /dev/sdb. I was wondering what I could do since it isn't doing anything in the first place. I just want to format the whole thing.
Right clicking on a drive will format the drive but Disk Utility 2.30.1 included with Ubuntu 10.10 will not format the drive and says the drive is busy.
is there a way to write/unpack .qcow2 hard disk image directly to real hard drive in Linux?(I know it's possible to unpack .qcow2 to .raw and then dd to drive, but I'd like to skip .raw since its large)
I've currently got 9.10 and have (somehow) managed to mess the system up already!It's a new computer so I'm not fussed about data loss etc, but is there a way to completely reset the system which will also format the hard drive (as it was a download that has messed it up!) without losing the O/S?
An upgrade %100 pwnd my system: I performed an upgrade to Lucid from Karmic and I lost my keyboard input and sound etc etc etc. I then made a Karmic boot-run/install CD, & a USB startup stick. I then backed up my important information on flashdrives etc. At this point in time I have 2 partitions one with my old user account & info on it, and the other as a new (re)installed Karmic partition. My question is: What is the procedure for:
a) formatting the drive, b) not keeping the 2 partitions, and c) re-installing Ubuntu (karmic) back onto it?
I have GParted ( but I can't see how to use it to format ), and I have no clue how to format the Drive from either within the GUI or at the command-line. How do I format & re-install Ubuntu? What is the sequence or steps? I can probably do the re-install intuitively but I'm concerned there may be Ubuntu tricks I don't know about! Also- does this 2 partition thing cause any complications to formatting?? So honestly my question is simply how to format the drive from within the system.
and am running Ubuntu 9.04 version. My wife's USB flashdisk has picked up viruses from computers running Windows in her office. My quick solution is to format it (and external hard disks as well) in my machine.
I have a PC with really low specs ( it's a back up computer) that's running puppy linux but I don't really like it. It's hard to navigate/get things you could easily do on Windows Xp done, it's menus are crowded and well it can't even shut off properly which is a shame. I've had it on for only a week.
Anyways, I've downnloaded the Xubuntu . Iso and burnt it at 1x speed. I pop it in and it does take a long time to go through the install. ( I'm not sure if it's because of the disc read speed or because of the memory and what not) I chose the option to delete everything and install Xubuntu. It works and then I get a couple of error message and then the last one says something like " Can not format sda1" or something like that.
Below is results from attempt at formatting my hard drive. As you can see a driver is installed, but not working. Perhaps something is missing? Seems a bit odd that a "unable to read" comes back when disk data is reported. The drive just went through a low level format. BTW this is a fiber channel drive. Also on board are 5 scsi drives. Adaptec raid card. Not sure if that would have any relevance, but there you are.
can't find an answer for this here or elsewhere. I recently installed Ubuntu on my laptop with no problems...until now. I bought a Seagate portable drive for backup/extra storage purposes. When I plug in the drive and start up Disk Utility, it recognizes the Drive and whatnot, but when I click "Format Drive" I end up (after clicking through the warnings) with an error message stating:Error Formatting DriveAn error occurred while performing an operation on "640 GB Hard Disk" (Seagate Portable):The device is busyI clicked for details, which resulted in:One or more partitions are busy on /dev/sdb(Not that detailed, if you ask me.)I then entered the command line (a scary place for someone who came over from OSX) Code:sudo lshw -C diskgave me this info about the hard drive I'm trying to format:
I have a Seagate external hard drive and I want to use it to back up my home server since it runs Ubuntu 6.10 and the upgrade to 10.10. My problem is that I am not able to format the drive to use it. I can not change the permissons or if I try to format I have all sorts of trouble. I have tried doing it on the home server running 6.10 and another pc running 10.10 and had no luck. Is there a better way? I have even tried chmod and chown with no luck.
I have a 250 GB external hard drive formatted with Windows NTFS file type.How do I format it to use linux and what file type is best. I'm done with Windows so that is not a concern.
I want to copy my home video DVD's to my hard drive and I want the format to be in an mpeg format (I suppose I should want mp4). The DVD's are in some sort of VOB, IFO format....or whatever they're called.There are many chapters on each of the DVD's and I want each of the individual chapters copied to the hard drive so I can rename the files something like, "fishing.mpeg" or "skiing.mpeg" and not some huge 3 gb file.
K9copy does a fair job but won't complete it. That is- k9copy gets 86% encoding done (I think that's the word for it) but won't finish copying the remainder of the chapters.