Hi,
I'm trying to install LFS 6.0 under Knoppix 3.7 under Virtual PC 2004 under WinXP. (Er, if you see what I mean.) I've got up to section 8.4 with no problems at all (well, I think my 'less' may be broken, but I'm not sure), but now I'm stuck.
The problem is that grub doesn't believe I have a hard disk. Obviously I do (albeit a virtual one), because that's what I've just built the system on
(In case you're not familiar with it, Virtual PC works by emulating the hardware devices, though I think it passes the CPU instructions through to the host CPU. The "hard disk" is basically a loopback filesystem on an NTFS partition. AFAIK it's emulated as a completely normal boring IDE hard disk, no SATA or RAID or anything complicated.)
I'm at section 8.4 and I type 'grub' (from the host Knoppix system, within the LFS chroot) to load the grub shell. I type 'root (hd0,0)' and it tells me "Error 21: Selected disk does not exist".
The disk I've been working on (and the only HDD in the virtual system) is /dev/hda1, according to Knoppix and common sense. The partition type is ext3. Just in case weirdness is happening I've tried (hd1,0) and (hd2,0), but no go. If I type 'root (hd<tab>' the tab-completion comes up blank; if I just type 'root (<tab>' I get fd0 and cd as options. (
Booting from a (virtual) CD or floppy would be OK, if annoying, but if it can't find the kernel image that's not a lot of good!)
Has anyone successfully installed LFS under Virtual PC? It's highly annoying to have got this far and apparently have it all go to waste...
I'm going to restart (for some reason the 2.6 kernel Knoppix uses hangs if I try to bring up eth0, and LFS won't build under the 2.4) and download lilo - will post if that works.