tx2 could not be started

I changed the tx2 system configuration file, but tx2 could not be started. Can I access the hard disk and change the file back?

I’m not sure what system configuration file you mean, but you have a couple of options. The brute force method, which always works, is to clone the rootfs, loopback mount it on the host, edit the loopback file system, and then re-flash telling it to use the edited rootfs instead of the sample rootfs. This is very useful since you have an off-system backup to reference later (and this loopback mounted file can even act as an rsync destination), but is quite time consuming.

You could also create a rescue SD card, boot to that, mount “/dev/mmcblk0p1” on some temp mount point (SD card rootfs is mmcblk1p1, eMMC rootfs becomes an unused partition), edit, shutdown, remove the rescue SD, and then boot back up fixed. This is fairly simple if the config did not alter the boot environment.

In all cases you would be advised to have a serial console cable handy for options (e.g., picking from multiple boot configurations). See:

Here are some related posts…just ask if you want more information, some of it may be out of date: