LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-22-2004, 12:04 PM   #1
Forezt
Member
 
Registered: Jun 2003
Location: Aero-nomadic
Distribution: Debian (etch, PPC)
Posts: 80

Rep: Reputation: 15
sbin/grub not found


I'm trying to get my system to dual boot Windows XP and Fedora. I followed these instructions until I got to the part about booting into Linux. The problem was that I could not boot into Linux because GRUB was not loading. It would just skip GRUB and go directly into Windows. I checked Partition Magic to make sure all my partitions were right (and they were). The boot partition was before the 1024th cylinder and everything looked perfect, yet still it wouldn't load GRUB at boot.

I later concluded that the Windows boot loader was maybe overriding GRUB somehow, so I decided to boot into linux rescue and run the commands described in the tutorial. I ran into another problem, however, after I ran "grub-install /dev/hda2" (hda2 is /boot on my machine). The error message returned was "sbin/grub not found". This is where I'm stuck. What do I need to do now?
 
Old 02-22-2004, 01:11 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
I ran into another problem, however, after I ran "grub-install /dev/hda2" (hda2 is /boot on my machine). The error message returned was "sbin/grub not found". This is where I'm stuck.
Consider yourself lucky.
If this command was successful, you would have overwritten files on your /boot.

If you want to use GRUB as the default boot loader, you have to install it in the MBR (Master Boot Record).
Use this command instead.
Code:
grub-install /dev/hda
Note: In rescue mode, you may need to specify the full path. For example:
Code:
/usr/sbin/grub-install /dev/hda
If you can't find the location of grub-install, use the whereis command.
Code:
whereis grub-install
 
Old 02-22-2004, 02:08 PM   #3
Forezt
Member
 
Registered: Jun 2003
Location: Aero-nomadic
Distribution: Debian (etch, PPC)
Posts: 80

Original Poster
Rep: Reputation: 15
nm, I just decided to install boot magic. Everything works now except for one thing. When I select Linux or Windows, my BIOS gives me this annoying warning that says my boot sector is about to be modified and makes the system speaker give out this really loud high pitched beep. Is there any way to get rid of this?
 
Old 02-22-2004, 02:15 PM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Yes.
In the BIOS, you can disable the "Boot Virus Protection" feature.
This feature warns you when a process is trying to write something in the MBR.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want2use /sbin cmds undr non-root account w/o sudo. Is it safe 2 add /sbin 2 my PATH? kornerr Linux - General 4 02-25-2005 09:29 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
/sbin/ifconfig gives command not found - help dmalsbury Linux - Software 8 01-06-2004 09:14 PM
Can't install some RPMs, /sbin/sh not found? nextekcarl Linux - Software 4 10-12-2003 04:36 PM
/sbin/xlogin file not found minor Linux - General 0 05-09-2001 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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