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)

Peet 2008-06-24 12:47

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Now that Diablo was unleashed we could probably use an updated system-cloner.deb... :o

It's been great running Chinook off SD card but now we should probably start planning backing up our apps and settings in preparation for the next round.

lm2 2008-06-24 15:21

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
With the release of Diablo I decided to give this a try (since I didn't want to have to reflash if things went pear-shaped).

Installed on a 2gb sd and everything worked great. Except: it seems to have left just 120.9 mb free on card. (Details for Card say "Total Size: 120.9 MB / In use: 1 kb / Available: 120.9".)

I was under the impression that when using a 2gb card, one could clone OS AND install KDE. But for reading your KDE thread, 120.9 is too little space to do this.

Am I just confused?

Thanks!

EDIT: It must have to do with the files I have stored on the flash, huh? If that's the answer, then ignore me, as I deserved to be ignored!

EDIT2: OK, just realized I'll need to uninstall items from card in order to free up space. Perhaps my stupidity will help out another perpetual newbie. ;)

lm2 2008-06-24 16:43

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Sorry, but I'm coming back for more!

I did a fresh flash of chinook, then cloned it to SD using PB's .deb. And even using a fresh flash, there appears to be only 120.9 MB free on SD. So how can I also use KDE .deb in conjunction with clone .deb, when I "should" have "about 340MB free" after installing KDE?

Do I really have to go through the application list and uninstall everything I can until I have enough room on SD card??

penguinbait 2008-06-25 01:26

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

Originally Posted by Peet (Post 194921)
Now that Diablo was unleashed we could probably use an updated system-cloner.deb... :o

It's been great running Chinook off SD card but now we should probably start planning backing up our apps and settings in preparation for the next round.


Sorry, as I state in my initial post, all my good work was stolen from Fanoush. Once Fanoush updates bootmenu, I will update this deb.

penguinbait 2008-06-25 04:37

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
install-tools.deb and install-tools-N810E.deb both have support for diablo now

enjoy :)

advanced edition will be updated soon

Underscore 2008-06-25 04:58

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
what is this 'advanced version?'

penguinbait 2008-06-25 05:01

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

Originally Posted by Underscore (Post 195417)
what is this 'advanced version?'


It allows you to specify FAT and SWAP size (EXT2 or 3) Up to 2 partitions per SD card
http://www.internettablettalk.com/fo...ad.php?t=20534

decrypt 2008-06-25 08:32

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I am not getting any boot menu. When I look at the log file, I saw this line
/root/install-tools/initfs_flash: line 175: syntax error: "}" unexpected "fi" }
FLASH COPIED SUCCESSFULLY?

Quote:

Originally Posted by penguinbait (Post 195410)
install-tools.deb and install-tools-N810E.deb both have support for diablo now

enjoy :)

advanced edition will be updated soon


joepagiii 2008-06-25 08:55

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
1 Attachment(s)
unable to update install tools 1.0.0-3
read my own log...need more sleep.....
retrying...will update
duh...i read and reread...forgot to reboot...sorry pb...dont bother with the log....
well rebooted no joy...redoing the install

manfredi90 2008-06-25 11:44

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Hi,
I have a N810 and I upgraded it to Diablo.
Then I downloaded the last version of the install tools for n810.
The installation successfully complete with no error, but when I reboot my N810 the boot menu doesn't appear and the tablet boot from internal flash. Why? :confused:
Thanks for the answer ;)

penguinbait 2008-06-25 12:13

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
There was a problem with the deb, its updated now, sorry for the problems.

Is it working now guys????

joepagiii 2008-06-25 12:35

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
woks fine...thanks....is it somewhwere in the thread here that tels how to use that internal chunk of space...and have it so windows will be able to write to it...trying to do away with the second card

manfredi90 2008-06-25 12:36

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Perfect! I re-downloaded the file and now the boot menu appear and I can boot from SD ;)
You are a genius!:D

joepagiii 2008-06-25 12:54

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
1 Attachment(s)
pb is this normal

penguinbait 2008-06-25 14:02

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

