Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-01-2008, 10:39 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
GRUB just plain won't boot by itself

I've messed up the MBR of a video surveliance device. I've installed GRUB in the MBR and now I get a GRUB> prompt when the PC starts, I can then get it to boot by typeing in

root (hd0,0)
setup (hd0)
configfile (hd0,0)/boot/grub/grub.conf

I guess it's not seeing hte config file and whe it does it'll kick off and boot right up, I figred this command using the Super Grub Disk. I've also booted to knoppix LiveCD and done what's suggested in another thread which is to boot to a liveCD, and run grub with these commands

To install grub:
grub opens the grub shell
root (hd0,0) tells grub that the /boot directory is on drive 1,
setup (hd0) puts grub on the mbr

with no luck

Any help or suggestions would be greatly appreciated, I've tried just about every GRUB command but the right one I think
Old 04-01-2008, 10:48 AM   #2
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
What distro are you using?
Old 04-01-2008, 10:48 AM   #3
LQ 5k Club
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,476

Rep: Reputation: Disabled
well it depends on whether /boot partition or sub-folder to / is truly on first partition.

2) use that live cd again to run a partition tool to see what your structures are.

3) I prefer
root (hdx,y)
setup (hd0)

using a live cd...where hdx,y is the partition that truly contains /boot.

4) when you boot that live cd can you post the output of
fdisk /dev/hda
fddisk /dev/sda

just in case we do not have a true linux structure

5) alternatively can follow my troubleshooter to see what partitions are etc

6) I prefer not to use a config file and we have not seen your error messages to know if you have one.

the live cd...can list the contents of hda1 or sda1 /boot/grub/menu.lst

Knoppix has icons on the desktop that can be mounted read only when you click on them


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
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 04:13 AM
How to set Grub not to auto boot any OS without Grub Boot menu shown ussr_1991 Linux - Software 2 09-01-2007 09:36 AM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 06:26 AM
need to access /boot/grub/menu.lst and /boot/grub/ neouto Linux - Newbie 8 09-04-2005 12:45 PM
need a dmesg.boot error translated into plain english mipia *BSD 3 09-11-2003 08:20 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:25 PM.

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