Author Topic: Rc 10 On C3000 With Dual Boot  (Read 23351 times)

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
Rc 10 On C3000 With Dual Boot
« 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

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

3) get the init file from here

4) extract the root of pdaxrom on your hdd3 after reformating it to ext3 following instructions from here

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 ^^
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

vc24

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://
Rc 10 On C3000 With Dual Boot
« Reply #1 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

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Rc 10 On C3000 With Dual Boot
« Reply #2 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
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Rc 10 On C3000 With Dual Boot
« Reply #3 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/

for some reason the first link didnt work
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

oncle-dave

  • Newbie
  • *
  • Posts: 47
    • View Profile
Rc 10 On C3000 With Dual Boot
« Reply #4 on: July 16, 2005, 05:18:26 am »
Helo,

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

Oncle-dave
SL-C3000
PdaXrom Build3 from Meanie
CF Wifi Linksys WF12
SD Card 1Go

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
Rc 10 On C3000 With Dual Boot
« Reply #5 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)
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

oncle-dave

  • Newbie
  • *
  • Posts: 47
    • View Profile
Rc 10 On C3000 With Dual Boot
« Reply #6 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
SL-C3000
PdaXrom Build3 from Meanie
CF Wifi Linksys WF12
SD Card 1Go

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Rc 10 On C3000 With Dual Boot
« Reply #7 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?)
« Last Edit: July 17, 2005, 03:23:05 pm by pgas »
SLC-860 cacko / senao wifi

samxiao

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • http://
Rc 10 On C3000 With Dual Boot
« Reply #8 on: July 18, 2005, 11:56:55 am »
how do i do it in C1000?
Zaurus C1000 (formerly SL5500 and C700)
Cacko developer ROM 1.23 beta + Debian Sarge + X/Qt
1GB Transcend 80x SD (ext2) / 512MB Lexar SD (ext2) / 256MB SanDisk CF(vfat)
Netgear MA701 WiFi CF
Ambicom GPS-CF
Pocketop IR keyboard (has positioning problem with C1000)
Brando LCD screen protector

Apple PowerBook 12" G4 Rev. C + Mac OS X 10.4.x (Tiger)

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Rc 10 On C3000 With Dual Boot
« Reply #9 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?
« Last Edit: July 19, 2005, 08:15:50 am by omro »
Zaurus C-1000

vc24

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://
Rc 10 On C3000 With Dual Boot
« Reply #10 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!

badog

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Rc 10 On C3000 With Dual Boot
« Reply #11 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
« Last Edit: July 23, 2005, 02:45:50 pm by badog »

cattin

  • Newbie
  • *
  • Posts: 18
    • View Profile
Rc 10 On C3000 With Dual Boot
« Reply #12 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

badog

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Rc 10 On C3000 With Dual Boot
« Reply #13 on: July 25, 2005, 05:11:23 am »
i have installed dual-root  (SD) in my c1000.
but it cann't be overclocked.

duwei

  • Newbie
  • *
  • Posts: 3
    • View Profile
Rc 10 On C3000 With Dual Boot
« Reply #14 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