[UCLA-LUG] booting linux after MBR was rewritten

Denis kiev78@pacbell.net
Thu, 27 Jul 2000 19:40:03 -0700


Am I missing something, or is all you need to do is boot with that
kernel of yours, mount the proper partitions, edit /etc/lilo.conf
to point to both linux and windows, and re-run /sbin/lilo (which
will overwrite whatever is in your mbr) ?

denis

----- Original Message ----- 
From: "johng" <johng@ee.ucla.edu>
To: <linux@linux.ucla.edu>
Sent: Thursday, July 27, 2000 5:56 PM
Subject: [UCLA-LUG] booting linux after MBR was rewritten


> Hi,
> 
> I have, I'm sure, a very common situation and was looking to be pointed
> towards the right reference to fix my problem. 
> 
> I had redhat 6.2 running fine on a PC and wanted to add Windows 2000 to
> make a dual-boot system.  Reading that Windows won't start if it is not
> below the 1024th cylinder, I backed up the system completely and
> repartitioned the hard drive so that I could fit Windows in the front. 
> I also put a partition below the 1024th cylinder to hold my /boot.  I
> installed windows and using tomsrtbt (toms root boot - a small kernel on
> a floppy that loads into ram) I copied everything back to the ext2
> partitions I assigned for linux.  Now the problem is that I have no idea
> how to boot the machine using my kernel on the hard drive.  Windows 2000
> is, of course, happy as a clam not caring about the linux partitions.  I
> only know how to boot with this ram loading kernel.  I can mount the
> other partitions and everything is there.  I have tried to make a LILO
> disk on another machine, but to no avail.  I am looking for any way to
> boot linux on the machine, whether it is lilo, loadlin, or just from a
> floppy all the time.
> 
> Of course, any suggestions are greatly appreciated.  
> 
> -John Gianvittorio
> johng@ee.ucla.edu
> 
> _______________________________________________
> UCLALUG Linux mailing list - Linux@linux.ucla.edu
> http://linux.ucla.edu/mailman/listinfo/linux