![]() |
#1 |
Member
![]() ![]() ![]() Posts: 18
Karma: 207
Join Date: Aug 2007
Device: irex iliad
|
e2fs 1.40.8
I hope I am not replicating something someone has done, but I needed to create ext2 partitions from the Iliad, so I built the e2fsprogs package for it.
***Please be careful with it*** The Iliad doesn't support inodes bigger than 128 bytes, so if you are creating a file system that you want to use on the Iliad, use the "-I 128" option. I also usually don't need to reserve space for the super-user, so I use the "-m 0" option. For example: If you want to create an ext2 partition on the compact flash, run mke2fs -I 128 -m 0 /dev/hda1 You might need to run fdisk on the partition to make the file system type "linux" (83). For example: to make a partition on the compact flash be an "ext2" aka "linux" partition type: fdisk /dev/hda then type 't' and select type 83 (for a single partition drive) then type 'w' to write the new info to the drive. Again... please be careful ![]() I hold no responsibility for anything that may happen. ________________________ http://blog.amirshimoni.com/ |
![]() |
![]() |
![]() |
#2 |
Bla , Bla , Bla
![]() Posts: 3
Karma: 10
Join Date: May 2008
Location: K.S.A
Device: N95 , Iliad (Not by Homer)
|
just to confirm , it works perfectly on iliad
![]() - You should have terminal porting available on iliad. - first run only mount command wich will help you identify the real device name of the sd card / cf card / or USB device. - after noting the device name unmount this device as till it is not unmounted it will not be formated - now run the commands by replacing the device name exactly the way written by amir in above post. - after that use the ext2 driver for windows to access this usb in windows as by default windows will not be able to read/write usb with ext2 format. - now copy the wikipedia etc. or any other program you want to run from this storage. - now when you will connect it back to iliad that time surprisingly iliad does not detect it automatically ( does not mount actually automatically ). I handle this problem by writing a one line "mount" script to mount it manually. (you might consider changing /etc/fstab things for automation business ). - after this the last problem is by since you copied it from windows and now this is ext2 so your program might not work at first as there is no execute permissions on the binaries so settle that through terminal program again by running "chmod" commands. - and finally your progarams ( in my case wikipedia full english edition ) start working. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 68
Karma: 855
Join Date: Jan 2007
Location: Netherlands
Device: iLiad
|
I changed the line
Code:
/dev/hda1 /mnt/cf vfat defaults,iocharset=utf8,sync,dirsync 0 0 Code:
/dev/hda1 /mnt/cf auto defaults,sync 0 0 Now my iLiad automatically mounts the CF card that is in there, regardless of whether it is formatted as vfat or ext2. EDIT: I guess a similar change will work for the USB drive. Last edited by Martijn; 05-28-2008 at 06:08 AM. |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2008
Device: iLiad
|
More questions than answers
Hi everybody,
Understanding the logic of Atk instructions, I lack the syntaxis. How to mount-unmount a CF in the iLiad?. Can you at least point me to any reference source? I suppose for you this question may look näive, but it has been 12 years since I left HP UX environments to work on the windoze side and lots of things have changed... I am getting old ![]() Thanks mates!!!, |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2008
Device: iLiad
|
Thanx for your help
Partition Magic 8 will do the trick of partitioning to ext2 if you are a windows user, without minimum, minimum risk.
Then Ext2IFS can be used to access the partition from Vista, XP, NT 4.0 or 2000. Thanx again ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
![]() To list the supported filesystems: # cat /proc/filesystems To mount /dev/hda1 in /tmp/mnt, letting the system to guess the filesystem # mkdir /tmp/mnt # mount -t auto /dev/hda1 /tmp/mnt To umount /tmp/mnt # umount /tmp/mnt If you have to specify the filesystem, the most common ones are vfat for windows-formatted partitions (digital camera SD cards and the like) and ext2 for linux ones (explicitly formatted with mke2fs): # mount -t vfat /dev/hda1 /tmp/mnt or # mount -t ext2 /dev/hda1 /tmp/mnt In all the above examples I've used /dev/hda1, that is the first partition of the CF, but if you have more partitions, you would have to look at the exact number using fdisk diskdev "print[ENTER]quit[ENTER]"or "sfdisk -d diskdev" (probably in you laptop instead; anyway out of scope for this little reminder). Hope that helps ![]() |
|
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I just converted /mnt/free to ext2 from vfat.
Here is my steps: 0. backup /mnt/free 1. edit /etc/fstab and add a "#" in front of the line containing "/mnt/free" 2. reboot 3. execute "mke2fs -I 128 -m 0 /dev/tffsa6" 4. remove that "#" added in step 1. 5. reboot and /mnt/free will be ext2 format One question: What is /mnt/protected used for? It occupies 32MB and seems not used. If possible, I want to merge it with /mnt/free. Added: Martjin's suggestion is convenient. Do remember to retain "iocharset=utf8" or characters beyond ascii won't display correctly. Last edited by ericshliao; 04-07-2009 at 10:55 AM. |
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I guess that /mnt/protected was created for containing upgrade pacakge download from iRex. Since iRex no longer provides firmware upgrade, maybe there is a better way to use those space.
|
![]() |
![]() |
![]() |
#9 | |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
I'm not sure that repartitioning the internal file system of the iLiad is such a good idea... It seems like a big risk for something with little reward. |
|
![]() |
![]() |
![]() |
#10 |
JSR FFD2
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
In the long run it would be good to have a larger root partition (upgrading to newer gtk/gdk/ark/glib/etc will need more room). /mnt/free can be smaller...
|
![]() |
![]() |
![]() |
#11 | |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
But until we can perform a hardware level reflash, I think that it will be too dangerous to do en masse for the average user. |
|
![]() |
![]() |