Networking Forums

Networking Forums > Computer Networking > Linux Networking > Diskless workstation preform slackware installation on exported nfsdirectory.

Reply
Thread Tools Display Modes

Diskless workstation preform slackware installation on exported nfsdirectory.

 
 
matta12
Guest
Posts: n/a

 
      02-25-2008, 11:19 AM
Heres the deal:

From the server side i want to export the whole slackware filesystem
which is independent to server slackware filesystem ill call it /
nfsroot.

From diskless side i want to boot via pxe and preform independent
slackware installation to /nfsroot. How to do that?

I was reading docs inside /usr/doc/Linux-HOWTOS but neither of docs
address it even partially. So i tried to do alone,

First on serverside ive recompiled kernel with :

- NFS filesystem support (CONFIG_NFS_FS).
- Root file system on NFS (CONFIG_ROOT_NFS).
- Ethernet (10 or 100Mbit) (CONFIG_NET_ETHERNET).
- The ethernet driver for the clent's network card.
- IP: kernel level autoconfiguration (CONFIG_IP_PNP)
- BOOTP support (CONFIG_IP_PNP_BOOTP)

on server side i have lvm partitions so i had to preform mkinitrd with
-L

from the server side i preformed mknod c 0 255 /dev/nfs and rdev
BzImage /dev/nfs (bzImage is from newest compiled kernel with what ive
mentioned above), from recently compiled kernel ive copied Bzimage,
config and Sysmap(gziped) to /tftboot/slackware-current/kernels/
hugesmp.s/
then on tftp/slackware-current/pxelinux.cfg/default ive added :
Code:

label hugesmp.s
kernel kernels/hugesmp.s/bzImage
append root=/dev/nfs ip=dhcp init=/sbin/init initrd=initrd.img
load_ramdisk=1 prompt_ramdisk=0 rw
SLACK_KERNEL=hugesmp.s

ive done few tests if i use original initrd.img from /usb-pxe-
installers / then from booting diskless workstation with parameters on
bootprompt : hugesmp.s root=/dev/nfs i get msg

Code:

Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Insert root floppy and press ENTER

My assumption is this happened because of some connection with
initrd.img from usb-pxe-installers then ive copied mine initrd.img
from recently compiled kernel with mentioned above then it stucked
when it couldnt find lvm partitions... and this is where i stucked. Im
wondering what i could do next and what have i done wrong?Am i on the
right path?

Thanks!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty NFS-exported directories jon@figsandfudge.com Linux Networking 3 01-18-2007 07:58 AM
Pathname of the exported file system on Windows NFS Server Alex Vinokur Windows Networking 3 12-13-2005 06:36 AM
Diskless Network nirlep Linux Networking 3 04-12-2005 08:02 PM
XP workstation cannot open shares on WIN98 workstation Franklin Sterns Windows Networking 1 10-19-2003 05:40 AM
diskless system Miguel De Anda Linux Networking 5 09-01-2003 02:23 PM



1 2 3 4 5 6 7 8 9 10 11