LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2003, 12:01 PM   #1
ody1
Member
 
Registered: Dec 2002
Posts: 39

Rep: Reputation: 15
Unhappy can't boot linux..


Hi guys,

I'd like your help in this...
I had both windowsxp and linux installed on my computer, in different disk drives. windowsxp was under hda1 and linux under hdb1. I was switching between them by using grub.
One day my windowsxp crashed... and had to install again.
this unfortunately formatted my mbr and now i have no access to my linux partition.
(I hadn't created a boot disk...!damn)
Do you have any ideas how may i set grub or lilo up again, without changing my linux partition?
Can I do anything from rescue mode (by booting from the installation cd)?
Thanks in advance
 
Old 07-11-2003, 12:35 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Boot rescue and try this command:

grub-install
 
Old 07-11-2003, 12:49 PM   #3
ody1
Member
 
Registered: Dec 2002
Posts: 39

Original Poster
Rep: Reputation: 15
i tried grub-install /dev/hda
but i got the bash: /sbin/grub not found
I checked sbin and it contained a few files for rescue mode. no grub or lilo.
 
Old 07-11-2003, 12:57 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
What is your distribution and release?

Installing a bootloader
Multiboot with GRUB Mini-HOWTO
Linux+Win9x+Grub HOWTO
 
Old 07-11-2003, 12:59 PM   #5
ody1
Member
 
Registered: Dec 2002
Posts: 39

Original Poster
Rep: Reputation: 15
it's red hat 8.0 , the first release
 
Old 07-11-2003, 01:20 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I need to know everything you did. I don't know if you mounted anything or not.

Red Hat 8.0 Rescue Mode

Installing Grub
 
Old 07-11-2003, 03:00 PM   #7
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 190

Rep: Reputation: 37
I don't know if this is useful, but in Slackware when you boot off the CD you can say:

linux root=/dev/hdb1 (at the first boot prompt)

It will then Boot using the CD Kernel, but Boot you into YOUR linux partition and then you can do all your fun fixing stuff =)

Micah
 
  


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
Is there a file that Linux writes upon boot that is the EXACT text as the boot screen lostboy Linux - General 21 01-08-2008 02:10 PM
Cannot boot up on Linux, have to boot onto Linux-nonfb after installing nvidia driver /home/kyle Linux - Newbie 6 09-15-2004 11:23 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 08:13 AM
Linux Boot Floppy Went Bad on W2K-Linux Dual Boot rzward Linux - General 2 01-15-2003 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:48 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