Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #############################
- isolinux/isolinux.cfg (snippet)
- #############################
- label linux
- menu label ^Install Rocky Linux 9.4
- kernel vmlinuz
- append initrd=initrd.img inst.stage2=hd:LABEL=Rocky-9-4-x86_64-dvd quiet inst.ks=hd:LABEL=Rocky-9-4-x86_64-dvd:/ks1.cfg
- label check
- menu label Test this ^media & install Rocky Linux 9.4
- menu default
- kernel vmlinuz
- append initrd=initrd.img inst.stage2=hd:LABEL=Rocky-9-4-x86_64-dvd rd.live.check quiet inst.ks=hd:LABEL=Rocky-9-4-x86_64-dvd:/ks1.cfg
- menu separator # insert an empty line
- # utilities submenu
- menu begin ^Troubleshooting
- menu title Troubleshooting
- label text
- menu indent count 5
- menu label Install Rocky Linux 9.4 using ^text mode
- text help
- Try this option out if you're having trouble installing
- Rocky Linux 9.4.
- endtext
- kernel vmlinuz
- append initrd=initrd.img inst.stage2=hd:LABEL=Rocky-9-4-x86_64-dvd inst.text quiet inst.ks=hd:LABEL=Rocky-9-4-x86_64-dvd:/ks1.cfg
- label rescue
- menu indent count 5
- menu label ^Rescue a Rocky Linux system
- text help
- If the system will not boot, this lets you access files
- and edit config files to try to get it booting again.
- endtext
- kernel vmlinuz
- append initrd=initrd.img inst.stage2=hd:LABEL=Rocky-9-4-x86_64-dvd inst.rescue quiet inst.ks=hd:LABEL=Rocky-9-4-x86_64-dvd:/ks1.cfg
- label memtest
- menu label Run a ^memory test
- text help
- If your system is having issues, a problem with your
- system's memory may be the cause. Use this utility to
- see if the memory is working correctly.
- endtext
- kernel memtest
- ##########################
- isolinux/grub.cfg
- ##########################
- #debug --graphics
- default=1
- splashimage=@SPLASHPATH@
- timeout 60
- hiddenmenu
- title Install Rocky Linux 9.4
- findiso
- kernel @KERNELPATH@ @ROOT@ quiet
- initrd @INITRDPATH@
- title Test this media & install Rocky Linux 9.4
- findiso
- kernel @KERNELPATH@ @ROOT@ rd.live.check quiet
- initrd @INITRDPATH@
- ###########################
- EFI/BOOT/grub.cfg
- ###########################
- set default="1"
- function load_video {
- insmod efi_gop
- insmod efi_uga
- insmod video_bochs
- insmod video_cirrus
- insmod all_video
- }
- load_video
- set gfxpayload=keep
- insmod gzio
- insmod part_gpt
- insmod ext2
- set timeout=60
- ### END /etc/grub.d/00_header ###
- search --no-floppy --set=root -l 'Rocky-9-4-x86_64-dvd'
- ### BEGIN /etc/grub.d/10_linux ###
- menuentry 'Install Rocky Linux 9.4' --class fedora --class gnu-linux --class gnu --class os {
- linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Rocky-9-4-x86_64-dvd quiet inst.ks=hd:LABEL=Rocky-9-4-x86_64-dvd:/ks1.cfg
- initrdefi /images/pxeboot/initrd.img
- }
- menuentry 'Test this media & install Rocky Linux 9.4' --class fedora --class gnu-linux --class gnu --class os {
- linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Rocky-9-4-x86_64-dvd rd.live.check quiet inst.ks=hd:LABEL=Rocky-9-4-x86_64-dvd:/ks1.cfg
- initrdefi /images/pxeboot/initrd.img
- }
- submenu 'Troubleshooting -->' {
- menuentry 'Install Rocky Linux 9.4 in text mode' --class fedora --class gnu-linux --class gnu --class os {
- linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Rocky-9-4-x86_64-dvd inst.text quiet inst.ks=hd:LABEL=Rocky-9-4-x86_64-dvd:/ks1.cfg
- initrdefi /images/pxeboot/initrd.img
- }
- menuentry 'Rescue a Rocky Linux system' --class fedora --class gnu-linux --class gnu --class os {
- linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Rocky-9-4-x86_64-dvd inst.rescue quiet inst.ks=hd:LABEL=Rocky-9-4-x86_64-dvd:/ks1.cfg
- initrdefi /images/pxeboot/initrd.img
- }
- }
- #########################
- [root@localhost mnt]# ls -l
- total 14
- drwxr-xr-x. 1 root root 2048 May 5 21:18 BaseOS
- drwxrwxr-x. 1 root root 2048 May 5 02:12 EFI
- drwxrwxr-x. 1 root root 2048 May 5 02:12 images
- drwxrwxr-x. 1 root root 2048 May 5 02:12 isolinux
- -rw-------. 1 root root 810 Jun 5 12:45 ks1.cfg
- -rw-r--r--. 1 root root 2204 May 1 01:30 LICENSE
- -rw-r--r--. 1 root root 101 May 5 06:23 media.repo
- drwxr-xr-x. 1 root root 2048 May 5 21:45 minimal
Advertisement
Add Comment
Please, Sign In to add comment