Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2006, 06:08 AM   #1
LQ Newbie
Registered: Feb 2006
Posts: 14

Rep: Reputation: 0
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.
Old 03-10-2006, 06:19 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
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.
Old 03-10-2006, 06:19 AM   #3
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
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)

Last edited by corbintechboy; 03-10-2006 at 06:31 AM.
Old 03-10-2006, 09:09 AM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
system boots to Windows XP yeehi Linux - Software 9 11-27-2005 10:24 AM
another boots only to windows problem the1wraith Fedora - Installation 2 10-30-2005 11:54 AM
See windows share when linux boots first. araldit Linux - Networking 3 05-01-2005 11:06 AM
Monitor blacks out right before linux(and windows) boots.. mi1es Linux - Hardware 3 08-17-2004 06:36 AM
Windows XP Boots by default gkatele Linux - Newbie 6 04-14-2004 01:16 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration