Raspberry pi b+ nfs root

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Raspberry pi b+ nfs root

Postby DesmondK » Wed Aug 10, 2016 5:39 am

I have Raspberry pi B+ 512M RAM. I also have 32MB flash card. I want to boot kernel from sd card and use nfs root.
I made nfs share on my desktop /srv/rpiroot and unpack all from installation archive there. I also copied all files from /boot directory on flash card.
My cmdline.txt:
$this->bbcode_second_pass_code('', 'root=/dev/nfs nfsroot=192.168.1.44:/srv/rpiroot rw ip=192.168.1.23:192.168.1.44:192.168.1.29:255.255.255.0 rootwait console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop
')
But booted kernel can not find nfs root and segfault.
Please help get rid of this and boot raspberry pi with nfs root.
DesmondK
 
Posts: 1
Joined: Wed Aug 10, 2016 5:18 am

Re: Raspberry pi b+ nfs root

Postby WarheadsSE » Wed Aug 10, 2016 5:26 pm

Check if the kernel has all the needs compiled in without modules, otherwise, you will need to rebuild with them built in, and/or an initrd. All of this is covered in the Arch wiki.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 16 guests