![]() Otherwise, this post is a collection of partial successes. Even with MBR (reported by GParted > Ctrl-R as “msdos”), dd would give me a “No space left on device” error but if I let it finish, the target would be bootable. This would not work if the source partitions extended beyond the target drive’s (in this example, 32GB) capacity, nor would it work if the source drive was GPT. If I could squeeze my partitions into the first 32GB of the 64GB drive and leave the rest as unallocated space, I preferred the approach of converting the 64GB drive to MBR (if it wasn’t MBR already) and then running a dd command to copy it straight over to the 32GB drive. In this case, I was trying to reduce a 64GB drive to a 32GB drive, but the general ideas would apply to any large-small pairing.Ĭlonezilla seemed to be a good place to start for most purposes, though potentially complicated (see e.g., jaylweb comment at SuperUser). I experimented with Linux and Windows tools that seemed like they might be able to clone a bootable Ubuntu installation from a larger source drive to a smaller target drive. In the latter case, it took the target drive a while, after booting, to adjust itself – but it did work. The other used the Clone Disk option for creating a WTG from a potentially larger USB drive. One, described in another post, used the System Migration option for creating a WTG from a potentially larger desktop installation. For bootable Windows To Go (WTG) drives, I used two methods, both available through DiskGenius. Note that this post focuses on Ubuntu drives. It was also conceivable that some of this material would prove useful in some situations. For one thing, I didn’t want to remove material that I or someone else might have linked to at some point. ![]() While those newer discoveries seemed potentially superior to the material discussed below, I decided to leave that material here. The other began with a raw disk image, pared down with the truncate command. One, which I had not yet explored, involved using dd’s count option. Later, I discovered two other methods of potential value. Use Boot Repair Disk as needed to make the target bootable. ![]() Revise flags for the partitions on the target drive to match those on the source partitions. If the source partition is too large, use GParted to shrink it first. Start with the first partition, right-click, and copy it to an empty space on the target drive, and repeat with each other partition on the source drive. Update: 18 months after writing this post, I found that GParted provided a simple solution.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |