View Single Post
Posts: 111 | Thanked: 23 times | Joined on Sep 2008 @ Singapore
#207
Originally Posted by Aisu View Post
Qole, quick question: is there any way to chose what size the img.ext2 for Debian is?

I had tried to resize it with resize2fs. The image actually enlarged to 1.7 GB. but Debian wouldn't recognize it and I ended up reinstalling it from scratch (which didn't take much time at all.) So, aside from setting the size initially, can I safely change it now?
A solution was posted in http://www.internettablettalk.com/fo...d.php?p=202506

Extract: what you need:

- a computer with linux

- resize2fs on it

...
- optional: SD card reader + adapter to (micro/mini)sd depend of which of the 3 you use.



steps:

1. Either connect your IT to your pc or get the card out (caution: do not take it out if in use, safest way to make sure: power off your IT) and put it in the card reader.

2. go in the terminal or if in X launch a terminal emulator

3. type cd /<your path to your (micro/mini)sd/

4. e2fsck -f <your debian image file name>

-> it check if everything is allright with the filesystem

5. resize2fs <your debian image file name> 1950M

(As psykosis said you can change the size but if your (micro/mini)sd card is formatted in fat, like mine, the file better not be bigger than 2gb)
 

The Following User Says Thank You to pton For This Useful Post: