Hack-A-N900/Dump and Restore rootfs Image: Unterschied zwischen den Versionen
Amir (Diskussion | Beiträge) K hat Hack-A-N900/Create Rootfs Image nach Hack-A-N900/Dump and Restore rootfs Image verschoben |
Hmw (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
(2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 6: | Zeile 6: | ||
== Dump Image == | == Dump Image == | ||
Start usb recovery mode | Start usb recovery mode. After connecting your N900 to the PC, you might have to assign an IP address to your usb0 interface: | ||
<pre> | |||
root@pc # ifconfig usb0 192.168.2.1 up | |||
</pre> | |||
Log on to your n900 and make the rootfs read-only: | |||
<pre> | <pre> | ||
mount -o remount,ro / | mount -o remount,ro / | ||
Zeile 15: | Zeile 19: | ||
</pre> | </pre> | ||
Now dump the rootfs image. Keep in mind we are in recovery mode and the rootfs is read-only, so we dont have any storage | Now dump the rootfs image. Keep in mind we are in recovery mode and the rootfs is read-only, so we dont have any storage available. We need to push it to a remote location. | ||
<pre> | <pre> |