I need to use the remaining drive space!
I've made a custom ISO using Cubic, and I burned it onto a USB stick, but I want to use the remaining space on the stick to store the ISO file itself, so that it has everything it needs to clone itself (by using the ISO to burn onto another stick, put the ISO on it so that the process can be repeated, and so on).
But I'm getting VERY weird results. First of all, right after I burn the drive, it shows up on the list but isn't mountable and isn't even ejectable! I don't remember the exact error but something about a "D-Bus" not being available I think (I'm a bit new to Linux, so bear with me, but I'm a programmer so you don't have to dumb anything down).
But if I restart the computer (or maybe even if I unplug the stick and plug it back in) then the partition appears with the files from the ISO burned onto it. However, the partition is only the exact size of the files and has 0 free bytes, as though Cubic limits it to EXACTLY how much it needs.
That's fine, but it doesn't show the other partitions, so I checked GParted and it says there's only 1 partition which is about 14.5 GB (it's a 16 GB stick but evidently they're never really a full 16 GB), which seems to conflict with the evidence that the partition is only 2 GB (the exact size of all the files). So that's very strange.
If I look at it in the Disks tool (in Accessories) then it shows the first partition as 2 GB, the second as something very small like 4 MB (probably just for booting) and the rest as free space. But the free space says its over 14 GB, the same size as the whole "partition" according to GParted (which is really the whole drive), and if I try to create a partition in the free space it says there's not enough space available, even if I limit to only like 5 GB, and I KNOW there's enough for that! It always complains about it overlapping with the other partitions.
Then to make matters weirder, even though it causes an error and supposedly doesn't actually modify anything, the drive seems to be corrupted after I do that, so that if I view it again in the Disks tool, the partitions are out of order and what had been the first partition (2 GB with all the files from inside of the ISO on it), it says it's free space, and nothing appears in the list of mounted/mountable drives in any folder anymore. I can burn it again to fix it, but I don't see why it's getting corrupted.
I want to just make an Ext4 partition for the remaining space (or even at least enough to fit the ISO) and just put the ISO on it so that it can perpetually be cloned. What am I doing wrong?
I'm making my ISO of Mint 20 Cinnamon (or maybe possibly Mate if necessary) live mode, but I don't know if that matters.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Cubic Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- sgfhoisgj sdroigdsjfoihjsg
- Solved:
- Last query:
- Last reply: