LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-10-2006, 05:08 AM   #1
cobweb
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, 05:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 05:19 AM   #3
corbintechboy
Member
 
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 05:31 AM.
 
Old 03-10-2006, 08:09 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

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


Reply



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 09:24 AM
another boots only to windows problem the1wraith Fedora - Installation 2 10-30-2005 10:54 AM
See windows share when linux boots first. araldit Linux - Networking 3 05-01-2005 10:06 AM
Monitor blacks out right before linux(and windows) boots.. mi1es Linux - Hardware 3 08-17-2004 05:36 AM
Windows XP Boots by default gkatele Linux - Newbie 6 04-14-2004 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 AM.

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