You are not logged in.

#1 2019-07-04 19:33:00

demysteriismundi
Member
Registered: 2019-07-04
Posts: 1

Creating multiboot usb stick

Hello everyone!

Recently I wanted to make a multiboot usb stick. What I do:
1) dd if=/dev/zero of=/dev/sdb to clear usb
2) make partition table with fdisk:
    - 100 mb fat32 (for grub)
    - 2 gb ext4 (for a linux #1)
    - ...
    - 2 gb ext4 (for a linux #n)
3) mkfs it
4) grub-install root=/mnt/usb-grub /dev/sdb to install grub
5) download any linux (for example arch linux) and mounted downloaded iso
6) and configurate grub in /mnt/usb-grub/boot/grub/grub.cfg

My grub.cfg:
menuentry "Archlinux" {
   set root=(hd1,2)
   linux /arch/boot/x86_64/vmlinuz
   initrd /arch/boot/x86_64/archiso and some path to other iso
}

When I starts computer from usb and choose Archlinux in GRUB, I see starting process and next error in the end:
/dev/disk/by-label/ device did it show up after 30 seconds

Can you help me with this error please. Just direct me to the right way.
Thanks!

Offline

#2 2019-07-05 22:25:08

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Creating multiboot usb stick

Arch installation isos require to be labeled in a very specific way , see https://wiki.archlinux.org/index.php/US … leshooting


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB