LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-09-2016, 10:30 PM   #1
dan12343
LQ Newbie
 
Registered: Mar 2015
Posts: 23

Rep: Reputation: Disabled
Cool Install packages onto NFS after kernel boot?


I'm using a distribution of embeded Debian Linux that loads a ram file system, then I mount an NFS on PC. There is not enough ram space to install packages. So is there any way I can install packages to the NFS after the kernel filesystem has mounted into ram?

is there a config file I can modify to mount the NFS on kernel boot? instead of the one on boot medium? Could I then install packages to the NFS?

Last edited by dan12343; 07-09-2016 at 10:42 PM.
 
Old 07-10-2016, 08:37 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,112

Rep: Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256
You can mount the root filesystem via NFS from the kernel command line, or mount lower level directories using fstab.
 
Old 07-12-2016, 10:12 AM   #3
dan12343
LQ Newbie
 
Registered: Mar 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
I tried modifying fstab (and mtab) then making a new boot CD since I cannot write to fstab after the kernel loads and I get the error:
Quote:
"kmod: failed to exec /sbin/modprobe -s -k nls_iso8859-1, errno = 2"
I replaced the lines for mounting the RAM filesystem with the NFS filesystem string. I think the inetd loads before the above error is given

Could you or someone elaborate how I can "mount the root filesystem via NFS from the kernel command line"?

Edit: pretty much is there a workaround so I don't have to recompile the kernel sources and make a new boot image? The boot image is set to load the filesystem into RAM then load the OS, is there a way I can mount the root fs after this is done and the OS has loaded?

Last edited by dan12343; 07-12-2016 at 10:14 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel boot using NFS root problem duyuyang Linux - Kernel 2 05-12-2009 11:44 PM
no /boot/loader and no /boot/kernel/kernel error message on a free bsd install chownuseradd Linux - Newbie 1 02-09-2008 09:05 PM
NFS/PXE Boot on Linux Kernel kushalkoolwal Linux - Kernel 3 02-05-2008 06:46 PM
How Update kernel with NFS Boot Chundo Linux - Newbie 2 10-19-2006 08:27 PM
Packages needed to install NFS in 6.0!! RKris Linux - General 2 05-28-2002 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:43 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