forked from yoshi314/multi-live-usb-configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alpine.cfg
22 lines (17 loc) · 1.22 KB
/
alpine.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# copy apks to / of the usb
# copy grsec* files from isolinux to /apks as alpine32* or alpine64*
# depending on architecture
# you should have alpine32 , alpine32.gz and alpine32.modloop.squashfs for x86 version
# and alpine64 , alpine64.gz and alpine64.modloop.squashfs for x86_64 version
# there are hidden files on iso, so the best way to get them is either to mount iso, or extract it with 7zip
# opening iso with mc will not show these files, and they are crucial to boot alpine correctly
# these files are /apks/.boot_repository and /.alpine-release
# you might want to add your filesystem module to modules= list , otherwise it might fail to open the partition. if you are
# using something else than fat filesystem
# e.g. if you boot of fat32 device, add "vfat" to modules=
label alpine linux 32bit
kernel /apks/boot/x86/vmlinuz-lts
append initrd=/apks/boot/x86/initrd-lts alpine_dev=UUID=SOMEUUID modules=loop,squashfs,sd-mod,usb-storage,vfat,msdos waitusb=5 modloop=/apks/boot/x86/modloop-lts
label alpine linux 64bit
kernel /apks/boot/x86_64/vmlinuz-lts
append initrd=/apks/boot/x86_64/vmlinuz-lts alpine_dev=UUID=SOMEUUID modules=loop,squashfs,sd-mod,usb-storage,vfat,msdos waitusb=5 modloop=/apks/boot/x86_64/modloop-lts