Originally Posted by joepagiii (Post 195569)
pb is this normal

is what normal?

joepagiii 2008-06-25 14:07

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
the image...is that basicaly how its supposed to look...everything works better btw after its running from sdhc card...

penguinbait 2008-06-25 14:12

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

Originally Posted by joepagiii (Post 195598)
the image...is that basicaly how its supposed to look...everything works better btw after its running from sdhc card...

Looks right to me? / is 90% empty

BoxOfSnoo 2008-06-25 14:14

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Just another "Worked perfectly for me" post...

Thank you!!

One unrelated oddity... I type df -h and get this (trimmed):

Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p2 4.0M 2.2M 1.8M 54% /mnt/initfs
/dev/mmcblk0p2 3.3G 316.1M 2.8G 10% /

Same device, two different sizes and mountpoints?

Whatever, it seems to work fine, thanks again.

lm2 2008-06-25 14:15

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
PB, sorry, but I could really use an answer to my question from above. Is 120 MB remaining on a clone from a fresh flash onto a 2 GB card normal? Thanks!

penguinbait 2008-06-25 14:25

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

Originally Posted by BoxOfSnoo (Post 195605)
Just another "Worked perfectly for me" post...

Thank you!!

One unrelated oddity... I type df -h and get this (trimmed):

Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p2 4.0M 2.2M 1.8M 54% /mnt/initfs
/dev/mmcblk0p2 3.3G 316.1M 2.8G 10% /

Same device, two different sizes and mountpoints?

Whatever, it seems to work fine, thanks again.


This is normal, how its supposed to look :)

penguinbait 2008-06-25 14:30

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

Originally Posted by lm2 (Post 195607)
PB, sorry, but I could really use an answer to my question from above. Is 120 MB remaining on a clone from a fresh flash onto a 2 GB card normal? Thanks!

Not exaclty sure what your issue is, sorry?

If you are installing KDE on a 2GB card, and you are using my deb, it needs to be a fresh flash or it wont fit, and installation will fail. Its possible that if only a couple packages were installed the install process may complete, but I have no way of knowing, so I reccomend Fresh Flash clone before running the KDE installer on a 2GB card. Larger cards are not an issue.

Also using the advanced edition allows you to specify SWAP and FAT sizes which may buy you some room on 2GB cards

joepagiii 2008-06-25 14:33

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
thanks ...i know its empty...all the goodies arent there...well again thanks...

lm2 2008-06-25 14:39

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

Originally Posted by penguinbait (Post 195618)
Not exaclty sure what your issue is, sorry?

Thanks. Maybe I'm just confused...My issue was that I cloned freshly flashed OS to 2 GB sd using ONLY install-tools.deb., and ended up with just 120 MB free space left on the card. Since this was less than you said needed to be there to go on to install KDE, I thought something had gone wrong.

Maybe you'll say that there *is* plenty of room on the relevant partition (the one that the OS is on), and that 120 MB is just the size of the other, irrelevant partition that is viewable by my windows machine????

penguinbait 2008-06-25 14:49

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

Originally Posted by lm2 (Post 195623)
Thanks. Maybe I'm just confused...My issue was that I cloned freshly flashed OS to 2 GB sd using ONLY install-tools.deb., and ended up with just 120 MB free space left on the card. Since this was less than you said needed to be there to go on to install KDE, I thought something had gone wrong.

Maybe you'll say that there *is* plenty of room on the relevant partition (the one that the OS is on), and that 120 MB is just the size of the other, irrelevant partition that is viewable by my windows machine????

Sorry, I was not understanding your question properly.

There should be an empty 120MB partition that is viewable by windows if plugged in via USB.

That is not what we are talking about


If you open xterm and run

df -h (best viewed in fullscreen, maybe even a smaller zoom)

you will see that "/" should have about 300+GB free

lm2 2008-06-25 14:53

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

Originally Posted by penguinbait (Post 195629)
Sorry, I was not understanding your question properly.

I knew it had to be a confusion on my part. Thanks very much PB. Looking forward to giving KDE a try!

