sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
925 stars 127 forks source link

how to boot root using UUID ? #161

Open dony71 opened 4 years ago

dony71 commented 4 years ago

I follow this instruction https://wiki.gentoo.org/wiki/Early_Userspace_Mounting I manage to generate /boot/initrd.cpio.gz Then I put in config.txt >>> initramfs initrd.cpio.gz 0 My cmdline.txt >>> dwc_otg.lpm_enable=0 root=UUID=xxxx rootfstype=ext4 elevator=deadline fsck.repair=yes usbhid.mousepoll=0 rootwait rootdelay=5 But still cannot boot.... anything I did wrong?

Hecatron commented 4 years ago

It would probably be easier to use PARTUUID instead since that way you wouldn't need an initrd to read the filesystem and it would use the partition id instead

blkid -p /dev/device

typically listed as PART_ENTRY_UUID

sakaki- commented 3 years ago

30 Oct 2020: sadly, due legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the images may be of use still in certain applications); however, there will be no further updates to the underlying binhost etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.

For further details, please see my post here.

Many thanks for your interest in this project!

With sincere apologies, sakaki ><