SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well some questions stays unanswered (see above). For example, the / filesystem is mounted as umsdos, not as nfs... Strange, isn't it ?
And i wonder if it's possible to install a Slackware on a nfs root partition. I mean like we do with the install CD, but instead of selecting /dev/hda1 or /dev/sda8 as /, we select 192.168.231.2:/exports/pxeslack. Then the installer continues as usual.
I just suceeded in booting on a non-zipslack. I installpkg'ed basic Slackware packages inside a directory.
Then i used the same procedure, except i had to create an /etc/fstab in the nfs filesystem. This is the content :
Alien Bob, i detected something that can be problematic with Slackware on nfs : ramfs /var/log ramfs 0 0
As /var/log is mounted in ram, we don't have access to /var/log/packages. So we can't perform upgrades because packages aren't listed in, and upgradepkg doesn't work with the -root switch.
Of course, we can't suppress the ram mount, because all clients station will write in the nfs /var/log.
Alien Bob, i detected something that can be problematic with Slackware on nfs : ramfs /var/log ramfs 0 0
As /var/log is mounted in ram, we don't have access to /var/log/packages. So we can't perform upgrades because packages aren't listed in, and upgradepkg doesn't work with the -root switch.
Of course, we can't suppress the ram mount, because all clients station will write in the nfs /var/log.
You should be aware that with this kind of setup, you would not want any user to start using upgradepkg when running Slackware off the NFS mount.
For one, you should give the root account to no one but yourself. Second, any change you make to the NFS content will be available immediately on every computer that runs this PXE-booted Slackware.
So, it would be best to upgrade packages on the NFS server, using the command
This is really cool, I just got a laptop(for free!) that has a bad hard disk, but it can pxe boot.. looks like I have something to do over the weekend :]
Thanks for ALL the info.
I did the same errors about kernel config :
NFS must be build INSIDE the kernel, in order to get the nfsroot option available.
And IP kernel level autoconfiguration for dhcp and bootp must be enabled (in networking).
I got ip, but i can't mount nfs.
rpcbind: server not responding, timed out
Now RPC: failed to contact local rpcbind server ...
Last edited by Linux.tar.gz; 06-27-2008 at 12:54 PM.
Right ! Always helping around, Alien Bob, isn't it ?
I wrote this little script in order to ease the installation of a new kernel (same for host/guest) :
You need to create a /root/tmp, and and a /root/new-kernel-kit
Place two packages in /root/new-kernel-kit : portmap and glibc
These packages are needed for nfs mount.
You need to place a modified init (found in an initrd's root) in /root/new-kernel-kit : just add /sbin/rpc.portmap below the mdev -s line
This modification is needed for nfs mount too.
Of course, you have to modify some locations, according to your settings !!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.