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.
There is no network support in Slackware's initrd (the initrd of the Slackware installer of course is different). A root partition on NFS is not supported using an initrd. You will have to add the network initialization to your initrd yourself.
I forgot to say i rebuilt the kernel with adequate support and those packages :
glibc-2
dhcpcd
nfs-utils
portmap
Anyway i suppose i have to add a dhcp client and do the request at some point in init ?
---EDIT : Mmm dhcpcd got an ip but a long time occurs before the init script continues...
With ifconfig too.
Then i got a failed to register lockdv1 rpc service (errno 110)lockd_up makesock failed etc...
---EDIT : had to use -o nolock and suppress the fsck line in /etc/rc.d/rc.S
Maybe should i just uncompress your initrd and take init if it's a text file ?
---EDIT : Nope, it's a link to busybox.
BTW, how can we get the sources from the installer's initrd ?
Thanks.
Last edited by Linux.tar.gz; 08-14-2011 at 06:28 AM.
Maybe should i just uncompress your initrd and take init if it's a text file ?
The initrd.gz is created from the directory tree /boot/initrd-tree. The init script that is executed on boot is "/boot/initrd-tree/init". You can edit that and run "mkinitrd" again, which creates an updated initrd.gz including your modified init script.
Quote:
BTW, how can we get the sources from the installer's initrd ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.