# RAM boot to NFS failed

**URL:** <https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391>\
**Category:** Jetson Nano\
**Created:** [September 26, 2019, 6:08pm UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391 "2019-09-26T18:08:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![terry8uwg2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@terry8uwg2](https://forums.developer.nvidia.com/u/terry8uwg2)\
**Post date:** [September 26, 2019, 6:08pm UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391/1 "2019-09-26T18:08:21Z")

</div>

Hi

I follow below step on Jetson Nano. But I failed to flash.

```auto
To RAM boot to NFS
1.Put the device into reset/recovery mode.
•Power on the carrier board and hold the RECOVERY button.
•Then press the RESET button.
2.Execute the command:
sudo ./flash.sh -N <ip-addr-of-linux-host>:/<path-to-NFS-rootfs> --rcm-boot <platform> eth0
Where:
•<ip_addr> is the IP address of the host system
•<root_path> is the path to the NFS rootfs
•<platform> is the target’s platform type: nano, jetson-xavier, tx2, or tx1

```

Here is the command i used

```auto
sudo ./flash.sh -N 192.168.86.145:/nfsroot --rcm-boot jetson-nano-qspi-sd eth0

```

And I got this err

opying cfgfile(/home/terry/nvidia/nvidia\_sdk/JetPack\_4.2.2\_Linux\_GA\_P3448/Linux\_for\_Tegra/bootloader/t210ref/cfg/flash\_l4t\_t210\_spi\_sd\_p3448.xml) to flash.xml… done.  
copying flasher(/home/terry/nvidia/nvidia\_sdk/JetPack\_4.2.2\_Linux\_GA\_P3448/Linux\_for\_Tegra/bootloader/t210ref/cboot.bin)… done.  
Existing flashapp(/home/terry/nvidia/nvidia\_sdk/JetPack\_4.2.2\_Linux\_GA\_P3448/Linux\_for\_Tegra/bootloader/tegraflash.py) reused.  
./tegraflash.py --bl cboot.bin --bct P3448\_A00\_4GB\_Micron\_4GB\_lpddr4\_204Mhz\_P987.cfg --odmdata 0x94000 --bldtb tegra210-p3448-0000-p3449-0000-a02.dtb --applet nvtboot\_recovery.bin --cmd “rcmboot” --cfg flash.xml --chip 0x21 kernel boot.img; kernel\_dtb tegra210-p3448-0000-p3449-0000-a02.dtb; sce\_fw ; bootloader\_dtb tegra210-p3448-0000-p3449-0000-a02.dtb" --bins “EBT cboot.bin; DTB tegra210-p3448-0000-p3449-0000-a02.dtb”  
saving flash command in /home/terry/nvidia/nvidia\_sdk/JetPack\_4.2.2\_Linux\_GA\_P3448/Linux\_for\_Tegra/bootloader/flashcmd.txt  
saving Windows flash command to /home/terry/nvidia/nvidia\_sdk/JetPack\_4.2.2\_Linux\_GA\_P3448/Linux\_for\_Tegra/bootloader/flash\_win.bat  
\*\*\* Flashing target device started. \*\*\*  
./flash.sh: eval: line 2412: unexpected EOF while looking for matching `"’  
./flash.sh: eval: line 2413: syntax error: unexpected end of file  
Failed flashing t210ref.

did I put the right board name ? it is same name I use to flash to sdcard.

Thanks

---

<div class="post-metadata">

**Author:** ![carolyuu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/carolyuu/32/14043_2.png) [@carolyuu](https://forums.developer.nvidia.com/u/carolyuu)\
**Post date:** [September 27, 2019, 9:35am UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391/2 "2019-09-27T09:35:18Z")

</div>

Hi terry8uwg2,

Please following below steps to NFS boot:

```auto
sudo apt-get install nfs-kernel-server
Add rootfs path in "/etc/exports":
  example: /home/username/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/rootfs/
sudo /etc/init.d/nfs-kernel-server restart
sudo ./flash.sh -N 192.168.86.145:/home/username/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/rootfs/ jetson-nano-qspi-sd eth0

```

---

<div class="post-metadata">

**Author:** ![terry8uwg2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@terry8uwg2](https://forums.developer.nvidia.com/u/terry8uwg2)\
**Post date:** [September 27, 2019, 1:37pm UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391/3 "2019-09-27T13:37:41Z")

</div>

Hi

So no need give --rcm-boot?

---

<div class="post-metadata">

**Author:** ![carolyuu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/carolyuu/32/14043_2.png) [@carolyuu](https://forums.developer.nvidia.com/u/carolyuu)\
**Post date:** [October 1, 2019, 1:56am UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391/4 "2019-10-01T01:56:32Z")

</div>

Hi terry8uwg2,

The “–rcm-boot/RAM boot” is not supported on T210 based platforms.  
We will modify the L4T documentation.  
Sorry for inconvenience.

---

<div class="post-metadata">

**Author:** ![hhami.2040](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hhami.2040](https://forums.developer.nvidia.com/u/hhami.2040)\
**Post date:** [December 9, 2019, 1:40pm UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391/5 "2019-12-09T13:40:12Z")

</div>

hello carolyuu,  
I did this in accordance with the instructions for the jetson tx2 board,

```auto
sudo apt-get install nfs-kernel-server nfs-common portmap

sudo gedit /etc/exports

add this line::

/home/user/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/ *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)

sudo /etc/init.d/nfs-kernel-server restart

sudo ./flash.sh -N 10.42.0.222:/home/user/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/ jetson-tx2 eth0

```

it boot from nfs host(10.42.0.222) But at this point it stops with the following message…

```auto
┌───────────────────────────┤ Who are you? ├────────────────────────────┐
   │ │
   │ You entered a password that consists of less than eight characters, │
   │ which is considered too weak. You should choose a stronger password. │
   │ │
   │ Use weak password? │
   │ │
   │ <Yes> <No> │
   │ │
   └───────────────────────────────────────────────────────────────────────┘

[275.965325] nfs: server 10.42.0.222 not responding, still trying
[275.965331] nfs: server 10.42.0.222 not responding, still trying
[275.965340] nfs: server 10.42.0.222 not responding, still trying
[281.822703] nfs: server 10.42.0.222 not responding, still trying
[282.590892] nfs: server 10.42.0.222 not responding, still trying
[302.595604] nfs: server 10.42.0.222 not responding, still trying
[327.177526] nfs: server 10.42.0.222 not responding, still trying

```

You can guide me!!

---

<div class="post-metadata">

**Author:** ![carolyuu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/carolyuu/32/14043_2.png) [@carolyuu](https://forums.developer.nvidia.com/u/carolyuu)\
**Post date:** [December 10, 2019, 1:31am UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391/6 "2019-12-10T01:31:14Z")

</div>

Hi hhami.2040,

Please check you have below path:

```auto
/home/user/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/

```

This is set your local machine rootfs folder path.

---

<div class="post-metadata">

**Author:** ![hhami.2040](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hhami.2040](https://forums.developer.nvidia.com/u/hhami.2040)\
**Post date:** [December 10, 2019, 6:17am UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391/7 "2019-12-10T06:17:54Z")

</div>

Hi carolyuu,  
I don’t understand what you mean??  
I must,how set it??  
please help me!!

---

<div class="post-metadata">

**Author:** ![carolyuu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/carolyuu/32/14043_2.png) [@carolyuu](https://forums.developer.nvidia.com/u/carolyuu)\
**Post date:** [December 10, 2019, 6:42am UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391/8 "2019-12-10T06:42:01Z")

</div>

Hi hhami.2040,

```auto
$ sudo gedit /etc/exports
add this line::
/home/<b>user</b>/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/ *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
<b>--> Please make sure the path is correct.</b>
$ sudo /etc/init.d/nfs-kernel-server restart
Execute the command:
$ sudo ./flash.sh -N <ip-addr-of-linux-host>:/<path-to-NFS-rootfs> <platform> eth0
Where:
•<ip_addr> is the IP address of the host system
•<root_path> is the path to the NFS rootfs
•<platform> is the target’s platform type: nano, jetson-xavier, tx2, or tx1
Example:
$ sudo ./flash.sh -N <b>10.42.0.222</b>:/home/user/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/ jetson-tx2 eth0
<b>--> Please make sure the ip address of your host machine</b>

```

You can also check [L4T documentation](https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-322/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fflashing.html).

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 15, 2021, 2:50am UTC](https://forums.developer.nvidia.com/t/ram-boot-to-nfs-failed/82391/9 "2021-10-15T02:50:27Z")

</div>

Closed on October 15, 2021, 2:50am UTC


