PDA

View Full Version : Clone OS to SD Deb!! Boot from SD made EASY!!


Pages : [1] 2 3

penguinbait
04-28-2008, 09:11 PM
NOT FOR USE ON 43-7 or above - NO LONGER BEING UPDATED

I made a DEB that will clone the currently running OS to a 2GB CARD. It will also clone it to bigger/smaller cards but its not really setup for that.

Notice if you want to install KDE using the KDE boot from SD deb.
http://www.internettablettalk.com/forums/showthread.php?t=19675
On a 2GB card, you need to use a fresh flash. If you install a bunch of apps there will not be enough space to finish KDEv2 installation. However once KDEv2 is installed, there will be about 330MB free.

1GB
1: 64MB FAT
2: 872GB EXT2 (BOOT)
3: 64MB SWAP

2GB
1: 128MB FAT
2: 1.75GB EXT2 (BOOT)
3: 128MB SWAP

4GB
1: 256MB FAT
2: 3.5GB EXT2 (BOOT)
3: 256MB SWAP

6GB
1: 384MB FAT
2: 5.255GB EXT2 (BOOT)
3: 384MB SWAP

8GB
1: 512MB FAT
2: 6.6GB EXT2 (BOOT)
3: 512MB SWAP




My initial build is only for N800 (either SD slot) or N810 IF YOU WANT TO CLONE TO THE INTERNAL 2GB CARD. This will not work on the n810 with a SD card. See bottom of page for 810 external slot install deb.

(SEE BELOW) for a link to the DEB if you want to try it out. NOTICE (It may HOSE your device and cause you to REFLASH your OS.)
Use at own risk. Take backups of any important data before continuing.


The new deb will partition your SD/MMC card, clone the Flash to the card. Install Boot Menu (with telnet support). Then you just reboot to your new menu and partition.



Please (See Below) to test and please post your experiences out here...

Thanks


pb

This will partition and format SD card
This will clone currently running OS to SD card
This will install bootmenu (with telnet recovery)
This will fsck all EXT2 partitions on SD cards when booted to flash (plays wav when complete) (view log /tmp/fsck.txt)
This will add sudo ALL=ALL in /etc/sudoers (gives you root access "sudo su -") Only on cloned partition not on flash



USE AT OWN RISK




-- This will remove ALL current data on you SD card --


-- This will remove ALL current data on you SD card --


-- This will remove ALL current data on you SD card --


-- This will remove ALL current data on you SD card --




AGAIN THIS IS FOR EITHER SLOT IN N800, AND ONLY WILL INSTALL TO INSTERNAL 2gb ON N810. iT WILL NOT CURRENTLY INSTALL TO N810 WITH A SD CARD (see special 810 external info at bottom).

YOU WILL NEED 20MB FREE IN FLASH BEFORE INSTALLING.

ONLY 1 SD CARD CAN BE INSERTED DURING INSTALL PROCESS. IF TWO ARE INSTALLED THE INSTALL WILL FAIL. REMOVE THE CARD and reinstall the DEB AND START AGAIN.

IF YOU COMPLETE THE INSTALL AND THE CLONE WONT BOOT, OR IF THE INSTALL FAILS. BOOT/REBOOT BACK TO FLASH AND RUN IT A SECOND TIME (LET IT UPDATE) THIS SHOULD FIX IT. SOME CARDS SEEM TO NEED TO BE REBOOTED BEFORE BEING USEFULL AFTER PARTITIONING

Go to penguinbait.com

right click on "INSTALL TOOLS"

"save target as" (SAVE FILE ON FLASH NOT ON SD CARD)

Save the file somewhere, open application manager and select "install from file" from the menu. Select the file you just saved.

Once the install completes, reboot for your new bootmenu and select your SD card on boot.

PLEASE SEND ME LOG FROM APPLICATION MANAGER IF YOU GET A FAILURE :)


Thanks everyone, especially Fanoush (As Usual)

This deb steals all Fanoushes great work and packs it up with some scripting for my uses. If you would like to reinstall initfs with different options please see link below to Fanoush's home page
http://fanoush.wz.cz/maemo/



For those who were asking, I created a N810 external slot version of the boot from SD deb.

Get it from http://penguinbait.com

"INSTALL TOOLS EXTERNAL 810 SLOT"


After install it can be uninstalled from both Flash and SD.

Supported Versions, (Not tested on 770)
Nokia 770 - IT2006 versions 1.2006.26-8, 2.2006.39-14, 3.2006.49-2, IT2007 hacker edition 2.2006.48-7, 4.2007.36-2
N800 - IT2007 versions 2.2006.51-6, 3.2007.10-7, 4.2007.26-8, 4.2007.38-2

N800,N810 - IT2008 versions 1.2007.42-18, 1.2007.42-19, 2.2007.50-2, 4.2008.23-14 (Diablo), 4.2008.30-2 (first Diablo update), 4.2008.36-5


TROUBLESHOOTING

MENU WILL NOT APPEAR
boot to flash and open xterm and become root and run the following command:
chroot /mnt/initfs cal-tool --set-root-device ask:flash
Instead of flash, you can also set the default boot image to be mmcX

mmc2 is partition 2 on internal
mmc3 is partition 3 on internal
mmc12 is partition 2 on external
mmc13 is partition 3 on external

Your menu will not display until you set it to ask:somthing then reboot.

rachid
04-29-2008, 03:38 AM
Is it also working with Os2007He?

qwerty12
04-29-2008, 05:29 AM
Brilliant!

Easiest as it gets :)

One thing though , is bootmenu optional? I already have a modded copy installed :)

(This sounds easier than the clone scripts though, I had to run the script 5 times last time :))

penguinbait
04-29-2008, 08:11 AM
Brilliant!

Easiest as it gets :)

One thing though , is bootmenu optional? I already have a modded copy installed :)

(This sounds easier than the clone scripts though, I had to run the script 5 times last time :))

At the moment bootmenu will be installed along with this deb. Its made for a one stop shop to install.

That said perhaps I can alter the install to only install bootmenu if its not installed. But that may take a while before I get to it. You can install it even if you have bootmenu, but this will replace your custom install...

penguinbait
04-29-2008, 08:12 AM
Is it also working with Os2007He?

Maybe 2008HE, but untested. I really need to get a 770 for testing...

Benson
04-29-2008, 08:58 AM
Might want to edit the first post; unless I missed it, it doesn't come right out and say I will eat all data on your SD card! I assume that's true, since I guess you're not doing filesystem resizing, like a typical desktop distro's install. Which could confuse somebody, better to change it first...

yabbas
04-29-2008, 09:03 AM
Can't wait for the automated rotation kernel support deb installer ;)

ebrindle
04-29-2008, 09:22 AM
Can't wait for the automated rotation kernel support deb installer ;)

I second the nomination! :D

penguinbait
04-29-2008, 10:14 AM
OK guys, explain to me why I should do this?

I did just test this on KDE and I can't turn it sideways but upside down now works perfectly. nice

I went through the install and it was not that bad. I suppose a deb to install kernel and xomap would be nice. but again my install went perfectly

Benson
04-29-2008, 10:26 AM
Can't go sideways? is that a "KDE doesn't know what to do with 480px width"? or the display won't rotate at all?
I know XV doesn't work in portrait mode, but I'd have thought K would get by fine...

qwerty12
04-29-2008, 10:29 AM
I think emjayes is the closest with automatic rotation. But is it really that hard to install? I've done 7 installs of rotation with no problem.

penguinbait
04-29-2008, 10:35 AM
Can't go sideways? is that a "KDE doesn't know what to do with 480px width"? or the display won't rotate at all?
I know XV doesn't work in portrait mode, but I'd have thought K would get by fine...

Well it actually works, kind of that is? I turns the display sideways but you cannot see the whole screen, there is a black spot on the bottom and the right half of the screen is off the side. I can use the whole screen, but taskbar is running right through the middle of the screen.

I am still playing :)

IcelandDreams
04-29-2008, 10:53 AM
What am I doing wrong? The install goes through the motions and then complains about not enough memory. The internal memory went from ~40M down to 1kb. I have a 2G SD card in the external slot that was empty other than the .deb install file. I ran it again after clearing more space but I'm down to no space again. I have the boot menu but of course it won't boot off SD. The SD card doesn't appear to have been touched. I've now uninstalled it but still have the boot menu. Can I at least remove whatever is taking up my internal memory?

N800 with OS2008

edit->I did the suggested update but quickly came up with not enough memory.

penguinbait
04-29-2008, 10:53 AM
I had problem on a freshly flashed n800 with the internal 8gb sdhc; got a no boot and the IT was locked at the Nokia logo.

I'm reflashing it and I will try it again and let you know if it's ok by editing or deleting this post.


So it hosed your flash install? Or the SD card would not boot? did it install bootmenu. ALSO please send me the log from application manager

