Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-11 Thread Jay Vaughan
 Will report in case of success.

Great!  It'd be pretty nice if we could come up with an installable  
app that will just do the Copy from Flash to SD and re-configure to  
boot from SD process for an end user.  I'd find it quite useful - as  
a matter of fact I prefer to have my entire system on SD rather than  
flash, since I intend to load it to the gills with all possible  
applications I can find!  :)


;
--
Jay Vaughan





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-11 Thread Clemens Kirchgatterer
Olivier Berger [EMAIL PROTECTED] wrote:

 Thanks for your indications, but my goal is not to install a *new*
 system on the SD, but to *transfer* the current one to the SD.
 
 I guess it may be done from the FR itself... but I'm afraid it's
 difficult to move things from the very live system you're running.

cp -a /bin /dev /sbin ... /media/sdcard usually works for me on the
desktop. remember to leave out /proc /sys a.s.o. though.

hope this helps ...
clemens

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-11 Thread Olivier Berger
Clemens Kirchgatterer [EMAIL PROTECTED] writes:

 Olivier Berger [EMAIL PROTECTED] wrote:

 Thanks for your indications, but my goal is not to install a *new*
 system on the SD, but to *transfer* the current one to the SD.
 
 I guess it may be done from the FR itself... but I'm afraid it's
 difficult to move things from the very live system you're running.

 cp -a /bin /dev /sbin ... /media/sdcard usually works for me on the
 desktop. remember to leave out /proc /sys a.s.o. though.

 hope this helps ...

No problem here, as in the procedure I documented on the wiki, you're
copying a not-live system, as you copy from flash when running from
SD, so /proc and /sys are unmounted.

Best regards,

-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-10 Thread Olivier Berger
yochaigal [EMAIL PROTECTED] writes:

 The key is to follow the wikis--- but make sure
 you format and fill the sd card from a linux box, not from the phone.   do
 everything as root.  also, make sure to update your u-boot so that it can
 handle fat and ext file systems.  finally, be very careful in uploading the
 root filesystem -- -make sure you mount a .jffs2 (follow the wiki) on your
 linux box and then FROM that you should create a tarball --- -which you THEN
 and only THEN move over to the rootfs partition of the sd card.  Otherwise
 some important dev nodes get lost in the process.


 wiki I used to start:

 http://wiki.openmoko.org/wiki/Booting_from_SD


Thanks for your indications, but my goal is not to install a *new*
system on the SD, but to *transfer* the current one to the SD.

I guess it may be done from the FR itself... but I'm afraid it's
difficult to move things from the very live system you're running.

To do that on a desktop system, I would boot to single user
first... but what about on a FR ?

 
 Would you recommend a good procedure for moving my 2007.2 system to SD
 ? And would it run fine from SD too, once moved ?
 

Best regards,

-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-10 Thread arne anka
 I guess it may be done from the FR itself... but I'm afraid it's
 difficult to move things from the very live system you're running.

i'd think the only thing to care about would be /var/.
just as idea: rsync the whole of the fr to the sd card and diff after a  
while to see which parts changed. examine these files and see if you need  
to set something to default values.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-10 Thread Olivier Berger
arne anka [EMAIL PROTECTED] writes:

 I guess it may be done from the FR itself... but I'm afraid it's
 difficult to move things from the very live system you're running.

 i'd think the only thing to care about would be /var/.
 just as idea: rsync the whole of the fr to the sd card and diff after a  
 while to see which parts changed. examine these files and see if you need  
 to set something to default values.


Thanks for the tips.

I thought of another way to proceed in between, and started to
document it here :
http://wiki.openmoko.org/wiki/Moving_current_system_from_flash_to_SD

Basically, you boot into a system on SD, and then, from there, you
mount the root partition in flash and copy its contents to a backup
dir on the SD. Hopefully, the SD is big enough to hold two systems.

I've tested it and I have my backup of OM 2007.2 on SD.

Now I need to test if I can boot it on the SD. If it succeeds, I will
then be able to flash OM 2008.8, and have switched between flash and
SD.

Dual booting is cool ;)

Will try and report on success/problems.

Best regards,

-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-10 Thread Jay Vaughan
 I thought of another way to proceed in between, and started to
 document it here :
 http://wiki.openmoko.org/wiki/Moving_current_system_from_flash_to_SD


Great work!  I was going to do something similar to this myself this  
weekend but I'll wait to hear of your results before I do! :)

;
--
Jay Vaughan





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-10 Thread Olivier Berger
Jay Vaughan [EMAIL PROTECTED] writes:

 I thought of another way to proceed in between, and started to
 document it here :
 http://wiki.openmoko.org/wiki/Moving_current_system_from_flash_to_SD


 Great work!  I was going to do something similar to this myself this  
 weekend but I'll wait to hear of your results before I do! :)


One issue I've found is that cp -a didn't relyably copy from MTD/flash
to SD 5 or 6 files.

After diff -r on dirs I found out which and md5sumed them...

That's rather frightening, I think :(

Anyway, I copied them over again, and am now trying to figure out if I
can boot OK with right kernel and if it goes well.

