try to fix grub 7.8
This commit is contained in:
parent
cc004b176c
commit
970c6cc4a4
2 changed files with 3 additions and 2 deletions
|
@ -26,7 +26,7 @@ system_bootloader_default_grub:
|
|||
file.keyvalue:
|
||||
- name: /etc/default/grub
|
||||
- key_values:
|
||||
GRUB_CMDLINE_LINUX: '"console=ttyS0,19200n8net.ifnames=0 modules=sd-mod,usb-storage,btrfs rootfstype=btrfs root=UUID={{ ROOT_UUID }} rootflags=subvol=@root_{{ CURRENT_SUBVOLUME_TIMESTAMP }} lockdown=confidentiality"'
|
||||
GRUB_CMDLINE_LINUX: '"console=ttyS0,19200n8net.ifnames=0"'
|
||||
- separator: '='
|
||||
- uncomment: '# '
|
||||
- key_ignore_case: false
|
||||
|
@ -83,6 +83,7 @@ system_bootloader_menuentry:
|
|||
- context:
|
||||
CURRENT_SUBVOLUME_TIMESTAMP_HUMAN: {{ CURRENT_SUBVOLUME_TIMESTAMP_HUMAN }}
|
||||
CURRENT_SUBVOLUME_TIMESTAMP: {{ CURRENT_SUBVOLUME_TIMESTAMP }}
|
||||
ROOT_UUID: {{ ROOT_UUID }}
|
||||
- mode: '0755'
|
||||
- require:
|
||||
- system_base_pkgs
|
||||
|
|
|
@ -6,7 +6,7 @@ menuentry 'Noveria Alpine {{ CURRENT_SUBVOLUME_TIMESTAMP_HUMAN }}' --class alpin
|
|||
insmod btrfs
|
||||
search --label --set=root ROOT
|
||||
echo 'Loading Linux lts ...'
|
||||
linux /@root_{{ CURRENT_SUBVOLUME_TIMESTAMP }}/boot/vmlinuz-lts
|
||||
linux /@root_{{ CURRENT_SUBVOLUME_TIMESTAMP }}/boot/vmlinuz-lts modules=sd-mod,usb-storage,btrfs rootfstype=btrfs root=UUID={{ ROOT_UUID }} rootflags=subvol=@root_{{ CURRENT_SUBVOLUME_TIMESTAMP }} lockdown=confidentiality
|
||||
echo 'Loading initial ramdisk ...'
|
||||
initrd /@root_{{ CURRENT_SUBVOLUME_TIMESTAMP }}/boot/initramfs-lts
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue