Gerard Braad

F/OSS & IT Consultant on Openness and Interoperability

You can follow more frequent updates via my Identi.ca profile (feed).

Friday, March 13, 2009

CentOS 5.2 image for coLinux

Although soon we hope to have the newer 5.3 release of CentOS, I still decided to create a coLinux image of the current release. The problem with this release is that the kernel has issues when run on Qemu as can be seen in this bug report. This issues is known upstream and is solvable by installing 5.1 and then update it beyond the problematic kernel... or you could just wait until CentOS 5.3 is released.

To make CentOS 5.2 usable in coLinux you could install 5.1 in this way using Qemu and update it. I just took a different approach: use RPM. I used a modified initrd image and installed a basic RPM installation (kinda similar to the FC3-CentOS frankenupgrade). More details about how the installation was performed will follow.



For now you can find the files here:
colinux-centos52.exe [VIPeers] [dropbox] (82mb)

The files contain an image with a minimal installation which you can use on coLinux 0.7.3. The startup is not error-free... but you can ignore the failures for now, since I will update the images to reflect the Fedora images. Your suggestions are of course welcome.

It is configured to use DHCP on the network connections eth0 and eth1. The user account is 'root' without a password.

Edit: repacked the archive to be self-extracting and kernel modules (co0.7.3) have been installed by RPM.

3 comments:

gbraad said...

On startup you will see some depmod issues. These can be solved by installing the vmlinux-modules archive. If you prefer to use RPM installations, you can easily do so with the following commands:

$ wget http://gbraad.fedorapeople.org/files/kernel-modules-2.6-co0.7.3.i386.rpm
$ rpm -ivh kernel-modules-2.6-co0.7.3.i386.rpm

thuongshoo said...

Hi ! I have just succeeded to build CentOs 5.2 image. I used CentOs 5.2 ISO file.
Key:
- use newest QEMU, don't start KQEMU.
- use newest CoLinux from henrynestler's site.

After finished installing, I could not start the image by QEMU. But do "dd bs=521 skip=63",.. the Image can run well on CoLinux.

Bye! My email is [email protected] My blog is http://thuongshoo.blogspot.com . I'm sorry! This is a video/audio blog. Now there is not nay post about CoLinux :D

thuongshoo said...

I'm sorry! Information was not clearly.
I have just reminded that I'm using QEMU 0.10.0 . I downloaded from http://qemu-forum.ipi.fi/viewtopic.php?f=5&p=14414

- Startup and install.
- CentOs inform that it will reboot. I rebooted and this version of QEMU also can not work. Don't worry!
- In windows, dd bs=521 skip=63 .... as wiki's guide.

- Good luck! :)

Followers