LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-24-2008, 08:10 PM   #1
matters
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 281

Rep: Reputation: Disabled
Diskless workstation preform slackware installation on exported nfs directory.H


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



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Diskless workstation - NFS vs AoE vs whatever bearer Linux - Networking 2 06-26-2007 02:01 PM
Can't write to NFS exported directory tisource Linux - Networking 5 08-14-2005 05:33 PM
diskless workstation efm Linux - Networking 7 07-28-2005 02:58 AM
diskless workstation scottsteibel Linux - Newbie 6 07-29-2004 01:03 PM
diskless workstation prue3 Linux - Software 5 02-13-2003 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration