maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   1gig SD Card Partition for os cloning? (https://talk.maemo.org/showthread.php?t=30207)

McLightning 2009-07-10 13:46

1gig SD Card Partition for os cloning?
 
hi everybody
memory of my n810 totally fulled so i decided to clone os to mmc for installing apps. on mmc.
i've got a 1 gig mem. card.
they say i have to create two partitions on sd card.
what should i change in the command below?
i want two partitions and each one is 512mb. but how?

....
/dev/mmcblk0p1:1,16384,6
/dev/mmcblk0p2:16385,,83
...

nhanquy 2009-07-10 14:19

Re: 1gig SD Card Partition for os cloning?
 
1G card is not enough.
If you had 512M each then your linux partition is as small as the internal flash (256M but compressed!)
You should have at least 4G and used : sfdisk -uM /dev/mmcblk0
-uM allows you to enter in MB so you can enter something like (for a 4G card for example):
/dev/mmcblk0p1:0, 2500,6
/dev/mmcblk0p2:2500,,83

note that I had 0 for starting and I use the same number 2500 for ending and starting. Machines count from 0 not 1. 2500MB is used for VFAT and the rest for linux.

Most people would have :1,2500,6 and then 25001,,83. And that shouldn't be.

McLightning 2009-07-10 14:25

Re: 1gig SD Card Partition for os cloning?
 
so... what can i do for now?
there is only 3 mb left on n810(250 mb memory).
but mmc and internal memory is almost empty

nhanquy 2009-07-10 14:35

Re: 1gig SD Card Partition for os cloning?
 
You can clone it to internal memory mmc2 (1G each partition) or you can use the mmc1 (300M for VFAT and ~700M for linux). I'd recommend to use the mmc2.

McLightning 2009-07-10 14:39

Re: 1gig SD Card Partition for os cloning?
 
in case of cloning to mmc2
im gonna use command below right? for 1g each partition.
/dev/mmcblk0p1:0, 1000,6
/dev/mmcblk0p2:1000,,83

by the way
im trying to install e2fsprogs but it says
You dont have enough free space in /var/cache/apt/archives :(:confused:

nhanquy 2009-07-10 14:49

Re: 1gig SD Card Partition for os cloning?
 
Quote:

Originally Posted by McLightning (Post 303636)
in case of cloning to mmc2
im gonna use command below right? for 1g each partition.
/dev/mmcblk0p1:0, 1000,6
/dev/mmcblk0p2:1000,,83

right ....... !

McLightning 2009-07-10 14:51

Re: 1gig SD Card Partition for os cloning?
 
Quote:

Originally Posted by McLightning (Post 303636)
in case of cloning to mmc2
by the way
im trying to install e2fsprogs but it says
You dont have enough free space in /var/cache/apt/archives :(:confused:

i think it is because of the stucked boswar game files :(

nhanquy 2009-07-10 14:59

Re: 1gig SD Card Partition for os cloning?
 
back up app repositories to your mmc1
delete some apps
then you should have some space for e2fsprogs
restore the app repositories after clone on the mmc2

McLightning 2009-07-10 15:15

Re: 1gig SD Card Partition for os cloning?
 
boswar is not on the list of app.manager
i had a problem while installing it.it didnt install by an error.but its files still in memory that's the problem.
i dont have too big sized apps.

KristianW 2009-07-10 16:44

Re: 1gig SD Card Partition for os cloning?
 
Consider using Penguinbait's Console Tools, PB (and PBeasy).
they simplify all the steps.


All times are GMT. The time now is 06:15.

vBulletin® Version 3.8.8