shell script

This commit is contained in:
2026-05-22 15:21:21 +08:00
parent b84371b88b
commit d3594007ad
62 changed files with 8965 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#Change UUID
set timeout=600
menuentry "Arch Linux Live (UUID Method)" {
insmod part_msdos
insmod iso9660
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root UUID
linux /arch/boot/x86_64/vmlinuz-linux \
archisobasedir=arch \
archisolabel=ARCH_202604
initrd /arch/boot/x86_64/initramfs-linux.img
}
#-------------------------------------------------------------------------------------------------------------------------------------------
parted /dev/vda
resizepart 2 48GB
print
quit
#-------------------------------------------------------------------------------------------------------------------------------------------
#Create a partition, sized 1M
#And
parted /dev/vda
set 1 bios_grub on
quit