![]() |
2008-07-10
, 17:55
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#182
|
![]() |
2008-07-10
, 18:12
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#183
|
![]() |
2008-07-10
, 18:37
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#184
|
IMAGEFILE=/media/mmc2/debian.img MOUNTPOINT=/debian/ PARAMETER3=value3 PARAMETER4=value4
#!/bin/sh #first read our config file: . /home/user/.debchrootrc #now do the real work...
#... #By this point, all the actual values have been discovered, guessed, prompted for, or otherwise obtained, and assigned into the correct variables. echo '#This file auto-generated by qole's debfooconfigurizer script.' > /home/user/.debchrootrc echo 'IMAGEFILE="'"$IMAGEFILE"'"' > /home/user/.debchrootrc echo 'MOUNTPOINT="'"$MOUNTPOINT"'"' > /home/user/.debchrootrc echo 'PARAMETER3="'"$PARAMETER3"'"' > /home/user/.debchrootrc echo 'PARAMETER4="'"$PARAMETER4"'"' > /home/user/.debchrootrc
The Following User Says Thank You to Benson For This Useful Post: | ||
![]() |
2008-07-10
, 21:23
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#185
|
I have found while the modern apps run way too slow, there is has been a serious class re-union to the older apps of yester-years going on, apps that were written for double digit Mhz machines that utterly scream on our Nokia. I think these Gems of old likely will be the real strength of Debian on our Nokias.
![]() |
2008-07-10
, 21:36
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#186
|
![]() |
2008-07-10
, 21:53
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#187
|
![]() |
2008-07-12
, 08:31
|
Posts: 2 |
Thanked: 0 times |
Joined on Jul 2008
|
#188
|
![]() |
2008-07-13
, 16:44
|
Posts: 12 |
Thanked: 2 times |
Joined on Jul 2008
|
#189
|
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!
![]() |
2008-07-15
, 09:49
|
Posts: 12 |
Thanked: 2 times |
Joined on Jul 2008
|
#190
|
![]() |
Tags |
chroot, debian, easy debian |
Thread Tools | |
|
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!