OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: ThC on June 29, 2005, 11:34:06 am

Title: Rc 10 On C3000 With Dual Boot
Post by: ThC on June 29, 2005, 11:34:06 am
Ok just managed to have a dual boot on my c3000 with Qtopia and PdaXrom Rc 10
Here's a quick How-To :
1) get the root-akita archive from root-akita-rc10 (http://212.10.30.205/rc10/Zaurus-C1000/root-akita-rc10.1.tar.bz2)

2) get the gtar package (as tar won't be able to extract with good permissions) and the pivot_root program from the Dual_C760 archive here (http://zaurus.spy.org/feeds/dual-boot-760-xrom/Dual_C760.zip)

3) get the init file from  here  (http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=ja_en&trurl=http%3a%2f%2fwww.piro.hopto.org%2f%e2%80%bepiro%2fzaurus%2fpdaxrom%2finit.bz2)

4) extract the root of pdaxrom on your hdd3 after reformating it to ext3 following instructions from  here  (http://www.eleves.ens.fr/home/leurent/zaurus.html)

Code: [Select]
bzip2 -d root-akita*
gtar xvpf root-akita*
cd /hdd3/root-akita
cp -a * /hdd3
cd ..
gtar xvpf root/.var*
gtar xvpf root/.home*
gtar xvpf root/.dev*
rm -r tmp
mkdir tmp

5) let's go for the finish line
Code: [Select]
cd to the path where you downloaded and extracted the init script and the pivot_root program
mount -o remount,rw /
rm -f /sbin/init
cp init /sbin
cp /sbin/chroot /hdd3/sbin/
cp pivot_root /sbin/
cp pivot_root /hdd3/sbin/
then you'll have to edit /hdd3/usr/lib/ipkg/info/bluez-utils.postinst and comment the pcmcia restart line

and then ... just reboot and if everything went fine you'll have a menu asking you 1) Qtopia , 2)/dev/hda3 or 3) CF card (yes, it may even be possible to use it from a CF card but I haven't played with it as I haven't a CF card to use for it and I want to use my CF slot for wifi

during first boot it will take time for all the postinstalls process, then ask you for a login, type root, then source /etc/profile and finally mount /dev/pts before startx

DISCLAIMER : ONLY DO THIS IF YOU KNOW WHAT YOU'RE DOING, I MAY NOT BE RESPONSIBLE IF YOU BRICK YOUR ZAURUS FOLLOWING THESE INSTRUCTIONS blablabla ... these are only instructions that I gathered from lots of different places (including lot of japanese google-translations) to be able to use pdaXrom on my c3000 without chrooting or using vnc

there are a few problems with this method :
1) each time you'll type a command in the console you'll have a message about "using fallback suid method"
2) if your zaurus get into sleep mode the hd spin down and don't seem to be able to recover and you'll need to reboot
3) a few programs are not working (only one I found so far not to work were the OSS mixer)
4) lots of messages during boot time as ldconfig complaining about X libs not being symlinks ... but it don't seem to be a real problem


btw I haven't tested it on a long time so there may be other bugs

maybe someone will be able to figure out a better tutorial out of these infos ... I'm not good at writing long tutorials in english  (and once again these are just info gathered from other forums so maybe someone could make something better out of these ideas )

Hope it will help some people to have pdaXrom working on their c3000 btw ^^
Title: Rc 10 On C3000 With Dual Boot
Post by: vc24 on July 05, 2005, 11:59:50 am
Hi ThC!

Thanks for description! I've managed to install RC10 with dual boot on my C3K. And it works!

As for troubles:
Quote
1) each time you'll type a command in the console you'll have a message about "using fallback suid method"
It goes from busybox: some problems with reading configuration file (/etc/busybox.conf). It was solved by changing owner of this file and all the binaries to root (chown root:root /etc/busybox.conf)
 
Quote
2) if your zaurus get into sleep mode the hd spin down and don't seem to be able to recover and you'll need to reboot
As I can see this is because of suspend script - it tries to eject all cards. And HDD is one of the cards for Z. So I've changed the script so that it touchs only slot 0:
Code: [Select]
/usr/bin/apm:
...
cardctl eject 0
...
cardctl insert 0
Quote
4) lots of messages during boot time as ldconfig complaining about X libs not being symlinks ... but it don't seem to be a real problem
It's strange but cp -a copied links as files. I have moved all the directories from root-akita directory to hdd3 instead of copying them. In this case all links stay as links and number of messages during loading is quite reasonable  

There are still few problems with apps (e.g., WiFi configuration seems to restart pcmcia or eject/insert cards and after it HDD becomes unusable) we need to solve. But in general not bad I think

vc
Title: Rc 10 On C3000 With Dual Boot
Post by: Da_Blitz on July 07, 2005, 12:10:17 am
anyone got the init files, it might be a good idea to post the files to the fourm for safe keeping in case the sites go down
Title: Rc 10 On C3000 With Dual Boot
Post by: Da_Blitz on July 07, 2005, 12:19:26 am
found it after a bit of diging, download the init file from here
http://www.piro.hopto.org/~piro/zaurus/pdaxrom/ (http://www.piro.hopto.org/~piro/zaurus/pdaxrom/)

for some reason the first link didnt work
Title: Rc 10 On C3000 With Dual Boot
Post by: oncle-dave on July 16, 2005, 05:18:26 am
Helo,

Is'It possible to Install this dual boot in SD Card .. ??  

Oncle-dave
Title: Rc 10 On C3000 With Dual Boot
Post by: ThC on July 16, 2005, 08:04:53 am
well, there's a hint in the init script about a "boot from SD option" ... I havn't tested it though (btw it's commented out in the init so it may work but I wouldnt test it)
Title: Rc 10 On C3000 With Dual Boot
Post by: oncle-dave on July 17, 2005, 12:32:55 pm
Thank you for your answers.

I have try.

The Zaurus Boot but It's Boot in console Mode with juste 1 ligne ??  

Oncle-dave
Title: Rc 10 On C3000 With Dual Boot
Post by: pgas on July 17, 2005, 03:22:27 pm
Quote
There are still few problems with apps (e.g., WiFi configuration seems to restart pcmcia or eject/insert cards and after it HDD becomes unusable) we need to solve.

The network config application is a python application so you can
edit /usr/bin/network.py  and modify the lines with

Code: [Select]
os.system("/sbin/cardctl eject")
os.system("/sbin/cardctl insert")


to only eject and insert the wifi card (add a 0?)
Title: Rc 10 On C3000 With Dual Boot
Post by: samxiao on July 18, 2005, 11:56:55 am
how do i do it in C1000?
Title: Rc 10 On C3000 With Dual Boot
Post by: omro on July 19, 2005, 08:13:23 am
Quote
how do i do it in C1000?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=88716\"][{POST_SNAPBACK}][/a][/div]

Just what I was thinking, wow would be awesome to do this on a C1000 and have the pdaXrom on an SD card!

Quote
Ok just managed to have a dual boot on my c3000 with Qtopia and PdaXrom Rc 10
Here's a quick How-To :
1) get the root-akita archive from root-akita-rc10

Isn't a C1000 an Akita anyway?
Title: Rc 10 On C3000 With Dual Boot
Post by: vc24 on July 19, 2005, 10:03:36 am
Quote
The network config application is a python application so you can
edit /usr/bin/network.py  and modify the lines with

Code: [Select]
os.system("/sbin/cardctl eject")
os.system("/sbin/cardctl insert")


to only eject and insert the wifi card (add a 0?)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=88621\"][{POST_SNAPBACK}][/a][/div]

Thanks pgas! pdaXrom on z3K becomes better and better! and I love it!
Title: Rc 10 On C3000 With Dual Boot
Post by: badog on July 23, 2005, 02:34:18 pm
i can't download:init.bz2

so i do it :
D+B+reset,(C1000,SD)
run code:

mount -t proc /proc /mnt/card/root-akita/proc
chroot /mnt/card/root-akita /usr/X11R6/bin/startx

display the message:

loading /etc/sysconfig/keybord/kernel.map

_XSERVTransSocketUNIXCreatListener:mkdir(/tmp/.X11-unix)failed,errno=2
_XSERVTransMakeAllCOTSServerListener:failed to create listener for local

Fatal server error:
cannot establish any listening socket -Make sure an X server isn't already running
giving up.
xinit :No such file or directory (errno 2):unable tp connect to X server
xinit:No such process (errno 3):Server error

in fact:
.X11-unin is exist in /tmp,but can't cd to .X11-unix
Title: Rc 10 On C3000 With Dual Boot
Post by: cattin on July 25, 2005, 04:03:59 am
Over the weekend I tried installing pdaxrom on my c3k and it kind of works. haven't tried networking, but I could install applications and run them. the main problem is, that I can only suspend the Z once. all further suspend cycles don't turn off the HD LED. LCD seems to be turned off. I tried many different thinks to correct this to no avail. another problem I still could not solve is that the time/date gets lost after every reboot.

