OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: penguinsam on April 21, 2005, 04:56:33 pm

Title: Dualboot Idiot Guide
Post by: penguinsam on April 21, 2005, 04:56:33 pm
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   ), 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 (https://www.oesf.org/forums/index.php?showforum=26)

Secondly, get an ext2 or ext3 formatted SD card. To obtain, simply follow this guide: Step-by-step CF/SD fdisk/formatting for newbies (https://www.oesf.org/index.php?title=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 (https://www.oesf.org/forums/index.php?act=Attach&type=post&id=489). 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 (http://zaurus.spy.org/feeds/dual-boot-760-xrom/pdaX-SD.tar.gz) or pdaX-1.0.5-SD.tar.gz (http://www.webspinners.co.il/pdaxrom/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: [Select]
$ 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: [Select]
# 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: [Select]
mount -n -r -t cramfs /boot/usr.bin /usr -o loop
to

Code: [Select]
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: [Select]
# 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  ). I hope someone can benefit from it. Corrections and suggestions are welcome.
Title: Dualboot Idiot Guide
Post by: numeric on April 22, 2005, 02:06:38 am
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
Code: [Select]
# 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
Title: Dualboot Idiot Guide
Post by: penguinsam on April 22, 2005, 04:16:18 am
Sorry I linked the wrong file and have updated. Please see the attachment in post #1 again.  
Title: Dualboot Idiot Guide
Post by: ScottYelich on April 22, 2005, 12:29:26 pm
http://zaurus.spy.org/feeds/cacko/pdaXrom/dual-boot-760/ (http://zaurus.spy.org/feeds/cacko/pdaXrom/dual-boot-760/)
Title: Dualboot Idiot Guide
Post by: offroadgeek on April 22, 2005, 12:55:29 pm
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.
Title: Dualboot Idiot Guide
Post by: ScottYelich on April 22, 2005, 01:18:33 pm
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 :->
Title: Dualboot Idiot Guide
Post by: penguinsam on April 23, 2005, 03:02:42 am
Quote
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 :->
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76441\"][{POST_SNAPBACK}][/a][/div]
Since I got my pdaXrom installed on my high-speed panasonic SD   , 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.
Title: Dualboot Idiot Guide
Post by: numeric on April 25, 2005, 02:48:14 am
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.
Title: Dualboot Idiot Guide
Post by: penguinsam on April 25, 2005, 04:47:19 am
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76694\"][{POST_SNAPBACK}][/a][/div]
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  
Title: Dualboot Idiot Guide
Post by: penguinsam on April 25, 2005, 10:31:10 am
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
[img]http://photos8.flickr.com/10860533_ac9bf0dc6d_o.jpg\" border=\"0\" class=\"linked-image\" /]

2. Mount table after setting up dualboot
[img]http://photos5.flickr.com/10860534_26f7776af1_o.jpg\" border=\"0\" class=\"linked-image\" /]

3. Extra "Temporary Storage" in Files tab
[img]http://photos6.flickr.com/10860535_7c9b2657a7_o.jpg\" border=\"0\" class=\"linked-image\" /]

4. "Internal Flash" goes to "/home"
[img]http://photos5.flickr.com/10860536_b9d56bf11d_o.jpg\" border=\"0\" class=\"linked-image\" /]

5. "Temporary Storage" goes to "/home/zaurus/Documents"
[img]http://photos6.flickr.com/10860537_00baa8d51a_o.jpg\" border=\"0\" class=\"linked-image\" /]

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: [Select]
umount /dev >/dev/null 2>&1
umount /proc >/dev/null 2>&1

numeric, have you got the same problem?
Title: Dualboot Idiot Guide
Post by: numeric on April 25, 2005, 09:25:40 pm
Yap, me too. Got exactly the same problem under CACKO 1.22 .
Title: Dualboot Idiot Guide
Post by: numeric on April 25, 2005, 09:30:44 pm
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?
Title: Dualboot Idiot Guide
Post by: penguinsam on April 27, 2005, 12:33:47 am
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76851\"][{POST_SNAPBACK}][/a][/div]
Yes, that's a problem. Many problems needed to be solved...  

I am now waiting the latest tarball of pdaXrom from Laze to see if the same issues exist.
Title: Dualboot Idiot Guide
Post by: omro on June 20, 2005, 06:20:37 am
Would this work on a C1000 with the stock Sharp ROM?

Thanks,

Owen
Title: Dualboot Idiot Guide
Post by: omro on June 23, 2005, 04:18:07 am
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
Title: Dualboot Idiot Guide
Post by: pgas on June 23, 2005, 04:26:48 am
Quote
the gtar package is included in Dual_C760.zip
Title: Dualboot Idiot Guide
Post by: omro on June 23, 2005, 05:25:11 am
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.
Title: Dualboot Idiot Guide
Post by: erikqwerty on July 01, 2005, 08:57:23 pm
Hey! Could anybody tell me how I can use a CF instead of a SD? My SD is sandisc- cant make it ext2. Thanks!
Title: Dualboot Idiot Guide
Post by: erikqwerty on July 02, 2005, 12:56:38 pm
Quote
Hey! Could anybody tell me how I can use a CF instead of a SD? My SD is sandisc- cant make it ext2. Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=86684\"][{POST_SNAPBACK}][/a][/div]

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!
Title: Dualboot Idiot Guide
Post by: ferdinauta on March 03, 2006, 08:02:38 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-C1000-C3100/)
Title: Dualboot Idiot Guide
Post by: law on March 03, 2006, 08:19:08 am
Quote
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-C1000-C3100/)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=116817\")

[a href=\"http://mail.pdaxrom.org/rc12/Zaurus-7x0-860/]http://mail.pdaxrom.org/rc12/Zaurus-7x0-860/[/url]

 
Title: Dualboot Idiot Guide
Post by: ferdinauta on March 03, 2006, 10:15:30 am
Quote
Quote
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-C1000-C3100/)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=116817\")

[a href=\"http://mail.pdaxrom.org/rc12/Zaurus-7x0-860/]http://mail.pdaxrom.org/rc12/Zaurus-7x0-860/[/url]

 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116818\"][{POST_SNAPBACK}][/a][/div]

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?
Title: Dualboot Idiot Guide
Post by: wjping119 on March 04, 2006, 05:17:29 am
Quote
Hey! Could anybody tell me how I can use a CF instead of a SD? My SD is sandisc- cant make it ext2. Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=86684\"][{POST_SNAPBACK}][/a][/div]

I also want to boot pdaXrom form CF card, who can tell us how should do it.
Title: Dualboot Idiot Guide
Post by: gab74 on March 08, 2006, 03:21:02 pm
is it possible to install PDAXROM on the microdrive ( ext3 filesystem) of my C3100 and using cacko as first rom + pdaxrom on microdrive ?