Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
odroid-c2:software:c2_nfsboot [2016/08/14 13:54] moon.linux [NFS server settings (HOST PC)] |
odroid-c2:software:c2_nfsboot [2017/05/30 17:25] (current) luke.go ↷ Page name changed from odroid-c2:software:nfsboot to odroid-c2:software:c2_nfsboot |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Boot linux over NFS ====== | ====== Boot linux over NFS ====== | ||
The following text describes on how to use NFS for the root filesystem. For the rest of this text 'client' means the diskless system, and 'server' means the NFS server. | The following text describes on how to use NFS for the root filesystem. For the rest of this text 'client' means the diskless system, and 'server' means the NFS server. | ||
+ | |||
+ | <note important>If you have any trouble to setup the NFS boot, refer genosensor guide in this link.\\ | ||
+ | [[https://forum.odroid.com/viewtopic.php?f=138&t=27034]] | ||
+ | </note> | ||
===== NFS server settings (HOST PC) ===== | ===== NFS server settings (HOST PC) ===== | ||
Line 29: | Line 33: | ||
</code> | </code> | ||
- | In order to mount the filesystem via NFS in RW mode we need to update the /etc/fstab of the. | ||
- | |||
- | **Note: update the NFS/etc/fstab.** | ||
- | |||
- | <code> | ||
- | 192.168.30.27:/home/john/nfs/c2/rootfs / nfs defaults 0 0 | ||
- | </code> | ||
===== Kernel configuration on Odroid C2 ===== | ===== Kernel configuration on Odroid C2 ===== | ||
<WRAP center round important 100%> | <WRAP center round important 100%> | ||
Line 68: | Line 65: | ||
setenv rfspath 192.168.0.22:/home/john/rootfs | setenv rfspath 192.168.0.22:/home/john/rootfs | ||
setenv bootargs "boot=nfs root=/dev/nfs ip=dhcp nfsroot=${rfspath} rw rootwait ro ${condev} no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs}" | setenv bootargs "boot=nfs root=/dev/nfs ip=dhcp nfsroot=${rfspath} rw rootwait ro ${condev} no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs}" | ||
+ | </code> | ||
+ | |||
+ | In order to mount the filesystem via NFS in RW mode we need to update the /etc/fstab of the. | ||
+ | |||
+ | **Note: update the NFS/etc/fstab.** | ||
+ | |||
+ | <code> | ||
+ | 192.168.30.27:/home/john/nfs/c2/rootfs / nfs defaults 0 0 | ||
</code> | </code> | ||