Notices


Reply
Thread Tools
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#211
Ah. That's the problem. First, he upgraded from v0.32, leaving an "orphan" file behind. Uninstalling/reinstalling a later version wouldn't help, as none of those have the same file in it.
In order to do it "properly", he'd have had to reinstall v0.32, then purge that, then install the current version.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#212
BTW, RobbieThe1st: I meant to type "it wouldn't be an advantage but it wouldn't be worse either." Wasn't sure if that was clear. My point was I thought the options were both equally good, in my opinion.

Anyway, sounds good (all the new features) - I'll be installing this if/when I can figure out with more certainty that it won't wipe my uboot. Actually, where does bootmenu get place/installed? I'm assuming the bootmenu doesn't flash any piece of the kernel. And if so, good, it should be reasonably safe. But given that bootmenu takes precedence of the kernel at boottime, it's possible it'll interfere with the uboot bootloader.
 
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#213
Originally Posted by RobbieThe1st View Post
Ah. That's the problem. First, he upgraded from v0.32, leaving an "orphan" file behind. Uninstalling/reinstalling a later version wouldn't help, as none of those have the same file in it.
In order to do it "properly", he'd have had to reinstall v0.32, then purge that, then install the current version.
Right, that's what happend.
Going this 'proper' way seems a bit long-winded as there is only one file to delete and everything is fine. Probably this would also have been enough with installed version 0.52. Deleting the orphan file could have made the new version working correctly.
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#214
Yea, very true. I was just explaining -why- it didn't work. I agree that just deleting it is a better option.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#215
Originally Posted by Rob1n View Post
Sure. I'm assuming you've already got multiboot 0.2.10 installed here - if not, you'll need to look up the instructions for that elsewhere (the multiboot/NITDroid/power kernel threads).

Unfortunately the only implementations of patch appear to be in the SDK repository, so rather than using the diff, just grab the patched files and save them to the MyDocs directory.

Now overwrite the existing multiboot files with the new versions:
Code:
root
cd /sbin
tar -xzf /home/user/MyDocs/multiboot_patched.tar.gz
chmod 755 multiboot multiboot_read_item
That's the patched multiboot all done, so you now just need to create a new boot item. You'll need to create a file (either on the N900, or on a desktop/laptop then copied to the N900) containing:


Move this file to /etc/multiboot.d/99-BackupMenu.item (you'll need to be root to do this).

Now when you reboot with the keyboard open, you'll get an option for BackupMenu. I think this'll work irrespective of which OS/kernel you've been booting with, but I've only tested it from the standard Maemo kernel so far.
Okay, now I'm stuck. Multiboot and Nitdroid can't be installed with BackupMenu and bootmenu-n900 already installed, and vice versa. Installing the former removes the latter and installing the latter removes the former. How do I get around this? I've successfully installed Nitdroid and Multiboot, and patched the Multiboot file, but with BackupMenu installed (which needs bootmenu-n900), it is kind of pointless. Help please. Thank you.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#216
Originally Posted by jsbigs View Post
Okay, now I'm stuck. Multiboot and Nitdroid can't be installed with BackupMenu and bootmenu-n900 already installed, and vice versa. Installing the former removes the latter and installing the latter removes the former. How do I get around this? I've successfully installed Nitdroid and Multiboot, and patched the Multiboot file, but with BackupMenu installed (which needs bootmenu-n900), it is kind of pointless. Help please. Thank you.
I just downloaded the BackupMenu .deb file onto my PC and extracted the scripts from it. You should be able to do the same on the N900 using 7zip and tar:
Code:
7z x backupmenu_0.52-1_all.deb
sudo gainroot
tar -xf data.tar -C /
 

The Following 2 Users Say Thank You to Rob1n For This Useful Post:
Posts: 33 | Thanked: 8 times | Joined on Dec 2009
#217
Originally Posted by jsbigs View Post
Okay, now I'm stuck. Multiboot and Nitdroid can't be installed with BackupMenu and bootmenu-n900 already installed, and vice versa. Installing the former removes the latter and installing the latter removes the former. How do I get around this? I've successfully installed Nitdroid and Multiboot, and patched the Multiboot file, but with BackupMenu installed (which needs bootmenu-n900), it is kind of pointless. Help please. Thank you.
You can force the installation of backmenu with dpkg -i <backmenu-package> --ignore-depends=bootmenu-n900 or compile backupmenu yourself and remove dependency of bootmenu-n900 in the control file.
In both cases you should be able to install backupmenu.
 

The Following User Says Thank You to davall For This Useful Post:
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#218
Thanks, davall and Rob1n.

I've just uploaded v0.53-1, which adds SSH mode again(tested and it works for me at least) - I couldn't figure out my root password though.
I also found out that it's not defaulting to 250mhz, it's running the full 600mhz... gzip's just plain SLOW.
I also haven't -yet- tested actually restoring a compressed root/optfs, though it should work.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 

The Following 4 Users Say Thank You to RobbieThe1st For This Useful Post:
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#219
Originally Posted by davall View Post
You can force the installation of backmenu with dpkg -i <backmenu-package> --ignore-depends=bootmenu-n900 or compile backupmenu yourself and remove dependency of bootmenu-n900 in the control file.
In both cases you should be able to install backupmenu.
Didn't test if this works but this dummy package might solve the dependencies problem. Installation should remove bootmenu-n900 while providing it to dpkg database. Therefore backupmenu doesn't need to be changed and you can still upgrade to new revisions without recompiling again.

Installation without any warranty! I'm not responsible for possible break of the device or other bad things.

EDIT:
had to remove package because HAM says it's incompatible. Have to check why. Updated version will be uploaded.

EDIT2:
new version uploaded. This installs correctly but doesn't delete original bootmenu-n900. Will have to check wether I can set some other entries in control file but until then you'd have to manually remove bootmenu-n900 after installation of dummy file. Or first install dummy, then backupmenu. It should not trigger installation of original package.
Attached Files
File Type: deb bootmenu-n900-dummy_0.2.1_armel.deb (2.3 KB, 84 views)

Last edited by x-lette; 2010-11-05 at 13:02.
 

The Following 4 Users Say Thank You to x-lette For This Useful Post:
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#220
Originally Posted by Rob1n View Post
I just downloaded the BackupMenu .deb file onto my PC and extracted the scripts from it. You should be able to do the same on the N900 using 7zip and tar:
Code:
7z x backupmenu_0.52-1_all.deb
sudo gainroot
tar -xf data.tar -C /
Thanks all. I'm trying one method at a time though I can't get past the last line of code in this. I get the following error:

Code:
tar: can't open 'data.tar': No such file or directory
This is after I ran:

Code:
7z x backupmenu_0.52-1_all.deb
and have two new files in my directory:

control.tar.gz
data.tar.gz

Is there something I'm doing wrong?
 
Reply

Tags
backup, backupmenu, cssusupplement, max(useful), rescue-console, restore, system


 
Forum Jump


All times are GMT. The time now is 15:15.