Notices


Reply
Thread Tools
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#851
Originally Posted by batarawatson View Post
I cannot reboot into power kernel 47 after i reflash and restore my opt and rootfs please help me to fix it..
BackupMenu doesn't backup/restore Your kernel. Install KP 47 manually, then restore everything else through backupmenu.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#852
Originally Posted by Estel View Post
Still, thanks for useful info. I suppose kernel partition is still on same physical NAND, just different partition? If that, hardware wear lvl should still apply, even if written @ low lvl by flasher. I would be very surprised, if N900 NAND lack hardware wear-leveling. Will try to check that.
Yes it is the same chip (256MiB Nand).

128KiB for NOLO Bootloader
384KiB for Config partition
256KiB for Log partition
2MiB for Kernel partition
2MiB for InitRD partition (teorically not used on N900, wasted space ??)
251MiB for rootFS partition (the only, I think, with UBIFS)

Last edited by Fabry; 2011-07-17 at 19:51.
 

The Following User Says Thank You to Fabry For This Useful Post:
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#853
Originally Posted by stlpaul View Post
To be fair, I think it's not that they aren't willing to change, the multiboot process actually does some setup/initializing prior to android's boot sequence that nitdroid depends on. uBoot doesn't do that setup, so the nitdroid kernel/bootup process would need to be adapted to work in that state. And probably I would guess working on that adaptation, when multiboot already works and is user-friendly, is not as important right now as working on things like making phone calls work...
Maemo's kernel and Nitdroid's kernel not have ext driver statically compiled so they can't boot from a Ext2/Ext3/Ext4 partition.

So an initrd is needed to boot.
Multiboot uses the rootFS as a big InitRD.
It boots from rootFS, loads the necessary kernel's modules, mounts the nitdroid's partition and then chroots to it

Create an InitRD (or ramdisk) image or recompile the nitdroid's kernel with EXT3 support built-in and probably you could start Nitdroid directly with u-boot

PS
Since Multiboot uses rootFS as initial boot device, it can't be used with kernels (i.e. MeeGo) that cannot boot from rootFS (because they don't have UBIFS support statically compiled or because their default bootargs don't use rootFS)

Last edited by Fabry; 2011-07-17 at 20:46.
 

The Following 5 Users Say Thank You to Fabry For This Useful Post:
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#854
I have tried to install v1.1 under multiboot with this my guide:
  1. Download and install multiboot 0.2.11 and backupmenu-multiboot 1.1
  2. Download latest backupmenu package and copy it to MyDocs
  3. Open an xterm and become root user with
    sudo gainroot
  4. Remove backupmenu's old files with
    rm /usr/share/backupmenu/*
  5. Go to filesystem's root with
    cd /
  6. Extract backupmenu's new files with
    dpkg-deb --fsys-tarfile /home/user/MyDocs/backupmenu_1.1-1_all.deb | tar xv ./usr/share/backupmenu/
  7. Add execution permissions with
    chmod +x /usr/share/backupmenu/*
    chmod +x /usr/share/backupmenu/.functions.sh.swp

Unfortunately BackupMenu 1.1 doesn't start (the 0.62 was working instead).
The last message I see is "chrooting" then after some seconds N900 shutdown (watchdog ??)

Last edited by Fabry; 2011-07-19 at 01:07.
 

The Following User Says Thank You to Fabry For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#855
Completely unchecked guessworking - isn't BackupMenu.item (located in /usr/share/backupmenu/ = location that you rm prior to updating) modified to suit multiboot?

Also, Fabry post reminds me of something. When I switched to ext4 for my home, I needed to manually edit backupmenu files to change "ext3" to ext4. no big deal, though, maybe it's possible to - without much time involved - to tweak backupmenu script such a way that they would work for both ext3 and ext4?
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#856
BackupMenu.item is in /etc/multiboot.d/ and not in /usr/share/backupmenu/ so rm doesn't delete it

Last edited by Fabry; 2011-07-19 at 01:23.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#857
Strange, I definitely have "BackupMenu.item" in /usr/share/backupmenu and its totally different file, compared to .item in /etc/multiboot.d/. that's why I pointed it to You, although I'm not sure if it's relevant, hence warnings about guessworking.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#858
Files in /usr/share/backupmenu/ are the "active" files - they are the ones that actually do something.
All other files, the ones in /etc/ are just config/launcher files.

As far as why yours won't work, it's because you aren't running the postinst.sh script in the deb package. This script copies a rrquired binary(gnu tar) to my directory. Without it, it won't run.
Also, that runs my browser-launch-script for counting users and providing a readme.
__________________
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 User Says Thank You to RobbieThe1st For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#859
Originally Posted by RobbieThe1st View Post
Also, that runs my browser-launch-script for counting users and providing a readme.
Permanent invigilate

Sorry, can't stop myself from posting that. Seriously thought, I think that You shall write info about it @ package description (and here in 1st post) - not that I think you're doing bad thing, but I stand on position that every tracing - even such harmless as this - should be 100% acknowledged to users.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#860
Originally Posted by Estel View Post
Strange, I definitely have "BackupMenu.item" in /usr/share/backupmenu and its totally different file, compared to .item in /etc/multiboot.d/. that's why I pointed it to You, although I'm not sure if it's relevant, hence warnings about guessworking.
Sorry my error.
BackupMenu.item is of course in /usr/share/backupmenu and it is deleted and then replaced by newer version

Last edited by Fabry; 2011-07-19 at 10:52.
 

The Following User Says Thank You to Fabry For This Useful Post:
Reply

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:05.