OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

5 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
> Dualbooting/multiplebooting With Kexec!, updated: 20080416: Cacko HDD-free hack v0.2 + updater.sh for C1000
pasteur
post Mar 5 2008, 07:06 AM
Post #16





Group: Members
Posts: 18
Joined: 1-August 06
From: Incheon, South Korea
Member No.: 10,595



QUOTE(Snappy @ Mar 2 2008, 08:58 PM) *
QUOTE(pasteur @ Mar 2 2008, 05:05 PM) *
QUOTE(ZDevil @ Mar 2 2008, 05:47 PM) *
QUOTE(pasteur @ Mar 2 2008, 09:16 AM) *
does updater.sh attached work on c1000 too?

I am not absolutely sure, but you can always use the Angstrom updater.sh for Akita.
Another (bigger) question is whether the yonggun kernel works on C1000. You can take a look at the discussion of yonggun's blog here: http://yonggun.tistory.com/66

Thank you for the advice. It WORKS PEFECTLY!!!


So you got the whole setup working on your c1000? What are the distros on your akita? smile.gif



pdaXromb3 on Nand, debian 2.6.24 on 4GB SD partitioned into two partition (95% ext3 5% swap)
Go to the top of the page
 
+Quote Post
ZDevil
post Mar 7 2008, 02:49 PM
Post #17





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



I ran into a strange problem:

In the beginning of testing dualbooting, my 3200 could load the yonggun sd kernel (mmcblk0p1) and boot up the Debian rootfs on SD. But after fiddling with flashing pdaXrom and Cacko for a few times, somehow the Z cannot boot off SD, both in the simple way (kexec -l & kexec -e) and with my boot script. The system freezes after kexec -e.

Has anyone run into the same case or succeeded in booting off SD?
Go to the top of the page
 
+Quote Post
matthis
post Mar 13 2008, 04:05 AM
Post #18





Group: Members
Posts: 218
Joined: 12-February 06
From: Tokyo
Member No.: 9,124



I wanted to try to do the MAKEDEV console thing to be able to boot back into sharp rom, but how do I mount the ramfs?
Go to the top of the page
 
+Quote Post
ZDevil
post Mar 23 2008, 03:55 AM
Post #19





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Another question about using the yonggun kernel (sharp bootloader version): since they are made to boot the rootfs off /dev/hda1, /dev/mmcblk0p1 or /dev/mmcblk0p2, does it still work if I repartition the internal disk back into the Sharp/Cacko fashion? The rootfs would then live in /dev/hdd3, can the kernel for hda1 boot up the system from there?
Go to the top of the page
 
+Quote Post
2or0
post Mar 23 2008, 07:06 AM
Post #20





Group: Members
Posts: 217
Joined: 6-June 04
Member No.: 3,590



QUOTE(ZDevil @ Mar 23 2008, 03:55 AM) *
Another question about using the yonggun kernel (sharp bootloader version): since they are made to boot the rootfs off /dev/hda1, /dev/mmcblk0p1 or /dev/mmcblk0p2, does it still work if I repartition the internal disk back into the Sharp/Cacko fashion? The rootfs would then live in /dev/hdd3, can the kernel for hda1 boot up the system from there?


I think it is possible to boot /dev/hda3 if the option is properly given before building the kernel. wink.gif
Go to the top of the page
 
+Quote Post
ZDevil
post Mar 23 2008, 07:36 AM
Post #21





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



So will there be new yonggun kernels for this? tongue.gif
Both hda3 and hda4 will be good, as it may be nice if Sharp/Cacko users can install additional stuff on hdd3, while leaving hdd4 for Debian.
BTW I saw this japanese page hosting kernel 2.6.24 with fastfpe and cpufreq enabled:
http://www.bigbridgezau.sakura.ne.jp/wiki....2F2008%2D3%2D21


Go to the top of the page
 
+Quote Post
born2wonder
post Mar 23 2008, 09:37 AM
Post #22





Group: Members
Posts: 26
Joined: 24-June 07
Member No.: 17,442



QUOTE(ZDevil @ Mar 23 2008, 07:36 AM) *
BTW I saw this japanese page hosting kernel 2.6.24 with fastfpe and cpufreq enabled:
http://www.bigbridgezau.sakura.ne.jp/wiki....2F2008%2D3%2D21



Thanks for the great find ZDevil. I tried it on my c1000 and it resulted, as expected, in a kernel panic as it tries to load from hda1 ( i have my rootfs on sd).I just wish now some1 can do the same for us c1000 users! (auto boot rootfs from mmcblkp1 and supporting fastfpe and cpufreq). I really want to be able to overclock in debian specifically for compiling and/or installing software.

Go to the top of the page
 
+Quote Post
jocasmi
post Mar 24 2008, 01:57 PM
Post #23