qwerty12
04-29-2008, 10:54 AM
@IcelandDreams, if this script works in the same way as others, unmount /opt and go in and rm -rf /opt/* (for your 1kb problem if you can boot rootfs or mount the rootfs over ssh/telnet)

penguinbait
04-29-2008, 11:01 AM
What am I doing wrong? The install goes through the motions and then complains about not enough memory. The internal memory went from ~40M down to 1kb. I have a 2G SD card in the external slot that was empty other than the .deb install file. I ran it again after clearing more space but I'm down to no space again. I have the boot menu but of course it won't boot off SD. The SD card doesn't appear to have been touched. I've now uninstalled it but still have the boot menu. Can I at least remove whatever is taking up my internal memory?

N800 with OS2008

edit->I did the suggested update but quickly came up with not enough memory.

OK, #1 DO NOT PUT A DEB ON A CARD AND TRY TO INSTALL IT WHEN IT WILL PARTITION THE CARD ITS SITTING ON.


TO FIX
open xterm
(you will need to become root)

rm -rf /device/*

if its full, its because the mount failed because the SD card was in use. So it started the tar, and filled up your flash in /device


Then put the deb on flash somewhere, like documents, then run it again.

Ouch, I just did not see that one coming :)

Benson
04-29-2008, 11:21 AM
Maybe if you rotate before you start KDE...

penguinbait
04-29-2008, 11:36 AM
no boot menu; only the locked nokia screen; only way out is reflash to OEM (say bye bye to the log file)

but I will try again after the reflash; a tiny reflash will not stop me from trying again; I want to experience your ICEWM on the SD card so I will do whatever needed to do it. :D

thanks again for your efforts to bring new stuff to the IT


EDIT : I ALSO HAD THE MEMORY FULL MESSAGE THEN RESTARTED THE .DEB; is it possible the script don't like to be stopped during process ?


Where are you placing the DEB? put it on flash NOT on the SD CARD

IcelandDreams
04-29-2008, 11:41 AM
It makes sense not to put the deb on the SD but I've done similar things in the past with the understanding that the file would go away but the load happened anyway. So I'm trying it again after regaining space on the internal memory.

Thanks.

IcelandDreams
04-29-2008, 12:36 PM
reflashed the device to OEM, the DEB is in flash and again got a not enough memory on target location error; card corrupted, reformated within file manager

I had the same thing but after doing "rm -rf /device/*", rebooting, and then running the install again where it says "Updating" it completed. I can now boot off the SD.

Benson
04-29-2008, 12:55 PM
OK, you probably got this PB, but here's what's going on:
/dev/mmc0blk1 is mounted
fdisk mmc, makes new partition table
fdisk tries to make kernel re-read partition table, but fails because of A
mkfs tries writing an e2fs on /dev/mmc0blk2, which should be a block special file referring to the second partition on the internal mmc.
mkfs writes an e2fs on /dev/mmc0blk2, which, since it didn't previously exist, is created as a regular file
EPIC FAIL!
Solution: check before creating filesystem:if [ ! -b /dev/mmc0blk2 ] ; then
echo "Epic fail detected on long range scanners. Proceeding heroically..."
fi

ebrindle
04-29-2008, 01:03 PM
I had problem on a freshly flashed n800 with the internal 8gb sdhc; got a no boot and the IT was locked at the Nokia logo.

I'm reflashing it and I will try it again and let you know if it's ok by editing or deleting this post.

my not so freshly flashed n800 with 8gb sd also had the prev out of mem problem. however, it did load boot loader, and made back up from flash minus
a working personal menu....

I see a reflash/reload in my future.....;-)
next time with a 2gb sd!!

cheve
04-29-2008, 01:10 PM
[QUOTE=penguinbait;175792]I made a DEB that will clone the currently running OS to a 2GB CARD. It will also clone it to bigger/smaller cards but its not really setup for that.

1GB
1: 64MB FAT
2: 872GB EXT2 (BOOT)
3: 64MB SWAP

2GB
1: 128MB FAT
2: 1.75GB EXT2 (BOOT)
3: 128MB SWAP

4GB
1: 256MB FAT
2: 3.5GB EXT2 (BOOT)
3: 256MB SWAP

6GB
1: 384MB FAT
2: 5.255GB EXT2 (BOOT)
3: 384MB SWAP

8GB
1: 512MB FAT
2: 6.6GB EXT2 (BOOT)
3: 512MB SWAP


If things go smoothly with this, I will make some more DEB's with different layouts for different sizes.

QUOTE]

Where possible, would you make the DEB to read a configure file which allow one to set the size for 1, 2 and 3? This way, you do not have to track multiple versions of the DEB.

Benson
04-29-2008, 01:38 PM
That seems a wierd way of going about it -- the hybrid of all-up deb and reading a config file.

Maybe just prompt? or indeed, detect the card size and branch accordingly?

penguinbait
04-29-2008, 01:50 PM
UPDATED DEB to FAIL if mount fails, which will stop the out of memory problems.

You should not get that anymore!

UPDATED 13:50 EST

Let me know

IcelandDreams
04-29-2008, 01:54 PM
^too late, already installed now. :)

So what do you folks do with this primarily? Use it as a backup in case of a major blowup? Use it normally so to have a lot more space for installs? Use it to try out some possibly dangerous hacks and apps?

Anyway, it is now working fine. thanks again.

penguinbait
04-29-2008, 02:28 PM
:(


:( after 3 reflash :

I had to download your .deb then reboot. :)

install .deb ... then fail.... then reboot. :mad:

then reinstall .deb then reboot. :rolleyes:

and it's ok now. :D

thank you


To be clear?

using new deb and fresh flash

you installed and it failed. you then reboted, and then updated the deb by installing it again. You then rebooted again and bootmenu was installed and your cloned partition was working?

Thanks,

Please guys, I need logs for failures...

cashless
04-29-2008, 02:55 PM
This was the single worst thing I've done to my NIT so far. :(
After an extremely long install of about 20 minutes, the unit spontaneously rebooted and I got the bootmenu (like always). I booted from flash and I got a reverted desktop (back to before I clone my OS to SD earlier this year). I opened the file manager, looked at my 4gb MMC2 card and there was only 65mb available with no files on the card. Wonderful.

I supposed that I'm going to have reflash and lose months of work that I spent fine-tuning.

The log in app-manager, shows some error from an apt-get from back when I installed the Vagalume client (which would have been many months ago).

penguinbait
04-29-2008, 02:56 PM
yes but won't boot from internal flash

and where is that log ?

What???? :eek::eek::eek:

You can boot from SD but not from flash?


Log is in application manager (MENU)

penguinbait
04-29-2008, 03:01 PM
This was the single worst thing I've done to my NIT so far. :(
After an extremely long install of about 20 minutes, the unit spontaneously rebooted and I got the bootmenu (like always). I booted from flash and I got a reverted desktop (back to before I clone my OS to SD earlier this year). I opened the file manager, looked at my 4gb MMC2 card and there was only 65mb available with no files on the card. Wonderful.

I supposed that I'm going to have reflash and lose months of work that I spent fine-tuning.

The log in app-manager, shows some error from an apt-get from back when I installed the Vagalume client (which would have been many months ago).


Sorry man, did you read the first post? Seriously I dont mean to shrug off the blame, but I said very clearly this may hose your system. It says testing.


Also you said "I got the bootmenu (like always)"

Was bootmenu already installed? Were you booted to flash when you installed it? What was on the SD card to begin with. It was supposed to wipe out the SD card, was that unclear to you?

Did it corrupt your flash install?

cashless
04-29-2008, 03:18 PM
Sorry man, did you read the first post? Seriously I dont mean to shrug off the blame, but I said very clearly this may hose your system. It says testing.


Also you said "I got the bootmenu (like always)"

Was bootmenu already installed? Were you booted to flash when you installed it? What was on the SD card to begin with. It was supposed to wipe out the SD card, was that unclear to you?

Did it corrupt your flash install?

I read the first post. I understood the dangers, just complaining for the sake of complaining.

Had bootmenu installed previously, does not look like anything changed there. The flash install looks ok now that I've had time to really look at it. I think instead of reflashing, I'll just reformat my MMC2 and take it from there. No biggie, I was having issues with Claws mail's data folder not showing up on MMC2 anyway. eh...

penguinbait
04-29-2008, 03:20 PM
exactly, it will freeze on the internal boot but run fine on the sd.. LOL

may be it's related to the cold Canadian air or the wifi service in my igloo is not good enough

BTW the log is filled with errors related to "you're not connected to the web so forget about those packages you little geek"

HMMMM, I wonder if your flash still full 100%??

Boot to SD, open xterm, become root

mkdir /flash

mount -t jffs2 /dev/mtdblock4 /flash -o rw,rpsize=1024,rpuid=0,rpuid=30000

df
(look at the output for df, is /flash at 100% full? )

(if its full, delete some things, and boot back to flash)

rm /root/install-tools

rm -rf /flash/device/*


Also the deb was installed in flash, so opening the log when booted to SD wont get me the correct log :)

cashless
04-29-2008, 03:21 PM
Ok, so I reformatted MMC2. I'm willing to give this another go around. Will try again in the next few minutes.

GeraldKo
04-29-2008, 03:25 PM
(A) Just letting you know that it installed fine, first time. I don't know if it matters, but I did already have fanoush's boot menu. It left the boot menu the way it was, with the default and timing the way I had set it before, too. Great job. Thanks. It sure was painless and easy.

(B) Penguinbait, I was going to edit "my" thread on cloning (see my signature) to suggest people head here for your debs instead. But I see some people have had problems and you consider it to be still in a "testing" state. Let us know when you feel it is beyond testing stage and I'll start re-directing users.

penguinbait
04-29-2008, 03:30 PM
(A) Just letting you know that it installed fine, first time. I don't know if it matters, but I did already have fanoush's boot menu. It left the boot menu the way it was, with the default and timing the way I had set it before, too. Great job. Thanks. It sure was painless and easy.

(B) Penguinbait, I was going to edit "my" thread on cloning (see my signature) to suggest people head here for your debs instead. But I see some people have had problems and you consider it to be still in a "testing" state. Let us know when you feel it is beyond testing stage and I'll start re-directing users.

Thanks, I still think your post is uesfull, this may not work immediately on the next version of OS. Its nice to have options..

What Nokia device did you succeed on, and what size SD card?

GeraldKo
04-29-2008, 03:45 PM
Thanks, I still think your post is uesfull, this may not work immediately on the next version of OS. Its nice to have options..

What Nokia device did you succeed on, and what size SD card?

Thank you, too.

N800. SanDisk Extreme III 4GB.

penguinbait
04-29-2008, 03:47 PM
no charger this time, still no network connection :

reflashed (4th time),
installed deb
rebooted to SD : OK
rebooted to flash : OK

so now it's a sucessful cloning to SD.

can't be easier if done right.

but an option for a larger FAT partition would be nice (I got a 8gb card)

and can't get root now, is there a new password ?

I give you sudo ALL=ALL in SD partition, you have to install becomeroot or the like for the flash partition.

In the (boot from SD) just open xterm and type "sudo su -"

This should make you root

Phobos
04-29-2008, 05:03 PM
Hi,
I'd really like to try this, because I never managed to partition my SD manually. Installing the deb just doesn't work for me either.

I installed the package and this is what the log stated. Is local.sh the problem file? IŽd appreciate some help.

hildon-application-manager 2.0.2
/usr/bin/dpkg-deb -f '/home/user/MyDocs/.documents/install-tools.deb'
/usr/bin/dpkg --install '/home/user/MyDocs/.documents/install-tools.deb'
(Reading database ... 21755 files and directories currently installed.)
Unpacking install-tools (from .../.documents/install-tools.deb) ...
dpkg: error processing /home/user/MyDocs/.documents/install-tools.deb (--install):
trying to overwrite `/etc/init.d/local.sh', which is also in package local-mmc2
Errors were encountered while processing:
/home/user/MyDocs/.documents/install-tools.deb
/usr/bin/dpkg-deb -f '/home/user/MyDocs/.documents/install-tools.deb'
/usr/bin/dpkg --install '/home/user/MyDocs/.documents/install-tools.deb'
(Reading database ... 21755 files and directories currently installed.)
Unpacking install-tools (from .../.documents/install-tools.deb) ...
dpkg: error processing /home/user/MyDocs/.documents/install-tools.deb (--install):
trying to overwrite `/etc/init.d/local.sh', which is also in package local-mmc2
Errors were encountered while processing:
/home/user/MyDocs/.documents/install-tools.deb

penguinbait
04-29-2008, 05:07 PM
Hi,
I'd really like to try this, because I never managed to partition my SD manually. Installing the deb just doesn't work for me either.

I installed the package and this is what the log stated. Is local.sh the problem file? IŽd appreciate some help.

hildon-application-manager 2.0.2
/usr/bin/dpkg-deb -f '/home/user/MyDocs/.documents/install-tools.deb'
/usr/bin/dpkg --install '/home/user/MyDocs/.documents/install-tools.deb'
(Reading database ... 21755 files and directories currently installed.)
Unpacking install-tools (from .../.documents/install-tools.deb) ...
dpkg: error processing /home/user/MyDocs/.documents/install-tools.deb (--install):
trying to overwrite `/etc/init.d/local.sh', which is also in package local-mmc2
Errors were encountered while processing:
/home/user/MyDocs/.documents/install-tools.deb
/usr/bin/dpkg-deb -f '/home/user/MyDocs/.documents/install-tools.deb'
/usr/bin/dpkg --install '/home/user/MyDocs/.documents/install-tools.deb'
(Reading database ... 21755 files and directories currently installed.)
Unpacking install-tools (from .../.documents/install-tools.deb) ...
dpkg: error processing /home/user/MyDocs/.documents/install-tools.deb (--install):
trying to overwrite `/etc/init.d/local.sh', which is also in package local-mmc2Errors were encountered while processing:
/home/user/MyDocs/.documents/install-tools.deb

You would need to remove KDE before installing. However the install process once complete is very simple to install KDEv2 without the deb..

PinCushionQueen
04-29-2008, 07:57 PM
Hey PB! Just curious... did you make any changes to KDE from the last version that I installed 358v2 for the booting from mmc users?

penguinbait
04-29-2008, 10:04 PM
Hey PB! Just curious... did you make any changes to KDE from the last version that I installed 358v2 for the booting from mmc users?


No not yet, I am working more on the installer process. Is there something you have in mind?

I created a kde-installer.deb for boot from SD users also. It downloads the files and installs them. Takes a bit of time though, it seems to work like a charm... It even does md5sum checks, ooohhh aaahhh

penguinbait
04-30-2008, 10:11 PM
any other reports good bad ugly??

ebrindle
04-30-2008, 10:43 PM
Folks,

Here is a follow up to my submission yesterday stating that I ran in to the memory
problem - and would likely need to reflash as things were messed up.

Was doing this in an airport - while waiting for a plane.... any did some debug
while on my flight - and found that my personal menu problem was associated
with being out of memory in the flash /. Deleted some little used packages and
an old rev of KDE - and got my system back fully functional without
any loss of data or the need for a reflash.

Bottom line - the 2nd attempt on my n800 w/8gb sd worked great.

I seem to recall before the first attempt that didnt work - I had less then 20m free.
Second attempt with about 25mb free worked.

Thanks penguinbait!

ebrindle
05-01-2008, 01:14 PM
I give you sudo ALL=ALL in SD partition, you have to install becomeroot or the like for the flash partition.

In the (boot from SD) just open xterm and type "sudo su -"

This should make you root


I had the ssh packages loaded, and after the sd installer - i too lost
my root access.

I simply unloaded the ssh packages, and reloaded them - and voila -
my old password had returned.

penguinbait
05-01-2008, 02:01 PM
in the end it was all good but If it's better for you I may delete all my previous messages in this thread so the other users won't go away after reading my self-inflicted troubles :D

Only you can prevent forest fires, as smokey the bear says!!

#$%$#@! happens, glad to see you came out in good shape

manfredi90
05-01-2008, 02:20 PM
Fantastic idea! It will made more more more simple and easy clone the OS...
The probles is that I have a N810...:D so, when you will release a version that support the external card? thanx...;)

smog
05-01-2008, 02:25 PM
Only you can prevent forest fires, as smokey the bear says!!

#$%$#@! happens, glad to see you came out in good shape


I'm not afraid to reflash

penguinbait
05-01-2008, 02:32 PM
Fantastic idea! It will made more more more simple and easy clone the OS...
The probles is that I have a N810...:D so, when you will release a version that support the external card? thanx...;)

Its a very simple update, probaly make for specifically for boot external 810. Maybe this weekend, its a minor update. Just wanted to hammer out all the functionality before moving on...

ahli.os
05-02-2008, 10:10 AM
Uninstalling KDE (kdesup) quits with an error message ("rm cannot remove 'etc/rc2.d/S91cups").
How can I (manually) get rid of kde?

Karl

[[ cold ]]
05-02-2008, 10:11 AM
I made a DEB that will clone the currently running OS to a 2GB CARD. It will also clone it to bigger/smaller cards but its not really setup for that.

1GB
1: 64MB FAT
2: 872GB EXT2 (BOOT)
3: 64MB SWAP

2GB
1: 128MB FAT
2: 1.75GB EXT2 (BOOT)
3: 128MB SWAP

4GB
1: 256MB FAT
2: 3.5GB EXT2 (BOOT)
3: 256MB SWAP

6GB
1: 384MB FAT
2: 5.255GB EXT2 (BOOT)
3: 384MB SWAP

8GB
1: 512MB FAT
2: 6.6GB EXT2 (BOOT)
3: 512MB SWAP


If things go smoothly with this, I will make some more DEB's with different layouts for different sizes.

My initial build is only for N800 (either SD slot) or N810 IF YOU WANT TO CLONE TO THE INTERNAL 2GB CARD. This will not work on the n810 with a SD card. More work to follow.

(SEE BELOW) for a link to the DEB if you want to try it out. NOTICE (It may HOSE your device and cause you to REFLASH your OS.)
Use at own risk. Take backups of any important data before continuing.


The new deb will partition your SD/MMC card, clone the Flash to the card. Install Boot Menu (with telnet support). Then you just reboot to your new menu and partition.



This is really in testing phase, and I think the bugs are all out, but I want to have a few people test on other cards. So please (See Below) to test and please post your experiences out here...

Thanks


pb

This will partition and format SD card
This will clone currently running OS to SD card
This will install bootmenu (with telnet recovery)
This will fsck all EXT2 partitions on SD cards when booted to flash (plays wav when complete) (view log /tmp/fsck.txt)
This will add sudo ALL=ALL in /etc/sudoers (gives you root access "sudo su -") Only on cloned partition not on flash



TESTING USE AT OWN RISK




-- This will remove ALL current data on you SD card --


-- This will remove ALL current data on you SD card --


-- This will remove ALL current data on you SD card --


-- This will remove ALL current data on you SD card --




AGAIN THIS IS FOR EITHER SLOT IN N800, AND ONLY WILL INSTALL TO INSTERNAL 2gb ON N810. iT WILL NOT CURRENTLY INSTALL TO N810 WITH A SD CARD.

YOU WILL NEED 15MB FREE IN FLASH BEFORE INSTALLING.

ONLY 1 SD CARD CAN BE INSERTED DURING INSTALL PROCESS. IF TWO ARE INSTALLED THE INSTALL WILL COMPLETE SUCCESSFULLY, BUT IT ACTUALLY FAILED. REMOVE THE DEB AND START AGAIN.

IF YOU COMPLETE THE INSTALL AND THE CLONE WONT BOOT. BOOT BACK TO FLASH AND RUN IT A SECOND TIME (LET IT UPDATE) THIS SHOULD FIX IT. SOME CARDS SEEM TO NEED TO BE REBOOTED BEFORE BEING USEFULL AFTER PARTITIONING


Go to penguinbait.com

right click on "INSTALL TOOLS"

"save target as" (SAVE FILE ON FLASH NOT ON SD CARD)

Save the file somewhere, open application manager and select "install from file" from the menu. Select the file you just saved.

Once the install completes, reboot for your new bootmenu and select your SD card on boot.

PLEASE SEND ME LOG FROM APPLICATION MANAGER IF YOU GET A FAILURE :)


Thanks everyone, especially Fanoush (As Usual)

This deb steals all Fanoushes great work and packs it up with some scripting for my uses. If you would like to reinstall initfs with different options please see link below to Fanoush's home page
http://fanoush.wz.cz/maemo/

Is there any problem using a 16GB SDHC card??

penguinbait
05-02-2008, 10:46 AM
Uninstalling KDE (kdesup) quits with an error message ("rm cannot remove 'etc/rc2.d/S91cups").
How can I (manually) get rid of kde?

Karl


rm -rf /var/lib/dpkg/info/kde*

then you should be able to remove the apps from application manager

you would also want to remove
rm -rf /home/user/.kde if you are going to install the boot from SD version when you are done.

penguinbait
05-02-2008, 11:00 AM
];177148']Is there any problem using a 16GB SDHC card??

No but it would have a 1gb swap, not sure if it woud work, I only have an 8, but the 8 makes a 512 swap and it works, so it might.

ahli.os
05-02-2008, 11:15 AM
rm -rf /var/lib/dpkg/info/kde*

then you should be able to remove the apps from application manager

you would also want to remove
rm -rf /home/user/.kde if you are going to install the boot from SD version when you are done.

That did it! But still I get this error message: "trying to overwrite .... local.sh which is ...local-mmc1

I try to install to a N810 (internal card), with no external sd-card inserted.
Karl

rwijnhov
05-02-2008, 11:46 AM
ok i am trying to install this on my n810 but I keep getting the error while installing install tools that it can't install install tools. I have no card inserted.

tabletrat
05-02-2008, 11:52 AM
any other reports good bad ugly??

Followed the instructions, opened the install-tools in application manager, sat doing its progress bar thing for a while and then gave me the allways helpfull 'Couldn't install install-tools'
Tried again, it asked me if I wanted to update (so I guess it must have done something the first time) and after a while it said 'Couldn't update install-tools'

Although now I notice, it is sitting there in the installed applications list. Hmm.. how lucky am I feeling!

This is on a newly flashed 810 with no additional card in it

[[ cold ]]
05-02-2008, 12:57 PM
Followed the instructions, opened the install-tools in application manager, sat doing its progress bar thing for a while and then gave me the allways helpfull 'Couldn't install install-tools'
Tried again, it asked me if I wanted to update (so I guess it must have done something the first time) and after a while it said 'Couldn't update install-tools'

Although now I notice, it is sitting there in the installed applications list. Hmm.. how lucky am I feeling!

This is on a newly flashed 810 with no additional card in it

same happens to me with N800 + 16gb

EDIT: must be this issue: http://www.internettablettalk.com/forums/showthread.php?p=137051#post137051

penguinbait
05-02-2008, 01:17 PM
];177222']same happens to me with N800 + 16gb

EDIT: must be this issue: http://www.internettablettalk.com/forums/showthread.php?p=137051#post137051

If it failed the first time, you need to reboot, and run again. Reboot is necessary?

penguinbait
05-02-2008, 01:18 PM
That did it! But still I get this error message: "trying to overwrite .... local.sh which is ...local-mmc1

I try to install to a N810 (internal card), with no external sd-card inserted.
Karl



You need to remove local-mmc1 also, this was part of your old KDE install

penguinbait
05-02-2008, 01:19 PM
Followed the instructions, opened the install-tools in application manager, sat doing its progress bar thing for a while and then gave me the allways helpfull 'Couldn't install install-tools'
Tried again, it asked me if I wanted to update (so I guess it must have done something the first time) and after a while it said 'Couldn't update install-tools'

Although now I notice, it is sitting there in the installed applications list. Hmm.. how lucky am I feeling!

This is on a newly flashed 810 with no additional card in it

If it fails first time, did it reboot? EVERYONE Please send me your application manager logs

rwijnhov
05-02-2008, 02:27 PM
ok where do I find the log?

Benson
05-02-2008, 02:36 PM
Start App Mugger. Go Tools -> Log... -> Save as.
(If you haven't tried this install yet, you might go there now and clear it; then if the install fails, it won't have any extraneous data...)

rwijnhov
05-02-2008, 02:54 PM
ok I solved it. So for all you n810 owners. Under control panel, memory disable virtual memory. This locks the internal memory card. Then format the internal memory card. After fist install it will tell you that it can't install. Then reboot and run again. Then everything works as a sharm.

penguinbait
05-02-2008, 03:11 PM
ok where do I find the log?

In application manager menu, under tools > Log

[[ cold ]]
05-02-2008, 04:32 PM
];177222']same happens to me with N800 + 16gb

EDIT: must be this issue: http://www.internettablettalk.com/forums/showthread.php?p=137051#post137051

formatted my sd in low level and worked fine :D
installing KDE from your debs right now !

tabletrat
05-02-2008, 05:07 PM
If it fails first time, did it reboot? EVERYONE Please send me your application manager logs

No. As I said, it just said 'Coulnt' install'.

I rebooted manually. Nothing happened.

I will try installing again now after a reboot.

Nope.

Ahh - ok, it says the SD card is in use. I don't know what by as it is just started.
lsof | grep mmc2
says nothing

penguinbait
05-02-2008, 05:15 PM
No. As I said, it just said 'Coulnt' install'.

I rebooted manually. Nothing happened.

I will try installing again now after a reboot.

Nope.

Ahh - ok, it says the SD card is in use. I don't know what by as it is just started.
lsof | grep mmc2
says nothing

ok I solved it. So for all you n810 owners. Under control panel, memory disable virtual memory. This locks the internal memory card. Then format the internal memory card. After fist install it will tell you that it can't install. Then reboot and run again. Then everything works as a sharm.



Reading above posted

tabletrat
05-02-2008, 09:30 PM
Reading above posted

Thanks. I had come back to the computer after trying it and hadn't hit refresh on the page to see those posts, sorry.

Everything seems to be working now. The sizes of the partitions wasn't as you said though (though close enough), not that it matters that much.

I will go and investigate fanoush's page to see if there is a way to stop the requirement to select a boot device! It is a bit of a pain on an 810 when you have to slide the keyboard out to select.

penguinbait
05-02-2008, 10:24 PM
Thanks. I had come back to the computer after trying it and hadn't hit refresh on the page to see those posts, sorry.

Everything seems to be working now. The sizes of the partitions wasn't as you said though (though close enough), not that it matters that much.

I will go and investigate fanoush's page to see if there is a way to stop the requirement to select a boot device! It is a bit of a pain on an 810 when you have to slide the keyboard out to select.

you can change the boot default device from the command line.
chroot /mnt/initfs cal-tool --set-root-device ask:mmc2
chroot /mnt/initfs cal-tool --set-root-device ask:flash
chroot /mnt/initfs cal-tool --set-root-device ask:mmc12


But the 30 second timeout will have to be changed by reinstalling bootmenu. sorry,

download the initfs flasher
cp /mnt/initfs/bootmenu.conf into initfs_flasher
edit bootment timeout
install initfs
reboot done

what size partitions do you have, what card ??

b-man
05-02-2008, 10:28 PM
Hay penguindait!, i wasn't abele to install kde but i was abele to install your new "clone os to SD deb" and it works pritty good! :D :D :D especially my 1.3gb system free space. :)

the only real problem i am having is that i was foolish enough to try to create some vurtual memory and now every time i turn it on it says "vurtual memory is corrupt" and i can't remove it. Is there a way of fixing this problem?

enywase, thank you for your help and for theas great deb's! ;)

p.s. i'm booting from mmc2

penguinbait
05-02-2008, 10:34 PM
Hay penguindait!, i wasn't abele to install kde but i was abele to install your new "boot from sd deb" and it works pritty good! :D :D :D especially my 1.3gb system free space. :)

the only real problem i am having is that i was foolish enough to try to create some vurtual memory and now every time i turn it on it says "vurtual memory is corrupt" and i can't remove it. Is there a way of fixing this problem?

enywase, thank you for your help and for theas great deb's! ;)

p.s. i'm booting from mmc2


before you install anything else , you shoud install, kde on boot from sd installer now

http://www.internettablettalk.com/forums/showthread.php?t=19675

tabletrat
05-02-2008, 11:07 PM
But the 30 second timeout will have to be changed by reinstalling bootmenu. sorry,

download the initfs flasher
cp /mnt/initfs/bootmenu.conf into initfs_flasher
edit bootment timeout
install initfs
reboot done

what size partitions do you have, what card ??

Thanks for the info.

It is the internal memory of an 810. I seem to have 119MB swap and FAT space, and the rest as the internal memory, so I cant have 128MB swap file.
But I am not complaining, it means I now have plenty of useable space on the device in a non fat format I can use for unixy things.
It was a bit of a pain compiling on the device and running out of room all the time.

rwijnhov
05-03-2008, 04:24 AM
ok on my n810 i tried to also use kde installer for boot from sd. But there is just to little room to fit dat also on the internal sd. Is this ment to be? or should it be possible?

atlas95
05-03-2008, 06:59 AM
Sorry but I'm french and I havn't understand all the insctruction,
I just want a NO or YES for this question please:

I have a n810 and a 4gb external plug inside, is it possible to copy the system one the 4gb external card?

Thanks

gemniii42
05-03-2008, 07:36 AM
Sorry but I'm french and I havn't understand all the insctruction,
I just want a NO or YES for this question please:

I have a n810 and a 4gb external plug inside, is it possible to copy the system one the 4gb external card?

Thanks
From reading the thread NO - qualified by not yet.

I was about to post -
These instructions are great but do you have a foolproof and idiotproof way to back up my N810 system to external flash (so I can restore it when I invariably mess up and do not have an operable USB port) and do the instructions?

tabletrat
05-03-2008, 12:22 PM
strangely my swap partition seems to have dissapeared now. It says there is no room for swap, but I can't see where it is gone!

tabletrat
05-04-2008, 01:11 PM
OK, after a bit of digging about, restarting etc, I can't seem to get it to accept swap from the UI. Am I missing something here?

linuxrebel
05-04-2008, 11:43 PM
Ok... here goes.

1. Clean 2GB card in mmc2 (internal slot on n800, running latest 2008 (admittedly modified like crazy.)

2. SCP'd the install.deb int /home/user.

3. Resisted temptation to go Linux on this and do dpkg -i .... using the installer instead. (grumble ;) )

4. Remembered why I hate the install tool... moved the deb into one of the MyDoc dot files.

5. Get warned by Nokia that they aren't responsible for the software. (well du-uh)

6. Get passive pop-up that the memory card is available. (this looks like it's a good thing.)

7. Xylon "eye" still running after about 1 minute. Expecting this to be a long install so no problem.

8. Took less than 5 but more than 1 minute (time isn't an option here.) Gave me an all clean message that the install was successful.

9. Removed power to shut down.

10. rebooted greeted with fanoushes boot loader. accepted the default.

11. Boot from mmc2 failed .... booting from flash (this thankfully succeeded.

12 upon boot I get a message that the memory card is corrupted or otherwise unreadable.

13. Did a USB connect to my laptop (running Debian)

14. From the laptop I see this

fdisk -l /dev/sdb
/dev/sdb1 1 3829 122527+ 6 FAT16
/dev/sdb2 3830 57435 1715392 83 Linux
/dev/sdb3 57436 61264 122528 82 Linux swap / Solaris

Unable to mount or read the files there as well. I'm going to re-format and try again with this card. Ok... got into an endless boot loop.... Got out of it by moving the SD card to the other slot. Now back to square one. about to finish the clean up and try again.

penguinbait
05-05-2008, 07:45 AM
Ok... here goes.

1. Clean 2GB card in mmc2 (internal slot on n800, running latest 2008 (admittedly modified like crazy.)

2. SCP'd the install.deb int /home/user.

3. Resisted temptation to go Linux on this and do dpkg -i .... using the installer instead. (grumble ;) )

4. Remembered why I hate the install tool... moved the deb into one of the MyDoc dot files.

5. Get warned by Nokia that they aren't responsible for the software. (well du-uh)

6. Get passive pop-up that the memory card is available. (this looks like it's a good thing.)

7. Xylon "eye" still running after about 1 minute. Expecting this to be a long install so no problem.

8. Took less than 5 but more than 1 minute (time isn't an option here.) Gave me an all clean message that the install was successful.

9. Removed power to shut down.

10. rebooted greeted with fanoushes boot loader. accepted the default.

11. Boot from mmc2 failed .... booting from flash (this thankfully succeeded.

12 upon boot I get a message that the memory card is corrupted or otherwise unreadable.

13. Did a USB connect to my laptop (running Debian)

14. From the laptop I see this

fdisk -l /dev/sdb
/dev/sdb1 1 3829 122527+ 6 FAT16
/dev/sdb2 3830 57435 1715392 83 Linux
/dev/sdb3 57436 61264 122528 82 Linux swap / Solaris

Unable to mount or read the files there as well. I'm going to re-format and try again with this card. Ok... got into an endless boot loop.... Got out of it by moving the SD card to the other slot. Now back to square one. about to finish the clean up and try again.



Again , as noted in the install info, if it fails the first time, just boot back to flash and re-run it again.

What I noticed is some cards need to be rebooted after partitioning. I you reformat it again and then run again, it may fail again.

rwijnhov
05-05-2008, 08:51 AM
same problem here with the virtual memory on an n810.

penguinbait
05-05-2008, 09:29 AM
same problem here with the virtual memory on an n810.

What exactly is the problem? You cannot enable it at any size?

You do know this creates a swap partition and enables it, so you do not need to use a swap file, unless you want even more swap?

open xterm, and type

free

it will show you how much swap you have and its usage

Natehunderd
05-05-2008, 12:18 PM
OK - I'm sure I just missed this somewhere. If I use an 8GB card to boot from SD, then want to install the KDE (boot from SD).deb on the same card... Will the KDE install eat up all the ext2 space on the card? Or will the new KDE .deb install install in a similar way to the older version i.e. Run KDE from Extra's menu?

Nate

Thanks again Penguinbait.

penguinbait
05-05-2008, 01:25 PM
OK - I'm sure I just missed this somewhere. If I use an 8GB card to boot from SD, then want to install the KDE (boot from SD).deb on the same card... Will the KDE install eat up all the ext2 space on the card? Or will the new KDE .deb install install in a similar way to the older version i.e. Run KDE from Extra's menu?

Nate

Thanks again Penguinbait.

If you use the 8GB card, and install KDE, your install will be using about 1.3GB with about 5GB left

KDE is still started the same way from the extras menu

Just boot to SD and install the KDE deb

tabletrat
05-08-2008, 02:00 PM
What exactly is the problem? You cannot enable it at any size?

You do know this creates a swap partition and enables it, so you do not need to use a swap file, unless you want even more swap?

open xterm, and type

free

it will show you how much swap you have and its usage

ok ta.
I wanted even more swap. And a pony. Onna stick.

Originally I could have more swap, but now it won't let me have any swap (from the UI). But I suppose if it has it, I don't need more.

penguinbait
05-08-2008, 02:14 PM
ok ta.
I wanted even more swap. And a pony. Onna stick.

Originally I could have more swap, but now it won't let me have any swap (from the UI). But I suppose if it has it, I don't need more.


perhaps there is something wrong with your fat partition, can you put files on it? Is it writable?

jbenny
05-08-2008, 05:56 PM
I had done this previously with the manual instructions, but had to reflash and messed things up, so I will try this method.

I have an 8GB card and a couple of 1GB cards. I will use a 1GB card as the internal for cloning. I have a probably stupid question. Is there any reason to have the 64MB FAT partition if I have an external card? If I use your deb, can I later manually run fdisk and expand the swap partition to 128MB, leaving out the 64MB FAT partition?

Is there any reason that I couldn't put OS2007 on one 1GB card and OS2008 on another 1GB card and swap out the cards when I wanted to? Will this cause any problems?

linuxrebel
05-08-2008, 11:55 PM
Well, after the first time through botching it. (as long as the 2g was in it wouldn't boot .. so it goes) I moved data around an installed it on my 4g.... then suddenly, I heard a familiar voice telling me how to pronounce Linux. I'm running off of the flash without a hitch.

One note it only let me extend memory to 112MB not the full 128 .... seems it does some sort of percentage thing with the available vfat space. Other minors. Nope MicroB doesn't load any faster (rats :( ) and I noticed that the icons in the control panel doubled in size. Otherwise... so far so good.

wii!

jbenny
05-09-2008, 12:57 AM
Installing the deb worked just fine the first time through (I cloned an OS2007). Booted from the internal 1GB SD card works fine and things seem a bit snappier.

I am having one problem. Every time I plug in the USB cable, I am told that the internal memory card is in use (it's not). I can access the external card via USB. When I unplug the USB cable, File Manager shows the internal card greyed-out and says it is not installed. If I reboot, things are back to normal. I am currently using the default partitions created by the deb. I still have a 64MB FAT partition.

nrune
05-09-2008, 06:55 AM
I am having a problem, I have tried downloading to the n800, and downloading to a pc and transfer over, every time I get a message Installation file corrupted. Any ideas?

tabletrat
05-09-2008, 08:41 AM
perhaps there is something wrong with your fat partition, can you put files on it? Is it writable?

yep, it is writable, and claims to have 112.1MB in use and 7MB available (I have one 3k file on there, that I just copied over to test it was writable).
Which was the size of the swap I originally had on there (the largest it could be).
It won't let me format it, it says its in use.

I guess I don't get my pony ;)

Jiggie
05-09-2008, 11:37 PM
When I am trying to install install-tools, I am getting a message Unable to install.
I was booting from SD card earlier but I wanted to change my partitions for KDE installation. So I formatted my SD Card.
But now I am not able to install this deb.

penguinbait
05-11-2008, 07:33 PM
When I am trying to install install-tools, I am getting a message Unable to install.
I was booting from SD card earlier but I wanted to change my partitions for KDE installation. So I formatted my SD Card.
But now I am not able to install this deb.

If you are having trouble installing, please PASTE your Application manager Log file here, so I can help you.

You can get to it in the application manager menu, Tools > Log

Amarantus
05-12-2008, 11:59 AM
Got my N800 last week upgraded it an clone OS to mmc using this deb
Great work buddy !!!

Iceman0124
05-13-2008, 05:55 AM
I'm new to all this, and i'm pretty sure I'm missing something, I copy the file to main memory, I can run it, but it says unable to update install tools.....what am I doing wrong?


Figured it out, i needed to disable swap, then it seemed to work like a charm. Thanks

Iceman0124
05-13-2008, 07:54 PM
One more question, do i need to enable the 128 mb swap in the CP? Or is the larger swap already enabled by the program?

penguinbait
05-13-2008, 08:51 PM
One more question, do i need to enable the 128 mb swap in the CP? Or is the larger swap already enabled by the program?

Swap will be enabled using a swap partition. The partition size will depend on what size card you installed it on.

card size = swap size
1gb = 64mb
2gb = 128mb
4gb = 256mb
8gb = 500mb

Note this is only in use on the SD partition, if you boot to flash, you would need a swap file for flash

Iceman0124
05-14-2008, 02:14 AM
i'm using an 8GB card, Thanks again!

penguinbait
05-14-2008, 02:56 PM
For those who were asking, I created a N810 external slot version of the boot from SD deb.

Get it from http://penguinbait.com

"INSTALL TOOLS EXTERNAL 810 SLOT"


After install it can be uninstalled from both Flash and SD.

mrlanrat
05-15-2008, 03:08 AM
For those who were asking, I created a N810 external slot version of the boot from SD deb.
Get it from http://penguinbait.com
"INSTALL TOOLS EXTERNAL 810 SLOT"


Thanks!

BTW, you have a typo in your 1st post

1GB
1: 64MB FAT
2: 872GB EXT2 (BOOT)
3: 64MB SWAP

Id like 872GB on my NIT!

anidel
05-15-2008, 05:22 AM
Trying the N810 external version.

While writing it gave me an error: unable to install.
The log where reporting errors about unable to umount the card.
The file manager states that it can format the damaged card because it's being used as virtual memory.
Removed the virtual memory from the Settings panel, reformatted the card from the File Manager and trying again.

I am doing this from a freshly flashed unit with a 2Gb MiniSD card.

EDIT: is it supposed to SPEAK after it has cloned the SD and booted from it ???
Because I restarted the tablet (as it umounted the internal card and wanted to start "fresh") and I heard an "hello... something" !

the log file is attached.
From it looks like something is using the external card.
I have no idea of who's the process using it.
the deb file is on the Flash (internal main small flash memory), the only open application is the
Application Manager and I just did a flash of the unit before trying the cloning.

EDIT2: Also tried the n800 version. Removed the external SD card (it complained about having two sd cards). It gave me the very same errors. Card busy and plenty of errors after that.

In both cases it DOES repartition the cards, but is unable to format them.

EDIT3: Trying to "update" it after a reboot.. let's see.

anidel
05-15-2008, 06:29 AM
Ok, after reboot worked.
Sorry to bother, but didn't go thru the whole (10 pages long) thread looking for the answer before...

penguinbait
05-15-2008, 09:57 AM
Ok, after reboot worked.
Sorry to bother, but didn't go thru the whole (10 pages long) thread looking for the answer before...


OK, so what exactly was the problem, and how did you fix it?

I am thinking it sounds like what I have seen on some cards. It just fails, and until you reboot and run again it will continue to fail. It has something to do with the repartitioning. Some card handle it fine it seems, and some it seems need to be rebooted in order to be useable after a repartition.

Glad to hear you eventually had success.

I updated original post

IF YOU COMPLETE THE INSTALL AND THE CLONE WONT BOOT, OR IF THE INSTALL FAILS. BOOT/REBOOT BACK TO FLASH AND RUN IT A SECOND TIME (LET IT UPDATE) THIS SHOULD FIX IT. SOME CARDS SEEM TO NEED TO BE REBOOTED BEFORE BEING USEFULL AFTER PARTITIONING


If you look at the log output below you can see what is happening. Even though the script called it to reread the partition table, apparently it read the old one, and it did not create the needed devices we just created (/dev/mmcblk1pX) Rebooting and allowing the system to reread the card, it now will have the devices when it boots. Its possible that just removing the card, and then re-inserting it may work also, but I have not tested.

LOG OUTPUT
mke2fs 1.37 (21-Mar-2005)
Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
mkswap: can't open '/dev/mmcblk1p3': No such file or directory
swapon: can't stat '/dev/mmcblk1p3': No such file or directory
mkdir: cannot create directory '/device': File exists
mkdir: cannot create directory '/flash': File exists
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File exists
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists
mount: mounting /dev/mmcblk1p2 on /device failed
ERROR
SD CARD IS IN USE - SAVE DEB TO FLASH AND RE-RUN
ERROR

anidel
05-15-2008, 10:27 AM
I did not fix it actually.
I ran it, it failed, rebooted, "updated" it and this time it worked.
And yes, it HAS to do with repartitioning. And dunno if you CAN do something about it.
The very same issue appears if I repartition a card in the tablet from a Linux machine via USB. The tablet coninues to see the old partition map.

About your test I am sorry I can't try it. Just finished re-configuring almost everything.
The 'real' problem is if one wants to clone the FS to the internal 2Gb card of the N810.

Did you try a "sync" after the re-partitioning in your scripts ?

penguinbait
05-15-2008, 10:39 AM
I did not fix it actually.
I ran it, it failed, rebooted, "updated" it and this time it worked.
And yes, it HAS to do with repartitioning. And dunno if you CAN do something about it.
The very same issue appears if I repartition a card in the tablet from a Linux machine via USB. The tablet coninues to see the old partition map.

About your test I am sorry I can't try it. Just finished re-configuring almost everything.
The 'real' problem is if one wants to clone the FS to the internal 2Gb card of the N810.

Did you try a "sync" after the re-partitioning in your scripts ?


The original script install-tools.deb worked fine on the internal 810. But I did have to reboot and re-run. I do call it to reread, it just must not be working on some cards.

haoside
05-15-2008, 10:55 AM
is it possible use firesystem with EXT3

haoside
05-15-2008, 10:57 AM
I know EXT2/EXT3 just like fat32/ntfs

anidel
05-15-2008, 10:57 AM
The original script install-tools.deb worked fine on the internal 810. But I did have to reboot and re-run. I do call it to reread, it just must not be working on some cards.

Yes... the issue is the "reboot" part.

penguinbait
05-15-2008, 11:16 AM
Yes... the issue is the "reboot" part.

While it may be an "issue" it is a very minor one, I think? As you said, even doing this manually you would have to reboot.

And I am pretty sure using this is way faster that doing it manually, even for me.

I dont see any way, I can fix this. OK OK, I dont see anyway, I am going to fix that.

I could create a two deb process with a reboot between them, but I am lazy and this is working good :D

penguinbait
05-15-2008, 11:23 AM
I know EXT2/EXT3 just like fat32/ntfs



I would have to change some scripting, but its possible to do. But I honestly am not sure you would want to do this?

I have not looked into the performance implications on using ext3 over ext2 on such a low power device. Its possible performance could be hurt by using ext3?

I am sure Fanoush or someone will jump in here clarify this?

anidel
05-15-2008, 11:26 AM
While it may be an "issue" it is a very minor one, I think? As you said, even doing this manually you would have to reboot.

Yes, absolutely. I know it's a minor one :)

And I am pretty sure using this is way faster that doing it manually, even for me.

I dont see any way, I can fix this. OK OK, I dont see anyway, I am going to fix that.

I could create a two deb process with a reboot between them, but I am lazy and this is working good :D

It's not worth it :)
Spend you time in better ways.

Thanks! :)

Benson
05-15-2008, 11:32 AM
OK, I did not use this .deb (I wanted some things rather more complicated; I'll post what all I did do later...), but I have a suggestion: If you open the cover for whichever SD you're working with, ITOS will refrain from trying to mount it. But the device remains accessible, so I think this should work well with the .deb. I think this might eliminate some of the reboot needs around here... Comments, PB?

(And if I was anyone considering using this trick, I would definitely wait for further input; I think what I just said makes sense, and it seemed to work, but you really should wait for someone who knows the stuff to at least say they don't think it'll break things...)

anidel
05-15-2008, 11:40 AM
Makes a lot of sense...

penguinbait
05-15-2008, 11:41 AM
OK, I did not use this .deb (I wanted some things rather more complicated; I'll post what all I did do later...), but I have a suggestion: If you open the cover for whichever SD you're working with, ITOS will refrain from trying to mount it. But the device remains accessible, so I think this should work well with the .deb. I think this might eliminate some of the reboot needs around here... Comments, PB?
(And if I was anyone considering using this trick, I would definitely wait for further input; I think what I just said makes sense, and it seemed to work, but you really should wait for someone who knows the stuff to at least say they don't think it'll break things...)


Thats not goin to help, unfortunately. What is happening is when the device is inserted. Say its fresh from the factory.

New SD card plugs in, it reads the partition table and creates twp devices /dev/mmcblk0 and /dev/mmcblk0p1

/dev/mmcblk0p1 is the first partition, since its new, I assume its FAT..

What happens is my script is repartitioning the SD card, and creating 3 partitions.

These partitions would be accessed as /dev/mmcblk0p1 /dev/mmcblk0p2 and /dev/mmcblk0p3

The problem is that after the partitions are made, the DEVICES /dev/mmvblk0p2 and 0p3 are not being created, thus cannot be accessed immediately.

My scripts is calling a re-read of the partition table, but for some systems, it will not create the device files /dev/mmcblk0p2 and p3.

By rebooting, it forces the card to be reread, and the devices are available after a reboot.

rerunning the script again will allow it to finish cleanly.

Perhaps, as I mentioned, actually physically removing the card, and re-inserting it (instead of reboot) MAY WORK, but as I already mentioned, its untested by me...

anidel
05-15-2008, 11:46 AM
What you can get from Benson hint is that, instead of restarting the device, may be opening the tray and closing it again SHOULD force the re-creation of the devices and thus of the news ones (2 and 3).

Well this is much the same are removing and inserting the card :D

penguinbait
05-15-2008, 02:52 PM
The original DEB has been updated.

This should be installed and then uninstalled once successfull.

There is a problem with the original DEB, that if you uninstall it (from flash), it will no longer fsck your cards when you boot to flash.

if you uninstall it (from SD partition), it will no longer mount swap space your cards when you boot to SD.

This new update will fix it, so after you install, you can uninstall and everything will stay in place.

I am now, calling testing phase over,

please enjoy!!!!!!

Oberon85
05-15-2008, 04:21 PM
This deb rocks... thank you for your work on this!! Excellent tool.

Have a great day!

haoside
05-16-2008, 09:16 PM
Thinks for your reply

sleepkyng
05-17-2008, 04:21 PM
i've followed the instructions exactly, and each time i try to install it says my memory card is corrupted, but it isn't...

man i've just terrible luck with this.

5 different sd cards - when i go to install the deb (which is located on flash) every time it corrupts the card.

**** i want KDE on my n800 but for the love of god i think it's never gonna happen.

penguinbait
05-17-2008, 05:42 PM
i've followed the instructions exactly, and each time i try to install it says my memory card is corrupted, but it isn't...

man i've just terrible luck with this.

5 different sd cards - when i go to install the deb (which is located on flash) every time it corrupts the card.

**** i want KDE on my n800 but for the love of god i think it's never gonna happen.


You install one time, even if it fails, reboot
install it again ??

It should work, it has for everyone else?

sleepkyng
05-17-2008, 06:52 PM
when i install it give me a "memory card corrupted" - have yo uheard of other people getting this?

sorry, i REALLY REALLY appreciate all the work you've done, so i'm gonna give it another go.

You install one time, even if it fails, reboot
install it again ??

It should work, it has for everyone else?

nope, doesn't work... maybe i've just got a bum dl'd?

when i tried reinstalling i get severall popups saying the memory card is corrupted... sucks sucks sucks, maybe i've done something to the os?

sleepkyng
05-17-2008, 07:00 PM
i dunno what i did but this works now,

YOU ARE AWESOME!

bootdoc
05-17-2008, 07:26 PM
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
05-17-2008, 09:56 PM
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
05-18-2008, 04:11 PM
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
05-20-2008, 09:07 PM
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
05-20-2008, 09:35 PM
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
05-20-2008, 10:19 PM
Confirmed working on N810 running Diablo :D

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

Amazing work, mon amie!

joepagiii
05-21-2008, 08:16 AM
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
05-21-2008, 08:30 AM
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
05-21-2008, 09:06 AM
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
05-21-2008, 07:39 PM
switched to the sandisk...works better...thanks

penguinbait
05-21-2008, 07:42 PM
switched to the sandisk...works better...thanks

Do you have some speed tests you can share?

joepagiii
05-21-2008, 07:48 PM
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
05-26-2008, 11:38 AM
Hi Penguinbait, your site is down (penguinbait.com) as per time logged on this note.

penguinbait
05-26-2008, 01:48 PM
And its back :)

sorry for the inconvenience, I blame Comcast :)

Westy
05-26-2008, 03:16 PM
So it is... ace. A poke in the eye from me to Comcast.

Westy
05-26-2008, 04:03 PM
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
05-26-2008, 04:06 PM
penguinbait...we used to refer to comcast as commiecast

penguinbait
05-26-2008, 05:02 PM
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
05-26-2008, 05:50 PM
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
05-28-2008, 12:33 AM
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
05-28-2008, 01:52 AM
yeah, it will be great, cos now my 16Gb sd crashes when I try to install.

penguinbait
05-28-2008, 10:47 AM
what do you mean, what crashes when you install what?

Can you also define crashes?

thorbo
05-28-2008, 12:12 PM
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
05-28-2008, 12:55 PM
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
05-28-2008, 01:13 PM
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
05-28-2008, 06:43 PM
penguinbait
I run install, then it fails. After that I can't access sd card, and tablet suggest to format it.

joepagiii
05-28-2008, 06:45 PM
i remeber reading to reboot the rerun the install

penguinbait
05-28-2008, 10:54 PM
is it possible use firesystem with EXT3

It is now!

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

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

its done

http://www.internettablettalk.com/forums/showthread.php?p=186776#post186776

Westy
05-29-2008, 10:02 AM
You are just forum sexyness... well done. Ths is rather exciting... now where did I put my Debian download!?

OSEmuTech
05-31-2008, 08:13 PM
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 (http://www.internettablettalk.com/forums/showthread.php?t=18751)" (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
05-31-2008, 08:25 PM
I just cloned OS 2008 to a 8GB card, installed OS 2007 on flash, setup the dual-booting using "clonegk (http://www.internettablettalk.com/forums/showthread.php?t=18751)" (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
05-31-2008, 09:12 PM
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 (http://www.internettablettalk.com/forums/showthread.php?t=18751)

"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
05-31-2008, 09:49 PM
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
05-31-2008, 11:20 PM
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
06-01-2008, 06:21 PM
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/forums/showthread.php?t=18751&page=18

gwalborn
06-01-2008, 07:31 PM
I believe that

What list are you referring to?

I think you meant to post in?:
http://www.internettablettalk.com/forums/showthread.php?t=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
06-01-2008, 07:52 PM
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/forums/showthread.php?p=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
06-02-2008, 01:08 PM
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
06-02-2008, 01:16 PM
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
06-02-2008, 09:44 PM
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.

penguinbait
06-02-2008, 09:52 PM
I downloaded install-tools to flash 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.


redownload the file, I am assuming you used the browser, I am suspecting its the browser, wget seems to work every time?

anyway its corrupted, try again

Machster
06-02-2008, 10:23 PM
redownload the file, I am assuming you used the browser, I am suspecting its the browser, wget seems to work every time?

anyway its corrupted, try again

Yup, I am using the browser. Seven or eight times now it seems to download fine. Maybe I'll try again tomorrow?

hazman11
06-03-2008, 08:31 PM
I know that I have no doubt done something wrong, but having spent a couple of days going through the forums trying to fix, I am lost.

I have an N810 and I installed the Clone OS to SD Deb to the internal card. I received a message saying it failed. Rebooted and tried again. Same thing.

I have reflashed by N810 and tried to reformat the internal card and every time I reboot, the internal card only has 120MB approx of available space.

I have tried to format in windows (and it says it is successful), but then when i reboot it says still only has the 120MB approx.

I have tried to repartition in Xterm, but get the same result.

I have attached the log from the last attempt at installing. there seems to be a couple of glaring problems, but being a novice, I have no idea what to do to fix.

Any help would be greatly apreciated.

*****

hildon-application-manager 2.0.2
W: Couldn't stat source package list http://repository.maemo.org chinook/user Packages (/var/lib/apt/lists/repository.maemo.org_dists_chinook_user_binary-armel_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
/usr/bin/dpkg-deb -f '/home/user/MyDocs/.documents/install-tools.deb'
/usr/bin/dpkg --install '/home/user/MyDocs/.documents/install-tools.deb'
(Reading database ... 16611 files and directories currently installed.)
Preparing to replace install-tools 1.0.0-2 (using .../.documents/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
BLKRRPART: Input/output error
read: Input/output error

sfdisk: read error on /dev/mmcblk0 - cannot read sector 0
/dev/mmcblk0: unrecognized partition table type
No partitions found
BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) multi-call binary

Usage: umount [flags] FILESYSTEM|DIRECTORY

Checking that no-one is using this disk right now ...
BLKRRPART: Input/output error
OK
read: Input/output error

Disk /dev/mmcblk0: 61440 cylinders, 4 heads, 16 sectors/track

sfdisk: read error on /dev/mmcblk0 - cannot read sector 0
/dev/mmcblk0: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 0+ 3839 3840- 122879+ 6 FAT16
/dev/mmcblk0p2 3840 57599 53760 1720320 83 Linux
/dev/mmcblk0p3 57600 61439 3840 122880 82 Linux swap / Solaris
/dev/mmcblk0p4 0 - 0 0 0 Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
read: Input/output error

sfdisk: read error on /dev/mmcblk0 - cannot read sector 0
Re-reading the partition table ...
BLKRRPART: Input/output error

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

IT APPEARS EVERYTHING WENT SMOOTHLY AND YOUR PARTITIONS ARE NOW CREATED

LETS START THE FORMATTING PROCESS

BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) multi-call binary

Usage: umount [flags] FILESYSTEM|DIRECTORY

fsck 1.37 (21-Mar-2005)
open /dev/mmcblk0p1:No such file or directory
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
fsck 1.37 (21-Mar-2005)
e2fsck 1.37 (21-Mar-2005)
fsck.ext2: No such file or directory while trying to open /dev/mmcblk0p2

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

/dev/mmcblk0p1: No such file or directory
mkfs.msdos 2.11 (12 Mar 2005)
mke2fs 1.37 (21-Mar-2005)
Could not stat /dev/mmcblk0p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
mkswap: can't open '/dev/mmcblk0p3': No such file or directory
swapon: can't stat '/dev/mmcblk0p3': No such file or directory
BLKRRPART: Input/output error
mkdir: cannot create directory '/device': File exists
mkdir: cannot create directory '/flash': File exists
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File exists
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists
mount: mounting /dev/mmcblk0p2 on /device failed
ERROR
SD CARD IS IN USE - SAVE DEB TO FLASH AND RE-RUN
ERROR
dpkg: error processing install-tools (--install):
subprocess post-installation script returned error exit status 99
Errors were encountered while processing:
install-tools
W: Couldn't stat source package list http://repository.maemo.org chinook/user Packages (/var/lib/apt/lists/repository.maemo.org_dists_chinook_user_binary-armel_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org chinook/user Packages (/var/lib/apt/lists/repository.maemo.org_dists_chinook_user_binary-armel_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems

Machster
06-03-2008, 08:40 PM
Tonight l was able to download the file and install it. Booting from the new SD card is working. However, I have 2 questions:


1. Using apt-get now I am getting this message in this example:
$ sudo apt-get install canola2
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg /), is another process using it?


[Edit: Nevermind about #1. I must have had Application Manager running in the background.]

2. I had KDE installed using flash and a different SD card. How can I reinstall it? Can I just copy the 2 directories from the old card to the new card somewhere?

penguinbait
06-04-2008, 03:12 PM
I know that I have no doubt done something wrong, but having spent a couple of days going through the forums trying to fix, I am lost.

I have an N810 and I installed the Clone OS to SD Deb to the internal card. I received a message saying it failed. Rebooted and tried again. Same thing.

I have reflashed by N810 and tried to reformat the internal card and every time I reboot, the internal card only has 120MB approx of available space.

I have tried to format in windows (and it says it is successful), but then when i reboot it says still only has the 120MB approx.

I have tried to repartition in Xterm, but get the same result.

I have attached the log from the last attempt at installing. there seems to be a couple of glaring problems, but being a novice, I have no idea what to do to fix.

Any help would be greatly apreciated.

*****


BLKRRPART: Input/output error
read: Input/output error

sfdisk: read error on /dev/mmcblk0 - cannot read sector 0
/dev/mmcblk0: unrecognized partition table type
No partitions found
BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) multi-call binary

Usage: umount [flags] FILESYSTEM|DIRECTORY

Checking that no-one is using this disk right now ...
BLKRRPART: Input/output error
OK
read: Input/output error

Disk /dev/mmcblk0: 61440 cylinders, 4 heads, 16 sectors/track

sfdisk: read error on /dev/mmcblk0 - cannot read sector 0
/dev/mmcblk0: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 0+ 3839 3840- 122879+ 6 FAT16
/dev/mmcblk0p2 3840 57599 53760 1720320 83 Linux
/dev/mmcblk0p3 57600 61439 3840 122880 82 Linux swap / Solaris
/dev/mmcblk0p4 0 - 0 0 0 Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
read: Input/output error

sfdisk: read error on /dev/mmcblk0 - cannot read sector 0
Re-reading the partition table ...
BLKRRPART: Input/output error

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

IT APPEARS EVERYTHING WENT SMOOTHLY AND YOUR PARTITIONS ARE NOW CREATED

LETS START THE FORMATTING PROCESS

BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) multi-call binary

Usage: umount [flags] FILESYSTEM|DIRECTORY

fsck 1.37 (21-Mar-2005)
open /dev/mmcblk0p1:No such file or directory
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
fsck 1.37 (21-Mar-2005)
e2fsck 1.37 (21-Mar-2005)
fsck.ext2: No such file or directory while trying to open /dev/mmcblk0p2

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

/dev/mmcblk0p1: No such file or directory
mkfs.msdos 2.11 (12 Mar 2005)
mke2fs 1.37 (21-Mar-2005)
Could not stat /dev/mmcblk0p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
mkswap: can't open '/dev/mmcblk0p3': No such file or directory
swapon: can't stat '/dev/mmcblk0p3': No such file or directory
BLKRRPART: Input/output error
mkdir: cannot create directory '/device': File exists
mkdir: cannot create directory '/flash': File exists
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File exists
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists
mount: mounting /dev/mmcblk0p2 on /device failed
ERROR
SD CARD IS IN USE - SAVE DEB TO FLASH AND RE-RUN
ERROR
dpkg: error processing install-tools (--install):
subprocess post-installation script returned error exit status 99
Errors were encountered while processing:
install-tools
W: Couldn't stat source package list http://repository.maemo.org chinook/user Packages (/var/lib/apt/lists/repository.maemo.org_dists_chinook_user_binary-armel_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org chinook/user Packages (/var/lib/apt/lists/repository.maemo.org_dists_chinook_user_binary-armel_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems


It appears your SD card is corrupt

penguinbait
06-04-2008, 03:21 PM
2. I had KDE installed using flash and a different SD card. How can I reinstall it? Can I just copy the 2 directories from the old card to the new card somewhere?

I am not sure if this would work, as I have stated you should remove that version of KDE prior to booting from SD.

The KDE easy install version is not meant to run from boot from SD. You should just install v3, via KDE v3 installer

http://www.internettablettalk.com/forums/showthread.php?t=20317

hazman11
06-05-2008, 09:07 AM
Is there anyway to re-format?

At present I can't download any programs as it is trying to use that card to d/l them. I don't seem to have the option that has been discussed previously to change that setting in Application Manager.

Any other suggestions to change the system to use the MMC1 to download packages?

thanks for any help

penguinbait
06-05-2008, 11:06 AM
Is there anyway to re-format?

At present I can't download any programs as it is trying to use that card to d/l them. I don't seem to have the option that has been discussed previously to change that setting in Application Manager.

Any other suggestions to change the system to use the MMC1 to download packages?

thanks for any help



I had a problem on my wife's 810 where the internal 2GB became readonly. The only way to fix was fdisk and reformat the internal 2GB.

I find it hard to believe the internal 2GB card is corrupt totally.

Since you cannot install the deb to fix it, look at the install tools advanced edition :)

This can be used from the command line, provided you have root access.

http://www.internettablettalk.com/forums/showthread.php?t=20534

If you do not already have becomeroot or some other root access, you would need to put the device in R&D mode so it can be fixed.

If you send me a PM with a way to contact you, (IM like AIM yahoo google something) I will try to walk you through this if you like.?

st5150
06-07-2008, 05:46 PM
Can anyone help me with this? On my 810 I installed install-tools-N810e.deb and cloned to my external 8gig card just fine. Then after some thought I realized I'd be better off cloning the OS and running it off of the internal 2gig card instead. I tried to install install-tools.deb but got an error. I tried uninstalling install-tools-N810e.deb from app manager with no luck. I tried disabling the 128mb of swap I had on the internal 2gig card with no luck. Anyone know how I can clone to the internal 2gig card now?

EDIT: No clue what changed, but I tried it one more time several hours later and it worked. Only difference from last time is I had no pending ssh sessions into the NIT :shrug:

penguinbait
06-08-2008, 02:29 PM
Can anyone help me with this? On my 810 I installed install-tools-N810e.deb and cloned to my external 8gig card just fine. Then after some thought I realized I'd be better off cloning the OS and running it off of the internal 2gig card instead. I tried to install install-tools.deb but got an error. I tried uninstalling install-tools-N810e.deb from app manager with no luck. I tried disabling the 128mb of swap I had on the internal 2gig card with no luck. Anyone know how I can clone to the internal 2gig card now?

EDIT: No clue what changed, but I tried it one more time several hours later and it worked. Only difference from last time is I had no pending ssh sessions into the NIT :shrug:

If you are using install-tools.deb, you cannot have a card in the external slot, of it will fail.

Not sure what your problems was though? could that have been it?

Posting application log is always helpful :)

st5150
06-09-2008, 06:44 AM
I'm not sure if I had a card in the slot or not, I want to say no. It doesn't matter now, I'm up and running.... linus is talking to me... or at least was until I rm -rf /root/.linus

When I find some free time, I'll figure out how to change bootmenu initfs flasher time out from 30 seconds to ~3 since /mnt/initfs/bootmenu.conf is on a read only partition. It looks like I may have to re-install fanoushes initfs_flasher with my modified bootmenu.conf file. Something I'm weary of doing.

penguinbait
06-09-2008, 11:20 AM
I'm not sure if I had a card in the slot or not, I want to say no. It doesn't matter now, I'm up and running.... linus is talking to me... or at least was until I rm -rf /root/.linus

When I find some free time, I'll figure out how to change bootmenu initfs flasher time out from 30 seconds to ~3 since /mnt/initfs/bootmenu.conf is on a read only partition. It looks like I may have to re-install fanoushes initfs_flasher with my modified bootmenu.conf file. Something I'm weary of doing.


cd /root/install-tools

edit bootmenu.conf and change timeout

run initfs_flash and it will reboot with new timeout

Benson
06-09-2008, 04:55 PM
If you disable the telnet and ssh servers, there's enough room to write.
Pull a
mount -o remount,rw /mnt/initfs/
and you'll be able to write to it. That's what I do, then use joe to edit things.

st5150
06-09-2008, 06:11 PM
penguinbait- easy enough, thanks for the simple recipe, it worked like a charm.

Benson-I didn't know about the remount option. I have adiquate vintage unix know-how, so I can pick up this linux stuff fairly quickly.... assuming I have the time to sit down and read/do research. Playing with this tablet is motivating me to install linux on one of my PCs.

andrewfblack
06-11-2008, 07:53 PM
hey I got unable to install here is my log

penguinbait
06-11-2008, 08:34 PM
hey I got unable to install here is my log

No such file or directory while trying to open /dev/mmcblk0p2

This is a known issue, you must reboot and re-run

andrewfblack
06-11-2008, 08:42 PM
ok will try again

andrewfblack
06-11-2008, 08:56 PM
tried it still can't get it.

penguinbait
06-11-2008, 09:00 PM
tried it still can't get it.

can you post new log?

andrewfblack
06-11-2008, 09:06 PM
here you go

penguinbait
06-11-2008, 09:25 PM
here you go

WOW, thats wierd? Its totally messing up :confused:

Not really sure whats the issue. This is the same card correct?


Can you tell me what brand/size?

This is 800 or 810?

(MAKE SURE ANY VIRTUAL MEMORY IS TURNED OFF IN CONTROL PANEL)

I would try this,

I would suggest removing the card

Shutdown the system

start the system

place the card inside the system

install deb

andrewfblack
06-11-2008, 09:29 PM
n810 its the v memery

andrewfblack
06-12-2008, 09:28 AM
ok disabled Virtual memory and then I ended up getting courpt SD card, tried formatting SD and trying again same result. I can't get to log right now becuase don't have wifi here.

andrewfblack
06-12-2008, 01:56 PM
Ok it took about 6 more tried this morning but I get everything set right and os cloned to internal SD

mrgreaper
06-13-2008, 08:15 AM
Only you can prevent forest fires, as smokey the bear says!!




i hate that bear! after seeing that advert when i was 7 every night i would sneak out of my house with a bucket of water, i mean why ME why only I could prevent them, seems so unfair!

ok jokeing aside

i need somehelp
my internal mmc is a 8gig card with a 512 meg partition (i did a manual step by step clone a while back)

i ran your file hoping to get the larger

8GB
1: 512MB FAT
2: 6.6GB EXT2 (BOOT)
3: 512MB SWAP

i was then planning to install that kde office thing (havent looked into that yet)

however it just installed to the 512meg partition (perfectly i must add) so i looked into removing the 512 meg partition but i cant see how to do that and search throws up pages that havve nothing to do with partitioning

i know if i had an sdhc reader in my pc i could format it with a panasonic memory card formater but i dont have such a reader :(

surely theres a way to format and remove partitions from inside xterm ? while running from flash?

any assistence greatfully recieved (and if theres a way to specify maybe only 3 gigs used for ext2 (that should be surficent :) ) thats even better though an easyier method is better lol

penguinbait
06-13-2008, 08:56 AM
i hate that bear! after seeing that advert when i was 7 every night i would sneak out of my house with a bucket of water, i mean why ME why only I could prevent them, seems so unfair!

ok jokeing aside

i need somehelp
my internal mmc is a 8gig card with a 512 meg partition (i did a manual step by step clone a while back)

i ran your file hoping to get the larger

8GB
1: 512MB FAT
2: 6.6GB EXT2 (BOOT)
3: 512MB SWAP

i was then planning to install that kde office thing (havent looked into that yet)

however it just installed to the 512meg partition (perfectly i must add) so i looked into removing the 512 meg partition but i cant see how to do that and search throws up pages that havve nothing to do with partitioning

i know if i had an sdhc reader in my pc i could format it with a panasonic memory card formater but i dont have such a reader :(

surely theres a way to format and remove partitions from inside xterm ? while running from flash?

any assistence greatfully recieved (and if theres a way to specify maybe only 3 gigs used for ext2 (that should be surficent :) ) thats even better though an easyier method is better lol


Take a look at this thread

http://www.internettablettalk.com/forums/showthread.php?t=20534

It will allow you to specify the sizes of each partition.

supkzg
06-15-2008, 11:20 AM
it can't work in diablo,no boot menu

penguinbait
06-15-2008, 11:27 PM
it can't work in diablo,no boot menu

I cant make it work for things that are not released. Did fanoush update bootmenu with diablo support yet?

If he has it working I can update the deb?

vect0r
06-19-2008, 12:42 PM
Hi!
I spent several hours flashing and reflashing my N800, trying to find a way to boot from internal mmc card. I did try both ways: the "step by step" method, from this topic (http://www.internettablettalk.com/forums/showthread.php?t=18751) and the .deb file, made by mr penguinbait.

The result was similar - proces was uncorrupted, boot menu is functioning properly, but after choosing "boot from Internal MMC card, partition 2, ext2" the screen gets white, with information about booting above. After then Nokia appers to attempt to boot from mmc:
Booting from immc2...
during several seconds and sudenly reboots, goes back to the boot menu, or shows message:
Booting from immc2 failed, booting from flash...

Result is similar.

I have no idea what to do next. Is there any other solution?
Many thanks, for any clue.

Vect0r.

nhanquy
06-20-2008, 09:24 PM
VectOr,

Have you tried low-level formatting the SD before cloning?
The SD is corrupted.

penguinbait
06-20-2008, 10:32 PM
Vector, just reinstall in again, sometimes it takes a few times.

Install deb, reboot
worked?
yes = good
no then
Install deb, reboot
worked?
yes = good
no then
Install deb, reboot
worked?
yes = good
no then
Install deb, reboot


something like that

joepagiii
06-20-2008, 10:39 PM
yep the 3rd time mine was doing it perfectly...now im looking into that kde thing..btw anyone with winimage canback up the sd /sdhc card...works perfectly i switch between 3 differrent cards..

vect0r
06-21-2008, 08:47 AM
It is sad, but it is true...

1) install .deb -> off/on -> booting from mmc -> restart
2) install .deb -> off/on -> booting from mmc -> dead (I had to move the battery)
3) install .deb -> off/on -> booting from mmc -> restart
4) install .deb -> off/on -> booting from mmc failed
5) install .deb -> off/on -> booting from mmc -> restart

All of them where installed without any problems.
No idea what to do next. I stopped trying.
I will do the LLF, but I don`t think that might help.

Thanks for your advise.

nhanquy
06-22-2008, 08:54 PM
I will do the LLF, but I don`t think that might help.

I'll not bet on that! Try and see !

bunanson
06-22-2008, 10:32 PM
...
I have no idea what to do next. Is there any other solution?
Many thanks, for any clue.

Vect0r.

Posting here is a very good idea. What do you think?

If you clone and went all right without ANY error statment, you need LLF. Most cards larger than 8G needs LLF, except a few. Info about LLF is on the same link you quoted, GeraldKo, thread #2.
Mind to share with us your make of the card and the size?

Thanks.

vect0r
06-23-2008, 09:37 AM
Mind to share with us your make of the card and the size?
Thanks.

Sure... my mistake. I have got a Kingtoston SDHC card, 4 gb capacity.
I am afraid, that even LLF did not help :(
I think, thats the end of my adventure with mmc boot.
Thank you very much anyway.
I appreciate your help. This is a very friendly forum.

Greetings
Vect0r.

penguinbait
06-23-2008, 10:08 AM
Sure... my mistake. I have got a Kingtoston SDHC card, 4 gb capacity.
I am afraid, that even LLF did not help :(
I think, thats the end of my adventure with mmc boot.
Thank you very much anyway.
I appreciate your help. This is a very friendly forum.

Greetings
Vect0r.

Well I assume you read the 1st post, also known as instructions?

Make sure "virtual memory" is off in the control panel.

Make sure to save the deb to flash while installing, not on the SD card your trying to destroy.


Finally if you still can't install, POST you error log here

Open application manager, bring up the menu, go to "tools" > Log

Clear the log and install, then paste the log in here so we can see what is happening.

With no log its just guessing?

penguinbait
06-23-2008, 10:10 AM
Posting here is a very good idea. What do you think?

If you clone and went all right without ANY error statment, you need LLF. Most cards larger than 8G needs LLF, except a few. Info about LLF is on the same link you quoted, GeraldKo, thread #2.
Mind to share with us your make of the card and the size?

Thanks.



I have used this on several cards, I HAVE NEVER EVER DONE A LOW LEVEL FORMAT...

vect0r
06-23-2008, 10:14 AM
Well I assume you read the 1st post, also known as instructions?

Yes of course... I did.

Make sure "virtual memory" is off in the control panel.

It was.

Make sure to save the deb to flash while installing, not on the SD card your trying to destroy.

No other option, it was.

Finally if you still can't install, POST you error log here

I did install it, without any error, as I wrote here:

Hi!
I spent several hours flashing and reflashing my N800, trying to find a way to boot from internal mmc card. I did try both ways: the "step by step" method, from this topic (http://www.internettablettalk.com/forums/showthread.php?t=18751) and the .deb file, made by mr penguinbait.

The result was similar - proces was uncorrupted, boot menu is functioning properly, but after choosing "boot from Internal MMC card, partition 2, ext2" the screen gets white, with information about booting above. After then Nokia appers to attempt to boot from mmc:

during several seconds and sudenly reboots, goes back to the boot menu, or shows message:


Result is similar.

I have no idea what to do next. Is there any other solution?
Many thanks, for any clue.

Vect0r.

penguinbait
06-23-2008, 12:14 PM
If it would not boot from SD it was not successful. No matter what the application manager thinks.

If bootmenu installed, then you should have just rerun the deb.



So if it is still not working, please run the deb and post the log, I cannot help without the logfile

By the way I also have 4GB Kingston sdhc, and it works great.

Again the best suggestion, clear application log, run the deb, post the log if it fails.

Peet
06-24-2008, 08:47 AM
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
06-24-2008, 11:21 AM
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
06-24-2008, 12:43 PM
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
06-24-2008, 09:26 PM
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
06-25-2008, 12:37 AM
install-tools.deb and install-tools-N810E.deb both have support for diablo now

enjoy :)

advanced edition will be updated soon

Underscore
06-25-2008, 12:58 AM
what is this 'advanced version?'

penguinbait
06-25-2008, 01:01 AM
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/forums/showthread.php?t=20534

decrypt
06-25-2008, 04:32 AM
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?

install-tools.deb and install-tools-N810E.deb both have support for diablo now

enjoy :)

advanced edition will be updated soon

joepagiii
06-25-2008, 04:55 AM
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
06-25-2008, 07:44 AM
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
06-25-2008, 08:13 AM
There was a problem with the deb, its updated now, sorry for the problems.

Is it working now guys????

joepagiii
06-25-2008, 08:35 AM
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
06-25-2008, 08:36 AM
Perfect! I re-downloaded the file and now the boot menu appear and I can boot from SD ;)
You are a genius!:D

joepagiii
06-25-2008, 08:54 AM
pb is this normal

penguinbait
06-25-2008, 10:02 AM
pb is this normal

is what normal?

joepagiii
06-25-2008, 10:07 AM
the image...is that basicaly how its supposed to look...everything works better btw after its running from sdhc card...

penguinbait
06-25-2008, 10:12 AM
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
06-25-2008, 10:14 AM
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
06-25-2008, 10:15 AM
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
06-25-2008, 10:25 AM
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
06-25-2008, 10:30 AM
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
06-25-2008, 10:33 AM
thanks ...i know its empty...all the goodies arent there...well again thanks...

lm2
06-25-2008, 10:39 AM
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
06-25-2008, 10:49 AM
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
06-25-2008, 10:53 AM
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
06-25-2008, 11:30 AM
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):


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
06-25-2008, 11:47 AM
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):


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
06-25-2008, 11:50 AM
It will have 300GB free AFTER KDE is installed :)

Cool, thanks!


Diablo does not come with rotation support??

Right. But I had already implemented rotation (http://www.internettablettalk.com/forums/showthread.php?p=195210#post195210) in diablo prior to cloning OS...

penguinbait
06-25-2008, 11:53 AM
Cool, thanks!




Right. But I had already implemented rotation (http://www.internettablettalk.com/forums/showthread.php?p=195210#post195210) 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
06-25-2008, 12:03 PM
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
06-25-2008, 12:07 PM
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
06-25-2008, 12:26 PM
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
06-25-2008, 01:01 PM
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
06-25-2008, 01:14 PM
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
06-25-2008, 05:03 PM
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
06-25-2008, 05:37 PM
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
06-25-2008, 05:46 PM
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
06-25-2008, 05:58 PM
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
06-25-2008, 06:38 PM
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
06-25-2008, 10:04 PM
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?

penguinbait
06-25-2008, 10:11 PM
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?

re-download the file, its not the full file

also make sure to save the file in like documents, not on the SD card

also install-tools only works with one SD card installed. so only have the SD card you want to partition in the system

matthewcb4
06-25-2008, 10:23 PM
ok so it did it now... had to reinstall and then it worked. How do I not boot from flash? When it starts up it dosent give me an option to swith. How do i choose?

joepagiii
06-25-2008, 10:43 PM
matthew thers a bootmenu...with a 30second time out...by default it boots from the sd card...

penguinbait
06-25-2008, 11:08 PM
ok so it did it now... had to reinstall and then it worked. How do I not boot from flash? When it starts up it dosent give me an option to swith. How do i choose?


If you dont see a menu when booting, you need to reinstall again

memson
06-26-2008, 04:31 AM
As I said, yes - I looked at Fanoush's stuff, but I don't know specifically what the bootmenu in my old config had set. I just want the bootmenu.conf, I guess, that is compatible with your package. Maybe I'll see how simple it is to open the deb file? Do you use the default menu as Fanoush defined it? I don't think so from what I can see...

memson
06-26-2008, 04:55 AM
Okay.. for thos on Windows (with no access to LINUX) - use 7zip to extract the files in the .DEB file, open the control.tar.gz with somethng like WinRar or WinZip, extract "install-tools.tgz" and look for "bootmenu.conf" - which is NOT in Fanoush's package. This looks to be the menu that is installed, verbatim. I will flash and let you all know how I get on.

Penguinbait, some of us need this kind of hand holding. I'm a power user, just not a LINUX or even Debian power user. I got the file I needed in the end, but why did I need to go through all this pain to find it? If you are making it easy to boot from SD, could you also make it easy to replace the bootmenu after reflashing too? :-)

penguinbait
06-26-2008, 07:58 AM
Okay.. for thos on Windows (with no access to LINUX) - use 7zip to extract the files in the .DEB file, open the control.tar.gz with somethng like WinRar or WinZip, extract "install-tools.tgz" and look for "bootmenu.conf" - which is NOT in Fanoush's package. This looks to be the menu that is installed, verbatim. I will flash and let you all know how I get on.

Penguinbait, some of us need this kind of hand holding. I'm a power user, just not a LINUX or even Debian power user. I got the file I needed in the end, but why did I need to go through all this pain to find it? If you are making it easy to boot from SD, could you also make it easy to replace the bootmenu after reflashing too? :-)

This is designed to do a set of specific tasks. You want only some of those tasks done. Simply thats not the way it works. If you want the control over your system like an advanced user then do some reading. My deb is designed to clone, not just install bootmenu. I am sure I have helped many many people boot from sd when they could not previously.

It would have been much easier to use Fanoushes package and bootmenu.conf, then go through all the stuff you did to extract bootmenu.conf from my package. Its just Fanoushes anyway, I just edited the example.

memson
06-26-2008, 10:29 AM
It would have been much easier to use Fanoushes package and bootmenu.conf, then go through all the stuff you did to extract bootmenu.conf from my package. Its just Fanoushes anyway, I just edited the example.

I love your DEB, it works well. But you are missing my point. I don't know anything about what was *in* your bootmenu.conf and I don't have time to learn how Fanoush's stuff works. All I needed to do was *get* the boot menu and then the rest, as someone else stated, was simple. But if I have no idea how you altered the bootmenu.conf, the only way I was going to get an answer was:

a) From you directly (you didn't actually give any answer that was helpful)
b) From unpacking the DEB file
c) From trial and error.

I'm sorry you feel that your work is unappreciated by me. I enjoy the results of your labour every day. But if you created a package to do the reinstall after flash, you'd save yourself the hassle of people asking you for that part over and over again. Remeber, RTFM is neither a helpful answer to a question nor is it going to help clueless non LINUX users (I count myself in that boat.) OS X or Windows I know... BeOS ever... LINUX.. nope.

penguinbait
06-26-2008, 06:23 PM
I love your DEB, it works well. But you are missing my point. I don't know anything about what was *in* your bootmenu.conf and I don't have time to learn how Fanoush's stuff works. All I needed to do was *get* the boot menu and then the rest, as someone else stated, was simple. But if I have no idea how you altered the bootmenu.conf, the only way I was going to get an answer was:

a) From you directly (you didn't actually give any answer that was helpful)
b) From unpacking the DEB file
c) From trial and error.

I'm sorry you feel that your work is unappreciated by me. I enjoy the results of your labour every day. But if you created a package to do the reinstall after flash, you'd save yourself the hassle of people asking you for that part over and over again. Remeber, RTFM is neither a helpful answer to a question nor is it going to help clueless non LINUX users (I count myself in that boat.) OS X or Windows I know... BeOS ever... LINUX.. nope.


I think you are missing my point. I made software and it works good for its purpose. You want software that does something different that what I made.

"Remeber, RTFM is neither a helpful answer to a question nor is it going to help clueless non LINUX users"

Did I tell you to RTFM?? NO, I created a simple deb that anyone can use. Supporting people wanting to do things my deb does not do, is not my problem. I pointed you to the correct location "fanoush" the rest is up to you. Find the thread that discusses bootmenu and ask your questions in the right place.




"I got the file I needed in the end, but why did I need to go through all this pain to find it? If you are making it easy to boot from SD, could you also make it easy to replace the bootmenu after reflashing too?"

The reason you had to go through the pain is because you wanted the deb to do something it is not intended to do.

My deb is made for cloning, not just installing bootmenu. Fanoush's package is for intalling bootmenu


""bootmenu.conf" - which is NOT in Fanoush's package"

Yes it actually is "bootmenu.conf.n8x0.example" and bootmenu.conf.n770.example

"But if you created a package to do the reinstall after flash, you'd save yourself the hassle of people asking you for that part over and over again"

No hassle, I can say "no" over and over again.

I could make a deb to do what you are asking. I however have lots of stuff on my plate with what "I" actually want to do. Then there is that pesky job, and those 4 kids and a wife to contend with.

am I just being a dick again? It doesnt feel like it, but I am a bad judge ;)

joepagiii
06-26-2008, 06:29 PM
wow you have 4 kids...can i send you some cats...i agree with pb on this...memson seriously read alot....im one of those who wont do anything like what you want to do without reading...look on other places...ask fanoush./...but do it in pm...leave the threads clean...