In that case what you can do is:Clone the image of the rootfs.
On the host PC, loopback mount this on the “Linux_for_Tegra/rootfs/” subdirectory.
Use the script “l4t_create_default_user.sh” to put your user in place.
Note that I don’t know if this works when there is already a default user, but probably it does work.
If you cannot use that script directly, then you can apply that script to the original “rootfs/” without the loopback mount, and then copy the updated files related to password to your image.
Flash again with the edited image rather than generating a new “bootloader/system.img”.
Can you look in your “Linux_for_Tegra/tools” directory and see if you have file “l4t_create_default_user.sh”? If you have this, then try:Clone the Jetson in recovery mode via:
sudo ./flash.sh -r -k APP -G my_backup.img jetson-xavier-nx-devkit-emmc.conf mmcblk0p1
(I wish to emphasize your host PC will need about 50 GB of free space prior to starting and that this will run for a significant time).
The above should have produced files “my_backup.img” (a “sparse” file) and “my_backup.img.raw” (a “raw” file). The sparse file is smaller, but you cannot directly edit this. Both files would work for flash, but since you are editing, then I would delete the sparse “my_backup.img”. Then to mount over “rootfs/”:
sudo mount -o loop my_backup.img.raw ./rootfs/
At this point your original system is an overlay on top of the original “rootfs/”. Changes made to this will change the loopback mounted file and not the original “rootfs/”.
See if “l4t_create_default_user.sh” works (I am pretending your user name is “jetson”, but adjust for your case, and also assuming the password is “mypassword”):
sudo ./l4t_create_default_user.sh -u jetson -p mypassword
If this works, then “sudo umount ./rootfs” to remove the overlay on top of the original rootfs content.
Be very careful that you have enough disk space, and then copy the edited “my_backup.img.raw” to the “Linux_for_Tegra/bootloader/” directory (this file will be about 32 GB in size…big and slow):
sudo cp my_backup.img.raw ./bootloader/system.img
Flash while telling the software to reuse your existing image:
sudo ./flash.sh -r jetson-xavier-nx-devkit-emmc mmcblk0p1
Here is an important point to remember: If you are not using a dev kit carrier board, and you are instead using another carrier board from a third party, then non-rootfs content would be customized for that board. The manufacturer of the other carrier board would have its own BSP. You would use that instead of the default Jetson flash software, but the steps would otherwise be the same. The goal is to have the non-rootfs content flashed by the correct software (either devkit or third party), and use the clone which was repaired as the rootfs.If you cannot use that l4t_create_default_user.sh script, then we can use it on the original “rootfs/” and copy the password related files, and then flash as above.

Jetsontx2 nx nano xavier忘记密码如何恢复3261版本目前支持相关推荐

  1. iphone4s解锁_苹果手机忘记密码怎么办?iPhone忘记密码解锁恢复方法

    最近有粉丝朋友在"电脑百事网"的公众后台留言,iPhone4s忘记密码怎么解锁?由于很久没用了,之前设置的密码完全忘记了,现在不知道咋整了.苹果手机忘记密码怎么办?如何解决呢?目前 ...

  2. 苹果Mac实用技巧:忘记密码如何恢复?

    出于各种原因,总是有人会把密码忘记,所以重置密码功能非常重要.来看看mac重置密码的方法吧! 如何重置 macOS 密码? 修改密码 前提:没有忘记密码,只是想修改密码. 进入:系统偏好设置→用户与群 ...

  3. 华三设备缺省登录信息,以及忘记密码如何恢复

    华三设备相对来情况要好些,因为设备没有强制console认证,所以通常可以通过console线进去重置密码. #修改密码 local-user admin password  simple admin ...

  4. Linux root用户忘记密码的恢复方法

    日常运维工作中可能会遇到服务器忘记root密码的问题,本次以红帽8为例,讲解在忘记root密码后如何绕过密码登录然后重新设置密码的办法 目录 准备工作 问题复现 启动并进入引导 进入修复模式 修改用户 ...

  5. 三星手机忘记密码如何恢复出厂设置

    手机型号 Galaxy S21 Ultra 5G 操作步骤 同时按住[关机键]+[音量下键],长按7秒后重启: 屏幕熄灭后同时按住[关机键]+[音量上键],进入恢复模式界面后,同时松开按键: 进入[w ...

  6. tidb mysql登录_TiDB 忘记密码如何登陆

    如果遗忘了 tidb 的 root 密码如何操作,这里稍微拓展一下,将 MySQL 和 TiDB 的解决办法都记录一下,方便后面遇到的时候可以直接拿来用. MySQL 中忘记密码如何处理 1.找到 m ...

  7. 思科路由器忘记密码怎么办?

    忘记密码怎么恢复? 1.重启路由器 reload 2.打断路由器开机                ctrl+break 3. 设置跳过加载配置文件                   confreg ...

  8. 魅蓝s6启动android密码_魅蓝s6怎么恢复出厂设置?忘记密码怎么办

    魅蓝s6怎么恢复出厂设置?忘记密码怎么办?手机是现代生活必不可少的工具之一,在使用时我们常常会忘记手机密码.本次就给大家介绍手机密码忘了怎么恢复出厂设置,快来看看吧. 我们知道手机恢复出厂设置的注意事 ...

  9. 华为交换机s2700怎么重置_华为交换机忘记console的密码,怎么恢复出厂设置

    展开全部 1.启动时,32313133353236313431303231363533e58685e5aeb931333366303064按Ctrl+B进入BOOTROM目录 2.输入BOOTROM的 ...

最新文章

  1. html省市联动插件,jquery实现的交互体验更友好省市区三级联动插件
  2. 【转】关于 SELECT /*!40001 SQL_NO_CACHE */ * FROM 的解惑
  3. Challenges(分组、聚合、连接)
  4. vu项目中按F5刷新element菜单没有根据路由匹配菜单解决办法
  5. Qt修炼手册7_图形:用户自定义QGraphicsItem
  6. php实现鼠标悬停显示下拉菜单,Html中鼠标悬停显示二级菜单的两种方法
  7. [html] 如何阻止屏幕旋转时自动调整字体的大小?
  8. 如何在CentOS 7上安装Kubernetes Docker群集
  9. mysqlreport
  10. vscode we cannot connect_「战报」WE 1-0 DMO:双C无解发育发挥出色 WE稳扎稳打拿下首局...
  11. Matlab打开文件替换变量,读取matlab某个路径下的“.mat”文件,改变文件中的内容,并以原名字,变量保存...
  12. 关于Excel中的【照相机】功能。(我们通过此功能,可以通过Excel在图片上面画上一些内容后,连同图片和内容一起弄出来)
  13. 时间格式转变 android,Android开发日期时间格式的转化
  14. 实时系统动态内存算法分析dsa(二)——TLSF代码分析
  15. Google play 四件套安装 2019.08
  16. 直击灵魂:软件研发的第一性原理与10倍效能
  17. 英语常见词根词缀大全(二)
  18. 机器学习十大经典算法入门
  19. 《空间分析》——思维导图
  20. EKMA曲线及大气O3来源解析

热门文章

  1. 希望所有计算机专业学生都知道这门课
  2. 相机与IMU联合标定
  3. java反射无法获取_Java反射'无法设置'错误
  4. 小程序客服功能php后端文档,小程序添加在线客服功能
  5. Arduino中keywords.txt 文件
  6. golang处理json转义符 \u0026
  7. Mybatis面试题集锦 那些经常问到的Mybatis面试30题
  8. Hadoop HDFS概述
  9. 机器学习实战:《美人鱼》属于爱情片还是动作片?KNN揭晓答案
  10. Mybatis逆向工程创建方法