Author Topic: Cacko 3k Beta1:installed Packages List; Mount Ext3  (Read 3203 times)

fooman

  • Newbie
  • *
  • Posts: 49
    • View Profile
Cacko 3k Beta1:installed Packages List; Mount Ext3
« on: October 18, 2006, 12:32:01 am »
I just got a C3000.  I installed Cacko C3K Beta1 on it and erased the user portion just as the instructions said.  Everything works great but I'm trying to get a list of installed packages and I'm not able to.  ipkg doesn't have a "list_installed" option and the GUI package manager doesn't list any installed packages.  Also, I looked in /usr/lib/ipkg/info and /usr/lib/ipkg/lists and I couldn't find anything.

This is unrelated to the packages question but does anyone know how to mount /hdd3 as an ext3 filesystem?  I used fdisk to delete the FAT partition in /dev/hda3 and then created a new Linux partition.  Then I used mkfs.ext2 -j to format /dev/hda3 as an ext3 partition.

The root filesystem is read only so I used "mount -o remount,rw /" to make it read write and then changed /sbin/hddmount so it would mount /dev/hda3 to /hdd3 as an ext3 partition.  But when I boot up, it complains that /dev/hda3 isn't a valid FAT partition.  The boot sequence basically freezes so I have to hit ctrl-c to let the boot continue but obviously something isn't right here.  It seems like it's still somehow executing the old /sbin/hddmount to mount a FAT partition, or maybe the command is somewhere else.  /etc/rc.d/rc.rofilesys is basically empty so that's not the culprit.

Any ideas?  For now, I made /dev/hda3 back into a VFAT partition so at least the Z will boot up correctly.  
SL-C3000 running Cacko 1.23 Beta 1 with Tetsu's special Kernel v18b
Swapped out 4 GB Microdrive for 4 GB CF card
1 GB SanDisk Ultra II SD card with ext2 filesystem
128 MB swapfile on SD card
Ambicom 802.11b WiFi CF card
TRENDnet 10 Mbps Ethernet CF card

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Cacko 3k Beta1:installed Packages List; Mount Ext3
« Reply #1 on: October 18, 2006, 02:11:44 am »
Quote
I just got a C3000.  I installed Cacko C3K Beta1 on it and erased the user portion just as the instructions said.  Everything works great but I'm trying to get a list of installed packages and I'm not able to.  ipkg doesn't have a "list_installed" option and the GUI package manager doesn't list any installed packages.  Also, I looked in /usr/lib/ipkg/info and /usr/lib/ipkg/lists and I couldn't find anything.

This is unrelated to the packages question but does anyone know how to mount /hdd3 as an ext3 filesystem?  I used fdisk to delete the FAT partition in /dev/hda3 and then created a new Linux partition.  Then I used mkfs.ext2 -j to format /dev/hda3 as an ext3 partition.

The root filesystem is read only so I used "mount -o remount,rw /" to make it read write and then changed /sbin/hddmount so it would mount /dev/hda3 to /hdd3 as an ext3 partition.  But when I boot up, it complains that /dev/hda3 isn't a valid FAT partition.  The boot sequence basically freezes so I have to hit ctrl-c to let the boot continue but obviously something isn't right here.  It seems like it's still somehow executing the old /sbin/hddmount to mount a FAT partition, or maybe the command is somewhere else.  /etc/rc.d/rc.rofilesys is basically empty so that's not the culprit.

Any ideas?  For now, I made /dev/hda3 back into a VFAT partition so at least the Z will boot up correctly. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144249\"][{POST_SNAPBACK}][/a][/div]

it's /home/root/etc/rc.d/rc.rofilesys
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

fooman

  • Newbie
  • *
  • Posts: 49
    • View Profile
Cacko 3k Beta1:installed Packages List; Mount Ext3
« Reply #2 on: October 18, 2006, 09:05:54 am »
/home/root has Applications, Documents, Settings, modules, systeminfo.  I don't see etc here.

/etc is symlinked to /home/etc.  /home/etc/rc.d/rc.rofilesys does exist, but when I said it's basically empty, I meant the only line in the file is "#exit 0".

Quote
Quote
I just got a C3000.  I installed Cacko C3K Beta1 on it and erased the user portion just as the instructions said.  Everything works great but I'm trying to get a list of installed packages and I'm not able to.  ipkg doesn't have a "list_installed" option and the GUI package manager doesn't list any installed packages.  Also, I looked in /usr/lib/ipkg/info and /usr/lib/ipkg/lists and I couldn't find anything.

