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)

bunanson 2008-06-29 14:07

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
PB: Is there any chance you can put an option on the partition, or even better, make available some predeterminated FAT space, like 2G/2G partition, please? I need some FAT spacce on my 4G SD. TIA,




bun

gemniii42 2008-06-29 14:33

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

Originally Posted by bunanson (Post 197305)
PB: Is there any chance you can put an option on the partition, or even better, make available some predeterminated FAT space, like 2G/2G partition, please? I need some FAT spacce on my 4G SD. TIA,




bun

bun -
did you look at this?
Or this?

penguinbait 2008-06-29 14:38

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

Originally Posted by stevecrye (Post 197231)
@penguinbait;

I installed Diablo today, spent a few hours getting all my apps and customizations installed (Gnumeric was the only one that I could not get working). Then it was time to put the bootmenu back, so I could boot between diablo on flash and chinook on SD.

I went to your site and downloaded bootmenu-installer 1.0.0-2. But, it fails to run, here is some of the log:

trying to overwrite `/root/install-tools.tgz', which is also in package install-tools-n810e

It looks like this is the chinook version. I looked again on your site, but can't find the diablo version.

Thanks,

Steve

uninstall install-tools-n810e first, its ok its nolt needed after install is complete.

chninook and diablo versions are in the same deb

stevecrye 2008-06-29 18:40

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

I was able to successfully clone my Diablo flash to my new 8GB micro SD card this morning using PB's install-tools-n810e v 1.0.0-3.

(BYW, I really wish I had bought it two weeks ago - the price at all the local retailers nearly doubled for some odd reason. The cheapest I could find was $69.00 at CompUSA. Best Buy wanted $149.00 and Circuit City wanted $99.00 Two weeks ago they all had the 8 gig cards for $49.00.)

I had some frustration with the process. I first tried it with the card unformatted. The .deb failed right away, complaining about corrupted or unformatted. I thought, 'fine, I'll format'. Same fail. I thought 'fine, I'll format and copy some files to make sure the card is alive'. It was, and disk-usage reported 7.something GB available.

Tried the clone again, this time it reported "external card detected" and trundled for a while, then failed. The log showed that the partitioning had worked, but BLKRRPART thought the device or partition might be busy and could not re-read the part table and suggested a reboot might be be needed. The log showed that fsck complained the superblock did not show a correct ext2 filesystem. After that were various other errors, all secondary to the superblock thingie.

I ran the clone again. This time, although it complained about "corrupt or unformatted card", it did not stop working. It trundled for about 10 minutes and then reported success!

All is OK and I can boot to flash or to mmc1; both have Diablo.

BTW, I was able to get Gnumeric installed using Gronmayer's repos.


So, I have everything I need running on Diablo:
Garnet VM, gnumeric, Pidgin, WiFiInfo, USB control, load-applet, ntpdate, vncviewer, vpnc-gui, emelfm2, various utils like nano, traceroute, telnet, and (sort of) kismet (it still stops gathering packets after it runs for a while).

I'll keep my 4 GB Chinook SD card for a while, but I'll probably eventually try to run Debian and KDE on it.

Thanks everyone!

Steve

iball 2008-06-29 22:16

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
PB, thanks for this easy one-stop solution. I reflashed to Diablo yesterday and threw in a bunch of apps right after.
Slow, slow, slow until I installed your app which then allowed me to boot from my 2GB SD card which sped things up.
Much easier to do than the old way I was doing by hand.

beldin 2008-06-30 00:13

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Thanks penguinbait, SD booting is great :)

But is there some way to get the bootmenu to pop up without having to hold the menu button?

Is Acronis True Image the only option for creating a backup image of a dual-boot SD card? I ask because version ATI Home 11 seems terribly bloated with loads of stuff I don't need.

penguinbait 2008-06-30 00:41

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

Originally Posted by beldin (Post 197470)
Thanks penguinbait, SD booting is great :)

But is there some way to get the bootmenu to pop up without having to hold the menu button?

Is Acronis True Image the only option for creating a backup image of a dual-boot SD card? I ask because version ATI Home 11 seems terribly bloated with loads of stuff I don't need.

This is only happening for some people, and I am not sure why. It should be coming up on its own.

I suggest installing this to fix it. This will just install bootmenu and setup any partitions it can find. This will not clone any data, just installs bootmenu.

http://penguinbait.com/bootmenu-installer.deb

bootmenu-installer thread
http://www.internettablettalk.com/fo...ad.php?t=21344

penguinbait 2008-06-30 01:48

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

Originally Posted by penguinbait (Post 197477)
This is only happening for some people, and I am not sure why. It should be coming up on its own.

I suggest installing this to fix it. This will just install bootmenu and setup any partitions it can find. This will not clone any data, just installs bootmenu.

http://penguinbait.com/bootmenu-installer.deb

bootmenu-installer thread
http://www.internettablettalk.com/fo...ad.php?t=21344



Oddly enough, my wifes 810 cloned just now for the first time did the same thing and this did not fix it.

This however will fix it

chroot /mnt/initfs cal-tool --set-root-device ask:mmc2


mmc2 is partition 2 on internal
mmc3 is partition 3 on internal

mmc12 is partition 2 on external
mmc13 is partition 3 on external

TheGogmagog 2008-06-30 17:15

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
PB: just wanted to say thanks again. I have it installed with diablo without problems.

I had some troubles at first, the deb didn't want to install. I had previously installed just the boot menu, and had to uninstall it before running install tools.

Also a note for any KDE users. If you are using a 2Gig card, you can make more room on your fresh install before trying to install KDE. It should fit, but it wouldn't hurt to a) uninstall the install tools, delete the install-tools.deb, along with the N810 video in video clips, and all the documents. I'm not sure if any of that adds up to significant space or not.

Underscore 2008-06-30 21:53

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

Originally Posted by TheGogmagog (Post 197733)
uninstall the install tools, delete the install-tools.deb, along with the N810 video in video clips, and all the documents. I'm not sure if any of that adds up to significant space or not.

It really does; I think around 30-40 mb. That provided video clip by itself is 11 mb!

penguinbait 2008-06-30 22:05

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

Originally Posted by Underscore (Post 197861)
It really does; I think around 30-40 mb. That provided video clip by itself is 11 mb!

Dont forget about all those docs, I only need a userguide in english.

For that matter I dont need a userguide at all.

lm2 2008-07-01 18:02

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
1 Attachment(s)
Sorry PB, but after a fresh flash and some tinkering with kernel and initfs, seems I can't install. Any tips for a geezer?

UPDATE: Uninstalled bootmenu-installer, rebooted, and tried again. Unable to install. Tried again. Unable to install. Tried again. Unable to install. Tried again. Installed.

Thanks again for the tools, PB!

penguinbait 2008-07-01 20:18

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

Originally Posted by lm2 (Post 198189)
Sorry PB, but after a fresh flash and some tinkering with kernel and initfs, seems I can't install. Any tips for a geezer?

UPDATE: Uninstalled bootmenu-installer, rebooted, and tried again. Unable to install. Tried again. Unable to install. Tried again. Unable to install. Tried again. Installed.

Thanks again for the tools, PB!

trying to overwrite `/root/install-tools.tgz', which is also in package bootmenu-installer
dpkg-deb: subprocess paste killed


