Help - Search - Members - Calendar
Full Version: Dualboot Idiot Guide
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
penguinsam
For those who want to stick with Cacko 1.22 but also want to have a taste on pdaXrom without touching NAND or whatsoever (It's me tongue.gif ), here are some sharings on how I dualboot my Zaurus C760.

--------------------
Firstly, for sure, you need to have Cacko 1.22 with hotfix installed: Get Cacko here

Secondly, get an ext2 or ext3 formatted SD card. To obtain, simply follow this guide: Step-by-step CF/SD fdisk/formatting for newbies. Remember to unplug and plug the SD again to remount.

Then, download the scripts required: Dual_C760.zip. Unzip and place them on the machine, for instance, I place all the extracted files at /home/zaurus/Documents

Download the pdaXrom tarball: either pdaX-SD.tar.gz or pdaX-1.0.5-SD.tar.gz. I am not sure whether the latter is the real 1.0.5. Let's pick this one.

Transfer and extract the tarball to the root of SD card. To do this, you need to have gtar installed in order to let the system understand the "p" flag to preserve permissions, the gtar package is included in Dual_C760.zip:

CODE
$ su
# ipkg install /home/zaurus/gtar_1.13.25-1_arm.ipk
# cd /mnt/card/
# gtar -zxvpf pdaX-1.0.5-SD.tar.gz


Next, follow these steps:

CODE
# mount -o rw,remount /
# mkdir /sbin/sys
# cp /sbin/init /sbin/sys/init
# rm /sbin/init
# cp /home/zaurus/init /sbin/init
# cp /home/zaurus/pivot_root /sbin/pivot_root
# chmod +x /sbin/init
# chmod +x /sbin/pivot_root


Since there are changes on the filesystem in Cacko 1.22, line 12 in the /sbin/init script needs to be altered:

CODE
mount -n -r -t cramfs /boot/usr.bin /usr -o loop


to

CODE
mount -n -r -t squashfs /boot/usr.bin /usr -o loop


I also attached the modified /sbin/init script, for the sake of convenience.

It's nearly the end, remount / as read-only and reboot:

CODE
# mount -o ro,remount /
# reboot


Your Zaurus should now boot into pdaXrom with SD plugged in, and boot into Cacko otherwise. When booted into pdaXrom, login as root and issue startx.
--------------------

Although this guide may looks idiot, like me, I did put a hard effort on dualbooting my Z (Stu should know, Many thanks biggrin.gif ). I hope someone can benefit from it. Corrections and suggestions are welcome.
numeric
Thanks for your guide!

I want to know where is the pivot_root located, as it does not exists in Dual_C760.zip

Thanks alot

QUOTE(penguinsam @ Apr 21 2005, 12:56 PM)
CODE
# mount -o rw,remount /
# mkdir /sbin/sys
# cp /sbin/init /sbin/sys/init
# rm /sbin/init
# cp /home/zaurus/init /sbin/init
# cp /home/zaurus/pivot_root /sbin/pivot_root
# chmod +x /sbin/init
# chmod +x /sbin/pivot_root
penguinsam
Sorry I linked the wrong file and have updated. Please see the attachment in post #1 again. biggrin.gif
offroadgeek
This seems really cool, but I'm wondering how responsive pdaxrom and any installed apps are when running off a SD card? Though maybe having a true dual boot environment is worth the compromise in speed.
ScottYelich
well, it's load time...
I don't mind load time.

let firefox load -- it takes forever... leave it up, etc.
suspend is your friend.

Scott
ps: with that said, I haven't tried this dualboot :->
penguinsam
QUOTE(ScottYelich @ Apr 23 2005, 01:18 AM)
well, it's load time...
I don't mind load time.

let firefox load -- it takes forever... leave it up, etc.
suspend is your friend.

Scott
ps: with that said, I haven't tried this dualboot :->
*

Since I got my pdaXrom installed on my high-speed panasonic SD biggrin.gif , the bootup time is pretty short, much shorter than booting Cacko up. Another reason for that speed may be...I haven't installed any apps on it.
numeric
I run pdaxrom on SD now, however the mouse pointer is offset about 20 pixels when it is on the right side of the screen.

I've tried to recalibrate :

1. run ts_calibrate

or

2. del /etc/pointercal and reboot

but doen't fix the problem.

Please advise how to fix it.
penguinsam
QUOTE(numeric @ Apr 25 2005, 02:48 PM)
I run pdaxrom on SD now, however the mouse pointer is offset about 20 pixels when it is on the right side of the screen.

I've tried to recalibrate :

1. run ts_calibrate

or

2. del /etc/pointercal and reboot

but doen't fix the problem.

Please advise how to fix it.
*

Yes, this is one of the problems that we need to overcome.

It seems the apps bar on the right of the screen is taken into account. I've no idea yet sad.gif
penguinsam
Rather than the mouse pointer offset issue pointed out by numeric, there are still some problems to be fixed, one is that when booted to Cacko, extra mount points appear, it's better to illustrate with the aid of these screenshots:

1. Mount table before setting up dualboot


2. Mount table after setting up dualboot


3. Extra "Temporary Storage" in Files tab


4. "Internal Flash" goes to "/home"


5. "Temporary Storage" goes to "/home/zaurus/Documents"


I tried looking at the dualboot init script, and found that this problem may due to the unsuccess in unmounting some mount points.

I am suspecting line 30 and 31 of the init script:

CODE
umount /dev >/dev/null 2>&1
umount /proc >/dev/null 2>&1


numeric, have you got the same problem?
numeric
Yap, me too. Got exactly the same problem under CACKO 1.22 .
numeric
And one more problem. I found out that the battery will be used up very soon even after it was suspended.

I have been installed pdaxrom on the ROM few months ago. It does not have these problems:

- no cursor offset
- suspend without using up the battery life

Do you think there are ways to solve?
penguinsam
QUOTE(numeric @ Apr 26 2005, 09:30 AM)
And one more problem. I found out that the battery will be used up very soon even after it was suspended.

I have been installed pdaxrom on the ROM few months ago. It does not have these problems:

- no cursor offset
- suspend without using up the battery life

Do you think there are ways to solve?
*

Yes, that's a problem. Many problems needed to be solved... sad.gif

I am now waiting the latest tarball of pdaXrom from Laze to see if the same issues exist.
omro
Would this work on a C1000 with the stock Sharp ROM?

Thanks,

Owen
omro
Hi there, I'm hoping this will work with my C1000 - making the attempt, if anyone already has, let me know, would be cool to compare notes
pgas
QUOTE
the gtar package is included in Dual_C760.zip
omro
Yup, I spotted that in the end, I'd not unzipped that until after I'd asked - D'oh!

Problem I'm having now is that the RC10 tar file for the C1000 won't download properly, I keep getting an invald header when I try and open the tar in winzip, just to look at it.
erikqwerty
Hey! Could anybody tell me how I can use a CF instead of a SD? My SD is sandisc- cant make it ext2. Thanks!
erikqwerty
QUOTE(erikqwerty @ Jul 2 2005, 12:57 AM)
Hey! Could anybody tell me how I can use a CF instead of a SD? My SD is sandisc- cant make it ext2. Thanks!
*


Scratch that, my computer is acting up and I will need my Z as my main PC. CF Wifi- So can anyone tell me the minimum size SD and a brand that works? Thanks!
ferdinauta
Is it possible to do the dualboot with PdaXRom RC12 and Cacko 1.23? I can't find the root image of rc12 for C860. I've only found for C1000/C3000 at http://mail.pdaxrom.org/rc12/Zaurus-C1000-C3100/
law
QUOTE(ferdinauta @ Mar 3 2006, 05:02 AM)
Is it possible to do the dualboot with PdaXRom RC12 and Cacko 1.23? I can't find the root image of rc12 for C860. I've only found for C1000/C3000 at http://mail.pdaxrom.org/rc12/Zaurus-C1000-C3100/
*


http://mail.pdaxrom.org/rc12/Zaurus-7x0-860/

smile.gif
ferdinauta
QUOTE(law @ Mar 3 2006, 02:19 PM)
QUOTE(ferdinauta @ Mar 3 2006, 05:02 AM)
Is it possible to do the dualboot with PdaXRom RC12 and Cacko 1.23? I can't find the root image of rc12 for C860. I've only found for C1000/C3000 at http://mail.pdaxrom.org/rc12/Zaurus-C1000-C3100/
*


http://mail.pdaxrom.org/rc12/Zaurus-7x0-860/

smile.gif
*



I've seen that folder. But in the C1000-C3100 folder there is the Rc12 root-akita archive, which is the file you have to extract to your SD. In the 7x0-860 folder, there is no root-akita archive. Can I obtain the root akita from the others files of 7x0-860 folder?
wjping119
QUOTE(erikqwerty @ Jul 2 2005, 12:57 AM)
Hey! Could anybody tell me how I can use a CF instead of a SD? My SD is sandisc- cant make it ext2. Thanks!
*


I also want to boot pdaXrom form CF card, who can tell us how should do it.
gab74
is it possible to install PDAXROM on the microdrive ( ext3 filesystem) of my C3100 and using cacko as first rom + pdaxrom on microdrive ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.