|
From: Serge L. <fi...@in...> - 2008-06-06 00:57:45
|
Peter Jannesen wrote:
> Hi Serge,
>
> First let my say I found the problem. There is a typo in mount_cdrom.
> The test if /shm/etc-mods/sysconfig/config exists is incorrect the -f is
> missing.
yes. As I said it's already fixed (Jun,3). I'm sorry, I didn't paste it to the
previous message. The discussion was in the developers list...
Index: mount_cdrom
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/mount_cdrom,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- mount_cdrom 28 Apr 2008 19:30:21 -0000 1.44
+++ mount_cdrom 3 Jun 2008 16:33:58 -0000 1.45
@@ -117,7 +117,7 @@
fi
# check if we already have a config loaded
- if [ "/shm/etc-mods/sysconfig/config" ]; then
+ if [ -f "/shm/etc-mods/sysconfig/config" ]; then
# load main config file
. /shm/etc-mods/sysconfig/config
else
>
> Background info:
> I use a other system to create the CF. On this system the CF is on USB.
Well, it explains the one problem I've found out. Thanks, I'll modify the script
to add additional check for OS distribution (DL or not).
> In the MBX the CF is directy connected to the IDE controller. The
> problem is that this new MBX is not supporting a CDROM player.
Just FYI:
I have got Via c3 based box with CF in IDE slot (I tested the script on that
device actually). I use usb-cdrom to install DL on CF. Do you have a possibility
to do the same?
The problem is the necessary modules are not loaded (it's my assumption). I can
suggest the following:
temporary use usb-flash (or FDD) to store the config tarball and define module
to preload in the config file, after that install the system to CF from booted
up DL using the script I've attached.
PS. I've just replaced my initrd by yours and my system boots correctly. So, the
initrd is correct, but init script can't find the iso (probably).
PPS. Updated script is in the attachment. You help me to fix 2 bugs - thanks a lot!
--
Serge
|