JHALFS with QEMU 6.3 LiveCD Fails
Mike.McCarty at sbcglobal.net
Mon Mar 30 11:38:56 PDT 2009
I've created a small (I now realize too small, but that's not
the problem) QEMU disc and am running the 6.3 r2160 build of
the LiveCD as QEMU's CD-ROM. I configured and started JHALFS,
which ran for a while, then gets an unrecoverable error. I'm
trying to build LFS 6.4 from the 6.4 book.
Here's how I have the disc partitioned:
jhalfs [ /media/hda1/build/jhalfs ]$ sudo fdisk -l /dev/hda
Disk /dev/hda: 2516 MB, 2516582400 bytes
255 heads, 63 sectors/track, 305 cylinders
Units = cylinders f 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 243 1951866 83 Linux
/dev/hda2 244 305 498015 82 Linux swap /
I've mounted /dev/hda1 on /media/hda1, and enabled swap on the
other partition. I've created /media/hda1/build, and put the
sources in the right place, and made a copy of the jhalfs-2.3.1
directory using cp -a so I have a writable copy. I did a make,
and it seemingly successfully created Makefile. I did another make,
and it successfully ran up through the creation of gcc. However,
it failed attempting to make the API headers. I snipped off the
relevant message (somewhat edited for readability):
Building target 031-linux-headers
[++++++++++++++++++++++++++++++++++++++++ +++++ +++-
make: *** [031-linux-headers] Error 1
make: *** [mk_LUSER] Error 2
I'm not out of emulated disc, as df shows /dev/hda1 is
only 40% full. Reading the man page for make didn't
help much. However, poking around found
Fri Mar 27 20:37:33 CDT 2009
KB: 348280 /media/hda1/build
make: Entering directory `/media/hda1/build/sources/linux-188.8.131.52'
make: Leaving directory `/media/hda1/build/sources/linux-184.108.40.206'
cp: cannot stat `../kernel-config': No such file or directory
So, it looks like a required file is not present. I don't recall whether
I configured it to build the kernel, but this does look like a possible
defect in the tool.
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
More information about the lfs-support