


To defrag this, we need another 25600 clusters of contiguous space so we can write a new temporary file and then delete the old file and rename the new contiguous one. Now say the OS wants to write a new file - the file may be 100MB is size and the cluster size on the drive may be 4K - so we need 25600 clusters, but these may not all be contiguous when written to the disk. So you have a disk with files on it, deleted files on it and also unused empty clusters. See for a simple explanation of fragmentation.Įxactly what is happening depends on what filesystem you have (NTFS is different from FAT in it's algorithm to decide what clusters to use for a new file) and what and where the deleted and free space is within the disk volume. So I'm thinking this has to do something with the clusters of my USB drive but I'm really not sure.įragmentation depends on the amount of 'free' clusters you have, the cluster size used in the volume and the location of unused clusters and deleted clusters on that volume. Also, when I place a smaller, unmodified version of the Ubuntu live ISO file it boots perfectly fine through GRUB4DOS. I know I have plenty of space on my USB to contain the ISO file so I'm not sure why the non-fragmented ISO becomes fragmented when it is copied over to the USB. However, when I check the ISO when it is placed on the USB drive it all of a sudden becomes fragmented, and when I try to defragment it I get the error "the volume does not have a group of contiguous, free clusters that is large enough to contain the entire file." Now the strange thing is that when I check the ISO (when it is on my harddrive) using WinContig it reports that the file is perfectly fine. I'm currently using GRUB4DOS to directly boot into the ISO from a USB drive but whenever I try to boot into it, I receive an error 60 where the file is not contiguous. Hey everyone, recently I've remastered my own custom live distribution of Ubuntu and extracted it to an ISO file.
