How to configure embedded linux kernel so that the file system is visible on the host linuxWhat is the scope of using rsync in sync-ing my target root file system from my host?Is using a read only root file system a good idea for embedded setup?Writing a Linux file system for NFSWhat considerations need to be made when choosing the version of kernel for an embedded device?NFS: failed to create MNT RPC client status = -101Are Linux drivers part of the kernel or the rootfsPartition for embedded linux before flashing the SD cardPass root file system by label to linux kernelMounting root partition on embedded file systemHow to configure multiple SPI devices on Linux

Cross compiling for RPi - error while loading shared libraries

Today is the Center

What does the "remote control" for a QF-4 look like?

Rock identification in KY

How much RAM could one put in a typical 80386 setup?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Can a vampire attack twice with their claws using Multiattack?

What does it mean to describe someone as a butt steak?

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

How does one intimidate enemies without having the capacity for violence?

How to format long polynomial?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

How can bays and straits be determined in a procedurally generated map?

Convert two switches to a dual stack, and add outlet - possible here?

Is it possible to run Internet Explorer on OS X El Capitan?

Do I have a twin with permutated remainders?

Important Resources for Dark Age Civilizations?

Are the number of citations and number of published articles the most important criteria for a tenure promotion?

How old can references or sources in a thesis be?

Malformed Address '10.10.21.08/24', must be X.X.X.X/NN or

Alternative to sending password over mail?

Can a Cauchy sequence converge for one metric while not converging for another?

Perform and show arithmetic with LuaLaTeX

Why is 150k or 200k jobs considered good when there's 300k+ births a month?



How to configure embedded linux kernel so that the file system is visible on the host linux


What is the scope of using rsync in sync-ing my target root file system from my host?Is using a read only root file system a good idea for embedded setup?Writing a Linux file system for NFSWhat considerations need to be made when choosing the version of kernel for an embedded device?NFS: failed to create MNT RPC client status = -101Are Linux drivers part of the kernel or the rootfsPartition for embedded linux before flashing the SD cardPass root file system by label to linux kernelMounting root partition on embedded file systemHow to configure multiple SPI devices on Linux






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am using a powerpc, and after building and flashing the linux kernel on the device I can see the file system. But if I try to create a user or make any changes they get erased and resets to default after I reboot the device. The kernel image location is on network.
I am not able to save my changes.



I am using kernel parameter as root=/dev/ram0
I have also used root=/dev/nfs nfsroot=|ip, rootdir|
but it is not getting mounted



How can I see the file system of my target on my host linux such that , I can see the target device kernel file system on my host machine and save if even I reboot the device.



update with kernel parameters:



console=ttyS0,9600 root=/dev/nfs rw nfsroot=(ip of the server):/path/Linux ramdisk_size=64000 ip=(client ip):(server ip):(gw):(mask):bommy:eth0:off:(ip:ip:ip)










share|improve this question









New contributor




Subramanyam Duvvuri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Going by this guide, you have to select NFS client support as built-in during configuration. Did you do that?

    – Entropy0
    2 days ago











  • yes i already did that, but still i cannot see it as mounted when i reboot it. When i type mount i get something like this rootfs on / type rootfs (rw) /dev/root on / type ext2 (rw) proc on /proc type proc (rw) which should not correct

    – Subramanyam Duvvuri
    2 days ago












  • Can you update your question with the exact kernel command line parameters when using root=/dev/nfs? One idea to investigate in this case ... ensure the host linux exports the target's root filesystem with no_root_squash (maybe show us the /etc/exports entry for it?)

    – Murray Jensen
    2 days ago











  • I updated the kernel parameters. I didnt get this part " ensure the host linux exports the target's root filesystem with no_root_squash". How do i do it? I cannot post the result of /etc/exports as it has some company ip addresses. but it has only one line which is /usr1/path ip/ip (rw,sync)

    – Subramanyam Duvvuri
    yesterday












  • Without no_root_squash, (the user) root will not have write permission in its root file system (this can work if set up correctly, but maybe not in your case) ... the entry you showed does not have no_root_squash - only rw and sync ... try a specific entry in /etc/exports on host linux for /path/Linux with access only for client and no_root_squash option

    – Murray Jensen
    yesterday

















0















I am using a powerpc, and after building and flashing the linux kernel on the device I can see the file system. But if I try to create a user or make any changes they get erased and resets to default after I reboot the device. The kernel image location is on network.
I am not able to save my changes.



I am using kernel parameter as root=/dev/ram0
I have also used root=/dev/nfs nfsroot=|ip, rootdir|
but it is not getting mounted



How can I see the file system of my target on my host linux such that , I can see the target device kernel file system on my host machine and save if even I reboot the device.



update with kernel parameters:



console=ttyS0,9600 root=/dev/nfs rw nfsroot=(ip of the server):/path/Linux ramdisk_size=64000 ip=(client ip):(server ip):(gw):(mask):bommy:eth0:off:(ip:ip:ip)










