maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2007 / Maemo 3 / Bora (https://talk.maemo.org/forumdisplay.php?f=23)
-   -   Cloning OS to SD Card: Simplified instructions (https://talk.maemo.org/showthread.php?t=8631)

fanoush 2007-11-05 08:30

Re: Cloning OS to SD Card: Simplified instructions
 
Quote:

Originally Posted by JeffElkins (Post 90340)
fstab: /dev/mmcblk1p1 /media/mmc1 ext3 defaults 0 0 will allow me to manually mount the card (as root), but it does not mount automatically... fstab: /dev/mmcblk1p1 /media/mmc1 ext3 rw,auto,exec,user 0 0 fails altogether. No matter I guess, the init.d script works :)

You may also try to edit /usr/sbin/mmc-mount, now it looks like this
Code:

#!/bin/sh
mount -t vfat -o rw,noauto,nodev,noexec,nosuid,utf8,uid=29999,shortname=mixed,dmask=000 "$1" "$2" > /dev/null

which is not good for ext3
Quote:

Originally Posted by JeffElkins (Post 90340)
I hope the cloning procedure works w/o much changing when chinook becomes available!

Yes, cloning will be similar. What may be a bit different is the bootmenu code. Also the internal hardwired 2GB card in N810 is already preformatted and has some data so this may need some extra care.

BTW, if anyone has access to some beta 2008 firmware (N810 and/or N800) I would be interested in initfs image or at least full list of files (cd /mnt/initfs ; ls -lR) and output of cat /mnt/initfs/linuxrc (i.e. whole linuxrc file).

maxilogan 2007-11-12 14:52

Re: Cloning OS to SD Card: Simplified instructions
 
What do I get by living on the Sardine bleeding edge? Anything better / more usable then regular OS2007? (what in regards to OS2008?)

And, sorry.. I did not understand from the section
"Steps 5 and 6 are optional and may be performed in order to upgrade the freshly cloned OS 2007 (not OS 2006 or OS 2007HE) to the Sardine bleeding edge test distribution
o 5 - Enter chroot gaol prior to upgrading cloned OS on memory card
o 6 - Initiate Sardine operating system upgrade of cloned OS on memory card"

if I have to start the freshly cloned OS then perform those steps or if I still have to do 5 and 6 when running "regular" internal memory OS..

Milhouse 2007-11-12 20:40

Re: Cloning OS to SD Card: Simplified instructions
 
Quote:

Originally Posted by maxilogan (Post 93538)
What do I get by living on the Sardine bleeding edge? Anything better / more usable then regular OS2007? (what in regards to OS2008?)

Not a lot right now as Sardine has been "broken" for several weeks meaning it's not possible to boot from the MMC oncer Sardine has been applied. When it was working, the device was in theory running the latest available code however it was often unusable in practice (although the finger friendly menus due in OS 2008 were visible months ago and looked kinda nice). :)

Quote:

Originally Posted by maxilogan (Post 93538)
And, sorry.. I did not understand from the section
"Steps 5 and 6 are optional and may be performed in order to upgrade the freshly cloned OS 2007 (not OS 2006 or OS 2007HE) to the Sardine bleeding edge test distribution
o 5 - Enter chroot gaol prior to upgrading cloned OS on memory card
o 6 - Initiate Sardine operating system upgrade of cloned OS on memory card"

if I have to start the freshly cloned OS then perform those steps or if I still have to do 5 and 6 when running "regular" internal memory OS..

You run steps 5 and 6 when you have booted from internal flash as these two steps upgrade the OS that is now located on MMC/SD - it's not possible to upgrade the OS on MMC/SD if you have booted from MMC/SD! :)

maxilogan 2007-11-12 22:06

Re: Cloning OS to SD Card: Simplified instructions
 
[QUOTE=Milhouse;93706]Not a lot right now as Sardine has been "broken" for several weeks meaning it's not possible to boot from the MMC oncer Sardine has been applied.[QUOTE]

Ok, so basically it's better to wait OS2008 to be ready even if this means 2-3 weeks, I guess :(

Milhouse 2007-11-14 20:01

Re: Cloning OS to SD Card: Simplified instructions
 
I've updated the "nupgrade.sh" script to include OS2008 support for steps 0 through 4 - I haven't tested Sardine upgrades yet on OS2008 and don't advise it for now!

To install e2fsprogs and wget in OS2008 see this post from Fanoush.

killdog5000 2007-11-14 21:12

Re: Cloning OS to SD Card: Simplified instructions
 
Thanks Milhouse. Funny thing was last night the nupgrade wasn't working (well unavailable i got a 404 error in wget). Now it does great

BOFH 2007-11-27 20:45

Re: Cloning OS to SD Card: Simplified instructions
 
Has anybody ported a full version of Tar?
I'm getting the following error;

Quote:


tar: unrecognized option `--exclude=/sys'

Or does anybody know a better way of tar-ing a full OS install, I'm currently running 2008 N810 version on a N800?

JeffElkins 2007-11-27 22:55

Re: Cloning OS to SD Card: Simplified instructions
 
Quote:

Originally Posted by BOFH (Post 100939)
Has anybody ported a full version of Tar?
I'm getting the following error;

I have gnu tar in my OS2008 repository.

deb http://elkins.org/packages chinook main

bunanson 2007-12-01 15:29

Re: Cloning OS to SD Card: Simplified instructions
 
Quote:

Originally Posted by JeffElkins (Post 101044)
I have gnu tar in my OS2008 repository.

deb http://elkins.org/packages chinook main

The above link needs a permission?!:confused:

bun

JeffElkins 2007-12-01 15:35

Re: Cloning OS to SD Card: Simplified instructions
 
Quote:

Originally Posted by bunanson (Post 103137)
The above link needs a permission?!:confused: bun

What error do you get Bun? It works for me from both apt-get and the applications manager.


All times are GMT. The time now is 17:27.

vBulletin® Version 3.8.8