From: Henry N. <hen...@ar...> - 2009-03-04 00:36:27
|
Hello Bill, Bill C. Riemers wrote: > The first code problem I found is the capacity for cobd devices is > listed as 16. As none removable devices, anaconda expect the size > value to be valid. However, the size is always read as 0, so anaconda > skip past the devices. On a hunch, I added a open command into the > code, and found once a cobd device has been opened, the size value is > nolonger 0, so anaconda will recognize it. So the solution is coLinux > either needs to mark all cobd devices as removable, or it needs to > initialize the size parameter. Please try the devel version 0.8.0 from snapshot page. The size problem should not exist with the scsi driver. This type of driver allows partition tables and give the installer the exactly size from image file. An example for config: scsi0=disk,file.img You can add a size parameter to create empty disk images. But be carefully, it can shrink the size (and delete) existing images. For example to create a 1GB image: scsi0=disk,file.img,1073741824 In the installer (Anaconda) than you need to create a partition. > The next problem I came across is that anaconda expects CD's to have > the cd capacity set. Since coLinux treats all cobd devices the same, > none are marked as CD. So again, I did a quick hack and modified my > build of anaconda to consider all coLinux devices as both CD's and > hard disks. In the devel version exist scsi for cdrom support. This works also with mostly installers. An example for config: scsi1=cdrom,file.iso All parameters you will find in colinux-daemon.txt after installing coLinux, or in the SVN: http://colinux.svn.sourceforge.net/viewvc/colinux/branches/devel/doc/colinux-daemon -- Henry N. |