Since my last post I got quite good in making snapshots. I routinely end up with usable .iso files. However, the next step, transferring this iso file to a bootable usb often goes wrong. I found that essentially only one set of options works reliably when choosing the ext2 filesystem:
- use full device
- extlinux boot loader
Ideally, I would want to use only half of the USB drive for the antix system, and format the other half as a FAT32 partition, to make exchange of data with Windows more easy. However, if I do so, or if I choose the GRUB loader, the resulting USB key doesn't boot. What's worse: I cannot correct the mistake. The antix2usb script is no longer able to make a file system on that USB drive. It does wipe the partition table, but then issues the error message
Code: Select all
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
The error has nothing to do with data on the USB drive: I can use that same USB drive on another antix system, and there I can succesfully run the antix2usb script. Untill I make a mistake there, and then the same thing happens there. Also, I can mount another USB key as /dev/sdb1, then insert the malfunctioning USB key as /dev/sdc and use it without problems with the antix2usb script. So there must be some erroneous configuration file on the system itself, not on the USB key.
I have two Antix systems running now. One has malfunctioning /dev/sdb and /dev/sdc, the other one only /dev/sdc. The first one is a virtual drive. So I could presumably add a dummy hdd with 2 partitions, which would occupy sdb and sdc and then the USB key would get assigned to /dev/sdd. But I would like to solve the problem in a more fundamental way. What is particularly worrying is that the problem is inherited by the imaged system: so the 'child' antix systems also cannot use sdb and sdc in the antix2usb script.
I googled around for the error message. It's a known problem, but I didn't find a solution that seemed applicable here.