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)

bootdoc 2008-05-17 23:26

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
OK, I have read this whole post (very interesting). I want to install kde on my n810. what I would like to know is, why clone the os to the 2g internal card??

Laughing Man 2008-05-18 01:56

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
In case you ever want to remove the external card? It's similar for the n800, it takes more work to remove the internal, versus the external. So your less likely to take it out.

penguinbait 2008-05-18 20:11

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

Originally Posted by bootdoc (Post 182784)
OK, I have read this whole post (very interesting). I want to install kde on my n810. what I would like to know is, why clone the os to the 2g internal card??

You can clone to internal or external card. install-tools.deb will install to 810 internal, (external card must not be present during installation)

install-tools-N810e.deb will install to 810 external card.

There is not enough space in flash memory (where the os lives) to install KDE, you must boot from SD in order to have enough space to install KDE.

OSEmuTech 2008-05-21 01:07

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I've done a search on this forum and see this problem has been mentioned before, but I couldn't find any solution.

I finally used this package to clone my OS 2008 to a 1GB SD card successfully. Everything works great, except I can't connect to my router anymore. I deleted the connection entry and retried, rebooted the N800, unplugged and plugged my router, shut off the encryption, but still get "Network connection error. Try again? (OK/Cancel)" whenever I try connecting.

Is there another post with the solution?

OSEmuTech 2008-05-21 01:35

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Hum. This was because I used the SD card cloned from one N800 with another N800. Now that the card is back in the originally cloned system, it is able to connect. Does this have something to do with the MAC address of each N800? Is there something I can edit to make the card work with the N800 that the system wasn't cloned on?

Aisu 2008-05-21 02:19

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Confirmed working on N810 running Diablo :D

PB, you are a genius. Off to the automated KDE install, now ;)

Amazing work, mon amie!

