LinuxQuestions.org
Review your favorite Linux distribution.
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-25-2008, 11:15 AM   #1
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Rep: Reputation: 15
Linux dual boot gone since i reinstalled windows


Hi everybody, I installed linux to dual boot on my windows machine a couple of months ago. I've just reinstalled windows on the machine and it is not dual booting anymore it just goes straight to windows. Can anyone help me. I didnt delete the linux partition if thats what anyone thinks.

Thanks in advance.
 
Old 03-25-2008, 11:51 AM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,585

Rep: Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440
Windows has the nasty habit of destroying the Linux boot loader. I don't think there's any easier solution than reinstalling Linux.
 
Old 03-25-2008, 11:56 AM   #3
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Is there any way i can just remove linux altogether and leave the empty space to windows
 
Old 03-25-2008, 12:02 PM   #4
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
Boot from linux install cd, type in "linux rescue" at the boot prompt.
let it boot to command prompt and locate your linux partition using "fdisk -l"

your rescue environment may or may not attempt to mount your linux install automatically. Make sure you read the messages.
If it is redhat, it probably mounted your linux partition to /mnt/sysimage/
otherwise you can mount it yourself "mount /dev/sda2 /mnt"(sda2 is hypothetical).
chroot to where you mounted your linux partition.
"chroot /mnt/sysimage" or "chroot /mnt"

type in "grub-install /dev/sda" (once again sda is hypothetical)

reboot.

This will work on redhat/centos but your mileage may vary.
 
Old 03-25-2008, 12:16 PM   #5
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks for the advice. Its open suse 10.3 I have. If i reinstall it will it automatically reinstall onto the current linux partition
 
Old 03-25-2008, 01:28 PM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
If you boot your Suse cd/dvd, it should have an option to repair/restore the bootloader. If you have seen enough of Linux, just overwrite the Linux partition with an ntfs partition.

Last edited by jay73; 03-25-2008 at 01:30 PM.
 
  


Reply


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
Reinstalled Win XP and repaired Grub, now I can't boot Linux or Windows. Please help. MegaSvensk Linux - Newbie 27 10-13-2007 05:12 PM
reinstalled windows in dual boot,,,grub disappeared,,,help ace.adi Linux - Newbie 3 03-18-2007 11:46 AM
dual boot info lost after reinstalled win2k chrislee8 Linux - Software 4 10-22-2004 09:55 PM
Reinstalled WinXP -> dual boot w/ RedHat9 doesn't work Toshi3 Linux - Newbie 3 06-22-2004 10:26 AM
Reinstalled Windows 98 lost linux dual boot llefty Linux - Newbie 0 08-01-2003 12:23 AM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration