View Single Post
Posts: 12 | Thanked: 2 times | Joined on Jul 2008
#189
Originally Posted by psykosis View Post
I finally after running into the "out of space" jazz again decided to try the resize2fs ordeal, and it worked!

Step by step (in case anyone needs more details)
  • I opened up a Debian shell and copied /sbin/resize2fs over to /media/mmc1 and then under an OS2008 shell (as root) copied it from mmc1 over to OS2008's sbin. (and I think I had to chmod a+x resize2fs since the FAT SD killed the execute bit)
  • I rebooted, since I am too lazy to ensure the image is properly unmounted.
  • After rebooting, in an OS2008 shell (as root) I typed: "resize2fs /media/mmc1/debian.img.ext 1512M" - the 1512M can be changed, of course, to whatever your target size is.
  • Afterwards, I ran "e2fsck -f /media/mmc1/debian.img.ext2" to ensure there were no errors in the file system (I found a few, but they were fixed).
  • Install, install, install.

Warning: Before others do my "opps", remember that FAT doesn't like files larger than 2gb!

Loving this chmod bit, Qole!
Hello,

I've been looking for quite a while for an easy way of installing a full linux distro on my n810, and I must say you guys have done an incredible job. The image of qole is working flawlessly. 1000xthanks

I had a question about the partition size. I have a microsd card of 8 GB, most of it I emptied for the debian image of qole. The problem is when I try to install xfce4, I run out of space and it becomes really ugly. So I read this thread (and others) to find a solution and I tried psykosis one but it didn't work. Instead the terminal tells me after this command:

/home/user # resize2fs /media/mmc1/debian.img.ext2 1950M
resize2fs: error while loading shared libraries: libe2p.so.2: cannot open shared object file: No such file or directory

Is this missing library easily installable, is there an other way to resize the image or should I go for a complete personalized chroot install (as it seems you were all doing at the beginning of this thread) ?

note: I have been using linux (debian and ubuntu) for quite a while but am not an experienced user at all. So writing python or C code is not really something I can handle It would be nice if someone would have a not too complicated solutions .

Again thank for everything.