chaos / netroot

Support for root over network block device
Other
11 stars 5 forks source link

Failed to start switch root. #8

Open csskysea opened 7 years ago

csskysea commented 7 years ago

default as picture above. i don't know what's wrong with this when pxe boot. @garlick

csskysea commented 7 years ago

/sysroot have noting and reports no os-release.

elgeoman commented 7 years ago

Does /run/initramfs/rdsosreport.txt show any more detail as to why switch root failed? Perhaps root is not getting set correctly on the command line? Are you setting root-path in dhcp, and if so, are you appending root=dhcp to your kernel command line in pxelinux.cfg?

Is your root-path world readable?

Do you have selinux enabled on your nfs server? If so, perhaps your selinux policies are too restrictive and is getting in the way (check with audit2why or audit2allow to see if any avc denials are getting reported, or set selinux to permissive using getenforce 0 and see if things work).

csskysea commented 7 years ago

@elgeoman as attachment rdsosreport.txt

what's more confused is my environment can boot on another computer.