OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: fooman on October 18, 2006, 12:32:01 am

Title: Cacko 3k Beta1:installed Packages List; Mount Ext3
Post by: fooman 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.  
Title: Cacko 3k Beta1:installed Packages List; Mount Ext3
Post by: Meanie 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
Title: Cacko 3k Beta1:installed Packages List; Mount Ext3
Post by: fooman 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]
Title: Cacko 3k Beta1:installed Packages List; Mount Ext3
Post by: fooman 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]