>>>>> "Devdas" == Devdas Bhagat <[EMAIL PROTECTED]> writes:

    Devdas> On 11/05/02 16:42 +0530, Hemank Trivedi wrote:
    >> See, after you create a Linux bootable, for once you'll require
    >> to boot through the bootable floppy. Once you have got into
    >> Linux, you'll require to do the following exercise:
    [some spacing here would really help, Dodobh!]
    Devdas> <snip> People, this is not a case of a deleted mbr. The OP
    Devdas> has had his boot partition delted and wants to know if he
    Devdas> can recover his system without reinstalling Linux.  I
    Devdas> think that it might just be possible. Easiest thing to do
    Devdas> is to get another persons HD of the same OS, change the
    Devdas> partition type to linux and then mkfs it, and cp -a
    Devdas> /newhd/boot to your /boot.  If that is not possible, you
    Devdas> could boot into rescue mode, mount your system completely
    Devdas> and force an install from the kernel rpm.  rpm --force the
    Devdas> install.  Check your /boot for vmlinux-<kernel.version>,
    Devdas> module-info, and system map files. Then in the chroot, run
    Devdas> lilo, which should get your system up and running.
    Devdas> Remember to change the partition type from windows to
    Devdas> Linux so that windows no longer sees it.

You'll probably need to install the lilo rpm too.  Backup
/etc/lilo.conf first.

One sequence of steps would be:

Boot into rescue mode

Mount the disk root partition

Copy the lilo and kernel rpm's into the root partition

chroot into the root partition

Backup /etc/lilo.conf

mke2fs /dev/XdaY [whatever your boot partition is called]

Mount the noot partition on /boot

Install the lilo and kernel rpm's

Restore the backed-up lilo.conf

Run lilo

You should have a working system after this.

[OT] Did the reply-to crap that SF was putting in the headers get
fixed again?

Regards,

-- Raju
-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/
                     It is the mind that moves

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to