maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Step by step guide: 48Mhz kernel and MMC boot clone (https://talk.maemo.org/showthread.php?t=22155)

brian911 2009-01-24 19:51

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Hi bunanson,

I followed your guide with the sole exception of specifying an ext3 partition instead of ext2. However, when I tried to boot to MMC2 (mmcblk0p2), it tells me it failed.

Funny enough, I can mount it manually after the failed boot.

I checked the bootmenu.conf in my \mnt\initfs directory and penguin's script seems to have created it properly. Any clues on how to get this working??

brian911 2009-01-24 20:02

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Okay..... I tried booting from menu option 3 (mmc12) and it worked.... Huh.

N-Binky 2009-03-01 13:06

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Thank you. Everything went well until I started ./clone.sh, where I get:

./clone.sh: line 10: sfdisk: not found
./clone.sh: line 12: sfdisk: not found
expr: non-numeric argument
expr: syntax error
STARTING PARTITIONING NOW
/root/install-tools/part.sh: line 2: sfdisk: not found
./clone.sh: line 165: sfdisk: not found
./clone.sh: line 170: sfdisk: not found
STARTING FILESYSTEM CLONE - MAY TAKE A FEW MINUTES - PLEASE WAIT
mount: mounting /dev/mmcblk0p2 on /dsk2 failed

ERROR ERROR ERROR ERROR ERROR

SD CARD NOT ABLE TO MOUNT AFTER PARTITIONING
TRY EJECTING SD CARD AND RE-RUN THE INSTALL SCRIPT
IF YOU EJECTED IT AND IT FAILED AGAIN REBOOT AND RE-RUN THE SCRIPT

ERROR ERROR ERROR ERROR ERROR

I did so with the MMC and I can't get it to work.
I don't know why it mounts on /dsk2, but I shouldn't care about it and let the experts think about it... but, I have no idea of what sfdisk is and why isn't found.

I thought: maybe I forgot to uncheck swap, but MMC is not mounted, so I can't have flash enabled...

Hope you all can help me.

TIA, Binky.

bunanson 2009-03-01 13:18

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
You are NOT root. You have to be root when ./clone.sh


bun

N-Binky 2009-03-01 13:21

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
I am root, but I used rootsh instead of becomeroot, because Eko One repository is down and not available anymore, I can't find becomeroot (at least in OS2008HE).

bunanson 2009-03-01 13:41

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
xterm
sudo gainroot
sfdisk

and what err message you got?

bun

N-Binky 2009-03-01 14:00

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
-sh: sfdisk: not found

sfdisk is not available in the app manager and I can't do apt-get install sfdisk because from terminal, I can't cofigure the debs, it says that ldconfig is missing -_-

Binky.

N-Binky 2009-03-01 14:15

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Well, you were right in some way, because I installed sudser and opened a root shell ("rush") and it seems to be working now... although it hasn't finished yet. Anyway, thank you very much for your help.

Binky

bunanson 2009-03-01 14:59

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Does it work? I want to know too........ :)

bun

N-Binky 2009-03-01 15:18

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
I installed the SDHC 48 MHz kernel and it's taking more than 45 minutes... so I'll tell you later if it works.

Binky

N-Binky 2009-03-01 17:27

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
It seems that due my INTERNAL.txt now I can boot from 3 places O_O

It was

FAT 128
SWAP 128
1 ext2
TIMEOUT 10

And bootmenu gives me the chance to boot from
Flash
Internal Card ext2
Internal Card ext3

(or something like that)

Also, ./clone.sh only finished 1º part, when doing the second my tablet turned off... but since I can boot from Internal Card ext2 and Internal Flash (haven't tried the third option) It seems to don't matter.

So thank you.

Binky


All times are GMT. The time now is 21:49.

vBulletin® Version 3.8.8