Will report in case of success.
-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-10 Thread Yaroslav Halchenko
you better off using cpio or rsync imho for copying filesystems entirely
since they know more about devices/pipes/etc

On Sun, 10 Aug 2008, Olivier Berger wrote:

 One issue I've found is that cp -a didn't relyably copy from MTD/flash
 to SD 5 or 6 files.

 After diff -r on dirs I found out which and md5sumed them...

 That's rather frightening, I think :(

 Anyway, I copied them over again, and am now trying to figure out if I
 can boot OK with right kernel and if it goes well.

 Will report in case of success.
-- 
  .-.
=--   /v\  =
Keep in touch// \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko  /(   )\   ICQ#: 60653192
   Linux User^^-^^[17]



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-10 Thread Olivier Berger
Yaroslav Halchenko [EMAIL PROTECTED] writes:

 you better off using cpio or rsync imho for copying filesystems entirely
 since they know more about devices/pipes/etc


You may be right, although on a typical Debian system, I tend to trust
cp -a... Now, it may be a busybox version, with other bugs... or maybe
it's a filesystem reliability issue, and tools won't change that (I
tend to prefer that second option, as copying again same files, but
individually achieved proper md5sums...)

In any case, I suggest that you update
http://wiki.openmoko.org/wiki/Moving_current_system_from_flash_to_SD
if you would like to test and document your findings with other
tools.

 On Sun, 10 Aug 2008, Olivier Berger wrote:

 One issue I've found is that cp -a didn't relyably copy from MTD/flash
 to SD 5 or 6 files.


Thanks.

Best regards,
-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution : SUCCESS

2008-08-10 Thread Olivier Berger
Olivier Berger [EMAIL PROTECTED] writes:

 Jay Vaughan [EMAIL PROTECTED] writes:

 I thought of another way to proceed in between, and started to
 document it here :
 http://wiki.openmoko.org/wiki/Moving_current_system_from_flash_to_SD


 Great work!  I was going to do something similar to this myself this  
 weekend but I'll wait to hear of your results before I do! :)


 One issue I've found is that cp -a didn't relyably copy from MTD/flash
 to SD 5 or 6 files.

 After diff -r on dirs I found out which and md5sumed them...

 That's rather frightening, I think :(

 Anyway, I copied them over again, and am now trying to figure out if I
 can boot OK with right kernel and if it goes well.

 Will report in case of success.

Once the copying issues are sorted out, it seems to work.

So, as far as I can see, the procedure is a success :-)

Hope this helps.

Best regards,

P.S.: now I can dual boot : placing calls from SD with OM 2007.2 or
receiving calls from flash with 2008.8 : both have bugs, but oposite
ones ;-(
-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-10 Thread Yaroslav Halchenko
 In any case, I suggest that you update
 http://wiki.openmoko.org/wiki/Moving_current_system_from_flash_to_SD
 if you would like to test and document your findings with other
 tools.
done (though I haven't tested them for this particular purpose yet...)
-- 
  .-.
=--   /v\  =
Keep in touch// \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko  /(   )\   ICQ#: 60653192
   Linux User^^-^^[17]



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-09 Thread Olivier Berger
Hi.

I thought of moving my currently running (quite fine alhough the usual
problems, i.e. I can place calls anyway) 2007.2 system to microSD, so
that I could flash the new 2008.8 image and run it from flash (it
seems I cannot manage to run it from SD, btw).

Would you recommend a good procedure for moving my 2007.2 system to SD
? And would it run fine from SD too, once moved ?

Thanks in advance.

Best regards,
-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Moving my 2007.2 to SD to try 2008.8 with fallback solution

2008-08-09 Thread yochaigal

I currently have Qtopia on my microSD, it doesn't work 100% but enough to use
it as a backup phone OS.  The key is to follow the wikis--- but make sure
you format and fill the sd card from a linux box, not from the phone.   do
everything as root.  also, make sure to update your u-boot so that it can
handle fat and ext file systems.  finally, be very careful in uploading the
root filesystem -- -make sure you mount a .jffs2 (follow the wiki) on your
linux box and then FROM that you should create a tarball --- -which you THEN
and only THEN move over to the rootfs partition of the sd card.  Otherwise
some important dev nodes get lost in the process.


wiki I used to start:

http://wiki.openmoko.org/wiki/Booting_from_SD


good luck

yochai

Olivier Berger wrote:
 
 Hi.
 
 I thought of moving my currently running (quite fine alhough the usual
 problems, i.e. I can place calls anyway) 2007.2 system to microSD, so
 that I could flash the new 2008.8 image and run it from flash (it
 seems I cannot manage to run it from SD, btw).
 
 Would you recommend a good procedure for moving my 2007.2 system to SD
 ? And would it run fine from SD too, once moved ?
 
 Thanks in advance.
 
 Best regards,
 -- 
 Olivier BERGER 
 (OpenPGP: 1024D/B4C5F37F)
 http://www.olivierberger.com/weblog/
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/Moving-my-2007.2-to-SD-to-try-2008.8-with-fallback-solution-tp682485p683408.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community