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)
-   -   HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting (https://talk.maemo.org/showthread.php?t=18751)

Laughing Man 2008-04-14 21:58

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
Cool it works, though now my mmc boot has 500 MB of storage and the rest is just regular internal memory (3.5 GBs roughly) . It's not going be enough to install KDE on it. >.<

Off to redo it. I guess the step
---
[the following is for an 8GB card; for a 2GB card use 1100 instead of 7100; for a 4GB card, use 3100; for a 16GB card, use 15100]
[If you want to understand this better, see this post.]
0,7100,0C [after entering this, the new prompt should end in p2]
,,, [that's right, you type three commas and click enter]
----

So where I wrote 3100 I need to put the equivilant MBs# for about 3 GBs?

qwerty12 2008-04-14 22:06

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
Quote:

Originally Posted by mooler (Post 169452)
I was wondering if I boot to flash memory, go into control panel>tools>Clear Device would that wipe out initfs? The only reason i am asking this is because I cloned my filesystem with plenty of apps installed and I was thinking that if I could format the internal flash and flash a fresh install of os2008 then I could go back in case I brick anything. N800 OS2008 53-1 cloned on 4gb SDHC

Is this possible? Is <Clear Device> safe

No, clear device doesn't touch initfs. But a reflash does.

If you do reflash original initfs, and if you still have initfs_flasher folder, go into it and run ./initfs_flash initfs.bootmenu.jffs2

binjinx 2008-04-14 22:37

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
There any reason why the card would be saying it cant copy/full when imaging the OS to SD ?? (thinking might be the SDHC card)

mooler 2008-04-14 22:48

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
Just cloned the os to 4gb SD Card and booting from the card it is saying that I only have 96mb left on the internal card, but 3.21gb on the Device. Is this how it is supposed to be? Because even if I boot to flash it says I only have 96mb left on the internal and 143mb on the device


Another question..I did a search but I couldnt find anything. Is it possible to edit the boot menu to remove/add entries, change the names of the entries and select which partition the tablet to boot to by default? Right now when i boot the tablet it goes into the boot menu and selects External MMC (N/A) and I want it to select Internal MMC and automatically boot into Internal MMC and change the timeout from 30sec to maybe 5sec

Also, holding the MENU key gives me the same bootmenu -- nothing advanced about it

Laughing Man 2008-04-14 23:35

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
mooler, which #s did you use when it came to the point where you had to enter "/dev/mmcblk0 -uM" and then you'd type in "/dev/mmcblk0p1: 0,3300,0C" and "/dev/mmcblk0p2: ,,,"?

Trying to get it so I have 128 MBs (or more if necessary) for my internal memory card and the rest for my device memory (to install KDE and apps). Currently using the instructions in the first post with "03100,0C" netted me with 500 MB of device memory and the rest of memory 3+ GBs for my internal memory card.

GeraldKo 2008-04-15 00:26

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
Quote:

Originally Posted by binjinx (Post 169850)
There any reason why the card would be saying it cant copy/full when imaging the OS to SD ?? (thinking might be the SDHC card)

I can't think of why (though you might get a better answer from a real Linux user/guru, like fanoush).

If it's the SDHC card, it ought to be solved by your formatting it per Step 2. My guess is that if it can be formatted that way, it isn't your problem. If you want to double-check further, also format it with Windows (if that's your computer OS) to FAT. If both those work, I'd be very doubtful the card is the problem.

bunanson has listed what cards are known to have worked for cloning.

GeraldKo 2008-04-15 00:45

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
Quote:

Originally Posted by mooler (Post 169854)
Another question..I did a search but I couldnt find anything. Is it possible to edit the boot menu to remove/add entries, change the names of the entries and select which partition the tablet to boot to by default? Right now when i boot the tablet it goes into the boot menu and selects External MMC (N/A) and I want it to select Internal MMC and automatically boot into Internal MMC and change the timeout from 30sec to maybe 5sec

There is a README from fanoush in the initfs_flasher folder you created in the cloning process. Check that out. Also, this thread.

binjinx 2008-04-15 00:54

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
ok figured out PQI 8gb SDHC class 6 cards WILL NOT work with 0,7100,0C or 0B partition setting need 7000 or lower (card shows up as 7.68 formated this normal for 8gb? might be issue with the card maker)

Anyways since thats figured out now what i need to know is anyone run into the issue of getting corrupt p2 on mmc ?? i did fsck everything is fine. Would the 2nd partition be shown on the flash boot (in fstab or mount?) cause it doesnt show up by default

GeraldKo 2008-04-15 01:12

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
Quote:

Originally Posted by binjinx (Post 169889)
ok figured out PQI 8gb SDHC class 6 cards WILL NOT work with 0,7100,0C or 0B partition setting need 7000 or lower (card shows up as 7.68 formated this normal for 8gb? might be issue with the card maker)


I think you're mistaken about those parameters not working on that card. It all depends on how much you want in each partition, but you ought to be able to flash into 256MB.

7.68 is certainly within the normal range. I think mine have been more like 7.5 to 7.6.

Glad you got it working!

binjinx 2008-04-15 01:17

Re: HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
 
Nope not mistaken 0,7100 would FAIL every time the OS was copied over saying CARD FULL etc.(12 attempts done all resulted in the same ending till i gave more room to the 2nd partition) Changed the size everything copied over flawlessly like it should have, like i said its prob. something with just this PQI 8gb card (yes LLF was done everytime)

Just trying to figure out this failed immc2 now


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

vBulletin® Version 3.8.8