maxnet / berryboot

Berryboot -- Boot menu / OS installer
http://www.berryboot.com/
Other
806 stars 133 forks source link

Error RPI, 4Go, Boot USB impossible #684

Closed gado070707 closed 3 years ago

gado070707 commented 3 years ago

Hello, I just installed berryboot on a raspberrypi4 by booting from the USB. When launching the Raspbian OS, I got an error message "Timed out waiting for device / dev / disk / by-label / boot.".

Step : A start job is running for /dev/disk/by-label/boot (26s / 1min 30s) then [ TIME ] Timed out waiting for device /dev/disk/by-label/boot. [DEPEND] Dependency failed for /boot [DEPEND] Dependency failed for Local File systems.

Do you have a solution ? Thank you in advance.

error error2

andreaz70 commented 3 years ago

I am running into the same, after installing on a iscsi disk.

spammassive commented 3 years ago

IMG_20210125_144134 Same here: RPi (full 64-bit) won't boot (see attached pic). Ubuntu, Manjaro and OpenSuse work well though.

Edit: Downloading official RasPiOs from raspberrypi.org and installing it has worked for me.

NeonFux commented 3 years ago

I have same problem with Debian 64 and New 8gb Rasp

drtrotter74 commented 3 years ago

Same for me.....Manjaro works, but I have wifi issues, and get some strange messages also when the bootloader comes up. Has anyone tried going back to a previous version of BerryBoot to see if it works better?

drtrotter74 commented 3 years ago

My other question is why does BerryBoot 2.0 only have a few OS's available. On some other youtube vlogs, I saw BB with a bunch of different OS's available some 32 bit

neoavalon commented 3 years ago

Same boot issue w/ Buster + 2GB Pi4B + encrypted USB drive

owl770 commented 3 years ago

This sounds like an issue with the image itself (rather than Berryboot). You would need to unsquash the image, edit /etc/fstab (to comment out the line that starts with LABEL=boot), resquash the image and then try booting.

spammassive commented 3 years ago

This sounds like an issue with the image itself (rather than Berryboot). You would need to unsquash the image, edit /etc/fstab (to comment out the line that starts with LABEL=boot), resquash the image and then try booting.

I had this issue with the RPiOS which I got through berryboot. If it was a bad image, the issue should happen to everyone who got RPiOS via berryboot, which would be a lot of berryboot users, don't you think?

tristan-k commented 3 years ago

Same issue here.

adamflorizone commented 3 years ago

Same issue pi3

maasnet commented 3 years ago

Same issue with pi4 and ssd

dtay4413 commented 3 years ago

I'm having same issue ubuntu installs and works fine but can't use raspberry pi os same error messages

dev-mansonthomas commented 3 years ago

Same issue here : https://github.com/maxnet/berryboot/issues/707

@spammassive

Edit: Downloading official RasPiOs from raspberrypi.org and installing it has worked for me.

How did you install it ? On an USB drive as well ?

spammassive commented 3 years ago

yes, via USB disk

dev-mansonthomas commented 3 years ago

@owl770

This sounds like an issue with the image itself (rather than Berryboot). You would need to unsquash the image, edit /etc/fstab (to comment out the line that starts with LABEL=boot), resquash the image and then try booting.

for raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot.img.gz the content of the /etc/fstab is

proc            /proc           proc    defaults          0       0
#PARTUUID=e8af6eb2-01  /boot           vfat    defaults          0       2
#PARTUUID=e8af6eb2-02  /               ext4    defaults,noatime  0       1
brew install squashfs
gunzip raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot.img.gz
sudo unsquashfs -f -d raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot  raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot.img
sudo cat raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot/etc/fstab

@spammassive any speed walkthrough on how you did install on your usb device ? (I'm new to Raspberry Pi, so it may be obvious, but not for me :)

spammassive commented 3 years ago

just follow the instructions on berryboot website on how to add/install your own OS

dev-mansonthomas commented 3 years ago

@spammassive are you referring to this ?

https://www.berryterminal.com/doku.php/berryboot/adding_custom_distributions

spammassive commented 3 years ago

yes, that's it (if I remember correctly)

owl770 commented 3 years ago

@owl770

This sounds like an issue with the image itself (rather than Berryboot). You would need to unsquash the image, edit /etc/fstab (to comment out the line that starts with LABEL=boot), resquash the image and then try booting.

for raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot.img.gz the content of the /etc/fstab is

proc            /proc           proc    defaults          0       0
#PARTUUID=e8af6eb2-01  /boot           vfat    defaults          0       2
#PARTUUID=e8af6eb2-02  /               ext4    defaults,noatime  0       1
brew install squashfs
gunzip raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot.img.gz
sudo unsquashfs -f -d raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot  raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot.img
sudo cat raspberry_pi_os_buster_lite_all_rpi_2021.01.11_berryboot/etc/fstab

@spammassive any speed walkthrough on how you did install on your usb device ? (I'm new to Raspberry Pi, so it may be obvious, but not for me :)

It might be worth checking what is in /boot/cmdline.txt and comparing that to the disk labels on your boot and root partitions.

dev-mansonthomas commented 3 years ago

Thanks to @spammassive I've built a "custom image" for berryboot. I've described here how to do that : https://github.com/maxnet/berryboot/issues/707#issuecomment-850844202

There's a link to a full documented Raspberry Pi Cluster I'm building (work in progress)

There's a link to download the custom image I've built (it's only the lite version, you'll have to do the same with the desktop version (or ask me nicely))

jejones3141 commented 3 years ago

Same issue here installing RPIOS 64-bit from wherever berryboot gets it by default, on an RPi. Could a working image be put there so it only has to be redone once?

maxnet commented 3 years ago

Should work better in 2021-07-01

AleXSR700 commented 3 years ago

I get the same behavior from stock Raspberry OS downloaded from Raspberry org. Downloaded newest Pi Imager and latest 64 bit Raspberry OS ( end of May) and am having the same issue after reboot. Performed update and upgrade commands. System worked at first and then starts failing on check. I think it was the fifth reboot or so.

fstab and cmdline look fine. IDs are correct.

I first installed EEPROM via Pi Imager with an SD Card and selected USB boot. Then the Os to my HDD (not SSD).

Any information on how to fix this?

thomai-d commented 2 years ago

After booting a freshly installed raspi 4B from SSD only, I got the same error: Dependency failed for /boot.

Using an SATA-USB adapter with external power fixed the issue for me.

Not sure if it's because I use a non-official power supply with 5V / 3A (the original one has 5.1 / 3A spec).

But what's strange is, that the same hardware worked perfectly before I reinstalled the system ... ¯_(ツ)_/¯

adamflorizone commented 2 years ago

Keep in mind this is issue has been closed, and since its opening the official RPi boot loader was updated to support USB, SD and net boot. See: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-4-bootloader-configuration .

I ended up switching to the updated boot loader (abandoning berryboot) and had no issues with ssd or netboot. It has been recommended to use a powered hub since not all drives can be powered up by the RPi 4. ONE of my HDDs did boot and ran for years on the USB 3 port.

symbios24 commented 2 years ago

Thats the thing with bb they release an update once a year if we are lucky,i use berryboot with a mechanical hdd in usb 2.0 port in usb 3.0 i got errors all the time