My next approach was to install RC10.1 on a SD card (the init script provided in this thread is not complete and needs some reworking to get SD boots working). I got it working after a couple of trials, but I still have problems with suspending the Z. the behaviour is, however, different, as the window manager crashes (no window decorations) after resume. this might be related to the time/date problem I still have.

My knowledge of the inner workings of the zaurus are still limited and I fear that I'm not up to the task of solving the remaining problems. I'll therefor donate to speed up the development process of the C3000 version.

pdaxrom rocks!

regards, philippe
Title: Rc 10 On C3000 With Dual Boot
Post by: badog on July 25, 2005, 05:11:23 am
i have installed dual-root  (SD) in my c1000.
but it cann't be overclocked.
Title: Rc 10 On C3000 With Dual Boot
Post by: duwei on July 25, 2005, 09:41:13 am
How can I make it on the c1000? I know little abot linux . Can anybody tell me how I can get on it with dual boot ? thanks a lot.

                                                                                              duwei
Title: Rc 10 On C3000 With Dual Boot
Post by: kiwi on August 01, 2005, 01:09:36 am
i'm banging my head to get this working. grrr
after pivot_root to /hdd3 it can't find chroot. file not found.
installing the japanese c3000pdaxrom from the link to init works fine. what am I missing with the akita pdaxrom? help please
Title: Rc 10 On C3000 With Dual Boot
Post by: vc24 on August 05, 2005, 02:55:23 am
Quote
i'm banging my head to get this working. grrr
after pivot_root to /hdd3 it can't find chroot. file not found.
installing the japanese c3000pdaxrom from the link to init works fine. what am I missing with the akita pdaxrom? help please
[div align=\"right\"][a href=\"index.php?act=findpost&pid=90341\"][{POST_SNAPBACK}][/a][/div]

Make sure that you have chroot in /hdd3/sbin (you need to copy it from /sbin)

vc
Title: Rc 10 On C3000 With Dual Boot
Post by: penguinsam on August 30, 2005, 03:09:38 am
May I know is there any rooted pdaxrom rc10 for C7x0/860?

I also want to have my Z dual booted with the latest pdaxrom  
Title: Rc 10 On C3000 With Dual Boot
Post by: comman on October 20, 2005, 03:21:36 am
I've followed all the instructions above to install the PDAXROM. The only difference was that I could only get the root-akita-rc4 image. But I've got different results.
1. After rebooting, I would only see a single line instead of a menu. However, selecting 1 or 2  would correctly enter Qtopia or PDAXROM.

2. when the login prompt appeared, I typed root to login. Then I typed the "source" instruction as the above mentioned. Then I typed "startx" and a calibration screen appeared, but it was rotated(not knowing if this was normal)

3. Each time I typed "startx" since then, it simplyed jumped back to the "#" prompt.

Could someone please give me some suggestions?
Title: Rc 10 On C3000 With Dual Boot
Post by: urielka on October 20, 2005, 07:39:26 am
can it be used to boot OZ from SD on C1000 with PdaXroM RC12?
Title: Rc 10 On C3000 With Dual Boot
Post by: juanitomaille on October 24, 2005, 06:21:43 am
It was very hard for me to arrive to the '#' prompt !!
but startx don't load x because of missing /opt/...Qt/...
But you never talked about this. I don't understand where i'm wrong...
i tried pdaxrom on CF and it's OK but no on hdd3.

thanks for your post.
Title: Rc 10 On C3000 With Dual Boot
Post by: juanitomaille on October 28, 2005, 06:53:04 am
ok I formatted, reinstalled Cacko 1.23b1 before re-read carefully the tuto but the error is the same, i noticed it :

# startx
...
..(...calibration...).
...
/home/root/.xserverrc: line 2: /opt/QtPalmtop/bin/Xqt: no such file or directory
giving up
xinit: No such ...
...server error
#
 putting QtPalmtop and creating /opt doesn't change the problem (of course but i tried :-) )

any ideas?
There isn't /opt directory
Title: Rc 10 On C3000 With Dual Boot
Post by: juanitomaille on October 29, 2005, 09:00:16 am
ok it works but I must plug my Wifi CF asus WL110 before booting !!??
if i don't plug a CF or put a memory CF there are errors with startx.

I managed to launch X but wifi doesn't work and many softs don't do anything.

I will stop working on this and be patient.
but Cacko don't suspend and it's a real problem...

see you later...