Uninstall bootmenu-installer first. Its ok, all my install-tools and bootmenu-installers are designed to be removed after install is complete.

superstar 2008-07-02 03:36

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Hi Pb, I too upgraded to Diablo and wanted to know if there is anything different that I should do or not do before trying to boot from SD. Can I follow the directions for the Chinook OS when installing it? Or would it be better (easier) to revert back to Chinook?

penguinbait 2008-07-02 03:51

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

Originally Posted by superstar (Post 198369)
Hi Pb, I too upgraded to Diablo and wanted to know if there is anything different that I should do or not do before trying to boot from SD. Can I follow the directions for the Chinook OS when installing it? Or would it be better (easier) to revert back to Chinook?


The installers have all been updated for Diablo ;)

Just use the existing links

buma 2008-07-06 18:54

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
1 Attachment(s)
Hi all (woo - first post) I'm very new owner of an N800 (less than a month now), no programing skills whatsoever, and I've been lurking this site for about 2 months. I've recently flashed to the new diablo OS2008 and I've been wanting to install KDE for the KOffice option, so following your post in the KDE section, I came to this thread to try and make my N800 boot off the SD card... and of course, I ran into a problem :)

so, without further adieu... attached is my log file - hope it sheds some light on my problem (other than being clueless...) I called it 'second attempt' because the first time I did it, it didn't look like the file had all the available info...

