shell script
This commit is contained in:
+23
@@ -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
|
||||
Reference in New Issue
Block a user