04-13-2009, 06:53 AM | #16 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I used gparted to resize the original parition which took up all space on cf, and made a second partition on cf. The cf is still bootable.
|
04-13-2009, 09:37 AM | #17 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
|
Advert | |
|
04-13-2009, 09:51 AM | #18 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
|
04-19-2009, 01:17 AM | #19 | |
Member
Posts: 16
Karma: 20
Join Date: Feb 2009
Device: iRex iliad
|
Quote:
I find great value in this project because this will make upgrading the kernel alot easier task. I believe most of the drivers for the current hardware has been written somewhere in cyberspace. I'm going to over the next week or so write a how to on this. Great work. |
|
04-23-2009, 03:14 AM | #20 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
That's the generaly case for desktop Linux, not for iLiad. You might want to read this thread:
https://www.mobileread.com/forums/showthread.php?t=31847 |
Advert | |
|
04-29-2009, 09:11 PM | #21 |
Member
Posts: 16
Karma: 20
Join Date: Feb 2009
Device: iRex iliad
|
Ohh I didn't know that it was that differnt. I thought all Linux's (is that a word) would be consistant so you could Roll your own distro easily.
I guess you live and learn. I still have to get sometime to build the compact flash card and write up the process even though there is enough information in this thread. |
06-07-2009, 03:49 PM | #22 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I found that my bootable cf has some errors in filesytem. If I fix them with fsck, it will not be bootable anymore. Any ideas?
It seems that there is some mystic in iRex's fiel for rom reflash. Last edited by ericshliao; 06-07-2009 at 04:01 PM. |
02-12-2010, 02:50 PM | #23 | |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Quote:
It occurred when I used a bootable CF created purely from the rootfs of official firmware (the file used to reflash iLiad from CF). Because in the first time boot, a template registry.xml will be created, and my original registry.xml (on iLiad) was over-written. Since the template registry.xml has not been added a shell access entry, it's quite normal that shell access disappears. The solution is to create a bootable CF and ensure that its registry.xml is modified (so that shell acces is granted). After booting from CF, modify (or overwrite) the template registry.xml on /dev/tffsa7. In ordinary circumstance, /dev/tffsa7 is mounted to /mnt/settings. So, if you want to create a bootable CF, do remember to create a dir /mnt/settings in your CF and copy all contents in /mnt/settings on you iLiad to that dir. Besides, modifying /etc/fstab (on CF) and removing the entry for /dev/tffsa7 is also required, so that your bootable will not mount /dev/tffsa7 as /mnt/settings and overwrite your working registry.xml. I still haven't figured out why the bootalbe CF can only be used once. So, after it's created, don't use it immediately. Do remember dd your CF so that you can dd it back again. Last edited by ericshliao; 02-12-2010 at 03:33 PM. |
|
03-01-2010, 08:13 AM | #24 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I think I know how to make the bootable CF re-usable now. On the CF, in /var, remove a symbolic link "registry", and then the CF will be always bootable. The theory behind the veil is still unknown to me. (Wrong info. Ignore the above. The right answer is provided down below.)
So, the steps to create a bootable CF should be: 1. Make a ext2 partition on a CF of 128 MB or above. 2. Mount the CF on iLiad. The command should look like "mount -t ext2 /dev/hda1 /mnt/cf". 3. Copy everything on iLiad rootfs to /mnt/cf. 4. Create a directory "/mnt/cf/mnt/settings" and copy everything under "/mnt/settings" to that directory. 4. Edit /mnt/cf/etc/fstab and remark the line with /dev/tffsa1 (the iLiad rootfs), /dev/tffsa7 (/mnt/settings) and /dev/hda1 (the CF). 5. Delete a symbolic link "registry" under /mnt/cf/var. (Not necessary. Ignore this step) 6. Create a dummy directory (by copying a sibling directory) under "/mnt/cf/usr/share/contentlister/mode/en" so that you can differentiate whether iLiad boots from CF. 7. echo "boot" > /mnt/cf/config.txt Now, iLiad developers can do more experiements on the device without touching the rootfs on iLiad. Note (very important): Some unknown program will create a "logfile.txt" in /. If iLiad got turned off without calling proper routines, it will cause "logfile.txt" not closed correctly and damage the filesystem on the bootable CF, which makes the bootable CF NOT re-usable. To avoid this problem, iLiad must be turned off by pushing the turn-off button. This is only the case for bootable CF. It won't affect normal iLiad rootfs. Last edited by ericshliao; 03-13-2010 at 07:42 PM. |
08-20-2010, 08:32 AM | #25 |
Member
Posts: 21
Karma: 10
Join Date: Jan 2010
Device: iRex iLiad
|
Could someone do this and make an image which I could use on CF?
I don't know much about Linux, but I can read all scripts, so would love to invest some more time on optimizing this device. Because the fear of destroying the iLiad, I do not change anything on it. Booting from CF would be the best alternative. |
08-21-2010, 07:15 AM | #26 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
The contents of a bootable CF is iRex's property. It's not distributable unless under the consent of iRex.
Perhaps a working solution is to distribute a shell script capable of executing a series of linux commands. Last edited by ericshliao; 08-21-2010 at 07:21 AM. |
08-27-2010, 07:25 AM | #27 | |
Member
Posts: 21
Karma: 10
Join Date: Jan 2010
Device: iRex iLiad
|
Quote:
iRex abandoned everything, so we cannot heal our books from the bugs currently in it? (I am referring to no wifi-connections and the 5 pages flip problems) |
|
08-30-2010, 05:49 PM | #28 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to create new hyperlinks? | lmronan | Sigil | 1 | 05-08-2010 05:53 PM |
Do you know how to create a poll? | Ben Thornton | Lounge | 8 | 02-22-2010 06:46 PM |
Looking for a way to create ebooks | Tibor | Workshop | 7 | 01-26-2009 05:23 PM |
Create a collection | ProDigit | Sony Reader | 27 | 12-28-2008 11:15 AM |