share|improve this question









New contributor




Subramanyam Duvvuri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Going by this guide, you have to select NFS client support as built-in during configuration. Did you do that?

    – Entropy0
    2 days ago











  • yes i already did that, but still i cannot see it as mounted when i reboot it. When i type mount i get something like this rootfs on / type rootfs (rw) /dev/root on / type ext2 (rw) proc on /proc type proc (rw) which should not correct

    – Subramanyam Duvvuri
    2 days ago












  • Can you update your question with the exact kernel command line parameters when using root=/dev/nfs? One idea to investigate in this case ... ensure the host linux exports the target's root filesystem with no_root_squash (maybe show us the /etc/exports entry for it?)

    – Murray Jensen
    2 days ago











  • I updated the kernel parameters. I didnt get this part " ensure the host linux exports the target's root filesystem with no_root_squash". How do i do it? I cannot post the result of /etc/exports as it has some company ip addresses. but it has only one line which is /usr1/path ip/ip (rw,sync)

    – Subramanyam Duvvuri
    yesterday












  • Without no_root_squash, (the user) root will not have write permission in its root file system (this can work if set up correctly, but maybe not in your case) ... the entry you showed does not have no_root_squash - only rw and sync ... try a specific entry in /etc/exports on host linux for /path/Linux with access only for client and no_root_squash option

    – Murray Jensen
    yesterday













0












0








0








I am using a powerpc, and after building and flashing the linux kernel on the device I can see the file system. But if I try to create a user or make any changes they get erased and resets to default after I reboot the device. The kernel image location is on network.
I am not able to save my changes.



I am using kernel parameter as root=/dev/ram0
I have also used root=/dev/nfs nfsroot=|ip, rootdir|
but it is not getting mounted



How can I see the file system of my target on my host linux such that , I can see the target device kernel file system on my host machine and save if even I reboot the device.



update with kernel parameters:



console=ttyS0,9600 root=/dev/nfs rw nfsroot=(ip of the server):/path/Linux ramdisk_size=64000 ip=(client ip):(server ip):(gw):(mask):bommy:eth0:off:(ip:ip:ip)










share|improve this question









New contributor




Subramanyam Duvvuri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I am using a powerpc, and after building and flashing the linux kernel on the device I can see the file system. But if I try to create a user or make any changes they get erased and resets to default after I reboot the device. The kernel image location is on network.
I am not able to save my changes.



I am using kernel parameter as root=/dev/ram0
I have also used root=/dev/nfs nfsroot=|ip, rootdir|
but it is not getting mounted



How can I see the file system of my target on my host linux such that , I can see the target device kernel file system on my host machine and save if even I reboot the device.



update with kernel parameters:



console=ttyS0,9600 root=/dev/nfs rw nfsroot=(ip of the server):/path/Linux ramdisk_size=64000 ip=(client ip):(server ip):(gw):(mask):bommy:eth0:off:(ip:ip:ip)







kernel linux-kernel embedded root-filesystem kernel-parameters






share|improve this question









New contributor




Subramanyam Duvvuri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Subramanyam Duvvuri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday







Subramanyam Duvvuri













New contributor




Subramanyam Duvvuri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









Subramanyam DuvvuriSubramanyam Duvvuri

11




11




New contributor




Subramanyam Duvvuri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Subramanyam Duvvuri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Subramanyam Duvvuri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Going by this guide, you have to select NFS client support as built-in during configuration. Did you do that?

    – Entropy0
    2 days ago











  • yes i already did that, but still i cannot see it as mounted when i reboot it. When i type mount i get something like this rootfs on / type rootfs (rw) /dev/root on / type ext2 (rw) proc on /proc type proc (rw) which should not correct

    – Subramanyam Duvvuri
    2 days ago












  • Can you update your question with the exact kernel command line parameters when using root=/dev/nfs? One idea to investigate in this case ... ensure the host linux exports the target's root filesystem with no_root_squash (maybe show us the /etc/exports entry for it?)

    – Murray Jensen
    2 days ago











  • I updated the kernel parameters. I didnt get this part " ensure the host linux exports the target's root filesystem with no_root_squash". How do i do it? I cannot post the result of /etc/exports as it has some company ip addresses. but it has only one line which is /usr1/path ip/ip (rw,sync)

    – Subramanyam Duvvuri
    yesterday












  • Without no_root_squash, (the user) root will not have write permission in its root file system (this can work if set up correctly, but maybe not in your case) ... the entry you showed does not have no_root_squash - only rw and sync ... try a specific entry in /etc/exports on host linux for /path/Linux with access only for client and no_root_squash option

    – Murray Jensen
    yesterday

















  • Going by this guide, you have to select NFS client support as built-in during configuration. Did you do that?

    – Entropy0
    2 days ago











  • yes i already did that, but still i cannot see it as mounted when i reboot it. When i type mount i get something like this rootfs on / type rootfs (rw) /dev/root on / type ext2 (rw) proc on /proc type proc (rw) which should not correct

    – Subramanyam Duvvuri
    2 days ago












  • Can you update your question with the exact kernel command line parameters when using root=/dev/nfs? One idea to investigate in this case ... ensure the host linux exports the target's root filesystem with no_root_squash (maybe show us the /etc/exports entry for it?)

    – Murray Jensen
    2 days ago











  • I updated the kernel parameters. I didnt get this part " ensure the host linux exports the target's root filesystem with no_root_squash". How do i do it? I cannot post the result of /etc/exports as it has some company ip addresses. but it has only one line which is /usr1/path ip/ip (rw,sync)

    – Subramanyam Duvvuri
    yesterday












  • Without no_root_squash, (the user) root will not have write permission in its root file system (this can work if set up correctly, but maybe not in your case) ... the entry you showed does not have no_root_squash - only rw and sync ... try a specific entry in /etc/exports on host linux for /path/Linux with access only for client and no_root_squash option

    – Murray Jensen
    yesterday
















