• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Tails Linux PXE boot - "boot arguments must include a root= parameter"

    Scheduled Pinned Locked Moved
    General
    linux pxe tails linux boot arguments
    2
    4
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tadziuuu
      last edited by

      Hi,

      i cant boot Tails 5.21 Linux over PXE
      https://tails.net/
      my config

      set path /images/os/tails/521
      kernel http://${fog-ip}${path}/vmlinuz
      initrd http://${fog-ip}${path}/initrd.img
      imgargs initrd=initrd.img config boottype=usb root=/dev/ram0 rw ramdisk_size=1300000 rootfstype=ext4 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 randomize_kstack_offset=on fetch=http://${fog-ip}${path}/filesystem.squashfs ipby=dhcp ro ipv6.disable=1 FSUUID=A690-20D2_ 
      boot || goto MENU
      

      orginal USB config

      label live
      	menu label Tails 5.21
      	kernel /live/vmlinuz
      	append 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 randomize_kstack_offset=on  quiet
      	sysappend 0x40000
      
      label livefailsafe
      	menu label Tails (Troubleshooting Mode)
      	kernel /live/vmlinuz
      	append 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 randomize_kstack_offset=on  noapic noapm nodma nomce nolapic nosmp
      	sysappend 0x40000
      

      tails02_error_boot_pxe.png

      I used the configuration below, these parameters give the same effect
      https://superuser.com/questions/1772635/how-to-create-a-pxeboot-for-tails-os

      Can anyone tell me where to look for a solution? Thank you in advance for your tips…

      george1421G T 2 Replies Last reply Reply Quote 1
      • george1421G
        george1421 Moderator @tadziuuu
        last edited by george1421

        @tadziuuu I haven’t had a whole lot of time to look into this but it looks like this distro is debian based.

        From the iso image it looks like the important files are

        /live/vmlinuz, initrd.img, filesystem.squashfs

        Just looking at your param field I would say the problem is probably in here

        initrd=initrd.img config boottype=usb root=/dev/ram0 rw ramdisk_size=1300000

        looking at the grub config file it says this:

        	  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 randomize_kstack_offset=on FSUUID=${rootuuid} quiet
        	  initrd /live/initrd.img
        

        So I would probably make the imgargs command look like this

        imgargs vmlinuz initrd=initrd.img boot=live config live-media=removable fetch=http://${fog-ip}${path}/filesystem.squashfs 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 randomize_kstack_offset=on quiet
        

        Lastly I would use the ISO image instead of the usb image for pxe booting. You might have better luck.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 1
        • T
          tadziuuu @tadziuuu
          last edited by

          @tadziuuu
          no changes have any effect…

          even boot from ISO if I boot on real hardware via PXE or on a virtual machine using proxmox over PXE or over ISO

          set path /images/os/tails/521
          initrd nfs://${fog-ip}:${path}/tails-amd64-5.21.iso
          chain memdisk
          boot || goto MENU
          

          with ISO always the same message
          4e18be0d-5e70-4943-9782-ed0a3d0f3847-image.png

          only real USB on real hardware starts correctly… 😕

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @tadziuuu
            last edited by

            @tadziuuu Just to be clear on a few points.

            The .iso / memdisk route only works for bios based computers. This will not work for uefi based computers.

            With the .iso image files and the parameter block I previously provided, you get the error message about initramfs? If yes, then I suspect the fetch command is not downloading the squashfs filesystem. I copied that command over from your initial parameter block. It looks like we need to focus on that bit then.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            190

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project