Author Topic: Installing Apps To C3100 Microdrive  (Read 3673 times)

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Installing Apps To C3100 Microdrive
« on: September 11, 2006, 06:35:36 am »
I'm fortunate to have a C3000 and a C3100. I've been using pdaxrom beta2 on the C3000 for a while and enjoyed the simplicity of installing applications because the whole of the microdrive is available.

However, frustrated by the bugs in the C3000 beta I've decided to install pdaxrom beta 3 on my C3100. While this is much more stable, one of the greatest frustrations I find is that installing applications is not so simple. It seems obvious to use the space on the microdrive so why is this so difficult?

I'd rather not install apps to CF because I use this slot for wifi or bluetooth cards.
I'd rather not install apps to SD as I have a debian chroot environment on SD and I'd like to keep that clean

There is no sign of my microdrive on df.                          
filesystem            blocks      mounted on
/dev/root             51200      /
none                    12288      /dev
/dev/mtdblock3     72704     /home
/dev/mtdblock3     72704     /mnt/user
/dev/mmcda1      499928     /mnt/card

Can I make an ext3 partition on the microdrive for installing apps?

What solution do other people here use?
C3000 running OpenBSD 4.4
C3100 running OpenZaurus

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Installing Apps To C3100 Microdrive
« Reply #1 on: September 11, 2006, 08:18:32 am »
Quote
Can I make an ext3 partition on the microdrive for installing apps?
Make the FAT partition smaller, then create an ext3 partition. Apart from system critical apps I keep the rest of my stuff on HD.
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Installing Apps To C3100 Microdrive
« Reply #2 on: September 11, 2006, 08:53:51 am »
Quote
Quote
Can I make an ext3 partition on the microdrive for installing apps?
Make the FAT partition smaller, then create an ext3 partition. Apart from system critical apps I keep the rest of my stuff on HD.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141126\"][{POST_SNAPBACK}][/a][/div]

Thanks Desertrat, that certainly appears to make sense as it leaves a FAT partition in case you might want to connect the Z to a PC/Mac.

Can you tell me how to do it? I'm not an expert at this kind of thing and I cant even identify my HD in the df?

If this is done then what would need to be done to go back to the Sharp ROM?
C3000 running OpenBSD 4.4
C3100 running OpenZaurus

webslngr

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://
Installing Apps To C3100 Microdrive
« Reply #3 on: September 11, 2006, 10:33:04 am »
Quote
Quote
Quote
Can I make an ext3 partition on the microdrive for installing apps?
Make the FAT partition smaller, then create an ext3 partition. Apart from system critical apps I keep the rest of my stuff on HD.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Thanks Desertrat, that certainly appears to make sense as it leaves a FAT partition in case you might want to connect the Z to a PC/Mac.

Can you tell me how to do it? I'm not an expert at this kind of thing and I cant even identify my HD in the df?

If this is done then what would need to be done to go back to the Sharp ROM?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141128\"][{POST_SNAPBACK}][/a][/div]

you can use
Code: [Select]
mount to display what partitions are mounted where. The microdrive is most likely /dev/hda

once you are sure that /dev/hda is the microdrive (I believe it can come up as hdb if there is a cf in the slot at boot), run
Code: [Select]
fdisk /dev/hda but be aware that when you change the partition scheme and write the changes, any data on the modified partitions will be destroyed.

once in fdisk type m for help. change the partion type accordingly.

after the partition table is written (w in fdisk), you will need to format each partition.
Code: [Select]
# mkfs.ext2 /dev/hdaX or
Code: [Select]
# mkfs.vfat /dev/hdaX where X is the partition number.

As far as going back to the sharprom, you will need to get the hdd images from trisoft's site [a href=\"http://trisoft.de/en_c3100howto.htm](here)[/url] and re-create the partition table. Then a NAND restore of the sharp rom.

goog luck
c3100 running pdaXrom b3, ambicom wl1100, a 2nd 4 GB Hitachi microdrive (and various other tools and gadgets)

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Installing Apps To C3100 Microdrive
« Reply #4 on: September 11, 2006, 04:14:45 pm »
Thanks guys.

What I've managed to do is to fix the root partition to 121M and reinstalled pdaxrom. This at least gives me a little bit of space to play with.

Thinking about is again, what I might do is to get a 2 Gig SD card and to split that into two partitions, one for my debian install and the other for pdaxrom apps. That way I can still always go back to the Sharp ROM if I need to. However, pdaxrom is looking so good I'm not sure I will ever need to do so.
C3000 running OpenBSD 4.4
C3100 running OpenZaurus