joepagiii 2008-05-21 12:16

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
gonna put my log up here....i read where i went wrong....someone tell me if i
m correct
hildon-application-manager 2.0.2
/usr/bin/dpkg-deb -f '/home/user/MyDocs/install-tools.deb'
/usr/bin/dpkg --install '/home/user/MyDocs/install-tools.deb'
(Reading database ... 29900 files and directories currently installed.)
Preparing to replace install-tools 1.0.0-2 (using .../user/MyDocs/install-tools.deb) ...
Unpacking replacement install-tools ...
Setting up install-tools (1.0.0-2) ...
./
./lib/
./lib/libext2fs.so.2.4
./lib/libe2p.so.2.3
./lib/libext2fs.so.2
./lib/libe2p.so.2
./lib/libblkid.so.1.0
./lib/libblkid.so.1
./lib/libcom_err.so.2.1
./lib/libcom_err.so.2
./lib/libss.so.2.0
./lib/libss.so.2
./lib/libuuid.so.1.2
./lib/libuuid.so.1
./usr/
./usr/share/
./usr/share/locale/
./usr/share/locale/cs/
./usr/share/locale/cs/LC_MESSAGES/
./usr/share/locale/cs/LC_MESSAGES/e2fsprogs.mo
./usr/share/locale/de/
./usr/share/locale/de/LC_MESSAGES/
./usr/share/locale/de/LC_MESSAGES/e2fsprogs.mo
./usr/share/locale/es/
./usr/share/locale/es/LC_MESSAGES/
./usr/share/locale/es/LC_MESSAGES/e2fsprogs.mo
./usr/share/locale/fr/
./usr/share/locale/fr/LC_MESSAGES/
./usr/share/locale/fr/LC_MESSAGES/e2fsprogs.mo
./usr/share/locale/it/
./usr/share/locale/it/LC_MESSAGES/
./usr/share/locale/it/LC_MESSAGES/e2fsprogs.mo
./usr/share/locale/sv/
./usr/share/locale/sv/LC_MESSAGES/
./usr/share/locale/sv/LC_MESSAGES/e2fsprogs.mo
./usr/share/locale/tr/
./usr/share/locale/tr/LC_MESSAGES/
./usr/share/locale/tr/LC_MESSAGES/e2fsprogs.mo
./usr/share/locale/pl/
./usr/share/locale/pl/LC_MESSAGES/
./usr/share/locale/pl/LC_MESSAGES/e2fsprogs.mo
./usr/share/initrd-tools/
./usr/share/initrd-tools/scripts/
./usr/share/initrd-tools/scripts/e2fsprogs
./usr/share/e2fsprogs/
./usr/share/e2fsprogs/initrd.ext3-add-journal
./usr/bin/
./usr/bin/chattr
./usr/bin/lsattr
./usr/bin/uuidgen
./usr/sbin/
./usr/sbin/mklost+found
./usr/sbin/filefrag
./usr/lib/
./usr/lib/e2initrd_helper
./sbin/
./sbin/e2fsck
./sbin/fsck.ext2
./sbin/fsck.ext3
./sbin/debugfs
./sbin/mke2fs
./sbin/badblocks
./sbin/tune2fs
./sbin/dumpe2fs
./sbin/logsave
./sbin/e2image
./sbin/fsck
./sbin/mkfs.ext2
./sbin/mkfs.ext3
./sbin/e2label
./sbin/findfs
./sbin/resize2fs
./sbin/blkid
etc/
etc/init.d/
etc/init.d/local.sh
etc/init.d/locald.sh
etc/rc2.d/
etc/rc2.d/S90local
root/.linus/linus.wav
install-tools/
install-tools/README.txt
install-tools/utelnetd.osso-RX-44.2007-44.tgz
install-tools/part-inst.sh~
install-tools/to_remove.lst
install-tools/bootmenu.conf.n8x0.example
install-tools/initfs.osso-RX-44.2007-46.tgz
install-tools/initfs.osso-n770.2006-48.tgz
install-tools/initfs_flash~
install-tools/dropbear.osso-RX-34.2007-24.tgz
install-tools/initfs.bootmenu.jffs2
install-tools/dropbear.osso-RX-44.2007-49.tgz
install-tools/dropbear.osso-RX-44.2007-44.tgz
install-tools/bootmenu.sh
install-tools/utelnetd.osso-RX-34.2007-38.tgz
install-tools/initfs.osso-RX-34.2007-38.tgz
install-tools/utelnetd.osso-RX-34.2007-24.tgz
install-tools/initfs.osso-n770.2006-25.tgz
install-tools/utelnetd.osso-RX-44.2007-49.tgz
install-tools/initfs.osso-n770.2006-38.tgz
install-tools/mkfs.jffs2
install-tools/initfs.osso-RX-34.2007-10.tgz
install-tools/flash_eraseall
install-tools/nanddump
install-tools/bootmenu.conf.n770.example
install-tools/tar
install-tools/initfs.osso-RX-44.2007-44.tgz
install-tools/dropbear.osso-RX-44.2007-46.tgz
install-tools/initfs.osso-RX-34.2006-51.tgz
install-tools/utelnetd.osso-RX-44.2007-43.tgz
install-tools/part-inst.sh
install-tools/initfs.osso-RX-44.2007-43.tgz
install-tools/bootmenu.conf
install-tools/nandwrite
install-tools/dropbear.osso-RX-44.2007-43.tgz
install-tools/initfs_flash
install-tools/dropbear.osso-n770.2006-48.tgz
install-tools/utelnetd.osso-n770.2006-25.tgz
install-tools/dropbear.osso-n770.2006-38.tgz
install-tools/dropbear.osso-RX-34.2007-10.tgz
install-tools/initfs.orig.jffs2
install-tools/utelnetd.osso-RX-34.2007-10.tgz
install-tools/bootmenu.conf~
install-tools/utelnetd.osso-n770.2006-38.tgz
install-tools/utelnetd.osso-n770.2006-48.tgz
install-tools/initfs.osso-RX-44.2007-49.tgz
install-tools/initfs.osso-RX-34.2007-24.tgz
install-tools/sumtool
install-tools/dropbear.osso-RX-34.2007-38.tgz
install-tools/utelnetd.osso-RX-44.2007-46.tgz
install-tools/dropbear.osso-n770.2006-25.tgz
IT APPEARS YOU HAVE MORE THAN ONE SD/MMC CARD INSERTED, PLEASE REMOVE THE EXTRA CARD
ONLY 1 SD/MMC CARD MAY BE PRESENT DURING INSTALLATION.
dpkg: error processing install-tools (--install):
subprocess post-installation script returned error exit status 98
Errors were encountered while processing:
install-tools