This is unrelated to the packages question but does anyone know how to mount /hdd3 as an ext3 filesystem?  I used fdisk to delete the FAT partition in /dev/hda3 and then created a new Linux partition.  Then I used mkfs.ext2 -j to format /dev/hda3 as an ext3 partition.

The root filesystem is read only so I used "mount -o remount,rw /" to make it read write and then changed /sbin/hddmount so it would mount /dev/hda3 to /hdd3 as an ext3 partition.  But when I boot up, it complains that /dev/hda3 isn't a valid FAT partition.  The boot sequence basically freezes so I have to hit ctrl-c to let the boot continue but obviously something isn't right here.  It seems like it's still somehow executing the old /sbin/hddmount to mount a FAT partition, or maybe the command is somewhere else.  /etc/rc.d/rc.rofilesys is basically empty so that's not the culprit.

Any ideas?  For now, I made /dev/hda3 back into a VFAT partition so at least the Z will boot up correctly. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144249\"][{POST_SNAPBACK}][/a][/div]

it's /home/root/etc/rc.d/rc.rofilesys
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144250\"][{POST_SNAPBACK}][/a][/div]
SL-C3000 running Cacko 1.23 Beta 1 with Tetsu's special Kernel v18b
Swapped out 4 GB Microdrive for 4 GB CF card
1 GB SanDisk Ultra II SD card with ext2 filesystem
128 MB swapfile on SD card
Ambicom 802.11b WiFi CF card
TRENDnet 10 Mbps Ethernet CF card

fooman

  • Newbie
  • *
  • Posts: 49
    • View Profile
Cacko 3k Beta1:installed Packages List; Mount Ext3
« Reply #3 on: October 19, 2006, 02:00:09 am »
I found a working rc.rofilesys in /root/etc/rc.d.  But this is only after I had given up on reformatting /dev/hda3 as ext3.  I kept it as FAT but shrunk it to a small size, and I created /dev/hda4 as a large ext3 partition and I'm using that instead.  I mount it at /mnt/hdd4 rather than alter the read-only root filesystem and create /hdd4.  I added a new line to /etc/fstab to mount the partition at boot time.

I'm trying to create symlinks that point to /mnt/hdd4.  So far I've done this with /tmp and /home/zaurus.  I'd like to also do it with /home/etc and /home/root/modules because I would like to install some more kernel modules and /home is so small.  Do you see any problem with this?  And are there other directories that I could move too?

Quote
/home/root has Applications, Documents, Settings, modules, systeminfo.  I don't see etc here.

/etc is symlinked to /home/etc.  /home/etc/rc.d/rc.rofilesys does exist, but when I said it's basically empty, I meant the only line in the file is "#exit 0".

Quote
Quote
I just got a C3000.  I installed Cacko C3K Beta1 on it and erased the user portion just as the instructions said.  Everything works great but I'm trying to get a list of installed packages and I'm not able to.  ipkg doesn't have a "list_installed" option and the GUI package manager doesn't list any installed packages.  Also, I looked in /usr/lib/ipkg/info and /usr/lib/ipkg/lists and I couldn't find anything.

This is unrelated to the packages question but does anyone know how to mount /hdd3 as an ext3 filesystem?  I used fdisk to delete the FAT partition in /dev/hda3 and then created a new Linux partition.  Then I used mkfs.ext2 -j to format /dev/hda3 as an ext3 partition.

The root filesystem is read only so I used "mount -o remount,rw /" to make it read write and then changed /sbin/hddmount so it would mount /dev/hda3 to /hdd3 as an ext3 partition.  But when I boot up, it complains that /dev/hda3 isn't a valid FAT partition.  The boot sequence basically freezes so I have to hit ctrl-c to let the boot continue but obviously something isn't right here.  It seems like it's still somehow executing the old /sbin/hddmount to mount a FAT partition, or maybe the command is somewhere else.  /etc/rc.d/rc.rofilesys is basically empty so that's not the culprit.

Any ideas?  For now, I made /dev/hda3 back into a VFAT partition so at least the Z will boot up correctly. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144249\"][{POST_SNAPBACK}][/a][/div]

it's /home/root/etc/rc.d/rc.rofilesys
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144250\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144274\"][{POST_SNAPBACK}][/a][/div]
SL-C3000 running Cacko 1.23 Beta 1 with Tetsu's special Kernel v18b
Swapped out 4 GB Microdrive for 4 GB CF card
1 GB SanDisk Ultra II SD card with ext2 filesystem
128 MB swapfile on SD card
Ambicom 802.11b WiFi CF card
TRENDnet 10 Mbps Ethernet CF card