Mailing List Archive

Newbie problems with isolinux
Hello everybody

I would like to build a bootable CD from my running SuSE 7.3 Kernel 2.4.10.
The goal is to have a prebuilt system on CD which would install everything
from a compressed image on the same CD, some kind of an emergency or
initial setup CD.

So I startet with an directory called root_tree, placed the isolinux
directory and the binaries there. I copied the initrd from the /boot
directory and the Linux kernel image from /boot, rdev'ed the Linux image to
load from /dev/scd0 and hoped I could get at least at a shell prompt that way.

Unfortunately I get a kernel panic: VFS: unable to mount root file system
on 0b:00 which seems to indicate that /dev/scd0 cannot be mounted.
The ide-scsi module gets loaded but kmod reports that /sbin/modprobe for
block-major-11 cannot be executed errno=2. This is not surprising, because
modprobe is dynamically linked and is not present yet.

isolinux.conf looks contains:

default promise
label promise
kernel linux
append root=/dev/scd0 initrd=initrd rw ramdisk_size=65536 init=linuxrc
ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=
0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0
display message
prompt 1
timeout 80


Thanks for pointers

Erich

THINK
Püntenstrasse 39
8143 Stallikon
mailto:erich.titl@think.ch
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16
Newbie problems with isolinux [ In reply to ]
On Tue, Apr 02, 2002 at 01:02:47AM +0200, Erich Titl wrote:
> Hello everybody
>
> I would like to build a bootable CD from my running SuSE 7.3 Kernel 2.4.10.
> The goal is to have a prebuilt system on CD which would install everything
> from a compressed image on the same CD, some kind of an emergency or
> initial setup CD.
>
> So I startet with an directory called root_tree, placed the isolinux
> directory and the binaries there. I copied the initrd from the /boot
> directory and the Linux kernel image from /boot, rdev'ed the Linux image to
> load from /dev/scd0 and hoped I could get at least at a shell prompt that
> way.

sounds good.

> Unfortunately I get a kernel panic: VFS: unable to mount root file system
> on 0b:00 which seems to indicate that /dev/scd0 cannot be mounted.
> The ide-scsi module gets loaded but kmod reports that /sbin/modprobe for
> block-major-11 cannot be executed errno=2. This is not surprising, because
> modprobe is dynamically linked and is not present yet.

do you have the IDE-SCSI stuff, or perhaps even the SCSI as a module?
(Just running a checklist here :) I read some stuff in the menuconfig help:

[..]
You must them provide the kernel command line "hdx=scsi" [..] for devices
if you want the native EIDE sub-drivers to skip over the native support,
so that the SCSI emulation can be used instead.
[..]
If both this SCSI emulation and native ATAPI support are compiled into the
kernel, the native support will be used.

Maybe that will help.

> Thanks for pointers

Hope This Helps, Have A Nice Day.

grtz, Tijn

--
1:22AM up 33 days, 13:38, 9 users, load averages: 0.07, 0.10, 0.08
Newbie problems with isolinux [ In reply to ]
Hello again and thanks Martijn for the reply

At 01:31 02.04.2002 +0200, you wrote:

> > So I startet with an directory called root_tree, placed the isolinux
> > directory and the binaries there. I copied the initrd from the /boot
> > directory and the Linux kernel image from /boot, rdev'ed the Linux
> image to
> > load from /dev/scd0 and hoped I could get at least at a shell prompt that
> > way.
>
>sounds good.
>
>...
>do you have the IDE-SCSI stuff, or perhaps even the SCSI as a module?
>(Just running a checklist here :) I read some stuff in the menuconfig help:
>
>[..]
>You must them provide the kernel command line "hdx=scsi" [..] for devices
>if you want the native EIDE sub-drivers to skip over the native support,
>so that the SCSI emulation can be used instead.
>[..]
>If both this SCSI emulation and native ATAPI support are compiled into the
>kernel, the native support will be used.

I have IDE-SCSI as a module, SCSI CD compiled into the kernel and native
ATAPI compiled in. The CD is a ATAPI CD-RW which apparently needs the
IDE-SCSI support. The kernel parameters are copied from the lilo
configuration. ISO fs support is compiled into the kernel. This kernel is
used to build the actual CD, so support for this device is there when I
boot from the hard disk. And the kernel is exactly the same with the
exception of being rdeved to /dev/scd0.

Typically the /dev/scd0 is mounted at /cdrom.

To get over the complaint for modprobe I copied insmod to /sbin/modprobe on
initrd, had to install modules.dep for modprobe to be happy but still get
the error for block-major-11.

Erich

THINK
Püntenstrasse 39
8143 Stallikon
mailto:erich.titl@think.ch
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16