Zum Inhalt springen

Hack-A-N900/Usb Recovery Mode: Unterschied zwischen den Versionen

Amir (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Amir (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
I bricked my maemo setup several times. Often the underlying problem would have been trivial to fix, if i had a way to access the rootfs. Patching bootmenu enables us to boot a minimal system with just usb network and sshd enabled. that's still not optimal because this solution relies on rootfs being accessible. why? - [http://www.mail-archive.com/maemo-developers@maemo.org/msg22365.html 1] [https://bugs.maemo.org/show_bug.cgi?id=6468 2] - in short, during boot process no seperate initrd is utilized - in fact the rootfs is misused for it -.- . the bootmenu script circumvents that issue by using pivot_root, which is a pretty dirty - yet effective hack. <i>hmmm... just an idea, but why not use the rootfs for initrd purposes only?...</i>
I bricked my maemo setup several times. Often the underlying problem would have been trivial to fix, if i had a way to access the rootfs. Patching bootmenu enables us to boot a minimal system with just usb network and sshd enabled. that's still not optimal because this solution relies on rootfs being accessible. why? - [http://www.mail-archive.com/maemo-developers@maemo.org/msg22365.html 1] [https://bugs.maemo.org/show_bug.cgi?id=6468 2] - in short, during boot process no seperate initrd is utilized - in fact the rootfs is misused for it -.- . the bootmenu script circumvents that by redirecting the pivot_root call issued by /sbin/preinit, which is a pretty dirty - yet effective hack. <i>hmmm... just an idea, but why not use the rootfs for initrd purposes only?...</i>
sshd will be using settings from the rootfs.
sshd will be using settings from the rootfs.