for NI Linux RT on Intel x64 (i.e. Atom) based products
Boot into safe mode:
/etc/init.d/nisetbootmode force-safemode && reboot
*note that it seems rebooting while in safe mode will boot back into run mode (unless you have some critical error preventing it, in which case it will fail back into safe mode)
Boot into run mode (Redundant, see comment above):
/etc/init.d/nisetbootmode force-normal && reboot
To check a filesystem the filesystem has to be unmounted with umount /path/to_fs
. If the filesystem is in use the unmount can be forced with -l
. WARMING: To force the unmount can have unpredictable side effects.
To check the filesystem use fsck /path/to_device
. If the actual filesystem is not autodetected you can select it manually, e.g. fsck.ext4 /dev/sda4
.