Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-25-2006, 04:55 PM   #1
Registered: Apr 2005
Posts: 241

Rep: Reputation: 30
[solved] restoring bootloader


I am trying to restore a GRUB
bootloader to a partition in
the following manner:

grub-install /dev/partition

However, the /dev/partition reports
as not having any corresponding BIOS
drive error.

What is going on?


The /dev/partition had been gone
completely in my fiddling with

Just reinstalled the distro.

Last edited by pcandpc; 07-01-2006 at 07:13 PM.
Old 06-25-2006, 06:25 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Don't know what's going on. Don't know which distro you are having this problem with. Don't know the contents of your grub.conf (or menu.lst, whichever your distro uses). Don't know the contents of your fstab. Don't know if the error is in your grub.conf, your fstab, or both.

Just don't know.

How about a little more info?
Old 07-04-2006, 10:48 AM   #3
Registered: Apr 2006
Location: Dharan,Nepal
Distribution: FC5
Posts: 63

Rep: Reputation: 15
U do not have to reinstall linux if your grub is lost especially due to windows installation.

just follow these easy STEPS and hope u will recover:

step 1: Insert bootable cd-I or DVD of your linux
step 2: Type: linux rescue
step 3: Follow instructions for keyboard and language settings

Then you will see the shell prompt

step 4: Type: chroot /mnt/sysimage
step 5: Type: grub

now you will get the grub prompt as grub>

step 6: Type: root (hd0,5) // hd0 means harddisk 1. if you have on HDD 2 you need to type hd1 and so on. later number (5) implies partition of selected harddisk where you have linux installed previously. It varies with machine enter the partition where you have your linux partition.
step 7: setup (hd0) // same HDD as before, its hd1 if your linux is in 2nd harddisk

now exit from the grub and from the shell too. After restarting your grub gets recovered, hopefully .


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
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
Restoring Windows with a GRUB bootloader Lee Barker Linux - Newbie 11 11-18-2005 10:33 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
restoring fedora 3 bootloader pcandpc Linux - Newbie 8 05-16-2005 10:18 PM
I need create bootloader. How make bootloader? swipple Fedora - Installation 3 01-23-2005 12:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration