LinuxQuestions.org
Help answer threads with 0 replies.
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 09-12-2007, 05:56 PM   #1
allyghee
LQ Newbie
 
Registered: Aug 2007
Posts: 9

Rep: Reputation: 0
dual boot (linux installed first)


hi there,

i recently installed debian etch(4) and i'm very happy with the distro.

i have widows installed(1st before the linux) before so i was able to set up dual boot without any hassle(i used grub during the linux installation).

i had a problem with my windows so i had to reinstall. i found out that windows had over-written my grub boot loader. how do i fix the bootloader so as to be able to boot from the linux again?


thanks in advance

linux r0x

ally
 
Old 09-12-2007, 06:20 PM   #2
sebajo
LQ Newbie
 
Registered: Nov 2006
Distribution: Fedora, Gentoo, LFS, OpenSuSE, Slackware
Posts: 10

Rep: Reputation: 0
At a the terminal, as root(so a sudo is required), type
Code:
/sbin/grub-install --no-floppy /dev/hda
I am assuming that you have an IDE drive, but if you have a SCSI or SATA, it should be /dev/sda. Reboot your computer and it should show GRUB again.
 
Old 09-12-2007, 06:51 PM   #3
allyghee
LQ Newbie
 
Registered: Aug 2007
Posts: 9

Original Poster
Rep: Reputation: 0
thanks but......

i cant get into the linux installation

how do i get to the terminal? cos i only see windows during start up? do i need the debian install cd ?yes my drive is a SATA



Quote:
Originally Posted by sebajo View Post
At a the terminal, as root(so a sudo is required), type
Code:
/sbin/grub-install --no-floppy /dev/hda
I am assuming that you have an IDE drive, but if you have a SCSI or SATA, it should be /dev/sda. Reboot your computer and it should show GRUB again.
 
  


Reply

Tags
boot, dual



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
dual boot (linux installed first) allyghee Linux - Newbie 4 09-13-2007 10:15 AM
how to create an XP dual boot after linux has been installed izquierdista Linux - Software 4 07-08-2005 02:01 PM
Dual Boot With Linux Already Installed computergee Linux - Newbie 13 02-05-2005 12:32 PM
Dual Boot, linux already installed primal Linux - Newbie 2 01-19-2004 06:35 PM
Dual-boot with Windows, installed Linux first trusted_content Linux - General 10 06-06-2003 01:38 PM

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

All times are GMT -5. The time now is 02:40 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
Open Source Consulting | Domain Registration