Author Topic: cramfs /usr on Cacko Question  (Read 1920 times)

clofland

  • Full Member
  • ***
  • Posts: 247
    • View Profile
    • http://www.lofland.net/
cramfs /usr on Cacko Question
« on: September 07, 2004, 01:31:23 pm »
I was sure in the past I could just "mount -o remout,rw /" and then make changes as needed to /usr/QtPalmtop.rom/...

Am I crazy, or was that possible?

Now I cannot.

Was I doing this on the original Sharp ROM or an OLD Cacko ROMs and now I cannot anymore?

My guess is that the use of cramfs is new (not original to Sharp's ROM) and it "snuck in" on me.

If it has changed, is there any way, with Cacko ROM 1.21 to make changes to files in /usr/QtPalmtop.rom/... with the ROM in place on the machine?

Thanks for any help or ideas.
C-760 Last Running pdaXrom 1.1.0beta3
- Sandisk UltraII 1GB SD card - Socket LP CF LAN card - Socket LP CF WLAN card - Socket CF Bluetooth Card Rev H -

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
cramfs /usr on Cacko Question
« Reply #1 on: September 07, 2004, 10:38:41 pm »
It's possible on the standard ROM, tkc and pre-1.2 cacko roms.

Cacko 1.2+ roms use a cramfs /usr. You can make changes but tey will be lost on boot. You could uncram the cramfs make the changes and repack it, but i've never tried it. You wolud of course need somewhere to unpack the cramfs and hold the new version whikle repacking

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

clofland

  • Full Member
  • ***
  • Posts: 247
    • View Profile
    • http://www.lofland.net/
cramfs /usr on Cacko Question
« Reply #2 on: September 08, 2004, 09:10:45 am »
I can't make any changes. Even temporary. It just tells me the filesystem is readonly.

I assume if I were to open and repack the cramfs I would basically have to reflash the ROM with the new one?
C-760 Last Running pdaXrom 1.1.0beta3
- Sandisk UltraII 1GB SD card - Socket LP CF LAN card - Socket LP CF WLAN card - Socket CF Bluetooth Card Rev H -

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
cramfs /usr on Cacko Question
« Reply #3 on: September 08, 2004, 11:17:14 am »
Quote
I assume if I were to open and repack the cramfs I would basically have to reflash the ROM with the new one?
Nope, from memory the /usr cramfs is located in /boot, to replace it you would just need to remount / rw and replace the cramfs file, then reboot.

You may need to umount /usr first before replacing the cramfs - sorry never tried it.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card