Group: Members
Posts: 99
Joined: 4-December 06
From: Barcelona, Spain
Member No.: 13,088



It's an interesting site.

Thanks
Go to the top of the page
 
+Quote Post
ZDevil
post Mar 26 2008, 02:06 PM
Post #24





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Just updated the first post with instructions to setting up dualbooting Sharp/Cacko and Debian. Have fun!
Go to the top of the page
 
+Quote Post
matthis
post Mar 26 2008, 02:29 PM
Post #25





Group: Members
Posts: 218
Joined: 12-February 06
From: Tokyo
Member No.: 9,124



Thanks for the update!

2 Comments:
- is there a way to avoid re-installing sharp/cacko for those already using it?
- in the last section your explanation seems to mix cacko and pdaXrom together wink.gif

I can't wait to dualboot!
Go to the top of the page
 
+Quote Post
ZDevil
post Mar 26 2008, 02:57 PM
Post #26





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



QUOTE(matthis @ Mar 26 2008, 11:29 PM) *
2 Comments:
- is there a way to avoid re-installing sharp/cacko for those already using it?
- in the last section your explanation seems to mix cacko and pdaXrom together wink.gif

Actually you don't have to reinstall sharp/cacko in NAND if they are already working. Just make sure the Debian rootfs is placed properly on the internal disk, and then reflash a kexec-friendly kernel for Debian (yonggun, angstrom, poky). Reboot, and you have a dualbooting setup.
btw what is mixed up and where? There are two separate sample scripts for booting pdaX and sharp/cacko. I've only updated the notes up to section 3. I am still having issues with accessing the NAND space in Debian (simply put, the mtd modules seem to handle NAND differently than then roms -- a partitioning issue? Also in Sharp/Cacko /dev/hda1 is mounted as read-only. Any solution?)
QUOTE
I can't wait to dualboot!

Of course! With sharp bootloader and kexec, the Z is now capable of juggling different distros with great ease. smile.gif
Go to the top of the page
 
+Quote Post
adf
post Mar 26 2008, 06:01 PM
Post #27





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



Does anyone have cacko/debian dualbooting smoothly?
Any chance you could add a gmail with qtmail howto?
Really nice thread btw:)
Go to the top of the page
 
+Quote Post
ZDevil
post Mar 26 2008, 09:19 PM
Post #28





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Here is taken from my old notes on Sharp rom (hope it still works):

Adding Gmail support in qtmail:

#1 Install the stunnel package

#2 Edit /etc/inetd.conf. Add these two lines:
CODE
pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r pop.gmail.com:995 -c
smtp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r smtp.gmail.com:465 -c

#3 Reboot

Or here: http://www.oesf.org/forum/index.php?showtopic=14283

===========
Back to the topic:
Debian/Cacko dualboots very smoothly. The two systems exist side by side and do not interfere with each other. A good alternative to the Pocketworkstation solution.
Still there is an issue to resolve: the two filesystems cannot access of each other. In debian there is a problem with mounting the jffs2 mtdblocks, and in sharp/cacko /dev/hda1 (where my debian rootfs is) is mounted as a read-only partition.
Go to the top of the page
 
+Quote Post
adf
post Mar 26 2008, 10:40 PM
Post #29





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



QUOTE(ZDevil @ Mar 26 2008, 09:19 PM) *
Here is taken from my old notes on Sharp rom (hope it still works):

Adding Gmail support in qtmail:

#1 Install the stunnel package

#2 Edit /etc/inetd.conf. Add these two lines:
CODE
pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r pop.gmail.com:995 -c
smtp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r smtp.gmail.com:465 -c

#3 Reboot

Or here: http://www.oesf.org/forum/index.php?showtopic=14283

===========
Back to the topic:
Debian/Cacko dualboots very smoothly. The two systems exist side by side and do not interfere with each other. A good alternative to the Pocketworkstation solution.
Still there is an issue to resolve: the two filesystems cannot access of each other. In debian there is a problem with mounting the jffs2 mtdblocks, and in sharp/cacko /dev/hda1 (where my debian rootfs is) is mounted as a read-only partition.

keep all your data on some additional extended partition accesable by both?
Go to the top of the page
 
+Quote Post
ZDevil
post Mar 27 2008, 12:50 AM
Post #30





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Actually it is pretty flexible to set up dualbooting like this.
For example, if you already have a working Sharp/Cacko or pdaXrom or Angstrom and do not want to fiddle with the partitions on the internal disk, you can choose to run debian on SD instead of the internal disk.
Things are even simpler in this case: just flash the yonggun kernel for booting from SD to make the debian rootfs on the SD the main system. Then use kexec or the attached booting scripts to boot the subsystems in NAND and on the internal disk. That should be a clean and safe way.
Go to the top of the page
 
+Quote Post

5 Pages V  < 1 2 3 4 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2014 - 09:36 PM