Have Windows and Linux running
smoothly on the same hard disk
I used to have Windows and Linux running smoothly on the same hard disk. Now, after reinstalling Windows, I can no longer boot my machine into Linux. How can I regain control? That's usually because Windows erases the MBR (Master Boot Record) of the disk, which is exactly where LILO puts its data. You can boot Linux if you insert the custom boot floppy that newer Red Hat installations advise you to do and reset the computer. If you don't have that, you can still use the installation floppy: insert it into the drive and reset the computer. At the installation prompt type: vmlinuz root=/dev/hda2 or maybe: vmlinuz root=/dev/hda5 The '/dev/hda2' thing is the partition
that holds the root ('/') filesystem of the Linux OS. You may have to experiment
with different numbers, if you don't know that (remember to take notes
during the next installation, especially about disks and partitions). /dev/hda1
is usually the Windows partition (C). It changes a little when you have
two physical hard disks inside the computer (/dev/hdb1 or /dev/hdc1, depending
on where the CD-ROM is connected) Just try everything in turn and press
Ctrl-Alt-Del as soon as you see the 'lovely' 'KERNEL PANIC' message.
/sbin/lilo Now everything should be as before. Remove
the floppy and restart the computer.
Have a Linux Issue?
Linux Home: Linux System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|