LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-06-2005, 10:25 AM   #1
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Rep: Reputation: 30
HELP: Lost Grub Linux Booter


I used knoppix-install to install Knoppix on my machine. Then I reinstalled Windows XP and it overrided my Knoppix grub loader. How can I restore my grub loader?
 
Old 11-06-2005, 10:37 AM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
http://www.tldp.org/HOWTO/Multiboot-with-GRUB.html
http://www.gnu.org/software/grub/
 
Old 11-06-2005, 10:47 AM   #3
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
It's not easy as that, since Knoppix uses Debian, and it has grub set up totally differently.

I used to be able to boot up RedHat/Fedora rescue CD on a RedHat/Fedora system, then typing grub-install /dev/hda and woilia! it's done.

But this doesn't work on Knoppix/Debian...
 
Old 11-06-2005, 11:00 AM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
post your menu from grub here
 
Old 11-06-2005, 11:17 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Just use the Knoppix cd to reinstall.

1) Boot using LiveCD.
2) Mount drive
3) Restore grub:
sudo chroot /mnt/hda1(or whatever your linux drive is) grub-install /dev/hda

Takes a whole 5 seconds.

If you use devfs or for some reason, the chroot environment doesn't work, mount the filesystem with write permissions then run
sudo grub-install -root-directory=/mnt/hda1 /dev/hda
 
Old 11-18-2005, 11:19 PM   #6
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
GRUB and LILO always conflict with Windows. And GNU GRUB is not so robust, causing many problems during boot.

So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.

By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.

You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.

Download GRUB for DOS here: http://freshmeat.net/projects/grub4dos/

There is a fat12grldr.img file with the GRUB for DOS release. You can create a GRUB bootable floppy with this fat12grldr.img file.

Or, you can just copy GRUB.EXE to your DOS floppy and run GRUB.EXE to enter the GRUB environment.

If the system has no DOS/WINDOWS, you may use the bootlace.com utility to write GRLDR boot record onto the MBR.
 
Old 11-27-2005, 05:43 AM   #7
Rooy
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
Hi all,
I ran into the same prob like kevingpo, with XP & FC4. Can I use a RH 7.2 1st disk to rescue the GRUB?
Thanx.
Roy
 
  


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
Dual boot problem in Redhat linux 9 (GRUB Lost) cyberguy2 Linux - Software 11 11-20-2005 10:00 AM
Can't reinstall Linux booter because of error Cinematography Linux - Software 5 05-02-2005 03:29 AM
PLEASE HELP. I ruined windows booter while fixing GRUB Frelov Linux - Newbie 3 03-12-2005 10:05 AM
help GRUB is lost! I need to boot Linux from HardDisk varunnarang Linux - Software 9 11-20-2004 12:19 PM
grub booter problem "error 18" madrat Linux - Software 3 09-16-2004 08:34 AM

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

All times are GMT -5. The time now is 04:06 PM.

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