Thanks in advance!

boblinds 2008-07-07 18:08

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Well, this worked on the first try. Thanks VERY much.

And imagine my surprise to see Samba shares in the File Manager!! Woo hoo.

However, only the shares on my wife's Windows XP system are visible, the shared folders on my Windows XP system are not (even though I can access them on my XBMC setup).

Can anybody suggest the change I need to make in my PC config to see these SMB shares? Thx!

penguinbait 2008-07-07 18:34

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

Originally Posted by buma (Post 199923)
Hi all (woo - first post) I'm very new owner of an N800 (less than a month now), no programing skills whatsoever, and I've been lurking this site for about 2 months. I've recently flashed to the new diablo OS2008 and I've been wanting to install KDE for the KOffice option, so following your post in the KDE section, I came to this thread to try and make my N800 boot off the SD card... and of course, I ran into a problem :)

so, without further adieu... attached is my log file - hope it sheds some light on my problem (other than being clueless...) I called it 'second attempt' because the first time I did it, it didn't look like the file had all the available info...

Thanks in advance!


The log says:

ERROR
SD CARD IS IN USE - SAVE DEB TO FLASH AND RE-RUN
ERROR

Either you have Virtual Memory enabled, or you saved the deb file on the SD card you are trying to partition

Laughing Man 2008-07-07 19:23

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

Originally Posted by boblinds (Post 200310)
Well, this worked on the first try. Thanks VERY much.

And imagine my surprise to see Samba shares in the File Manager!! Woo hoo.

However, only the shares on my wife's Windows XP system are visible, the shared folders on my Windows XP system are not (even though I can access them on my XBMC setup).

Can anybody suggest the change I need to make in my PC config to see these SMB shares? Thx!

Is it passwoded? I think the Samba that comes on the Tablet doesn't have support for password protected shares yet.

Atarii 2008-07-07 19:30

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I can confirm this works nicely on 2008HE. Just successfully cloned on my 770 with a 1gb mmc card. At first I forgot to turn off the swap, but then worked perfectly! Thanks PB!

buma 2008-07-07 21:02

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

Originally Posted by penguinbait (Post 200317)
The log says:

ERROR
SD CARD IS IN USE - SAVE DEB TO FLASH AND RE-RUN
ERROR

Either you have Virtual Memory enabled, or you saved the deb file on the SD card you are trying to partition

doh! dork... I have VM enabled... didn't think of that :)

Thanks for the quick reply - now lets see if we can make this puppy go!

gemniii42 2008-07-07 22:12

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

Originally Posted by boblinds (Post 200310)
Well, this worked on the first try. Thanks VERY much.

And imagine my surprise to see Samba shares in the File Manager!! Woo hoo.

However, only the shares on my wife's Windows XP system are visible, the shared folders on my Windows XP system are not (even though I can access them on my XBMC setup).

Can anybody suggest the change I need to make in my PC config to see these SMB shares? Thx!

Are the XP shares windoze or SAMBA?
Windoze shares on the nokia are flakier than a box of Wheaties.

buma 2008-07-07 22:59

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Hey PenguinBait - okay, seems to be working (I think...) - is there an easy way to see if that's true? Also, when you say that this is 'optimized' for a 2GB card, does that mean if we use larger cards, we're 'wasting' a lot more space on the card as it seems the larger the card, the larger the boot partition becomes... or is that boot partition space available somehow... somewhere...

