Go to advanced search

by jsciamms
Sat Jul 11, 2020 4:43 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

Updated in the original post. I incorrectly assumed that this would have already been done if you were trying to boot Ubuntu from USB, however, it is good information to add to the instructions.
by jsciamms
Fri Jul 10, 2020 1:08 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

The elf and dat files are the firmware for the Raspberry Pi hardware. I know that they work with the raspberry pi OS (previously raspbian), which is 32bit by default, so I’m not sure that they are the culprit, but there is clearly something up with booting the 32bit version of Ubuntu. With the raspb...
by jsciamms
Fri Jul 10, 2020 5:07 am
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

Thanks for the feedback. I downloaded the image from the Ubuntu website earlier today, but it was the 32bit version; should I have used the 64bit? (I was following recommendation from another site - possibly the official RPi site.) I did a verification after downloading. I'll try again tomorrow, wi...
by jsciamms
Thu Jul 09, 2020 6:19 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

I have also updated the steps to include downloading the correct files for the RPI4 firmware.
by jsciamms
Thu Jul 09, 2020 5:54 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

It sounds like your issue is the decompression of the kernel. From what I understand, getting stuck at the rainbow screen is what happens when the kernel fails to load. My assumption is that zcat is giving you a error either because the wrong file is being sent in to the command or the kernel image ...
by jsciamms
Thu Jul 09, 2020 3:09 am
Forum: Other
Topic: RPI4 Kali 2020 USB Boot
Replies: 3
Views: 228

Re: RPI4 Kali 2020 USB Boot

Hey, I was wondering if you could help me on my project on GitHub: https://github.com/kealanspud/linux-mint-arm64 What is happening is that the boot sequence does not work with the modified init script. Please help and also :P good post. I'm not much of a Linux Mint user, but how did you create thi...
by jsciamms
Wed Jul 08, 2020 1:38 pm
Forum: Other
Topic: RPI4 Kali 2020 USB Boot
Replies: 3
Views: 228

Re: RPI4 Kali 2020 USB Boot

I’ll check it out after work today.
by jsciamms
Wed Jul 08, 2020 1:36 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

Where did it fail? Did it get past the initial firmware and see you USB drive? Did it fail at the color screen? Did it stop after giving you an initramfs prompt?

We will need a bit more information to be able to help you out.
by jsciamms
Wed Jul 08, 2020 1:23 am
Forum: Other
Topic: RPI4 Kali 2020 USB Boot
Replies: 3
Views: 228

RPI4 Kali 2020 USB Boot

====== UPDATE 08Jul2020 ========== I missed a very important step. You need to copy the *.dat and *.elf files from the most recent raspberry pi firmware on github https://github.com/raspberrypi/firmware/tree/master/boot . I have added the appropriate step. ================================ I have suc...
by jsciamms
Tue Jul 07, 2020 1:49 pm
Forum: Ubuntu
Topic: For server applications, is Ubuntu server better than Raspbian on rpi 4?
Replies: 11
Views: 454

Re: For server applications, is Ubuntu server better than Raspbian on rpi 4?

Seems like booting from SSD can be done https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb Sadly we can't support pure USB MSD boot at this time on Ubuntu; the u-boot portion of our boot process is incompatible with it (on all models; on the Pi 4 specifically it currently lacks drivers for...
by jsciamms
Mon Jul 06, 2020 3:17 pm
Forum: Ubuntu
Topic: Ubuntu 20.04 new install on raspberry pi 4 ethernet won't work
Replies: 6
Views: 228

Re: Ubuntu 20.04 new install on raspberry pi 4 ethernet won't work

This may sound silly, but did you try disconnecting, then reattaching, the network cable? I have had similar problems on my rpi4, and found that if I unplug the network cable, then reattach, it works. I’m not sure what breaks it, but it seems only to happen one time per install (I have had to reload...
by jsciamms
Mon Jul 06, 2020 3:10 pm
Forum: Ubuntu
Topic: UBUNTU 20.04 boot up directlly from SSD
Replies: 15
Views: 1044

Re: UBUNTU 20.04 boot up directlly from SSD

To boot drectly from USB just see this post: https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=278791 Regards Doesn't work, I posted why in the said thread. The above post has been updated to resolve the issue mentioned by @thatchuncklad. The Ubuntu image should last past updates, just follo...
by jsciamms
Mon Jul 06, 2020 2:24 am
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

Ok, made some progress. I have updated the script a bit to make sure that the the kernel needs to be decompressed, and placed it in the boot partition of the raspberry pi and called it auto_decompress_kernel . The script is as follows: #!/bin/bash -e #Set Variables BTPATH=/boot/firmware CKPATH=$BTPA...
by jsciamms
Mon Jul 06, 2020 1:15 am
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

First of all thanks for the writeup! I had a similar working setup procedure, but the installations kept breaking after one or two reboots. The pointer with the kernel updates seems to have resolved that issue for now... hopefully. But I guess manually updating the kernel isn't a satisfying solutio...
by jsciamms
Sat Jul 04, 2020 5:39 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

I have thought about doing something similar. Usually installs and updates cause the kernel repackage and compress. I don’t know if you can wrap those apt calls like that. It might be easier to run a script on shutdown. Maybe something that would mount the boot partition, and check the creation date...
by jsciamms
Thu Jul 02, 2020 6:40 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

If you update Ubuntu, a new vmlinuz is added to the boot directory, and the old one is turned to vmlinuz.bak. What you need to do is rename your vmlinux decompressed image to vmlinux.bak (or delete it), take the new vmlinuz image and decompress it as stated above. Once you are using the updated and...
by jsciamms
Thu Jul 02, 2020 2:33 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

It may also be worth noting that some packages, when installed, will also cause the kernel to update, and break the boot process until your kernel image is again manually decompressed.
by jsciamms
Thu Jul 02, 2020 1:22 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

If you update Ubuntu, a new vmlinuz is added to the boot directory, and the old one is turned to vmlinuz.bak. What you need to do is rename your vmlinux decompressed image to vmlinux.bak (or delete it), take the new vmlinuz image and decompress it as stated above. Once you are using the updated and ...
by jsciamms
Wed Jul 01, 2020 1:00 pm
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

Re: RPI4 Direct USB Boot Ubuntu 20.04

I forgot to add that you need to replace all the *.elf and *.dat files in the boot folder with the ones from the most recent raspberry pi firmware.

Download them from https://github.com/raspberrypi/firmware
by jsciamms
Wed Jul 01, 2020 2:29 am
Forum: Ubuntu
Topic: RPI4 Direct USB Boot Ubuntu 20.04
Replies: 35
Views: 2490

RPI4 Direct USB Boot Ubuntu 20.04

=========== UPDATE 11Jul2020============== Setp 3 was updated to make sure that you are using the most current "Stable" EEPROM for the RPI4. If you do not use the updated EEPROM, them you cannot boot from USB. There is no "Critical" release with the USB booting option enabled, and the RPI4 is certai...

Go to advanced search