![]() |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
BackupMenu(nor any other software) can remove or break the flasher.
Just turn off the N900, open the keyboard, hold the U key then plug in the USB. It should work fine. Also, Shadow, if you are talking about the Terminal mode of BackupMenu, yes, its glitched. amongst other things, the third row of keys is shifted one key to the left, and I haven't been able to fix it yet. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
I'm experimenting with running from a bare-essentials chroot, which is a prereq if I want to more safely mess with the rootfs.
I made my ramdisk: Code:
mknod -m 660 /dev/ram b 1 1 I copied /bin/busybox, and created a simlink in the new directory: Code:
mkdir /tmp/disk/bin But when I try to chroot into it: "chroot /tmp/disk/" I get: "chroot: cannot execute /bin/sh: No such file or directory." What did I do wrong? |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
But, erm, two questions: Which are those/where can I find them, and why is it saying "can't find file X"? Shouldn't it say something like "missing X library.so"? |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
You'll probably also need to bind mount /dev, /proc and /sys under your chroot: Code:
mkdir /tmp/disk/dev /tmp/disk/sys /tmp/disk/proc |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Perfect! It worked. Tomorrow I'll see about actually sticking it in my script, and hopefully in a day or two I'll have an alpha version for testing!
Stay tuned! -Rob |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
I've been working on this solidly since my last post.
Curently, I have two files: BackupMenuLauncher.item, which is in /etc/bootloader.d/ and runs when you start up your N900 with the keyboard open. This file makes a ramdisk(and now, a tmpfs), loads all required files into it, and copies the second file, the actual program, from /opt/BackupMenu.item, then chroots into the ramdisk launching that file. Code for each of these is pastebinned in the above links. When I run this from the Maemo terminal as root, it works(as best I can see of it). I get errors on not being able to use udev(as its already running), but it actually seems to launch the script fine. When I run it from the bootmenu-console, everything works fine until the launcher chroots, at which point it apparently dies and drops back to the bootmenu official menu. Any ideas on what I'm doing wrong? P.S. How do I get /etc/mtab in my chroot? "mount" does this. edit: Yea, still having the problem. edit2: Found it. The second file was in /opt/, which is its own partition... which isn't mounted deliberately. :\ Moved it to the root partition, worked great. edit3: Sooo... working away at it. I'm having trouble mounting the SD partition; getting "invalid argument". I'm sure its something simple(or maby not...) Thanks, -Rob |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
But no Keyboard lights! Should follow line echo 255 > /sys/class/leds/lp5523\:kb$3/brightness work under xterm? By me the line doesn't change the backlight off my N900 Greetz Erazor edit: Hope you're not angry with me, when I change your file! Only want to help you to fix/add this :) *hide myself under the shirt* |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
Of course, even if I -have- to allow editing, I don't mind it anyway. I want to see some people messing with it; figure out better ways of doing things. I'm -not- an expert, after all... Anyway, while I haven't tried it, but you will have to A, load the module first with "insmod /lib/modules/current/leds_lp5523.ko"(note: it may also be "modprobe" instead of insmod), then after that run the "for x in 1 2 3 4 5 6; do echo 255 > /sys/class/leds/lp5523\:kb$x/brightness; done" line. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
thx i have already take this in the file with insmod and modprobe in different places. but i dont get the keyboard lights running. strange things only for the archives!!!! the line called echo 255 > /sys/class/leds/lp5523\:kb$3/brightness for example. or do echo 255 > /sys/class/leds/lp5523\:kb$3/brightness done ??? i will test this and let you know, when it works :) thx for the reply |
All times are GMT. The time now is 13:07. |
vBulletin® Version 3.8.8