Mailing List Archive

Failure with 1st isolinux attempt
Folks

I've just tried booting the 1st Linux CD I've made using Isolinux and it
fails. At boot time I see:

Boot from ATAPI CD-ROM:
No Emulation

ISOLINUX 1.67 2002-02-03 Copyright (C) 1994-2001 H. Peter Anvin
boot:
Could not find kernel image: /isolinux

The cdimage was made using the command:

mkisofs -v -o austin.iso -b isolinux/isolinux.bin -c isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table /lfs/

where /lfs/ contains a Linux-From-Scratch-based system. The CD was burnt
from the image just using "cdrecord -v dev=0,3,0 -eject austin.iso".

The /lfs/isolinux directory contains 3 files: isolinux.bin,
isolinux.cfg, and lfskernel.

The isolinux.cfg contains:

DEFAULT linux auto

LABEL linux
KERNEL /isolinux/lfskernel
APPEND "root=/dev/cdroms/cdrom0"

Anyone got any suggestions?

--
Dermot Bradley
bradley@oldcolo.com, bradley@debian.org
Failure with 1st isolinux attempt [ In reply to ]
On Sat, 6 Apr 2002, Dermot Bradley wrote:

> LABEL linux
> KERNEL /isolinux/lfskernel
> APPEND "root=/dev/cdroms/cdrom0"
>
> Anyone got any suggestions?


LABEL linux
KERNEL lfskernel
APPEND "root=/dev/cdroms/cdrom0"

not sure if the root= will work, but the kernel location is assumed
to be within the /isolinux directory
Failure with 1st isolinux attempt [ In reply to ]
On Sat, 6 Apr 2002, Jim Wright wrote:

> LABEL linux
> KERNEL lfskernel
> APPEND "root=/dev/cdroms/cdrom0"

How I get:

boot:
Could not find kernel image: lfskernel

--
Dermot Bradley
bradley@oldcolo.com, bradley@debian.org
Re: Failure with 1st isolinux attempt [ In reply to ]
> Would you mind to list your isolinux directory

ls -l /lfs/isolinux (/lfs is the "root" of the directory tree used to
build the CD from)

total 860
-rw-r--r-- 1 root root 8552 Apr 7 13:19 isolinux.bin
-rw-r--r-- 1 root root 170 Apr 7 13:14 isolinux.cfg
-rw-r--r-- 1 root root 858687 Apr 6 18:31 lfskernel

after mounting the cd itself:

ls -l /cdrom/isolinux
total 850
-r-xr-xr-x 1 root root 2048 Apr 7 13:19 boot.cat
-r-xr-xr-x 1 root root 8552 Apr 7 13:17 isolinux.bin
-r-xr-xr-x 1 root root 170 Apr 7 13:14 isolinux.cfg
-r-xr-xr-x 1 root root 858687 Apr 6 18:31 lfskerne

D'oh! Just spotted that the kernel name has been truncated.......guess
that's why the isolinux.cfg couldn't find it.....

--
Dermot Bradley
bradley@oldcolo.com, bradley@debian.org
Re: Failure with 1st isolinux attempt [ In reply to ]
Here's an example command line. -l and -r ought to fix it for you.

mkisofs \
-o /my-cdrom.iso \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat \
-no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-r \
-l \
-L \
/lfs

On Sun, 7 Apr 2002, Dermot Bradley wrote:

> > Would you mind to list your isolinux directory
>
> ls -l /lfs/isolinux (/lfs is the "root" of the directory tree used to
> build the CD from)
>
> total 860
> -rw-r--r-- 1 root root 8552 Apr 7 13:19 isolinux.bin
> -rw-r--r-- 1 root root 170 Apr 7 13:14 isolinux.cfg
> -rw-r--r-- 1 root root 858687 Apr 6 18:31 lfskernel
>
> after mounting the cd itself:
>
> ls -l /cdrom/isolinux
> total 850
> -r-xr-xr-x 1 root root 2048 Apr 7 13:19 boot.cat
> -r-xr-xr-x 1 root root 8552 Apr 7 13:17 isolinux.bin
> -r-xr-xr-x 1 root root 170 Apr 7 13:14 isolinux.cfg
> -r-xr-xr-x 1 root root 858687 Apr 6 18:31 lfskerne
>
> D'oh! Just spotted that the kernel name has been truncated.......guess
> that's why the isolinux.cfg couldn't find it.....
Re: Failure with 1st isolinux attempt [ In reply to ]
On Sun, 7 Apr 2002, Jim Wright wrote:

> Here's an example command line. -l and -r ought to fix it for you.

I've got things working. Here's what I've changed:

Added "-R" to the mkisofs options as without Rock Ridge support my
soft links (like libc.so.6 link) were messed up...

Renamed the kernel to a shorter (<9 chars) name and adjested isoconfig.cfg
appropriately.

Edited isoconfig.cfg to (1) add a init=/sbin/init part to the APPEND line,
and (2) remove quotes from round the APPEND options.

The resultant CD now boots up straight off the CD using no swap - now to
write a script for partitioning/formatting the hard disk and copying files
onto it and making it bootable...

--
Dermot Bradley
bradley@oldcolo.com, bradley@debian.org
Re: Failure with 1st isolinux attempt [ In reply to ]
Dermot Bradley wrote:
> On Sun, 7 Apr 2002, Jim Wright wrote:
>
>
>>Here's an example command line. -l and -r ought to fix it for you.
>
>
> I've got things working. Here's what I've changed:
>
> Added "-R" to the mkisofs options as without Rock Ridge support my
> soft links (like libc.so.6 link) were messed up...
>
> Renamed the kernel to a shorter (<9 chars) name and adjested isoconfig.cfg
> appropriately.

If you use the -l option then that is not necessary. Still can only
have one dot, however. Use "mount -o norock" to verify the name.

-hpa