Fix: syslinux UUID
This commit is contained in:
parent
7324ec38cb
commit
875b8738ba
@ -79,7 +79,7 @@ _PackageBody="\nUse [Space] to (de)select packages(s) to install from the list b
|
|||||||
_WMLogin="Select Login Managment"
|
_WMLogin="Select Login Managment"
|
||||||
_LoginTypeBody="\nSelect how you want to log in, using a display manager or xinit."
|
_LoginTypeBody="\nSelect how you want to log in, using a display manager or xinit."
|
||||||
_WMLoginBody="\nSelect which window manager or desktop to use as your primary login.\n\nThis can be changed by editing your ~/.xinitrc"
|
_WMLoginBody="\nSelect which window manager or desktop to use as your primary login.\n\nThis can be changed by editing your ~/.xinitrc"
|
||||||
_AutoLoginBody="\nDo you want to enable auto-login and have 'startx' run when the computer starts?"
|
_AutoLoginBody="\nDo you want autologin and auto-startx enabled for your user?"
|
||||||
|
|
||||||
# Set keymap, hwclock, local and timezone
|
# Set keymap, hwclock, local and timezone
|
||||||
_CMapTitle="Virtual Console Keymap"
|
_CMapTitle="Virtual Console Keymap"
|
||||||
|
@ -217,7 +217,11 @@ EOF
|
|||||||
install_bootloader()
|
install_bootloader()
|
||||||
{
|
{
|
||||||
if ! [[ $ROOT_PART =~ /dev/mapper ]]; then
|
if ! [[ $ROOT_PART =~ /dev/mapper ]]; then
|
||||||
ROOT_PART_ID="UUID=$(blkid -s PARTUUID -o value $ROOT_PART)"
|
if [[ $BOOTLDR == 'syslinux' && $SYS == 'BIOS' ]]; then
|
||||||
|
ROOT_PART_ID="UUID=$(blkid -s UUID -o value $ROOT_PART)"
|
||||||
|
else
|
||||||
|
ROOT_PART_ID="UUID=$(blkid -s PARTUUID -o value $ROOT_PART)"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# for LVM we just use the partition label
|
# for LVM we just use the partition label
|
||||||
ROOT_PART_ID="$ROOT_PART"
|
ROOT_PART_ID="$ROOT_PART"
|
||||||
|
Reference in New Issue
Block a user