Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
28ae4a7c
Commit
28ae4a7c
authored
Jul 11, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grub: clean 'showopts' from boot args
This option is only for gfxboot on syslinux. It hides the options to the left of it from the user.
parent
c0e0a2c7
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
25install-vnc-connect.cfg
features.in/grub/cfg.in/25install-vnc-connect.cfg
+1
-1
25install-vnc-listen.cfg
features.in/grub/cfg.in/25install-vnc-listen.cfg
+1
-1
26live-install-vnc-listen.cfg
features.in/grub/cfg.in/26live-install-vnc-listen.cfg
+1
-1
30live.cfg
features.in/grub/cfg.in/30live.cfg
+1
-1
32live_rw.cfg
features.in/grub/cfg.in/32live_rw.cfg
+1
-1
80rescue.cfg
features.in/grub/cfg.in/80rescue.cfg
+1
-1
82rescue_rw.cfg
features.in/grub/cfg.in/82rescue_rw.cfg
+1
-1
83rescue_fm.cfg
features.in/grub/cfg.in/83rescue_fm.cfg
+1
-1
84rescue_remote.cfg
features.in/grub/cfg.in/84rescue_remote.cfg
+1
-1
85mediacheck.cfg
features.in/grub/cfg.in/85mediacheck.cfg
+1
-1
No files found.
features.in/grub/cfg.in/25install-vnc-connect.cfg
View file @
28ae4a7c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
menuentry $"VNC install "'@distro@'$" (edit to set server IP address)" --id 'vncconnect' {
menuentry $"VNC install "'@distro@'$" (edit to set server IP address)" --id 'vncconnect' {
savedefault
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR fastboot @initrd_bootargs@ @stagename@=altinst ramdisk_size=@altinst_size@
showopts
nosplash @bootargs@ $EFI_BOOTARGS headless no_alt_virt_keyboard vncconnect=IP lang=$lang
linux /boot/vmlinuz$KFLAVOUR fastboot @initrd_bootargs@ @stagename@=altinst ramdisk_size=@altinst_size@ nosplash @bootargs@ $EFI_BOOTARGS headless no_alt_virt_keyboard vncconnect=IP lang=$lang
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
features.in/grub/cfg.in/25install-vnc-listen.cfg
View file @
28ae4a7c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
menuentry $"VNC install "'@distro@'$" (edit to set password and connect here)" --id 'vncpasswd' {
menuentry $"VNC install "'@distro@'$" (edit to set password and connect here)" --id 'vncpasswd' {
savedefault
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR fastboot @initrd_bootargs@ @stagename@=altinst ramdisk_size=@altinst_size@
showopts
nosplash @bootargs@ $EFI_BOOTARGS headless no_alt_virt_keyboard vncpassword=VNCPWD lang=$lang
linux /boot/vmlinuz$KFLAVOUR fastboot @initrd_bootargs@ @stagename@=altinst ramdisk_size=@altinst_size@ nosplash @bootargs@ $EFI_BOOTARGS headless no_alt_virt_keyboard vncpassword=VNCPWD lang=$lang
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
...
...
features.in/grub/cfg.in/26live-install-vnc-listen.cfg
View file @
28ae4a7c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
menuentry $"VNC install "'@distro@'$" (edit to set password and connect here)" --id 'vncpasswd' {
menuentry $"VNC install "'@distro@'$" (edit to set password and connect here)" --id 'vncpasswd' {
savedefault
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR fastboot @initrd_bootargs@ @stagename@=live init=/usr/sbin/install2-init ramdisk_size=@live_size@
showopts
nosplash @bootargs@ $EFI_BOOTARGS headless no_alt_virt_keyboard vncpassword=VNCPWD lang=$lang
linux /boot/vmlinuz$KFLAVOUR fastboot @initrd_bootargs@ @stagename@=live init=/usr/sbin/install2-init ramdisk_size=@live_size@ nosplash @bootargs@ $EFI_BOOTARGS headless no_alt_virt_keyboard vncpassword=VNCPWD lang=$lang
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
...
...
features.in/grub/cfg.in/30live.cfg
View file @
28ae4a7c
menuentry $"LiveCD (no hard disk needed)" --id 'live' {
menuentry $"LiveCD (no hard disk needed)" --id 'live' {
savedefault
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR fastboot live @initrd_bootargs@ @stagename@=live ramdisk_size=@live_size@
showopts
lowmem vga=@bootvga@ @bootargs@ $EFI_BOOTARGS lang=$lang
linux /boot/vmlinuz$KFLAVOUR fastboot live @initrd_bootargs@ @stagename@=live ramdisk_size=@live_size@ lowmem vga=@bootvga@ @bootargs@ $EFI_BOOTARGS lang=$lang
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
...
...
features.in/grub/cfg.in/32live_rw.cfg
View file @
28ae4a7c
menuentry $"LiveCD with sessions support" --id 'session' {
menuentry $"LiveCD with sessions support" --id 'session' {
savedefault
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR fastboot live @initrd_bootargs@ @stagename@=live ramdisk_size=@live_size@
showopts
live_rw vga=@bootvga@ @bootargs@ $EFI_BOOTARGS lang=$lang
linux /boot/vmlinuz$KFLAVOUR fastboot live @initrd_bootargs@ @stagename@=live ramdisk_size=@live_size@ live_rw vga=@bootvga@ @bootargs@ $EFI_BOOTARGS lang=$lang
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
features.in/grub/cfg.in/80rescue.cfg
View file @
28ae4a7c
menuentry $"Rescue LiveCD" --id 'rescue' {
menuentry $"Rescue LiveCD" --id 'rescue' {
savedefault
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR changedisk fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash
showopts
@rescue_bootargs@ $EFI_BOOTARGS lowmem
linux /boot/vmlinuz$KFLAVOUR changedisk fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash @rescue_bootargs@ $EFI_BOOTARGS lowmem
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
features.in/grub/cfg.in/82rescue_rw.cfg
View file @
28ae4a7c
menuentry $"Rescue with sessions support" --id 'rescue_session' {
menuentry $"Rescue with sessions support" --id 'rescue_session' {
savedefault
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR changedisk fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash
showopts
@rescue_bootargs@ $EFI_BOOTARGS live_rw
linux /boot/vmlinuz$KFLAVOUR changedisk fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash @rescue_bootargs@ $EFI_BOOTARGS live_rw
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
features.in/grub/cfg.in/83rescue_fm.cfg
View file @
28ae4a7c
menuentry $"Forensic mode (leave disks alone)" --id 'rescue_forensic' {
menuentry $"Forensic mode (leave disks alone)" --id 'rescue_forensic' {
savedefault
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash
showopts
@rescue_bootargs@ $EFI_BOOTARGS max_loop=16 forensic hash=@rescue_hash@ lowmem
linux /boot/vmlinuz fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash @rescue_bootargs@ $EFI_BOOTARGS max_loop=16 forensic hash=@rescue_hash@ lowmem
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
features.in/grub/cfg.in/84rescue_remote.cfg
View file @
28ae4a7c
menuentry $"Rescue with remote SSH access (DHCP)" --id 'rescue_remote' {
menuentry $"Rescue with remote SSH access (DHCP)" --id 'rescue_remote' {
savedefault
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash
showopts
@rescue_bootargs@ $EFI_BOOTARGS max_loop=16 ip=dhcp port=22 rootpw=AUTO hash=@rescue_hash@ lowmem
linux /boot/vmlinuz$KFLAVOUR fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash @rescue_bootargs@ $EFI_BOOTARGS max_loop=16 ip=dhcp port=22 rootpw=AUTO hash=@rescue_hash@ lowmem
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
features.in/grub/cfg.in/85mediacheck.cfg
View file @
28ae4a7c
menuentry $"Check this media for defects" --id 'mediachk' {
menuentry $"Check this media for defects" --id 'mediachk' {
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR live @initrd_bootargs@ @stagename@=mediacheck lowmem mediacheck=1 nosplash
showopts
@bootargs@ $EFI_BOOTARGS
linux /boot/vmlinuz$KFLAVOUR live @initrd_bootargs@ @stagename@=mediacheck lowmem mediacheck=1 nosplash @bootargs@ $EFI_BOOTARGS
echo $"Loading initial ramdisk ..."
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment