-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I am trying to get command-line access to a firmware that I am running using firmadyne. The process I am following is:
# Using firmware-mod-kit
./extract-firmware.sh FW_RT_N15U_30043763754.trx
mkdir FW_RT_N15U_30043763754/rootfs/firmadyne
mknod -m 666 FW_RT_N15U_30043763754/rootfs/firmadyne/ttyS1 c 4 65
cp console FW_RT_N15U_30043763754/rootfs/firmadyne/console
# Using firmware-mod-kit
./build-firmware.sh FW_RT_N15U_30043763754
When I try to run the firmware it fails to start and in qemu.initial.serial.log I find:
"Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)"
I saw the FAQ on the main firmadyne README that mentioned an issue with kpartx and to try increasing the timeout in inferNetwork.sh and deleting the scratch directory but neither seemed to resolve the issue.
Is this the correct process for setting up the console?
Also of note, if I extract the firmware and re-build it again using the firmware-mod-kit, omiting the modification steps, the firmware loads up and runs properly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels