| View previous topic :: View next topic |
| Author |
Message |
marcus
Joined: 25 Mar 2009 Posts: 2
|
Posted: Wed Mar 25, 2009 8:07 pm Post subject: Change CF Image size |
|
|
Hi
I searched the Forum, but I canīt find an answer. Is it possible to use an 512MB CF with the actual beta11? The image file is 1GB, but it contains only round about 120MB, so maybe I can use my existing 512MB CF?
Thanks for any helpful hint and sorry for this noob-question!
Greets
Marcus |
|
| Back to top |
|
 |
marcus
Joined: 25 Mar 2009 Posts: 2
|
Posted: Sat Mar 28, 2009 12:36 pm Post subject: |
|
|
Ok, I answered my question for myself and bought an 1GB CF. _________________ ALIX 2D3, Huawei E169G, TP-Link TL-WN660G |
|
| Back to top |
|
 |
lennart
Joined: 03 Jul 2009 Posts: 7 Location: Bergen, Norwaw
|
Posted: Sat Jul 04, 2009 3:44 pm Post subject: my answer |
|
|
If i were to shrink the image i would do the following:
1. Mount the partition that has the most extra space under some folder
2. Tar the contents into a tarbal, (remebering the -p option)
3. Unmount the partition
4. fdisk the image and remove the partition
5. create a new partition with a more suitable size
6. create a new filesytem on the new partition
7. mount the new partiton under some folder
8. uncompress the tar backup (remembering the -p option)
 |
|
| Back to top |
|
 |
aseques
Joined: 16 Jun 2009 Posts: 51
|
Posted: Mon Jul 06, 2009 8:28 am Post subject: |
|
|
You could also try some graphic tool like gparted, it allows you to resize your partitions with no problem.
1.- Backup you data (just in case)
2.- Connect the CF to your computer (using standard card reader should work)
3.- Just tell gparted to resize the partition, after some minutes everything should be done. |
|
| Back to top |
|
 |
KLGIT
Joined: 09 Jul 2009 Posts: 22 Location: Canada
|
Posted: Tue Jul 14, 2009 10:30 pm Post subject: |
|
|
I did the opposite. I could only get a 2GB CF. I imaged it as usual, then plugged it into a card reader on one of my SuSE boxes and used the partition tool there to expand the partition. I now have 1.4GB for profile / log storage instead of 400MB.
The same should certainly work in reverse. Use your Linux distro's partition tools to shrink/grow the partition. |
|
| Back to top |
|
 |
|