Hi,For conceptual purposes, think of your hard drive as having three partitions, the WindowsXP partition, the Linux partition, and the Master Boot Record (MBR) partition.
I recently had some problems with my computer and had
to reinstall Windows XP. After I done that, I don't
get the LILO screen with boot options anymore. It
starts XP automatically. I checked and the Windows XP
C: drive is the size of the original partition, so I
think my Linux partition is still there.
Windows believes it's the only OS that anyone will ever have on a hard drive, so when you (re)install it, it automatically takes over the MBR with its own boot code, wiping out whatever was there beforehand.
So all you have to do is re-take the MBR from the control of Windows, and put it back in the hands of LILO.
When you boot into Linux, it'll automatically check the file systems' integrity if necessary. Or you can do it manually with fsck.So, I would like to set the computer for dual-boot again. But at this point I don't have access to the Linux partition. I just made a bootable floppy from:
http://www.tux.org/pub/people/kent-robotti/looplinux/rip/index.html
So, I guess that that will allow me to "see" the linux partition.
I am not sure if after the crash my linux partition is
OK. So I wanted to check its integrity. (cfsck?) How would I do that?
Finally how would I make Lilo give me the dual-boot
option?
Boot into Debian using your boot floppy; you'll need to enter some parameters at the "boot:" prompt, like
boot: linux single root=/dev/hda2
Where the "hda2" part points to your Debian's root partition.
Once you're logged in via this single-user mode, just run "lilo" (or "/sbin/lilo" if the full path is needed), and then reboot (with "reboot").
Voila! It's fixed.
-- Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]