Hello,
    I have a system dual booting with Win98 and PCQLinux using LILO.
    recently while repairing a win 98 error, my MBR got over written and
    I had to do a "sys c:" to boot into windows. Unfortunately, I did'nt
    have a boot floppy for linux (I had asked that question about how to
    create a boot disk in linux some time earlier). But I did have
    knoppix CD(a live distribution). So I booted into knoppix in command
    line mode by giving the command as so:
knoppix 2

Now my original linux root partition is in /dev/hda7 and the boot
partition is in /dev/hda6. I figured it out using command as so:

# fdisk -l

Now I mounted /dev/hda7 in /mnt/hda7 and /dev/hda6 in /mnt/hda6
successfully by using the command as so:

# mount -t ext3 /dev/hda7 /mnt/hda7
# mount -t ext3 /dev/hda6 /mnt/hda6

Next I did a chroot as so:

# chroot /mnt/hda7

Next i executed the lilo command.

# lilo

Now it showed an error as follows:

Fatal error: no path /boot/boot.b found

My question is where did i go wrong? I checked the /etc/lilo.conf file
which has a line as follows:
install=/boot/boot.b 
By the way I did an ls in /boot (which is actually /mnt/hda7/boot) and I
found it empty. Then I got an idea.... I created a sym link of the files
in /mnt/hda6 (which is actually my original boot partition) into the
/mnt/hda7/boot directory as so:

# ln -s /mnt/hda6 /mnt/hda7/boot/.

Then when i did an ls, i did find the /boot/boot.b file in the boot
directory. But again when I executed lilo, I got the same error..... :( 

Why is it so? Did i miss something? All I want is to get the lilo menu
back so I can boot normally into linux. All help will be appreciated :)

thanks in advance
ravi

-- 
http://www.fastmail.fm - I mean, what is it about a decent email service?


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to