maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Introducing console-tools v1 (install-tools replacemement) (https://talk.maemo.org/showthread.php?t=25714)

RavMan 2009-02-15 02:21

Re: Introducing console-tools v1 (install-tools replacemement)
 
I am so sorry to hear about your situation. I didn't mean to imply anything by mentioning the swap issue. You have really given the community so much. These tools are awesome just like they are. I know I can speak for myself and so many others here when I say....THANK YOU :)

penguinbait 2009-02-15 15:47

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by RavMan (Post 264589)
I am so sorry to hear about your situation. I didn't mean to imply anything by mentioning the swap issue. You have really given the community so much. These tools are awesome just like they are. I know I can speak for myself and so many others here when I say....THANK YOU :)

I am sorry, I was also not meaning to imply anything. I've just been busy, thats all. I always appreciate hearing about problems, thats how they get fixed. I just want to let everyone know I am not AWOL, just been busy.

Thanks,

pb

FRZ 2009-02-15 19:09

Re: Introducing console-tools v1 (install-tools replacemement)
 
I have been wondering what is the point of the fat partition (256mb) since I have an external fat 1gb microsd card. In any case I decided to remove it for more space on my clone system. So now I just have mmcblk0p2 etx3 and mmcblk0p3 swap. I rebooted and all still work from what I can see.

FRZ 2009-02-15 20:06

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by penguinbait (Post 261031)
Its not setup, run pb

pb > Swap > Select the partition you want to enable swap for > It should then ask you to choose a swap partition from available swap partitions. > It will then show the contents of /etc/fstab, click OK and it should say swap assignment successful.

Then if you reboot you should have swap mounted on boot.

You can verify this by running "free" from xterm

You should see some numbers where in the line that says Swap:

pb enable swap does not work on cloned boot, work on flash though. So I am assuming that enabling swap should have been done before cloning. I think when I cloned to sd I forgot to enable swap then I've been trying to figure it out on the cloned partition which doesn't work. At this point I am not really feeling a recloned, I kinda like what I have, and besides I don't have a big enough microsd yet to try a backup. If someone else don't mind doing it and see if it works would be good.

penguinbait 2009-02-16 00:18

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by FRZ (Post 264699)
pb enable swap does not work on cloned boot, work on flash though. So I am assuming that enabling swap should have been done before cloning. I think when I cloned to sd I forgot to enable swap then I've been trying to figure it out on the cloned partition which doesn't work. At this point I am not really feeling a recloned, I kinda like what I have, and besides I don't have a big enough microsd yet to try a backup. If someone else don't mind doing it and see if it works would be good.

So if you boot to Flash and set the swap for the external SD Boot it does not work? Its probably best to run all operations against boot from SD partition while booted to flash.

As far as the FAT partition. Maemo expects a FAT partition to be there, so I always put one. If you connect to an USB it could cause you problems. I always keep it. Also application manager uses it and other things. For compatibility sake and to save from troubleshooting, I would keep a small partition, 16-32MB minimum. Its your choice though.

FRZ 2009-02-16 20:47

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by penguinbait (Post 264736)
So if you boot to Flash and set the swap for the external SD Boot it does not work? Its probably best to run all operations against boot from SD partition while booted to flash.

As far as the FAT partition. Maemo expects a FAT partition to be there, so I always put one. If you connect to an USB it could cause you problems. I always keep it. Also application manager uses it and other things. For compatibility sake and to save from troubleshooting, I would keep a small partition, 16-32MB minimum. Its your choice though.

Yes, I use pb to enable swap on flash boot and it works fine. I use pb to enable swap on SD boot but, doesn't work. On SD boot pb report to have enabling swap successfully when initiated but, in fact did not. I instead used mkswap and swapon on SD boot at start up to enable swap.

As far as the FAT partition goes, I can see my external card when connected to usb to PC. I can view, copy and transfer files to it so I think I am good with that.

Snoshrk 2009-02-22 04:38

Re: Introducing console-tools v1 (install-tools replacemement)
 
How would I go about cloning a current SD Boot to a new SD Card? :confused:

jimbarnes 2009-02-22 15:22

Re: Introducing console-tools v1 (install-tools replacemement)
 
Hi PB
I am using 2008 - 47 on an 800 and ran pb it scans for partitions and esc's out I then run pbeasy and it gives me the menu for parted. I have an internal 4Gb and an external 4 Gb I chose to part the internal with a 1Gb fat32 , a 256 swap and the remainder for ext3. It says it has created the partitions and reboots, just before this it comes up with something about invalid 256mb (swap I presume, too fast to see) when my pad reboots it says the internal card is corrupted or invalid. Is this the normal state of affairs should I move on to clone will this format all three parts as it doesn't seem to happen with parted?

Looking forward to getting this working as i want to put a webserver on the pad and the actual system 256mb memory doesnt seem to be big enough with other apps installed. (68mb left)

cheers and thanks for what has made a confusing job easy (I tried the boot from flash tute on the maemo wiki and got lost just getting su to work)

jimbarnes

penguinbait 2009-02-23 20:08

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by Snoshrk (Post 266210)
How would I go about cloning a current SD Boot to a new SD Card? :confused:

Install console tools and run pb, you can clone between SD cards

penguinbait 2009-02-23 20:10

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by jimbarnes (Post 266258)
Hi PB
I am using 2008 - 47 on an 800 and ran pb it scans for partitions and esc's out I then run pbeasy and it gives me the menu for parted. I have an internal 4Gb and an external 4 Gb I chose to part the internal with a 1Gb fat32 , a 256 swap and the remainder for ext3. It says it has created the partitions and reboots, just before this it comes up with something about invalid 256mb (swap I presume, too fast to see) when my pad reboots it says the internal card is corrupted or invalid. Is this the normal state of affairs should I move on to clone will this format all three parts as it doesn't seem to happen with parted?

Looking forward to getting this working as i want to put a webserver on the pad and the actual system 256mb memory doesnt seem to be big enough with other apps installed. (68mb left)

cheers and thanks for what has made a confusing job easy (I tried the boot from flash tute on the maemo wiki and got lost just getting su to work)

jimbarnes


Yes when you run pbeasy and partition, it will wipe the card and reboot. The card is partitioned but not formatted. When you run the cloning process it will format the FAT/SWAP/EXT partitions, thus making them usable.

pb


All times are GMT. The time now is 22:23.

vBulletin® Version 3.8.8