Hi All,
I feel this is the most simple question but I am currently going around and round in circles and searches keep bringing me up Windows tools!! :-(
I have a 512MB USB drive that has a 12MB FAT16 partition on it. How can I resize this 12MB partition to grow and fill the whole 512MB drive?
Just in case I am being stupid, here is what I am doing... :-) I would like a quick USB drive that a machine can boot from but will then load and run some custom tools we have. I have done a... dd if=/mirrors/centos/5/os/i386/images/diskboot.img of=/dev/sda ... which gives the 12MB partition but now I want to grow it so I can then add my own apps.
Thank you very much in advance
Regards, Dan
On Jan 29, 2008 7:57 AM, Dogsbody dan@dogsbody.org wrote:
Hi All,
I feel this is the most simple question but I am currently going around and round in circles and searches keep bringing me up Windows tools!! :-(
I have a 512MB USB drive that has a 12MB FAT16 partition on it. How can I resize this 12MB partition to grow and fill the whole 512MB drive?
AFAIK, there is no way to "resize" any FAT partition. You have to delete both partitions and then create a new one.
That's all.
mhr
AFAIK, there is no way to "resize" any FAT partition. You have to delete both partitions and then create a new one.
I thought the CD installer came with a utility to resize FAT partitions (albeit in MS DOS)? And this isn't possible in CentOS it self? :-/
Ho hum, thank you very much for the quick answer :-)
Dan
On Jan 29, 2008 2:53 PM, Dogsbody dan@dogsbody.org wrote:
AFAIK, there is no way to "resize" any FAT partition. You have to delete both partitions and then create a new one.
I thought the CD installer came with a utility to resize FAT partitions (albeit in MS DOS)? And this isn't possible in CentOS it self? :-/
AFAIK = As far as I know.
I could be wrong.
But, that said, the way a FAT partition is laid out, the FAT itself is a fixed sized entity. In order to resize it, one would have to change the cluster size (requiring a reformat) or change the FAT size, requiring some amount of relocation of clusters. The most likely implementation would be to save the existing files, re-allocate the FAT, then restore the files. Even under MS-DOS.
In any case, if the partition you want to resize is after the one you want to expunge, that cannot be done without a save-reallocate-restore algorithm because the FAT is at the front end of the file system.
Linux/UNIX file systems are not allocated that way and are slightly more flexible, but with an LVM YMMV.
Ho hum, thank you very much for the quick answer :-)
You're welcome, and I hope I was right! That's what I did with mine.
mhr
AFAIK, there is no way to "resize" any FAT partition. You have to delete both partitions and then create a new one.
I thought the CD installer came with a utility to resize FAT partitions (albeit in MS DOS)? And this isn't possible in CentOS it self? :-/
Have you looked at the gparted LiveCD?
AFAIK, there is no way to "resize" any FAT partition. You have to delete both partitions and then create a new one.
I thought the CD installer came with a utility to resize FAT partitions (albeit in MS DOS)? And this isn't possible in CentOS it self? :-/
Have you looked at the gparted LiveCD?
If parted doesn't work I guess gparted won't either :-/
This is a USB drive so it's not a problem unmounting it and playing around with it.
Shame it can't be done. I thought I was finally getting somewhere with that.
Thanks again
Dan