(as you can see, major newbie, so simple concepts / small words are appreciated)

again, thanks in advance!

penguinbait 2008-07-08 13:58

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

Originally Posted by buma (Post 200404)
Hey PenguinBait - okay, seems to be working (I think...) - is there an easy way to see if that's true? Also, when you say that this is 'optimized' for a 2GB card, does that mean if we use larger cards, we're 'wasting' a lot more space on the card as it seems the larger the card, the larger the boot partition becomes... or is that boot partition space available somehow... somewhere...

(as you can see, major newbie, so simple concepts / small words are appreciated)

again, thanks in advance!


I mean that it was made to install for 2GB card, it will make a 256 FAT partition, 256 SWAP partition and the rest will be boot.

4GB card
It will make a 512 FAT partition, 512 SWAP partition and the rest will be boot.

And so on. The waste is the SWAP space really, because you never really need more than 256MB swap.

So if you have a 16GB card, swap will be 1GB, this is where the waste comes in.

buma 2008-07-08 17:29

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
woot - thanks PB! I realize now what you're saying :)

now... onto KDE installation >.>

(fingers crossed)

muki 2008-07-09 10:20

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Just updated 770 to 2008HE and tried installing to 2G MMC. Install completed but no delay on boot menu and it immediately boots from internal flash. The DOS partition exists on the MMC but I cannot mount /dev/mmcblk0p2 (I'm probably doing something wrong).

At least user Atarii got it working on a 1G card <here> so I wonder if the boot menu script has changed?

penguinbait 2008-07-09 14:20

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

Originally Posted by muki (Post 200818)
Just updated 770 to 2008HE and tried installing to 2G MMC. Install completed but no delay on boot menu and it immediately boots from internal flash. The DOS partition exists on the MMC but I cannot mount /dev/mmcblk0p2 (I'm probably doing something wrong).

At least user Atarii got it working on a 1G card <here> so I wonder if the boot menu script has changed?

Sometimes you need to run this manually

chroot /mnt/initfs cal-tool --set-root-device ask:mmc2


mmc2 is partition 2 on internal
mmc3 is partition 3 on internal

mmc12 is partition 2 on external
mmc13 is partition 3 on external

You also set the default to flash

chroot /mnt/initfs cal-tool --set-root-device ask:flash

muki 2008-07-09 15:45

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
That did it, thanks! :)

stevecrye 2008-07-12 05:39

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
I'm intrigued by the thought of the tablet doing samba... is the client installed by default? I don't see anything related to CIFS/SAMBA in app manager. I googled and found some references to shares being visible in file manager, but only if they were wide open... I can't fathom why anyone would use non-password protected shares, so I am puzzled.

Steve

buma 2008-07-13 10:34

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
quick and stupid question - is there a way to clone a cloned sd card? Was thinking that my use of an 8GB card might be a bit overkill - but of course, I've already added like a bunch of things to my cloned SD card already and didn't want to have to do it again.

So, is it possible:
1. to clone your SD card to another SD card
2. would it have to be exactly the same size to clone it or could you go to a different size SD card (say from an 8 to a 4GB card)?

and thanks for your great work for the tablet - it has made it all the more useful birthday present to myself :)

HowHH 2008-07-15 22:22

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Thanks, Penguinbait, for your work. After a few false starts, where the application failed to install, it successfully installed on the 3rd try and I'm now booting from the card.

My question is do I enable virtual memory (it is currently not enabled), through the control panel or is the swap partition already doing this? Thanks.

penguinbait 2008-07-17 16:12

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

Originally Posted by HowHH (Post 203360)
Thanks, Penguinbait, for your work. After a few false starts, where the application failed to install, it successfully installed on the 3rd try and I'm now booting from the card.

My question is do I enable virtual memory (it is currently not enabled), through the control panel or is the swap partition already doing this? Thanks.

