LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-16-2007, 01:52 AM   #1
VicRic
Member
 
Registered: Sep 2006
Location: Vancouver, Canada
Distribution: Mandriva 2010 / Fedora 15 2.6.40.6-0
Posts: 44

Rep: Reputation: 16
GRUB loader lost - how to reactivate it?


Hi,

I'm sure this question has been asked hundreds of times before but I couldn't quite find the answer I wanted while Searching; so here it goes again:

I have a desktop machine with dual boot:
1) Linux Fedora Core 6
2) Windows

Actually I had it working fine before; using the GRUB Linux loader it gave me the option to boot either Fedora or Windows. The Windows o.s. was then Windows 2000 Server installed on C drive.

Then just today, loading first Windows 2000, I installed Windows Vista Home Premium onto E drive.

Now the only loader available is the Windows one which gives me the option to load either Windows Vista or Windows 2000.

I know the GRUB sector is still there waiting to be activated again but I forgot now how to do it.

Here's a copy of my disk partition map:

http://www.techspot.com/gallery/data/500/DiskMangmt.jpg

I'm quite sure the GRUB loader must be in the "102Mb sector" depicted on the previous image.

What is the proper way to reactivate it?
Should I use the Fedora Core 6 install DVD -which I do have- or should I do it from the Vista Disk Management?

BRgds
 
Old 09-16-2007, 02:20 AM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Well, know you know why people say Windows doesn't play nice with others.

This is a fairly easy fix, fortunately. You should be able to boot into rescue mode with your Fedora DVD. Once in rescue mode, if there isn't an option to reload your boot sector, you can mount your FC6 boot partition and rerun grub-install. You will need to add Vista to the grub menu (/boot/grub/menu) to be able to boot back to Vista, and Vista may complain about unsupported boot sectors.
 
Old 09-16-2007, 04:59 AM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Task B4, B5 and B6 of the last link in my signature refer. Just take your pick.

GrueMaster suggestion is Task B6 which is available in Fedora installation CD.

It pays to understand it is no different to Task B5 which you can rescue Grub with any Live CD. Once understood you can use any Linux Live CD to restore any boot loader in Linux. The principle is you can use any Linux A to rescue the boot loader of Linux B and it works for Lilo as well.
 
Old 09-16-2007, 01:51 PM   #4
VicRic
Member
 
Registered: Sep 2006
Location: Vancouver, Canada
Distribution: Mandriva 2010 / Fedora 15 2.6.40.6-0
Posts: 44

Original Poster
Rep: Reputation: 16
Thanks Gruemaster and Saikee,

how about creating a LILO boot disk on another machine, could I use it on my problem machine?

I have access to another machine that has Fedore Core 6 as well; would I find there any option to create a LILO boot disk? It would have to be a boot CD because my problem machine doesn't have a floppy drive.

Is there such a thing as a GRUB boot disk (as in diskette or CD)?

BRgds

Last edited by VicRic; 09-16-2007 at 01:52 PM.
 
Old 09-16-2007, 02:05 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
To book a system with Lilo you must compile the boot loader with it. Afterward if you want it boot from a floppy you issue terminal command
Code:
lilo -b /dev/fd0
If you want Lilo to take over the MBA of sda disk the command is
Code:
lilo -b /dev/sda
etc etc.

Lilo floppy disk only boots the systems prefixed with the original Linux. You can use it to boot 27 images.

Grub is a lot more flexible because it can be installed without attaching an operating system. You boot to a Grub prompt. As far as I am concerned I have not found a PC system that cannot be booted by a Grub prompt.

You can put Grub in a floppy, a CD, a DVD, a thumb drive, an internal hard disk or external hard disk, with or without an operating system. You can boot as many as systems as you can install and one Grub can all of them.

Yes you can put Grub in a floppy, or a CD or a thumb drive and call it a universal boot disk. Such boot disk is the most lethal booting weapon in the business. How to make such a disk is all described in the GNU/Grub Manual (Chapter 3.1 and 3.4).

Last edited by saikee; 09-16-2007 at 02:09 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
RedHatLinux ,Recover lost root password with GRUB boot loader Ruzzell Linux - Security 5 01-07-2011 03:21 PM
Lost BOOT LOADER matsyuf Linux - General 8 04-10-2007 12:00 PM
ineed help now pls:grub loader lost john_smith Linux - Newbie 11 03-03-2007 04:14 AM
reactivate GRUB? semaphore Fedora 2 03-10-2004 11:43 AM
Boot loader lost. Need help? BEYAZITTOSUN Linux - Software 1 11-15-2003 03:30 PM


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