Linux USB or eMMC Boot
USB or eMMC booting
Prerequisites
These guides are meant to augment the official installation guides. Follow the guide for your appropriate distro (Ubuntu Bionic/Ubuntu Jammy/Fedora) EXCEPT for repartitioning the SD card and clicking "Flash Linux" in Hekate. The following instructions are a replacement for the "Flash Linux" step in Hekate. (You can delete the files from sd:/switchroot/install).
USB Boot
You will need a mouse and keyboard to finish setup if you are using a dock that covers the touchscreen. If your dock/adapter does not cover the screen and you don't have a mouse and keyboard, disconnect HDMI before booting for the first time, so you can finish the setup by using built-in screen and touch. You can also manage to pass the setup with a mouse only and using the on screen keyboard, but your mouse shouldn't be detected as keyboard also, otherwise the OSK will not show up.
Create a new partition on the usb drive - the partition type doesn't matter
On Linux :
Merge l4t split image into one:
cat l4t.0* > ubuntu.rawsudo dd if=ubuntu.raw of=/dev/sdXY bs=2M conv=fsync status=progressreplacing X by the correct drive LETTER and Y by the partition NUMBER on this driveOpen
bootloader/ini/L4T_ubuntu.inilocated on your sd card fat32 partition a. Addrootlabel_retries=100b. If there's another Ubuntu in SD addrootdev=sdaX. Replace the X in sdaX with your partition number (1 if your USB drive only has the one partition) and change the partition label to avoid collision with the install on your SD, for example you can name the USB one toSWR-USBand make sure to also setid=SWR-USBinL4T-Bionic.inior the relevant.iniFinally add
usb3_enable=1to the .ini file to enable max usb speeds. (This might decrease BT and WiFi 2.4G signal quality).
On windows :
Open command prompt, navigate to switchroot/install directory then merge l4t split image into one
copy /b l4t.00 + l4t.01 ubuntu.rawDownload dd for windows binary and extract dd-XXbetaX.zip.
Open a cmd/terminal in that folder and execute
dd --listto list all your disks volumes. Cross reference windows "Disk Management" or the "DiskGenius" application to find your partition and copy its volume ID (looks something like\\.\Volume{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX})
WARNING this next step will OVERWRITE the disk volume Be careful to select the right volume and not flash over your windows disk. Make sure to remove the drive letter of your desired partition before flashing otherwise you will get an error.
In your open cmd/terminal, to flash
ubuntu.rawto a USB PARTITION, executedd if=C:\Users\myuser\pathtofile\ubuntu.raw of=\\.\Volume{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} bs=2M --progressOpen
bootloader/ini/L4T_ubuntu.inilocated on your sd card fat32 partition a. Addrootlabel_retries=100b. If there's another Ubuntu in SD addrootdev=sdaX. Replace the X in sdaX with your partition number (1 if your USB drive only has the one partition) and change the partition label to avoid collision with the install on your SD, for example you can name the USB one toSWR-USBand make sure to also setid=SWR-USBinL4T-Bionic.inior the relevant.iniFinally add
usb3_enable=1to the .ini file to enable max usb speeds. (This might decrease BT and WiFi 2.4G signal quality).
eMMC Boot
Note: if you want to add a partition on the eMMC alongside HOS and/or Android use this guide instead
Erase your eMMC or shrink the USER partition
In hekate go to USB Tools -> Set Read-Only to OFF -> Mount eMMC RAW GPP
In a new Terminal run
sudo gdisk /dev/<disk>(where `<disk>` is your the mounted eMMC)x (enter expert mode) -> s (resize partition table) -> 128 (set max entries to 128) -> w (write changes to disk) -> y (confirm write)
On Linux :
Merge l4t split image into one:
cat l4t.0* > ubuntu.rawsudo dd if=ubuntu.raw of=/dev/mmcblk0pX bs=2M conv=fsync status=progressreplacing X by the correct partition NUMBER on the eMMCOpen
bootloader/ini/L4T_ubuntu.inilocated on your sd card fat32 partition a. Addemmc=1to enable eMMC driver b. If there's another Ubuntu in SD addrootdev=mmcblk0pX. Replace the X in mmcblk0pX with your partition number (1 if your USB drive only has the one partition) and change the partition label to avoid collision with the install on your SD, for example you can name the USB one toSWR-EMMand make sure to also setid=SWR-EMMinL4T-Bionic.inior the relevant.ini
On windows :
Open command prompt, navigate to switchroot/install directory then merge l4t split image into one
copy /b l4t.00 + l4t.01 ubuntu.rawDownload dd for windows binary and extract dd-XXbetaX.zip.
Open a cmd/terminal in that folder and execute
dd --listto list all your disks volumes. Cross reference windows "Disk Management" or the "DiskGenius" application to find your partition and copy its volume ID (looks something like\\.\Volume{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX})
WARNING this next step will OVERWRITE the disk volume Be careful to select the right volume and not flash over your windows disk. Make sure to remove the drive letter of your desired partition before flashing otherwise you will get an error.
In your open cmd/terminal, to flash
ubuntu.rawto a USB PARTITION, executedd if=C:\Users\myuser\pathtofile\ubuntu.raw of=\\.\Volume{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} bs=2M --progressOpen
bootloader/ini/L4T_ubuntu.inilocated on your sd card fat32 partition a. Addemmc=1to enable eMMC driver b. If there's another Ubuntu in SD addrootdev=mmcblk0pX. Replace the X in mmcblk0pX with your partition number (1 if your USB drive only has the one partition) and change the partition label to avoid collision with the install on your SD, for example you can name the USB one toSWR-EMMand make sure to also setid=SWR-EMMinL4T-Bionic.inior the relevant.ini
Last updated