Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366845 - 2 errors 1 in pxelinux.cfg/default, and one in fstab setup for diskless nodes
Summary: 2 errors 1 in pxelinux.cfg/default, and one in fstab setup for diskless nodes
Status: RESOLVED NEEDINFO
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/diskless...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 08:58 UTC by james hager
Modified: 2011-05-11 09:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description james hager 2011-05-11 08:58:18 UTC
docs are missing or have faulty info for netboot process.

Reproducible: Always

Steps to Reproduce:
1. just follow the diskless node how to verbatim
2. dont use prior knowledge of the diskless how to in the alt install docs
3.
Actual Results:  
ok first error i would get is a nfs fails to mount pre init-scripts, resulting in a kernel panic. after that error was resolved i got a "cannot mount root readd/write" error


Expected Results:  
a login prompt on a diskless node

Server: x86_64(amd64)
Node: i486 pentium-m

there are no crossdev issues

ok first error i would get is a nfs fails to mount pre init-scripts, resulting in a kernel panic. i fixed this by changing pxelinux.cfg/default from the recommended config of

DEFAULT /bzImage
APPEND ip=dhcp root=/dev/nfs nfsroot=master_ip:/diskless/node_ip

after browsing a few of the wikis, and the site docs, i came accross this solution remerging grub with USE=netboot", and copied pxegrub and grub.lst to the nodes /boot. and changing the above settings to

default gentoo
prompt 1
timeout 10

label gentoo
  kernel /andromeda/bzImage
  append ip=dhcp root=/dev/nfs nfsroot=192.168.1.110:/data/nodes/andromeda

this got me past the the nfs mounting issue. before its asked, i did verify nfs support in both kernels. the second issue that arose was a problem with mountingthe root filesystem, it couldnt be mounted as read/write. after browsing through wikis i found a difference in the fstab configs, the docs suggest

master:/diskless/192.168.1.21   /         nfs  sync,hard,intr,rw,nolock,rsize=8192,wsize=8192    0 0

the other how to suggested i try 

192.168.1.110:/diskleess/node	/		nfs		defaults,sync,nolock	0 0

that got me around the fs not bein able to mount read write
ill also point out i referenced 

http://www.gentoo.org/doc/en/altinstall.xml

it explains the fsck problem thats not mentioned
in the diskless nodes with /fastboot(which didnt
fix the mount error). ive tried finding the wiki 
page i used with no luck.
Comment 1 nm (RETIRED) gentoo-dev 2011-05-11 09:05:37 UTC
It's unclear exactly what the suggested fix is for our documentation. Do you have a specific addition to put in a specific place or code listing?