You are not logged in.
Hi All,
I would like to install arch linux on an USB stick, but I would like to keep as much of the memory stick as possible for use with windows computers. I don't know how big all the packages will be, so I would like to create something that grows and scrinks as new packages are installed and removed.
LVM is capable of adding / removing physical partitions on the fly, so in theory it should be possible to make files of say 1 GB on the fat32 partition, loop mount them and add them to LVM, and extend the filesystem. Removing them can also be done.
Is this overkill? Is there a better solution for this problem? Are there other ways to "share" a fat32 disk between normal files and linux system files?
Cheers,
Cedric
Offline
I haven't used block devices on LVM enough to tell if your suggestion would work but it sounds solid. Managing the block devices, however, would be a long-term hassle. It seems like it would be possible to format your root filesystem as something that could be read by both Windows and Linux, such as FAT, and then creating a directory under the root partition to be used for general data storage.
Offline
It seems like it would be possible to format your root filesystem as something that could be read by both Windows and Linux, such as FAT, and then creating a directory under the root partition to be used for general data storage.
Using a root filesystem that does not support posix permissions such as fat or ntfs will lead to system breakage when the system thinks everything is owned by one user/group with one set of access permissions.
Offline
You're setting yourself up to make things fail or at the very least needlessly complicated, either get a larger flash disk or get a second fast flash disk to install linux.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline