# rootOnNVMe
Switch the rootfs to a NVMe SSD on the Jetson Xavier NX and Jetson AGX Xavier
These scripts install a service which runs at startup to point the rootfs to a SSD installed on /dev/nvme0 (the M.2 Key M slot).
This is taken from the NVIDIA Jetson AGX Xavier forum https://forums.developer.nvidia.com/t/how-to-boot-from-nvme-ssd/65147/22, written by user crazy_yorik (https://forums.developer.nvidia.com/u/crazy_yorick). Thank you crazy_yorik!
This procedure should be done on a fresh install of the SD card using JetPack 4.3+. Install the SSD into the M.2 Key M slot of the Jetson, and format it gpt, ext4, and setup a partition (p1). The AGX Xavier uses eMMC, the Xavier NX uses a SD card in the boot sequence.
Next, copy the rootfs of the eMMC/SD card to the SSD
```
$ ./copy-rootfs-ssd.sh
```
Then, setup the service. This will copy the .service file to the correct location, and install a startup script to set the rootfs to the SSD.
```
$ ./setup-service.sh
```
After setting up the service, reboot for the changes to take effect.
### Boot Notes
These script changes the rootfs to the SSD after the kernel image is loaded from the eMMC/SD card. For the Xavier NX, you will still need to have the SD card installed for booting. As of this writing, the default configuration of the Jetson NX does not allow direct booting from the NVMe.
### Upgrading
Once this service is installed, the rootfs will be on the SSD. If you upgrade to a newer version of L4T using OTA updates (using the NVIDIA .deb repository), you will need to also apply those changes to the SD card that you are booting from.
Typically this involves copying the /boot* directory and /lib/modules/\<kernel name\>/ from the SSD to the SD card. If they are different, then modules load will be 'tainted', that is, the modules version will not match the kernel version.
## Notes
* Initial Release, May 2020
* JetPack 4.4 DP
* Tested on Jetson Xavier NX
没有合适的资源?快使用搜索试试~ 我知道了~
rootOnNVMe.zip
共36个文件
sample:14个
head:4个
sh:3个
需积分: 0 0 下载量 124 浏览量
2024-09-09
15:45:03
上传
评论
收藏 34KB ZIP 举报
温馨提示
rootOnNVMe.zip
资源推荐
资源详情
资源评论
收起资源包目录
rootOnNVMe.zip (36个子文件)
rootOnNVMe
.github
ISSUE_TEMPLATE
feature_request.md 632B
bug_report.md 520B
data
setssdroot.service 471B
setssdroot.sh 401B
LICENSE 1KB
.git
index 861B
HEAD 23B
refs
heads
master 41B
tags
remotes
origin
HEAD 32B
objects
pack
pack-07c00a2eaa67604d294e62b5480d6478168f1fc4.pack 8KB
pack-07c00a2eaa67604d294e62b5480d6478168f1fc4.rev 188B
pack-07c00a2eaa67604d294e62b5480d6478168f1fc4.idx 2KB
info
description 73B
packed-refs 114B
info
exclude 240B
logs
HEAD 186B
refs
heads
master 186B
remotes
origin
HEAD 186B
hooks
post-update.sample 189B
sendemail-validate.sample 2KB
prepare-commit-msg.sample 1KB
commit-msg.sample 896B
pre-receive.sample 544B
update.sample 4KB
pre-commit.sample 2KB
pre-rebase.sample 5KB
applypatch-msg.sample 478B
fsmonitor-watchman.sample 5KB
push-to-checkout.sample 3KB
pre-applypatch.sample 424B
pre-push.sample 1KB
pre-merge-commit.sample 416B
config 308B
setup-service.sh 840B
copy-rootfs-ssd.sh 356B
README.md 2KB
共 36 条
- 1
资源评论
风
- 粉丝: 43
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功