There is already a swap partition,

Gomez 2008-07-18 20:06

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Is this http://penguinbait.com/install-tools.deb is suitable for Nokia N770 ITOS 2006 3.2006.49-2 or just for Nokia N8x ?

bunanson 2008-07-22 17:38

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

Originally Posted by Gomez (Post 204570)
Is this http://penguinbait.com/install-tools.deb is suitable for Nokia N770 ITOS 2006 3.2006.49-2 or just for Nokia N8x ?

http://www.internettablettalk.com/fo...ad.php?t=22155

bun

srikantmarakani 2008-07-23 06:49

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

Originally Posted by clint999 (Post 202760)
I second the nomination!

I third it! Excellent package, worked very well almost on the first try (only bootmenu didn't appear - have since corrected that). :)

pugboy 2008-07-25 19:17

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
On my 4th try now... I am using a newly flashed tablet, but it keeps failing.

fieldside 2008-07-26 02:52

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

Originally Posted by buma (Post 202421)
quick and stupid question - is there a way to clone a cloned sd card? Was thinking that my use of an 8GB card might be a bit overkill - but of course, I've already added like a bunch of things to my cloned SD card already and didn't want to have to do it again.

So, is it possible:
1. to clone your SD card to another SD card
2. would it have to be exactly the same size to clone it or could you go to a different size SD card (say from an 8 to a 4GB card)?

and thanks for your great work for the tablet - it has made it all the more useful birthday present to myself :)

You can clone and also change any of the 3 partition sizes easily if you know how to use the Norton Ghost program. I have used the DOS version of Ghost and have duplicated several 2GB copies, and also have changed the partitions sizes from PB's original 128/1662/128 to 640/1200/70, so to have more FAT for storing data files.

These are the steps:

1. Put the SD card to a USB adapter and plug it into your PC;
2. Boot your PC to Ghost and ask it to creat an disk image of your SD card. This takes quite a long time as the USB transfer is very slow under DOS; and lastly,
3. Change to a new SD card (you can use any card size as long as the card size is larger than the data size) and ask Ghost to put the image created in (2) above to this SD card. At this stage, you can change the size of each partition (Fat, Boot and swap). Now, you have an exact copy of the SD card and also your desired partition size.

I have made two copies this way myself, one for both testing programs and for daily use and one for keeping. If I install and test a program and find it useful, then I will install it to the card for keeping and then make a fresh image. This saves me a lot of time and trouble in future.

buma 2008-07-26 03:00

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
thanks fieldside,
problem is, I don't have Ghost :) any way of doing it sans Ghost? Like... with the n800 itself as it has 2 cardslots? or some other method on a Windows machine?

bunanson 2008-07-26 15:34

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

Originally Posted by buma (Post 207177)
thanks fieldside,
problem is, I don't have Ghost :) any way of doing it sans Ghost? Like... with the n800 itself as it has 2 cardslots? or some other method on a Windows machine?

See thread #315. You change partition size by editing the .txt file. If you have it done once, you can just keep changing the sd card, it will continue to do it, just like "ghost". In fact, I keep modify progs on the internal flash to go to a state I like and keeps on "ghost" to my SD card on and off to maintain the same change. My cloned SD keeps on changing with new progs installed, very rarely it stays the same for months. :)


bun

Laughing Man 2008-07-26 22:26

Re: Clone OS to SD Deb!! Boot from SD made EASY!!
 
Any idea on how to fix a messed up partition table? My 16 GB SDHC got corrupted somehow (probably due to me stupidly removing the battery when the tablet froze with the camera application and nothing would power it off).

I wound up reformating it but now it only shows the FAT partition (11 GBs). So I'm missing the rest of it (which was my ext2 partition that the OS was on).

I tried using the Panasonic LLF but it only shows up those 11 GBs.

Edit: GParted (a partition manager in Linux) can't find the ext2 partition either. :(


All times are GMT. The time now is 20:52.

vBulletin® Version 3.8.8