joepagiii 2008-05-21 12:30

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
real dumb does any app stop this from working....i have powerlaunch and personal menu i keep getting cant install errors...removed second card...just 1 8 gig adata speedyerrors...then the card is corrupt...got to go eat...and feed the troops...just point to what im doing wrong and howto fix...
update redoing it....taking forever to update install tools....the kid wants fed....gonna go do that....hope it works

joepagiii 2008-05-21 13:06

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
i did it ...woo hoo...thanks you...for writing this great app.....one question...does using a faster card sandisk 8 gig extreem 3 makea big difference...im using an adata speedy...8 gig class 6

joepagiii 2008-05-21 23:39

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
switched to the sandisk...works better...thanks

penguinbait 2008-05-21 23:42

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

Originally Posted by joepagiii (Post 184446)
switched to the sandisk...works better...thanks

Do you have some speed tests you can share?

joepagiii 2008-05-21 23:48

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
well no actually i dont...wish i new how to do that trick...i would gladly do it i kept the other adata card and even winimaged it....dont know if that would work but worth a try
Edit : will test both tommorow...found info on another thread

Westy 2008-05-26 15:38

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Hi Penguinbait, your site is down (penguinbait.com) as per time logged on this note.

penguinbait 2008-05-26 17:48

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
And its back :)

sorry for the inconvenience, I blame Comcast :)

Westy 2008-05-26 19:16

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
So it is... ace. A poke in the eye from me to Comcast.

Westy 2008-05-26 20:03

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

Have your thought to make this DEB to make your system boot from SD
drive so it has two bootable drives on an 8 meg card or similar.

Then we can have one for KDE and one for debian. This would be super cool

joepagiii 2008-05-26 20:06

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
penguinbait...we used to refer to comcast as commiecast

penguinbait 2008-05-26 21:02

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

Originally Posted by Westy (Post 186008)
Hi again

Have your thought to make this DEB to make your system boot from SD
drive so it has two bootable drives on an 8 meg card or similar.

Then we can have one for KDE and one for debian. This would be super cool

I am going to make a change to allow people to specifiy the partition sizes for FAT and swap I will take a look and see what I can do, might be doable, might be a giant pain, so no promises :)

gemniii42 2008-05-26 21:50

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

Originally Posted by penguinbait (Post 186027)
I am going to make a change to allow people to specifiy the partition sizes for FAT and swap I will take a look and see what I can do, might be doable, might be a giant pain, so no promises :)

PB - Do you have a timeline on that change?
thanks

alfa2536 2008-05-28 04:33

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Thank you for the great program. Easy enough for a linux newbie like me to install. However, I have a question. I cloned the OS to a 2GB mmc2 on my N800. I can only boot into the cloned SD when no SD card is inserted into the mmc1. If I insert the SD into mmc1 after the Tablet is booted into the cloned SD, the system freezes up. Please help.

Meraxupypr 2008-05-28 05:52

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
yeah, it will be great, cos now my 16Gb sd crashes when I try to install.

penguinbait 2008-05-28 14:47

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
what do you mean, what crashes when you install what?

Can you also define crashes?

thorbo 2008-05-28 16:12

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

I have read the thread pretty carefully, but perhaps I missed the details, so... what is the benefit of this cloning for a regular user of an n800. for example, I have a setup that works for me, and I am accessing data on my internal card for tools like MM. If I copy all those file to my external card (like to a backup directory), run your cloning tool and then copy back the previously backed up directory structure, will they work as they did before, or will I have to re-associate all those directories?

Furthermore, will this functionally give me more "working" memory for applications, or do I have to remove all the apps from my flash based image in order to free up memory? I really want to install more apps, but feel like I am running out of system memory to do it... it seems as those the cloning will make more of that memory free (on the card), but that is what I am not sure about. I would be cloning to a 4 gig card.

Hopefully these questions are not entirely self evident... it has been years since I played with this kind of thing. Any answer would be appreciated.

Regards,

Thor

alfa2536 2008-05-28 16:55

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I finally got mine boot into the internal SD with the external SD inserted. Just leave the system alone for about 5 min during boot up process and it worked. Is this normal to take this long to boot into the SD? Can someone share their average time to boot into the SD?

