OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Hdd-free Patch For Cacko Rom!, updated to scriptpack v0.2 (080416)
ZDevil
post Mar 5 2008, 01:29 AM
Post #1





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



SOLVED: for details see post #15 below.

===============================================
Hi,

I am stilling thinking of setting up dualbooting Cacko and Debian/EABI using the sharp bootloader and kexec as described here: http://www.oesf.org/forum/index.php?showtopic=25555

Even though dualbooting Debian and PdaXii works fine, I feel like having the NAND run Cacko so that there are more varieties.

The question is: the internal disk is already partitioned with one big giant partition filled by the Debian rootfs.
The fact is Cacko/Sharp rom require the internal disk to be partitioned in exactly three parts with exact sizes/sectors.
I cannot do this with GParted in Debian because the program can only resize in terms of MBs, not sectors.
fdisk doesn't work here because repartitioning with fdisk will wipe the disk content clean.

Of course there is a straightforward way: just tar up/create a back up image of the Debian rootfs, then use fdisk to repartition the disk, then put the Debian rootfs back in HDD1, and finally install Cacko and set up dualbooting using the method in that thread. Actually this is also what I may do.

But many Debian Z users have already got the whole system working. This method, however simple, is clumsy and not without risks.

So would it be feasible to do it the other way round: tweak Cacko/Sharp rom in such a way that it simply ignores the HDDs part. In principle it seems workable to me, because the files living in the three hdax do not seem to be critical for the system to operate. Everything important is all in the NAND flash.
I have tried to play with /root/etc/rc.d/rc.rofilesys in Cacko by taking away all the instructions to mount the HDDs. But Cacko fails to boot because of something missing in the process (let me skip the details here).

Has someone ever tried to do a similar thing? I would great appreciate if you could share your insights here. Thanks! wink.gif


This post has been edited by ZDevil: Apr 16 2008, 01:35 AM
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
ZDevil
post Mar 5 2008, 11:18 PM
Post #2





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Thanks, speculatrix and matthis. Yes, I was mistaken. Size doesn't matter, as long as the right files go to the right partitions.
Still this is an annoying feature. Perhaps only C3000 needs this setting. But why do C3100 and C3200 have to follow suit?
Cacko/Sharp can be (even) much more user-friendly without this setting.

Has anyone tried Meanie's hacked rc.rofilesys?
Go to the top of the page
 
+Quote Post
speculatrix
post Mar 6 2008, 12:08 AM
Post #3





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(ZDevil @ Mar 6 2008, 07:18 AM) *
Has anyone tried Meanie's hacked rc.rofilesys?


I simply created small partitions to allow rofilesys to not barf, so that everything worked normally if I reflashed, it still allowed me to create a swap and an ext3 partition which is all I really wanted!
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd December 2014 - 05:30 AM