lm2 2008-06-25 15:30

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Things seemed to go OK. But I seem to have lost the rotation support I implemented in diablo yesterday. (Haven't check to see if this is still there when booting from flash.)

Here's what comes up when I run df -h while booting from sd (sorry if formatting is lost):

Code:

Filesystem Size Used Available Use% Mounted on

/dev/mmcblk1p2 4.0M 2.2M 1.8M 54% /mnt/initfs

none 512.0k 76.0k 436.0k 15% /mnt/initfs/tmp

/dev/mmcblk0p2 1.6G 275.8M 1.3G 17% /

none 512.0k 76.0k 436.0k 15% /tmp

none 1.0M 60.0k 964.0k 6% /dev

tmpfs 1.0M 0 1.0M 0% /dev/shm

/dev/mmcblk1p1 120.9M 0 120.9M 0% /media/mmc1

Not sure if I'm reading this correctly, but is it saying that there is 1.3G remaining in partition that's mounted on "/". Is this the partition that was supposed to have 300+ remaining? (Note: I cloned using an almost freshly flashed device, but not totally fresh.)

penguinbait 2008-06-25 15:47

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

Originally Posted by lm2 (Post 195645)
Things seemed to go OK. But I seem to have lost the rotation support I implemented in diablo yesterday. (Haven't check to see if this is still there when booting from flash.)

Here's what comes up when I run df -h while booting from sd (sorry if formatting is lost):

Code:

Filesystem Size Used Available Use% Mounted on

/dev/mmcblk1p2 4.0M 2.2M 1.8M 54% /mnt/initfs

none 512.0k 76.0k 436.0k 15% /mnt/initfs/tmp

/dev/mmcblk0p2 1.6G 275.8M 1.3G 17% /

none 512.0k 76.0k 436.0k 15% /tmp

none 1.0M 60.0k 964.0k 6% /dev

tmpfs 1.0M 0 1.0M 0% /dev/shm

/dev/mmcblk1p1 120.9M 0 120.9M 0% /media/mmc1

Not sure if I'm reading this correctly, but is it saying that there is 1.3G remaining in partition that's mounted on "/". Is this the partition that was supposed to have 300+ remaining? (Note: I cloned using an almost freshly flashed device, but not totally fresh.)

It will have 300MB free AFTER KDE is installed :)


Diablo does not come with rotation support??

lm2 2008-06-25 15:50

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

Originally Posted by penguinbait (Post 195653)
It will have 300GB free AFTER KDE is installed :)

Cool, thanks!


Quote:

Diablo does not come with rotation support??
Right. But I had already implemented rotation in diablo prior to cloning OS...

penguinbait 2008-06-25 15:53

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

Originally Posted by lm2 (Post 195654)
Cool, thanks!




Right. But I had already implemented rotation in diablo prior to cloning OS...


It should work then, although I have not tested it on diablo. Does the sliderotate deb showup as installed in the application manager?

lm2 2008-06-25 16:03

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

Originally Posted by penguinbait (Post 195656)
It should work then, although I have not tested it on diablo. Does the sliderotate deb showup as installed in the application manager?

Damn, install-tools deb seems to have borked the rotation I had set up. Obviously not your fault. I'm just not looking forward to reflashing and setting up rotation again--especially since I forgot to backup diablo as it was before I tried to clone.

Oh, and sliderotate didn't show up as installed in app manager.

penguinbait 2008-06-25 16:07

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

Originally Posted by lm2 (Post 195659)
Damn, install-tools deb seems to have borked the rotation I had set up. Obviously not your fault. I'm just not looking forward to reflashing and setting up rotation again--especially since I forgot to backup diablo as it was before I tried to clone.

Oh, and sliderotate didn't show up as installed in app manager.

Well it sounds like maybe you just need the DEB. The clone deb cannot screw up your flash partition and if its not installed on the ext, it was not in flash, when the clone was run, or it would be on external/internal partitions also

lm2 2008-06-25 16:26

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

Originally Posted by penguinbait (Post 195661)
Well it sounds like maybe you just need the DEB. The clone deb cannot screw up your flash partition and if its not installed on the ext, it was not in flash, when the clone was run, or it would be on external/internal partitions also

