![]() |
2010-02-06
, 11:18
|
Posts: 1,101 |
Thanked: 1,185 times |
Joined on Aug 2008
@ Spain
|
#2
|
![]() |
2010-02-06
, 22:59
|
Posts: 50 |
Thanked: 36 times |
Joined on Feb 2010
|
#3
|
No need to use a PC, you can repartition and format your card directly in your Nxx0
![]() |
2010-03-09
, 01:38
|
Posts: 292 |
Thanked: 131 times |
Joined on Dec 2009
|
#4
|
![]() |
2010-03-09
, 16:00
|
Posts: 1,101 |
Thanked: 1,185 times |
Joined on Aug 2008
@ Spain
|
#5
|
![]() |
2010-06-15
, 16:52
|
Posts: 1 |
Thanked: 0 times |
Joined on Jun 2010
|
#6
|
![]() |
2010-08-20
, 14:16
|
Posts: 14 |
Thanked: 4 times |
Joined on Jun 2010
@ Kuching, Sarawak, Malaysia
|
#7
|
#generate fstab and mount /home
rm -f $tmp_fstab
# Generate fstab and mount /home # . /etc/default/mount-opts # # fstab=/etc/fstab # tmp_fstab=/tmp/fstab # # sfdisk -l /dev/mmcblk0 | /bin/busybox awk \ # -v home_opts="$home_opts" -v fat_opts="$fat_opts" \ # -f /usr/lib/genfstab.awk > $tmp_fstab # # cmp -s $tmp_fstab $fstab || cp $tmp_fstab $fstab # rm -f $tmp_fstab
mount_home && HOME_MOUNTED=1
/bin/mount /home/user/mntsdhc
/dev/blkmmc1p1 /home/user/mntsdhc ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
chown root:users /home/user/mntsdhc chmod 775 /home/user/mntsdhc
edit: ok, there ARE disktools, my bad
Don't forget the most obnoxious problem of all, traditional debian apps get installed in /usr where this is precious little drive space. While I've yet to be bold enough to mount /usr on the sd card, I have gotten the n900 to auto mount an ext3 formatted microsd card on boot. next I will try getting rieser support, because of reiser's high performance factor with small files, like the ones we will be working with.
In response to this thread, I figured it out, and its a tad easier than the last poster's method
http://talk.maemo.org/showthread.php?t=42045
Step one: format the sd card, you need a usb sd card reader and a PC running linux. No spare machine for linux try knoppix, it runs off a CD.
http://www.knopper.net/knoppix/index-en.html
Here are some links for linux newbs on formatting and mounting usb drives. sd card readers work the same way.
http://www.linuxconfig.org/Howto_mou...drive_in_Linux
http://www.idevelopment.info/data/Un...ive_ext3.shtml
just make sure you make an ext3 partition, or change anywhere you see me use ext3 with whatever fs you used.
step two: the good part.
make sure you have a good command line editor, I used nano-tiny, and have root access.
open /etc/event.d/rcS-late
There is a line that says
Still in /etc/event.d/rcS-late
you see
now open up /etc/fstab. at the bottom add the line
now turn off your phone, and unplug your sd card from your computer. put your sd card in your n900, and boot.
your microSD card is now mounted on /mmc, permanently with ext3.
if you want to use your microsd card in the GUI type the following
Last edited by GI jack; 2010-02-06 at 06:35.