Editing Troubleshooting boot issues
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | + | When trying to debug boot problems, the following (or something simillar) may help you. | |
- | You'll need | + | You'll need the initfs_flash with a telnet or ssh server installed. I'll suppose that a telnet server is used: |
* Boot Nxx0 and start the telnet/ssh server | * Boot Nxx0 and start the telnet/ssh server | ||
* Connect USB cable to PC | * Connect USB cable to PC | ||
- | * | + | * Run: |
modprobe usbnet | modprobe usbnet | ||
ifconfig usb0 up | ifconfig usb0 up | ||
ip addr add dev usb0 192.168.10.2/24 | ip addr add dev usb0 192.168.10.2/24 | ||
telnet 192.168.10.1 | telnet 192.168.10.1 | ||
- | |||
- | * You're now connected. Load required modules for accessing your root partition | + | * You're now connected. Load required modules for accessing your root partition: |
insmod /lib/modules/2.6.21-omap1/jbd.ko | insmod /lib/modules/2.6.21-omap1/jbd.ko | ||
insmod /lib/modules/2.6.21-omap1/mbcache.ko | insmod /lib/modules/2.6.21-omap1/mbcache.ko | ||
Line 18: | Line 17: | ||
insmod /lib/modules/2.6.21-omap1/ext3.ko | insmod /lib/modules/2.6.21-omap1/ext3.ko | ||
- | * And mount the root partition | + | * And mount the root partition: |
mount /dev/mmcblk0p2 /mnt/new_root -t ext3 -o noatime | mount /dev/mmcblk0p2 /mnt/new_root -t ext3 -o noatime | ||
Line 36: | Line 35: | ||
Don't forget that the watchdog will reboot the machine after a some time. | Don't forget that the watchdog will reboot the machine after a some time. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Learn more about Contributing to the wiki.