From: Dwight C. <da...@po...> - 2004-07-02 19:43:08
|
Eh, here's the cheap-n-nasty solution I'm using for that.... (colinux 20040622, slackware 10.0) First thing in /etc/rc.d/rc.S is add at the top /sbin/mount -o remount,rw / /etc/rc.d/rc.VerHack /sbin/mount -o remount,ro / the contents of rc.VerHack are #!/bin/sh # version workarounds. Bah! echo "Applying ugly kernel version hacks (colinux vs. real linux)" /bin/rm /etc/fstab /bin/rm /etc/lilo.conf /bin/rm /opt/kde/share/config/kdm/Xservers /bin/rm /usr/src/linux if uname -r | grep "co-" ; then ln -s /etc/fstab.colinux /etc/fstab ln -s /etc/lilo.conf.colinux /etc/lilo.conf ln -s /opt/kde/share/config/kdm/Xservers.colinux /opt/kde/share/config/kdm/Xservers ln -s /usr/src/linux-2.6.7-co-0.6.2 /usr/src/linux else ln -s /etc/fstab.reallinux /etc/fstab ln -s /etc/lilo.conf.reallinux /etc/lilo.conf ln -s /opt/kde/share/config/kdm/Xservers.reallinux /opt/kde/share/config/kdm/Xservers ln -s /usr/src/linux-2.6.7 /usr/src/linux fi Substitute config files as needed for differrences between real hardware and colinux boot. This approach has a few downsides, such as possibly borking system sanity checks at boot time. Wouldn't want to use anything even vaguely resembling in a production environment, etc etc. Hope this helps, d.c. On Thu, 1 Jul 2004, Samir Kuthiala wrote: >Hi > >I have been trying to get the colinux to work on my dual boot system >(win2k pro + RH9) for the last few days but with no success. heres a >summary of what I have done so far > >1. create /dev/cobd0 to /dev/cobd7 using mknod >2. installed colinux 0.6.1without downloading the Debian/Gentoo image. >modified the config file to this... >=============================================== ><colinux> > <block_device index="0" path="\Device\HarddiskVolume2" enabled="true" /> > <block_device index="1" path="\Device\HarddiskVolume3" enabled="true" /> > <bootparams>root=/dev/cobd0</bootparams> > <image path="vmlinux" /> > <memory size="64" /> > <network index="0" type="tap" name="tap" /> ></colinux> >=============================================== >3. copied the kernel modules packaged along with colinux into the >/lib/modules dir > >I then tried to boot the colinux. failed with some error about unable >to locate /dev/hda3 (thats my root partition). I assumed this was due >to me not having modified fstab. I then modified fstab to remove all >references to /dev/hd* and added in /dev/cobd0 (as root) and >/dev/cobd1 as swap. However the bootup sequence still fails with some >error message about invalid superblock. > >I have gone through the website/forums/wiki and am just about to give >up. Can somebody help me figure out whats going wrong? > >Thanks >Samir > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >coLinux-users mailing list >coL...@li... >https://lists.sourceforge.net/lists/listinfo/colinux-users > | dwight a. campbell : da...@po... : http://rats.darktech.org/ | | linux guru in training : reality avoidance therapist for hire : KD7KJG | | when you live in a sick society, just about everything you do is wrong | |