|
【Linux】
Unable to boot from SATA
Posted at 8/23/2022 16:48:22
View:1673
|
Replies:2
Print
Only Author
[Copy Link]
1#
Last edited by v.redin In 8/23/2022 16:50 Editor
There is such a problem - by no means can we boot from external SATA. Perhaps we have something wrong with the launch line or with the disk layout, but the system hangs tightly when trying to boot and says that it cannot find such a UUID, although it definitely exists and this is the UUID of the disk on which the kernel, DTB and extlinux that we are running.
In u-boot I do:
scsi scan
scsi dev 0
sysboot scsi 0:1 any ${scriptaddr} /boot/extlinux/extlinux.conf
System start to booting and after kernel initialization, the system unable to find rootfs - does not find the UUID of the desired disk. Kernel startup line:
bootargs = "earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 irqchip.gicv3_pseudo_nmi=0 root=UUID=0cf25c02-214a-44b2-96a1-e8afedc1db87 rootfsgrouptype=ext4 rw rootwait coherent_pool=1m systemd.gpt_enauto swap=0 ";
Can you please tell me how to properly partition a SATA disk and what startup line should I use to successfully boot from an external SATA? |
|