10-03-2022, 05:25 PM
Hello,
I have two Computer,s a Mac (efi) and a normal PC.
Here is the config-file (grub.cfg) ot the Mac:
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
set linux_gfx_mode=
export linux_gfx_mode
load_video
set grub_dir="/EFI/debian/grub"
# Load background image
insmod gfxterm
insmod png
loadfont ${grub_dir}/unicode.pf2
terminal_output gfxterm
background_image ${grub_dir}/splash.png
set timeout=4
probe --set rootuuid --fs-uuid ($root)
# Based on the output of `grub-syslinux2cfg /EFI/BOOT/syslinux.cfg`
menuentry 'Tails' --id 'live' {
echo "Loading the Linux kernel..."
linux /live/vmlinuz initrd=/live/initrd.img boot=live config live-media=removable nopersistence noprompt timezone=Etc/UTC splash noautologin module=Tails slab_nomerge slub_debug=FZ mce=0 vsyscall=none init_on_free=1 mds=full,nosmt page_alloc.shuffle=1 FSUUID=${rootuuid} quiet
echo "Loading the initramfs..."
initrd /live/initrd.img
echo "Booting..."
boot
}
menuentry 'Tails (Troubleshooting Mode)' --id 'livefailsafe' {
echo "Loading the Linux kernel..."
linux /live/vmlinuz initrd=/live/initrd.img boot=live config live-media=removable nopersistence noprompt timezone=Etc/UTC splash noautologin module=Tails slab_nomerge slub_debug=FZ mce=0 vsyscall=none init_on_free=1 mds=full,nosmt page_alloc.shuffle=1 FSUUID=${rootuuid} noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal
echo "Loading the initramfs..."
initrd /live/initrd.img
echo "Booting..."
boot
}
menuentry 'Tails (External Hard Disk)' --id 'livenonremovable' {
echo "Loading the Linux kernel..."
linux /live/vmlinuz initrd=/live/initrd.img boot=live config nopersistence noprompt timezone=Etc/UTC splash noautologin module=Tails slab_nomerge slub_debug=FZ mce=0 vsyscall=none init_on_free=1 mds=full,nosmt page_alloc.shuffle=1 FSUUID=${rootuuid} quiet
echo "Loading the initramfs..."
initrd /live/initrd.img
echo "Booting..."
boot
}
How can I copy this to a normal PC (Legacy Boot)?
Kind regards
Werner
I have two Computer,s a Mac (efi) and a normal PC.
Here is the config-file (grub.cfg) ot the Mac:
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
set linux_gfx_mode=
export linux_gfx_mode
load_video
set grub_dir="/EFI/debian/grub"
# Load background image
insmod gfxterm
insmod png
loadfont ${grub_dir}/unicode.pf2
terminal_output gfxterm
background_image ${grub_dir}/splash.png
set timeout=4
probe --set rootuuid --fs-uuid ($root)
# Based on the output of `grub-syslinux2cfg /EFI/BOOT/syslinux.cfg`
menuentry 'Tails' --id 'live' {
echo "Loading the Linux kernel..."
linux /live/vmlinuz initrd=/live/initrd.img boot=live config live-media=removable nopersistence noprompt timezone=Etc/UTC splash noautologin module=Tails slab_nomerge slub_debug=FZ mce=0 vsyscall=none init_on_free=1 mds=full,nosmt page_alloc.shuffle=1 FSUUID=${rootuuid} quiet
echo "Loading the initramfs..."
initrd /live/initrd.img
echo "Booting..."
boot
}
menuentry 'Tails (Troubleshooting Mode)' --id 'livefailsafe' {
echo "Loading the Linux kernel..."
linux /live/vmlinuz initrd=/live/initrd.img boot=live config live-media=removable nopersistence noprompt timezone=Etc/UTC splash noautologin module=Tails slab_nomerge slub_debug=FZ mce=0 vsyscall=none init_on_free=1 mds=full,nosmt page_alloc.shuffle=1 FSUUID=${rootuuid} noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal
echo "Loading the initramfs..."
initrd /live/initrd.img
echo "Booting..."
boot
}
menuentry 'Tails (External Hard Disk)' --id 'livenonremovable' {
echo "Loading the Linux kernel..."
linux /live/vmlinuz initrd=/live/initrd.img boot=live config nopersistence noprompt timezone=Etc/UTC splash noautologin module=Tails slab_nomerge slub_debug=FZ mce=0 vsyscall=none init_on_free=1 mds=full,nosmt page_alloc.shuffle=1 FSUUID=${rootuuid} quiet
echo "Loading the initramfs..."
initrd /live/initrd.img
echo "Booting..."
boot
}
How can I copy this to a normal PC (Legacy Boot)?
Kind regards
Werner