maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Clone OS to SD Deb!! Boot from SD made EASY!! (https://talk.maemo.org/showthread.php?t=19639)

st5150 2008-08-01 09:12

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Quote:

Originally Posted by st5150 (Post 208867)
Hey guys, I'd like your input and advice on this....

On my N810 I'm running chinook, cloned to the internal built-in 2gig SD card using penguinbait's deb. I'm on the fence with diablo. I'd like to install diablo on the internal flash and keep my existing chinook install on the internal 2gig, then dual boot between the two. Can I do this? What's the best way? Input and suggestions are welcomed.


Quote:

Originally Posted by fatalsaint (Post 208971)
@ST5150

If you already have it cloned to your SD.. just reflash to Diablo, then uninstall Penguinbait's Install tools.. and Install Penguinbaits Bootmenu deb (which auto-detects partitions and writes a boot menu)..

That should give you diablo on Flash, and your current chinook on the SD card..

I think :D

Thanks. I have chinook cloned to the built-in internal 2gig SD card. Since I *really* don't want to damage or risk damaging my chinook 2gig install, can someone else confirm that flashing to diablo and then installing http://penguinbait.com/bootmenu-installer.deb will reach my goal?

Just wanted to bump this up for a second opinion before I risk thrashing my setup. Can anyone else provide me some guidance?

possessedskier 2008-08-01 12:06

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Originally Posted by IcyAirs (Post 209277)
Okay, I'm just confounded now.

Windows slow format in FAT32, power down and reboot n810, clone completely clean copy of Diablo (newly flashed, nothing in documents/images/etc), and after install tool finishes, booting into SD gets me back the files i had in the clone directory from before i formatted.

Except, instead of 620 MB or so of useable space, now i have 410MB of it. Where is all this junk data coming from... do i have a bad internal memory card or something?

...

so something is being retained despite flash and formatting... maybe i should pull battery, flash, format, pull battery and try again...

I've just noticed this same issue. I'm reflashing my N800 to try and solve a rapid battery drain problem that only happened when booted to the cloned OS on my 4gb mmc2. I removed the 4gb sd card and reformatted it to one 4gb fat32 partition using gparted on my laptop running Ubuntu Linux. I reflashed the N800 with Diablo, downloaded Install Tools, removed the external sd card and cloned OS to the newly formatted 4gb internal sd card before installing anything on the base OS. When I booted into the newly cloned OS all the programs from the old cloned OS, email accounts with downloaded email, and contacts were there. No browser bookmarks though. I had installed nothing on the newly flashed OS. I did remove the battery before flashing and I haven't put the external sd card back in since I took it out to clone the OS.

I hope the reflash and reclone fixed the battery drain problem I was having in the cloned OS, or I'll have to try the manual method of cloning the OS so that I get a clean install.

Edit #1: None of the programs that are there from my previously cloned OS are showing up in the installed applications list of the Application Manager. They are all listed, and runable!!! (did I just invent a new word - runable?), in the application menu. They are not installed in the base OS.

fatalsaint 2008-08-01 18:51

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
not so sure a quick fomat on windows is going to erase all the data. repartioning does not for sure. if you rebuild the partition to what it was before the files may still be there.

think u need to completely reformat. you can do it right from the tablet.. look back a page or two for what i told quick to do with sfdisk.. that wll make 1 large partition and reformat the whole thing into ext2... that should work. or try a full slow reformat in windows.

if they still show up use dd like suggested by someone else in this thread.

gemniii42 2008-08-01 19:02

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Originally Posted by ranph (Post 209262)
Seems to got it working.
Needed to do it three times before my n810 could install the deb.
I only have tow remarks now.

1. You scared the living hell out of me with that wav. (btw are you dutch?)
2. I searched whole of google for that menu button. Could kind folks on here put a screen with that button :-)

http://www.internettablettalk.com/fo...ad.php?t=18512

buttons

possessedskier 2008-08-01 19:28

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Originally Posted by fatalsaint (Post 209381)
not so sure a quick fomat on windows is going to erase all the data. repartioning does not for sure. if you rebuild the partition to what it was before the files may still be there.

think u need to completely reformat. you can do it right from the tablet.. look back a page or two for what i told quick to do with sfdisk.. that wll make 1 large partition and reformat the whole thing into ext2... that should work. or try a full slow reformat in windows.

