-   Linux - Newbie (
-   -   boots just with Windows!! (

cobweb 03-10-2006 06:08 AM

boots just with Windows!!
hi, I had had both linux and windows on my computer.
Windows was on the C drive.
A few hours ago, I reinstalled windows again onto that drive, and did not do anything to the partitions that linux was installed.

Now when I boot my computer, it directly opens with Windows. No options are presented whether to boot with Linux or Windows!

What can I do? I hope reinstalling windows to the same partition that it was installed before has nothing to do with Linux partitions :(

Thanks for any help.

acid_kewpie 03-10-2006 06:19 AM

isn't windows great? gotta just love the way it overwrites your master boot records without even letting you know! Did it suceed in making you forget linux exists? guess not...

the best option if possible for your situation is to use your install cd in rescue mode. normally it'll let you run "linux rescue" or somethign on the installation screen. this will normally find your existing linux system and make it accessible to you. once inside it you would chroot to it (normally "chroot /mnt/sysimage") and then reinstall your bootloader by running "grub-install" if you run grub or "lilo" if you run lilo. after rebooting your bootloader should be ok.

the other more preferable but increasingly rare option these days is a boot disk, which would just directly boot you into your system (so no recover / chroot)

please note that you're not detailed anythign about your linux system, so i can't be that specifc, or sure that what i've said is applicable, but it normally is these days.

corbintechboy 03-10-2006 06:19 AM

You wiped out your MBR and windows replaced it. Get yourself a live CD. Boot with it. Then do this:
open a term
type grub
root (hd0,?) question being where you have your controlling distro
setup (hd0)
Presto, all is fixed. Reboot and enjoy! :)
As root of course (su)

pixellany 03-10-2006 09:09 AM

One trick is to install the boot-loader on a floppy--avoids the whole issue. someday, I'm goint to get the "Ultimate boot CD" which supposed to boot any OS---and has a bunch of utilities.

All times are GMT -5. The time now is 07:07 PM.