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
Jon_J
post Dec 2 2008, 10:09 AM
Post #2





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



ZDevil, quick question.
Did you ever get the hard drive to mount manually in cacko, as you tried in this post? (Bsd/cacko Boot)
http://www.oesf.org/forum/index.php?s=&...st&p=160509

I ran the script as instructed in the readme and all seems well in cacko, I just need to access the FAT partition. This also disables the swapfile.
I can still access it through usb to my windows box, so no prob there.
I wanted to test the attached script before re-installing cacko. (My cacko is very old and needs a refresh anyway).
I plan on installing Angstrom eventually, but I would like to be able to mount my VFat partition in the meantime from within cacko.
I'm going to look over meanie's zbook and see if there is an answer in there to mount/unmount the internal disc.

This post has been edited by Jon_J: Dec 2 2008, 11:23 AM
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: 12th July 2014 - 03:25 AM