THANKS!!!!!!! It really pays to have people around here who know what they are doing!

Since I had implemented rotation the old fashioned way--i.e., not with slide rotate--I just reinstalled all the debs associated with that method, restarted, and presto!, rotation support is restored.

Thanks a million PB!!

bluesubaru 2008-06-25 17:01

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I want to have Diablo on the flash of my N800 and Chinook on one of my cards. Chinook is currently on my flash and I used your install-tools.deb to clone it to my 2GB card. That is working fine. If I now install Diablo, I assume I will lose the boot menu. What I guess I would need is just an easy way to get the boot menu back after flashing Diablo. Right?

What's the easy way to do that? Thanks.

lm2 2008-06-25 17:14

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

Originally Posted by bluesubaru (Post 195687)
I want to have Diablo on the flash of my N800 and Chinook on one of my cards. Chinook is currently on my flash and I used your install-tools.deb to clone it to my 2GB card. That is working fine. If I now install Diablo, I assume I will lose the boot menu. What I guess I would need is just an easy way to get the boot menu back after flashing Diablo. Right?

What's the easy way to do that? Thanks.

I'm sure there's another way. But I did it by reinstalling PB's diablo-friendly install-tools deb. That way I have my old chinook sd, and a new diablo sd, with boot menu installed in diablo. And if you don't want new diablo sd clone, you could just reformat the card.

But don't listen to me. I have no clue what I'm doing.

memson 2008-06-25 21:03

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I installed Diabalo and indeed lost the bootmenu. Is there any chance we could have a package that *just* does the boot menu part? I don't have a spare SD card and it would be painful to have to back up an entire card *just* to re flash to boot menu. HELP!!

Eddit: I did look at Fanoush's stuff, but I'm not sure exactly what the package did to install the initial bootmenu, so don't want to mess my working device up.

penguinbait 2008-06-25 21:37

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

Originally Posted by memson (Post 195841)
I installed Diabalo and indeed lost the bootmenu. Is there any chance we could have a package that *just* does the boot menu part? I don't have a spare SD card and it would be painful to have to back up an entire card *just* to re flash to boot menu. HELP!!

Eddit: I did look at Fanoush's stuff, but I'm not sure exactly what the package did to install the initial bootmenu, so don't want to mess my working device up.


use fanoush's package.

nhanquy 2008-06-25 21:46

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

Originally Posted by memson (Post 195841)
I did look at Fanoush's stuff, but I'm not sure exactly what the package did to install the initial bootmenu, so don't want to mess my working device up.


You won't mess it up. Fanoush's stuff only create a new intial bootmenu. Copy bootmenu.conf.n8x0.example to bootmenu.conf and modify it to your taste. Just a simple ./initfs_flash will give you a new bootmenu!

matthewcb4 2008-06-25 21:58

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I may be miss understanding the point of doing this but i was wondering if there was a way that this could be done with Android? I would love to be able to keep that on a card or even on the internal sd on my n810.

Thanks

penguinbait 2008-06-25 22:38

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
matthewcb4
Re: Clone OS to SD Deb!! Boot from SD made EASY!!
I may be miss understanding the point of doing this but i was wondering if there was a way that this could be done with Android? I would love to be able to keep that on a card or even on the internal sd on my n810.

Sorry forgot to hit the quote button and this server is barley alive, so I aint going back :)

The reason for cloning specifically is to get more space for installing applications or even data.

This still allows you to boot from Flash as you do now, but you will have a bootmenu, with the ability to boot to another partition, with whatever you want on it.

You can have multiple instances of the OS with different purposes if you like. Setup a work partition, home partition, media and gaming, whatever you want to do with it

matthewcb4 2008-06-26 02:04

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Ok so i have a question. I have downloaded the install-tools .deb and when i try and install it it says that it is uninstallable. Then it trys to do something with my memory card and fails. I then have to uninstall and reformat the internal card?

Would you give me a little help?


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

vBulletin® Version 3.8.8