Robert,

Unfortunately I have gotten very good at doing just this.

Once you boot from installation CD and get down to the bash prompt, you will
probably have to create the device, mount the device and run LILO.

Assuming that the device is an IDE drive on the primary controller in the
primary position (hda), that your root filesystem is on hda1 and that your
vmlinuz kernel is on that partition as well, you go into the directory (ie
/dev) where you need to create the device.  If it is not there, you issue
the following:
mknod hda b 3 0
mknod hda1 b 3 1
(If you need to create other partitions, such as having a /boot on hda1 and
/ on hda2, create them here as well.)

now you mount the device.  Assuming your mount point to be /mnt you enter:
mount /dev/hda1 /dev
(If you have other partitions like /boot that contain the vmlinuz images,
mount them here as well)

now you just need to recreate the lilo boot sector:
/mnt/sbin/lilo -r /mnt

After you reboot, you should probably make a boot floppy by going into
/etc/lilo.conf and and changing boot=/dev/hda to boot=/dev/fd0 and rerunning
lilo.  Don't forget to put it back to /dev/hda when you are done!

----------------
Warren Melnick
Director of Research and Development
Astata Corporation




-----Original Message-----
From: Robert Reyes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 12:58 AM
To: [EMAIL PROTECTED]
Subject: booting from cdrom



hello guys!

one of our machines here have a corrupted boot record. how can i restore
LILO on the mbr? i seem to have misplaced the bootdisk, how do i mount the
disk when i boot from the installation cd? any help will be very much
appreciated.


==============================
Robert Reyes
Junior Software Developer
Colibria Phils, Inc
[EMAIL PROTECTED]
[EMAIL PROTECTED]
+639178105824



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to