You are not logged in.
Hello everyone,
I need some help creating a bootable Arch Linux installer on my 8GB pendrive, while also having an additional ext4 partition for user data. Here's what I did:
Partitioning with gdisk (first partition with 2GB type EF00 and second partition 5.5GB type 8300).
Then
mkfs.ext4 /dev/sdX2and, finally,
dd if=archlinux-version-x86_64.iso of=/dev/sdX1 bs=8M oflag=sync status=progressbut the resulting pendrive is NOT bootable.
Unfortunately, the resulting pendrive is not bootable. When I use dd directly on the entire device (/dev/sdX), everything works fine, but it overwrites the ext4 partition (/dev/sdX2).
Question: How can I create a bootable Arch Linux installer on the first partition without overwriting the second partition meant for user data?
Thanks in advance for your help!
Offline
Some possibilities:
1. Using GRUB's iso booting feature.
2. Ventoy.
I've seen recent reports that Ventoy has problems with more recent arch ISOs, but have not personally experienced it. Ventoy allows the user to reserve some space on the pendrive, which is consistent with what you specified in the OP.
AFAIK, using dd will consume the entire pendrive.
Never argue with an idiot, they will drag you down to their level and then beat you with experience.
It is better to light a candle than curse the darkness.
A journey of a thousand miles begins with a single step.
Offline
Try using 'rsync' or do a USB install.
https://wiki.archlinux.org/title/System … sing_rsync
https://wiki.archlinux.org/title/System … ble_backup
https://wiki.archlinux.org/title/Instal … ble_medium
Scripts I Use : https://github.com/Cody-Learner
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 7 8745HS w/ Radeon 780M Graphics
grep -m1 'model name' /proc/cpuinfo : Intel(R) N95
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics
Offline
You can also look at my script and take anything you want from it.
This is how I make a bootable USB drive with Arch on it.
https://bbs.archlinux.org/viewtopic.php … 1#p2106581
Offline