On Mon, Nov 13, 2006 at 10:56:21PM +0530, jignesh gangani wrote:
> I got following error:
> LILO version 22.7.1, Copyright (C) 1992-1998 Werner Almesberger
> Development beyond version 21 Copyright (C) 1999-2005 John Coffman
> Released 17-Sep-2005 and compiled at 22:43:23 on Nov 14 2006.
> Reading boot sector from /dev/sda ( I have a SATA disk
> and installing LILO on MBR).
> Using MENU secondary loader
> Calling map_insert_data
> Boot image: /mnt/clfs/boot/clfskernel-2.6.17.13 ( I also have to
> modify the lilo.conf because other wise it gives error as cannot find
> /boot/map file ( as it refers to host i686 system as PATH variable does not
> include /mnt/clfs/tools and /mnt/clfs/cross-tools).
> Added clfs
>
> Writing boot sector.
> Fatal: create /boot/boot.0800: No such file or directory. ( Again it refers
> to host i686 system).
> Now what to do?
I don't know. I don't think the PATH should be relevant to finding
/boot/map because it is isn't an executable program as far as the
shell is concerned. Perhaps there is something useful in the lilo
or lilo.conf man pages (should be in the source tarball, or use
google). There are several lilo switches which might be relevant:
-t test mode
-v verbosity : you can increase this, up to -v 5, but you'll
probably get a lot of output.
-m specify the map file
-r chroot to specified directory - might help if you chroot to
/mnt/clfs, or alternatively you might not get access to programs.
If it does work for you, you probably don't want any of the other
switches.
-i specify the file to use as the boot sector, instead of
/boot/boot.b
-s specify where to save the old boot sector (this is what it tries
to write to /boot/boot.0800)
Also, there is a typo in the 1.0.0 book in 7.22 where it tells you
to put the keytab in i${CLFS}/boot/uk.ktl (or whatever.ktl for other
keyboards) - obviously the initial 'i' is bogus [ I plead guilty to
scattering 'i's when I don't think I'm already inserting in vim ],
fixed an hour or so ago in trunk.
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support