Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error
#18
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
Reply


Messages In This Thread
Error - by Werner - 09-21-2022, 05:29 PM
RE: Error - by Steve2926 - 09-22-2022, 09:24 AM
RE: Error - by Werner - 09-22-2022, 03:16 PM
RE: Error - by Steve2926 - 09-22-2022, 04:22 PM
RE: Error - by Werner - 09-23-2022, 12:50 PM
RE: Error - by Steve2926 - 09-23-2022, 04:07 PM
RE: Error - by Werner - 09-23-2022, 06:01 PM
RE: Error - by Steve2926 - 09-24-2022, 07:31 AM
RE: Error - by Werner - 09-27-2022, 06:01 PM
RE: Error - by longpanda - 09-28-2022, 02:06 AM
RE: Error - by Steve2926 - 09-28-2022, 08:19 AM
RE: Error - by Werner - 09-28-2022, 03:14 PM
RE: Error - by longpanda - 09-28-2022, 04:06 PM
RE: Error - by Steve2926 - 09-29-2022, 07:28 AM
RE: Error - by Werner - 10-03-2022, 08:24 AM
RE: Error - by nguyen ha thai trong - 10-03-2022, 09:00 AM
RE: Error - by Werner - 10-03-2022, 09:32 AM
RE: Error - by Werner - 10-03-2022, 05:25 PM
RE: Error - by nguyen ha thai trong - 10-03-2022, 06:01 PM
RE: Error - by Werner - 10-03-2022, 06:24 PM
RE: Error - by nguyen ha thai trong - 10-03-2022, 07:05 PM
RE: Error - by Werner - 10-03-2022, 07:21 PM
RE: Error - by nguyen ha thai trong - 10-03-2022, 07:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)