Is it possible to install Arch Linux (or any other system really) on the USB you used to boot the system on? I don't want to overwrite the system that's already on the computer itself.
>>66343866If youre asking if it's possible to create an arch live USB then yes it is possible.
>>66343879On the USB you used to boot the system in the first place?
>>66343886you mean / file systems installed onto usb and then boot from it? if so then yeah
>>66343866Of course I have presently an USB like that it boots practically everywhere but to work on older pc you need to add boot flag to partition. Then install anything on it like on a regular computer it's just different storage and Linux is very mobile /hardware independent
>>66343866Just remember that if boot fails and grub is working try to use fallback initramfs then replace regular one with it if it works. It's a matter of drivers for storage mostly
>>66343886no because the compressed file system (squashfs) image on the usb stick is not writable when booted live.
>>66343866Just use your regular os as live system and do the arch install on the usbstick instead of a harddrive. If you have, for example, debian, you can easily follow the instructions for installing from an alien host
>>66345444so any changes you make on the live usb while booted will be lost on reboot. the / partition on live usb is an unionfs (or similar) between ram and the uncompressed aquashfs image. if you want to customize the live usb then you have to make your own, just check the arch wiki there certainly is an article explaining it all.t. did my own LFS based live usb
>>66343866Can be done, but I tend to prefer other options:Virtualization. Boot your normal OS, then have a virtualization program boot the ISO in a VM that has access to your (empty) USB drive as well as to the internet. From there, install as normal.GRUB. You can configure GRUB to boot an ISO you have on your SSD/HDD. There are guides for this.
>>66345465op is asking if it's possible to install arch from and to the same usb drive used to run a livecdthis is possible, it just requires a bit of extra worknamely you can do this;1. boot with "break=postmount" to drop to an initramfs shell after it mounts new_root2. unmount new_root and the overlay tmpfs mount (leave the livecd and squashfs file mounted for now)3. mount a tmpfs onto new_root, set it's size to fit the uncompressed squashfs contents4. copy the squashfs mount contents into new_root5. unmount the squashfs file and livecd (remember to detach the loop device)6. exit to continue bootthere, now it's running entirely from a ramdisk, you can remove/format/install to the flash drive you just booted from