if they still show up use dd like suggested by someone else in this thread.

I used gparted to:
1) delete all partitions
2) created one large fat32 partition
3) format the fat32 partition

Even if remnants of the old data was still on the sd card, any usable pointers to it should not be found by the new install. I could run every program that I had installed on the old OS clone.

possessedskier 2008-08-03 20:47

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Ok, so today I decided to give it one more try. I repartitioned and reformatted the 4gb SD card to one large ext2 partition. I took both SD cards out of the N800 and reflashed it with Diablo then I downloaded and installed install tools to clone the OS to the internal 4gb card. This time it's a clean install. I don't see any of the applications from the old clones.

douwen 2008-08-04 17:02

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
hi , here i have a question about bootmenu.conf,
i want to boot from internel MM Card, so i set my bootmeu.conf as following, after initfs_flash, it did boot from as i wish( from internel MM Card ,i mean , the MENU_2) , however, i found i lost the entry to boot into internel flash,
does i miss something? how can i set the bootmenu.conf, so as to make the default device is mmc card and also make me could choose to boot to internal flash? thanks!
--------------------------------------------
.........
# menu items
MENU_MIN=2 # first item index

#no need to redefine
#MENU_1_NAME="Internal flash"
#MENU_1_ID="flash"

MENU_2_NAME="Internal MMC card, partition 2, ext2"
MENU_2_ID="mmc2"
MENU_2_DEVICE="${INT_CARD}p2"
MENU_2_MODULES="mbcache ext2"
MENU_2_FSTYPE="ext2"
MENU_2_FSOPTIONS="noatime"
[ -d "/sys/block/${INT_CARD}/${MENU_2_DEVICE}" ] || MENU_2_NAME="(${MENU_2_NAME}) N/A"

MENU_3_NAME="External MMC card, partition 2, ext2"
MENU_3_ID="mmc12"
MENU_3_DEVICE="${EXT_CARD}p2"
MENU_3_MODULES="mbcache ext2"
MENU_3_FSTYPE="ext2"
MENU_3_FSOPTIONS="noatime"
[ -d "/sys/block/${EXT_CARD}/${MENU_3_DEVICE}" ] || MENU_3_NAME="(${MENU_3_NAME}) N/A"

MENU_4_NAME="Power off (when not on charger)"
MENU_4_ID="off"
....
-------------------------------------------------

penguinbait 2008-08-06 19:29

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Well I see this thread has been being used, but I was out of town. Rather than go through and answer questions that people may not need answered anymore. Please let me know if anyone still needs help with anything.


Just from briefly reading some, I have some comments.

Yes you need to run it more than one time usually on the first time. It will then work usually after that unless you alter the partitions sizes again.

Apps showing up after card has been formatted and partitioned. The only time this would happen is if your card was in a bad state when you tried to refomat/partition it. So for example, run fsck prior to reformat/partition. I have seen this personally and fsck fixed it.

Setting the default device for booting is not done in the bootmenu

As root run

chroot /mnt/initfs cal-tool --set-root-device ask:mmc2
or
chroot /mnt/initfs cal-tool --set-root-device ask:flash

Or whatever partition you want.

hope this clears up some confusion...

douwen 2008-08-08 03:53

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
hi, penguinbait ,
have you updated install-tools.deb recently?today i use it to clone diablo OS to mmc2, all procedure successfully, but when i reboot and choose to boot from mmc2, it always said "boot from mmc2 failed, boot from flash..", and boot to my internel flash Diablo,
BTW: my internel MMC card is brand new and i think there is no problem with it.

penguinbait 2008-08-08 14:22

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Quote:

Originally Posted by douwen (Post 211466)
hi, penguinbait ,
have you updated install-tools.deb recently?today i use it to clone diablo OS to mmc2, all procedure successfully, but when i reboot and choose to boot from mmc2, it always said "boot from mmc2 failed, boot from flash..", and boot to my internel flash Diablo,
BTW: my internel MMC card is brand new and i think there is no problem with it.

The deb has not been updated. Occaisionally the clone will happen and it will appear to be successful, but it was not. Boot to flash and re-install it again.


All times are GMT. The time now is 20:19.

vBulletin® Version 3.8.8