Configuring LILO in cclinux
Hi,
I have a computer running cclinux . I made a clone of it using Norton ghost. Now when I boot from the cloned HDD from another PC , I’m asked to enter the root of the boot partition at the Lilo prompt. If I press tab twice at the the Lilo prompt , I can see 3 files namely cclinux , backup,linuxrc . So I type cclinux root= /dev/hda2 which is the correct root of the boot partion. It was /dev/hdc2 with the original HDD.
Now my problem is , I want to make this entry permanent in the lilo conf file without having to enter cclinux root=/dev/hda2 at the lilo prompt each time when I boot the system.
Surprisingly, there was no lilo.conf file in the HDD. I checked with the original HDD , but I couldn’t find the file there also. I ran the command ' lilo -v -v ' (in the system with the cloned HDD)and it gave me an error after showing the version of Lilo and copyright information like this :
LILO version 21.7-5,copyright (C) …………………………
……………………………………..
/etc/lilo.conf : No such file or directory
So I created lilo.conf file manually , with the following lines:
linear
read-only
prompt
timeout = 50
vga = normal
image = /boot/boot.image
# Assuming boot.image to be the boot image.I couldnt find any other file in the boot partition that seems to be boot image . I searched the entire filesystem for files like vmlinu* , cclinux,etc. but I couldn't find any.#
root=/dev/hda2
label=cclinux
Now I ran the command lilo and it gave me the following error :
Fatal : open /boot/boot.b .No such file or directory.
I searched the filesystem for any file named boot.b. But it was not there.I searched the original HDD also for any such files. But the result was same.
How can I resolve this issue. Please help me out.
Jomy
Last edited by jomy; 08-24-2006 at 07:25 AM.
|