joepagiii 2008-05-28 17:13

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
let me reboot....and time it for you...it may depend on your card type i use a sandisk 8 gig sdhc extreem 3.....tkes 1 minute 33 seconds for a reboot....cold start.....1 min 40 seconds

Meraxupypr 2008-05-28 22:43

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
penguinbait
I run install, then it fails. After that I can't access sd card, and tablet suggest to format it.

joepagiii 2008-05-28 22:45

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
i remeber reading to reboot the rerun the install

penguinbait 2008-05-29 02:54

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

Originally Posted by haoside (Post 181967)
is it possible use firesystem with EXT3

It is now!

Quote:

Originally Posted by Westy (Post 186008)
Hi again

Have your thought to make this DEB to make your system boot from SD
drive so it has two bootable drives on an 8 meg card or similar.

Then we can have one for KDE and one for debian. This would be super cool

Now you can, not a deb but just as easy

Quote:

Originally Posted by gemniii42 (Post 186041)
PB - Do you have a timeline on that change?
thanks

its done

http://www.internettablettalk.com/fo...776#post186776

Westy 2008-05-29 14:02

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
You are just forum sexyness... well done. Ths is rather exciting... now where did I put my Debian download!?

OSEmuTech 2008-06-01 00:13

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

Originally Posted by OSEmuTech (Post 183907)
I've done a search on this forum and see this problem has been mentioned before, but I couldn't find any solution.

I finally used this package to clone my OS 2008 to a 1GB SD card successfully. Everything works great, except I can't connect to my router anymore. I deleted the connection entry and retried, rebooted the N800, unplugged and plugged my router, shut off the encryption, but still get "Network connection error. Try again? (OK/Cancel)" whenever I try connecting.

Is there another post with the solution?

