mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
This patch fixes the /etc/grub.d/40_custom generation for the Debian sample so that it properly extracts the UUID For /boot and / Note: the maintenance free symlinks /vmlinuz and /initrd.img may not work properly with /boot on a separate partition or disk. If only the symlinks where in /boot as well ... Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
15 lines
480 B
Bash
Executable File
15 lines
480 B
Bash
Executable File
#!/bin/sh
|
|
exec tail -n +3 $0
|
|
# This file provides an easy way to add custom menu entries. Simply type the
|
|
# menu entries you want to add after this comment. Be careful not to change
|
|
# the 'exec tail' line above.
|
|
|
|
menuentry '$MENU with Finit' --class $TYPE --class gnu-linux --class gnu --class os --user {
|
|
insmod gzio
|
|
insmod part_msdos
|
|
insmod ext2
|
|
search --no-floppy --fs-uuid --set=root $BOOT
|
|
linux /vmlinuz root=UUID=$ROOT ro quiet init=/sbin/finit
|
|
initrd /initrd.img
|
|
}
|