Thread
:
[Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
View Single Post
elschemm
2009-05-30 , 17:04
Posts: 28 | Thanked: 8 times | Joined on Mar 2008
#
684
Greetings:
Whilst I did not wade through all 69 pages of material here, I did read over half of them (1-17ish and 52-). Good stuff in general, but some of it appears to be outdated a bit (not surprising given the original dates on the thread).
Thought I would provide some updates from the perspective of a new installer of EasyDebian.
First, nice job with the install procedure. The simple straight-forward instructions on page 1 work as advertised. Looks like qole has been keeping that one up to date!
Second, for other newbies, there are two ways to expand the EasyDeb filesystem size. Method A involves creating a dedicated ext2 partition on your card (internal or external) and copying the EasyDeb stuff to that partition. How to do that is well documented about 6 posts above this one.
Method B involves resizing the EasyDeb image file itself. The only post I could find on that one is no longer correct (it suggested just copying resize2fs from the debian partition to the OS2008 one... That no longer works, as that program now has deps). However, you _CAN_ still do it provided that you have access to a computer running a reasonably recent version of Linux (download a LiveCD if you need). Follow these steps:
0) Make sure you aren't running EasyDebian. For me, I physically removed the card and plugged it in to my Linux box. If you are using the USB cable, make absolutely sure that Nothing Debian is running on the machine. A power cycle is suggested!
1) Make a copy of the Debian Image for safe-keeping in case something goes wrong.
2) Run e2fsck -f on the file image. Elsewhere in the thread, it is suggested to run this after, but resize warns you to run it first, do both!
3) Run resize2fs <imagefilename> 2G As pointed out somewhere above, if you are still doing this on a FAT partition (default for memory cards) you need to respect the 2G filesize limit.
4) Rerun e2fsck -f on the suddenly larger file. This is just to be safe!
5) Recopy/install your new larger file into same place as the original (depending on how you got it into the Linux system in the first place. I just had to re-install the card)
6) Enjoy more space to install stuff.
I haven't tried it, but using dd and mke2fs you can create a second 'disk' that you could mount similar to the easy debian main 'disk'. If I understand the commentary correctly, you should be able to just add some lines to the debain chroot script to mount the second 'disk'. Not quite as nice as a full 8 Gig partition, but may be a nice compromise for people.
Finally, in trying to run the apt-get upgrade which is almost always a good idea after installing from a static image. There are some errors. Seems that /usr/share/man has some missing subdirectories (man5 among others). This will cause libc6 to fail, and most of the rest of the upgrade as well. Just cd (from a Debian terminal window) to /usr/share/man, and mkdir man5 (and any of the other numbers that are missing).
I'm still waiting for the upgrade to finish, but the next item on the list will be gcc/g++. If I run into problems with it, I'll post. Maybe even solutions too. Please note: I am fully aware that apps compiled with Debian gcc may (probably) are not compatible with OS2008. One of the things I use my Nokia for is portable development. Prior to EasyDeb, I have had to wait to get back home or to the office to try out code changes. Annoying when I am on a longer trip. Now, thanks to EasyDeb, I will be able to squash bugs on the road. Then with subversion, upload tested code to the repository.
Thanks again qole for putting this together. For me, EasyDeb finally allows me to do all that I actually bought the Nokia to do. 256M really isn't enough to install the full C development chain. And whilst I could have done a boot-from-card approach, there are reasons why that did not appeal to me.
The Following User Says Thank You to elschemm For This Useful Post:
qole
elschemm
View Public Profile
Send a private message to elschemm
Find all posts by elschemm