Accidentally run sudo chmod 700 / on my jetson agx orin

Hi, I faced a critical issue, the situation is I accidentally type

sudo chmod 700 /

After this my jetson orin won’t boot,I even cannot move into force recovery mode, I know because of the permission problem, I try also connect via serial port with “minicom” command , but when the login required, I can’t login with user, that stated unable to dc /home/agx_orin

is there any solution can resolve my current situation, please help me

and for SDK Manager to flash and reinstall, when enter into flash and install part, the username and password of that jetson device required , i type the right username and password , but when connect it come out error that indicate incorrect username or password

another way i tried is using live usb, where i install ubuntu in pendrive and boot from it, but the process was interrupted

Hi,

Could you try to log in the initrd and mount the APP partition and chmod again?

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --initrd jetson-agx-orin-devkit internal

Thanks

how to log in the initrd ?
i can’t even enter the OS

Hi,

You need to execute above command in your host.
Please navigate to the ~/nvidia/nvidia_sdk/${YOUR_JETPACK}/Linux_for_Tegra

Thanks

log1.txt (1.6 KB)
here is the attached log , please review, i still cannot do anything with that command

log.txt (74.0 KB)
this log file is when i try to boot from EMMc device

Hi,

Do you set your device in recovery mode and do this command?
Also could you minicom in your device during the initrd mode.

Thanks

i unable to enter recovery mode, i already followed this guideline , but still unableto enter , the jetson orin device run nothing

Please uselsusb command and follow the Quick Start — NVIDIA Jetson Linux Developer Guide 1 documentation guide to check whether the device in recovery mode.

Thanks


ya , i tried , i follow the guideline to enter the recovery mode but unable, nothing show , while when i tried to power on the device as usual , the device can display,

in summary, i tried many of the solution including live usb , If i able to enter the recovery mode, i can flash the device manually with SDK Manager

is it possible the permission access problem where i accidently type
sudo chmod 700 /

image
here is the result where the device power on as usual without enter the recovery mode , please dont be confused

Please try log into UEFI and follow the steps Device ManagerNVIDIA ConfigurationBoot ConfigurationBoot Into Recovery

Thanks


dont have the “Boot Into Recovery” selection

is it quick boot ?

What is your JP version?

Thanks

Jetpack 5.1.2-b104, arm64 (apt-cache show nvidia-jetpack)

Since virtual box have some usb detect issue, I think you need a native ubuntu and do the one of options.

  1. login to recovery image
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --initrd jetson-agx-orin-devkit internal
  1. flash NVMe or usb using sdk manager and mount the emmc

  2. flash usb in your host
    Please follow the Workflow 12: Manually generate a bootable external storage device: in ./Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt
    After flash succeed, plug the usb in your device.

i wanna try the option 2 , my actions is download a ubuntu iso image from this website .

then install the ubuntu ini pendrive using Rufus , plug to the deivce then boot from pendrive

but occurred these errors

Sorry. I think you misunderstand the option.
We need you prepare a native ubuntu host not a virtual machine(e.g VirutalBox).
To have a native ubuntu host, you could try dual boot with your windows or bare mental.
After you prepare a native ubuntu host, you could try one of option.

ok i understood