I just cloned OS 2008 to a 8GB card, installed OS 2007 on flash, setup the dual-booting using "clonegk" (steps 4,5,6,8), and was about to try out KDE on OS 2008, but once again this "Network connection error. Try again?" comes up. :(

penguinbait 2008-06-01 00:25

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

Originally Posted by OSEmuTech (Post 187593)
I just cloned OS 2008 to a 8GB card, installed OS 2007 on flash, setup the dual-booting using "clonegk" (steps 4,5,6,8), and was about to try out KDE on OS 2008, but once again this "Network connection error. Try again?" comes up. :(

I have no idea what you are talking about? Dont know what clonegk is.

Can you please be more specific as to what you are doing and how you are doing it?

OSEmuTech 2008-06-01 01:12

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
clonegk is just a collection of packages GeraldKo put together. (It can be used to setup the boot options again after using your package.)

From step 5 of HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting

"Navigate to, and open, clonegk, within Documents.
E. Click, or double-click, becomeroot. Install? OK. Not from Nokia, continue anyway? OK.
F. Return to File Manager, leaving Application Manager open. Install these files from clonegk in the following order: e2fslibs, libblkid, libcomerr, libss, libuuid, e2fsprogs"

I cloned my OS 2008 using your deb, flashed with OS 2007, used step 4,5,6, 8 from the thread linked to above, and can now choose between booting into OS 2007 installed on Flash memory, or OS 2008 installed on a 8GB SD card.

OSEmuTech 2008-06-01 01:49

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I'm doing fresh installs of everything as something may have disagreed with the OS 2008 cloning (kernel rotation installed, etc.).

Update: Nope. After cloning a fresh OS 2008 to SD card, I can connect to my router after booting from the card. Flashing the internal memory with OS 2007 let's me connect to my router. But after reinstalling the boot loader and booting into OS 2008 on the card I cannot connect to my router and sound no longer works.

Too bad. It would be neat to dual boot OS 2007 and OS 2008 for some of us.

gwalborn 2008-06-01 03:20

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Well, I think I found my problem.... I tried a low level format as suggested, but it did exactly the same thing. It installed, booted once or twice, and then failed to reboot. I read the list of approved cards, but I do not own any of those cards, so I was using what I had. Actually, I tried two different cards, to no avail. Out of desperation, I tried a third card and SO FAR, everything seems good. I installed to the third card and have been running for over a day with no problem (knock on wood). I'll post in a few days and let you know how it's going. So a message to all "dual booters" -- memory cards are not created equal!

Thanks to everyone for their suggestions.

Gary Walborn
gwalborn@gmail.com

penguinbait 2008-06-01 22:21

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

Originally Posted by gwalborn (Post 187616)
Well, I think I found my problem.... I tried a low level format as suggested, but it did exactly the same thing. It installed, booted once or twice, and then failed to reboot. I read the list of approved cards, but I do not own any of those cards, so I was using what I had. Actually, I tried two different cards, to no avail. Out of desperation, I tried a third card and SO FAR, everything seems good. I installed to the third card and have been running for over a day with no problem (knock on wood). I'll post in a few days and let you know how it's going. So a message to all "dual booters" -- memory cards are not created equal!

Thanks to everyone for their suggestions.

Gary Walborn
gwalborn@gmail.com


What list are you referring to?

I think you meant to post in?:
http://www.internettablettalk.com/fo...=18751&page=18

gwalborn 2008-06-01 23:31

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I believe that

Quote:

Originally Posted by penguinbait (Post 187790)
What list are you referring to?

I think you meant to post in?:
http://www.internettablettalk.com/fo...=18751&page=18


is the post I referred to. It lists about 8 or so cards that have been used with success. The cards that did NOT work correctly were:

a 4 GB connect 3d secure data card
a 2 GB pqi card

I am now using a 4 GB RiData SDHC card with success.

I posted here because it was here that I posted my failure to use the 'easy' cloning procedure in the first post. Apparently some cards will not work even with a "low level format". It would be nice if there were a predictor for which cards might/might not work, but I'm not sure such a thing is possible.



Gary Walborn
gwalborn@gmail.com

penguinbait 2008-06-01 23:52

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

Originally Posted by gwalborn (Post 187798)
I believe that




is the post I referred to. It lists about 8 or so cards that have been used with success. The cards that did NOT work correctly were:

a 4 GB connect 3d secure data card
a 2 GB pqi card

I am now using a 4 GB RiData SDHC card with success.

I posted here because it was here that I posted my failure to use the 'easy' cloning procedure in the first post. Apparently some cards will not work even with a "low level format". It would be nice if there were a predictor for which cards might/might not work, but I'm not sure such a thing is possible.



Gary Walborn
gwalborn@gmail.com


I honestly have only tested my deb on my cards, and I always buy kingston, because I thnk they are good quality. That said unless the card just does not function inside the hardware, I would think that the cards could be used with my deb.

If you have a card thats not working, install the deb and post the failure.

Is this the post you are referring to? Because it was not in this thread, thats why I was confused?

Thread:
HOW TO: Simplest and Complete Cloning of OS to MMC; Dual-Booting
http://www.internettablettalk.com/fo...d.php?p=187296

Quote:

Originally Posted by gwalborn (Post 187296)
Is the procedure in the first post in this thread still applicable? I have an N800 w/ RX-34_2008SE_2.2007.51-3_PR_COMBINED_MR0_ARM.bin. Everything works and I can boot from the flash card ONCE. Then, when I reboot, I get "failed to boot from immc2, booting from flash", and then the unit boots from the original flash. I'd appreciate any advice on how to debug or fix this.

Thanks,

Gary Walborn
gwalborn@gmail.com

And by the way, the answer to the problem here ^

Just to reinstall the deb 1 more time. It tried to copy the data but it needed a reboot first.

andrewfblack 2008-06-02 17:08

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
hey this might have been gone over before but I was wondering if I could set up my N810 to boot from the interal card I some times change out my external card since I don't have an 8GB one yet. This way I could have atleast 2GB for my OS and software.

penguinbait 2008-06-02 17:16

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

Originally Posted by andrewfblack (Post 187997)
hey this might have been gone over before but I was wondering if I could set up my N810 to boot from the interal card I some times change out my external card since I don't have an 8GB one yet. This way I could have atleast 2GB for my OS and software.

On 810

install-tools.deb will install to internal 2GB

install-tools-N810e.deb will install to external card

Machster 2008-06-03 01:44

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I have downloaded install-tools to flash several times but Application manager complains that the file is corrupted with 0kb. File manager says it is 4.8MB. The log states that it is not a debian format archive.


All times are GMT. The time now is 13:18.

vBulletin® Version 3.8.8