From: Henry N. <Hen...@Ar...> - 2006-09-20 00:09:44
|
Holger Krull wrote: > Kristopher Yates schrieb: > >> I would like to run this software but can't figure out how to config the XML >> properly. Can anyone help? Here is my configuration: >> >> I use Suse 10.1 w/ grub. This is on my primary master drive. WinXP is on >> my primary slave drive. >> >> /dev/hda1 = swap >> >> /dev/hda2 = root >> >> /boot/vmlinuz is my kernel location. > > First: Do you want to boot your existing Suse 10.1 in colinux? > Which colinux version do you use? > > The kernel that gets started with colinux will always be the colinux kernel, not the suse kernel. > The config for the raw device access most likely will be > <block_device index="0" path="\Device\Harddisk0\Partition1" enabled="true"/> > <block_device index="1" path="\Device\Harddisk0\Partition2" enabled="true"/> > > But i don't know if the partition numbering starts at 0 or 1. > > Look at http://wiki.colinux.org/wiki/WindowsDevicePaths With your informatitions about your disk, it's better to set the index for your hdaX to the same index as your native installation, than the cobdX is the same as hdaX. And better, you use alias to real hdaX, that makes the /etc/fstab more easy. This should work for you (coLinux 0.6.4): <?xml version="1.0" encoding="UTF-8"?> <colinux> <!-- cobd1 is your SWAP partition --> <block_device index="1" path="\Device\Harddisk0\Partition1" alias="hda1" enabled="true" /> <!-- cobd2 is your SuSE Root --> <block_device index="2" path="\Device\Harddisk0\Partition2" alias="hda2" enabled="true" /> <!-- Define your Root partition (not the Boot) --> <!-- Lets start a runlevel without graphic --> <bootparams>root=/dev/hda2 ro init 3</bootparams> <!-- Initial RamDISK (initrd) and Kernel from coLinux --> <initrd path="initrd.gz" /> <image path="vmlinux" /> <!-- this line allows you to specify the amount of memory available to coLinux --> <memory size="128" /> </colinux> This all is in assumtion, that you would run your native Linux under colinux. Is this right? Please remember, that you need some changes on boot scripts in your SuSE, before it would be run properly. Follow the title in wiki: http://wiki.colinux.org/wiki/Converting_Distributions http://wiki.colinux.org/wiki/Dual_boot_system#Skipping_some_scripts_under_coLinux_boot -- Henry Nestler |