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 at 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
Ross S. W. Walker
2008-Jan-29 23:25 UTC
[CentOS] Resizing a fat filesystem on a USB partition
Look for gnu parted. There are a couple of live cds out there with it, like "Parted Magic" and others. Parted can resize fat and ntfs file systems among others. -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: CentOS mailing list <centos at centos.org> Sent: Tue Jan 29 17:53:07 2008 Subject: Re: [CentOS] Resizing a fat filesystem on a USB partition> 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 _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080129/578e7309/attachment-0002.html>
Ross S. W. Walker wrote:> > Look for gnu parted. There are a couple of live cds out there with it, like > "Parted Magic" and others. > > Parted can resize fat and ntfs file systems among others.And Gparted provides a very partition-magic like X11 interface to parted(?), I don't see it part of the standard CentOS 5.1 distribution, I've only used it under Ubuntu, and it can resize FAT32/NTFS etc no problem(not sure about FAT16). $ apt-cache show gparted Package: gparted [..] Description: GNOME partition editor GParted uses libparted to detect and manipulate devices and partition tables while several (optional) filesystem tools provide support for filesystems not included in libparted. nate
> Look for gnu parted. There are a couple of live cds out there with it, > like "Parted Magic" and others. > > Parted can resize fat and ntfs file systems among others.Unfortunately `parted` doesn't work with this setup where the partition size is different to the filesystem size and throws up lots of errors. I even tried downloading the latest version of parted but still no go :-/ Dan
Possibly Parallel Threads
- centos 5.5 - which partition manager installed
- C6: Gparted "the kernel failed to re-read partition table"
- installing extlinux on a fresh system. Why does it fail ?
- C6: Gparted "the kernel failed to re-read partition table"
- Resizing EXT3 partition in guest instance CentOS5