Going by this guide, you have to select NFS client support as built-in during configuration. Did you do that?

– Entropy0
2 days ago





Going by this guide, you have to select NFS client support as built-in during configuration. Did you do that?

– Entropy0
2 days ago













yes i already did that, but still i cannot see it as mounted when i reboot it. When i type mount i get something like this rootfs on / type rootfs (rw) /dev/root on / type ext2 (rw) proc on /proc type proc (rw) which should not correct

– Subramanyam Duvvuri
2 days ago






yes i already did that, but still i cannot see it as mounted when i reboot it. When i type mount i get something like this rootfs on / type rootfs (rw) /dev/root on / type ext2 (rw) proc on /proc type proc (rw) which should not correct

– Subramanyam Duvvuri
2 days ago














Can you update your question with the exact kernel command line parameters when using root=/dev/nfs? One idea to investigate in this case ... ensure the host linux exports the target's root filesystem with no_root_squash (maybe show us the /etc/exports entry for it?)

– Murray Jensen
2 days ago





Can you update your question with the exact kernel command line parameters when using root=/dev/nfs? One idea to investigate in this case ... ensure the host linux exports the target's root filesystem with no_root_squash (maybe show us the /etc/exports entry for it?)

– Murray Jensen
2 days ago













I updated the kernel parameters. I didnt get this part " ensure the host linux exports the target's root filesystem with no_root_squash". How do i do it? I cannot post the result of /etc/exports as it has some company ip addresses. but it has only one line which is /usr1/path ip/ip (rw,sync)

– Subramanyam Duvvuri
yesterday






I updated the kernel parameters. I didnt get this part " ensure the host linux exports the target's root filesystem with no_root_squash". How do i do it? I cannot post the result of /etc/exports as it has some company ip addresses. but it has only one line which is /usr1/path ip/ip (rw,sync)

– Subramanyam Duvvuri
yesterday














Without no_root_squash, (the user) root will not have write permission in its root file system (this can work if set up correctly, but maybe not in your case) ... the entry you showed does not have no_root_squash - only rw and sync ... try a specific entry in /etc/exports on host linux for /path/Linux with access only for client and no_root_squash option

– Murray Jensen
yesterday





Without no_root_squash, (the user) root will not have write permission in its root file system (this can work if set up correctly, but maybe not in your case) ... the entry you showed does not have no_root_squash - only rw and sync ... try a specific entry in /etc/exports on host linux for /path/Linux with access only for client and no_root_squash option

– Murray Jensen
yesterday










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Subramanyam Duvvuri is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510249%2fhow-to-configure-embedded-linux-kernel-so-that-the-file-system-is-visible-on-the%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Subramanyam Duvvuri is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Subramanyam Duvvuri is a new contributor. Be nice, and check out our Code of Conduct.












Subramanyam Duvvuri is a new contributor. Be nice, and check out our Code of Conduct.











Subramanyam Duvvuri is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510249%2fhow-to-configure-embedded-linux-kernel-so-that-the-file-system-is-visible-on-the%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

NetworkManager fails with “Could not find source connection”Trouble connecting to VPN using network-manager, while command line worksHow can I be notified about state changes to a VPN adapterBacktrack 5 R3 - Refuses to connect to VPNFeed all traffic through OpenVPN for a specific network namespace onlyRun daemon on startup in Debian once openvpn connection establishedpfsense tcp connection between openvpn and lan is brokenInternet connection problem with web browsers onlyWhy does NetworkManager explicitly support tun/tap devices?Browser issues with VPNTwo IP addresses assigned to the same network card - OpenVPN issues?Cannot connect to WiFi with nmcli, although secrets are provided