LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-28-2005, 09:02 PM   #1
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
Grub Bootloader Reinstallation


Let's say my grub bootloader was erased by Fdisk/mbr, but the linux partition of suse 10.0 is still there, so, with linux rescue, how can i reinstall it?
 
Old 10-28-2005, 09:36 PM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
this is theoretical right?

ok: step one: get some sort of linux booted (be it suse via boot cd, knoppix, whatever)

if it's suse, see if it has a rescue mode... that might save you some time

other wise, read the grub manual

and find out how to install grub. easy. piece of cake really.

titanium_geek
 
Old 10-28-2005, 10:27 PM   #3
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
gnu grub is general instruction, it might not suite a specific distro, i tried before, following everything exactly, identified my partition lables, but failed.
 
Old 10-29-2005, 06:52 AM   #4
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
there are at least three ways of installing grub. Is this a specific ask for help? can you post specific details?

titanium_geek
 
Old 10-29-2005, 07:51 AM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Usually Grub is reinstalled by SuSE autorepair feature.
Insert SuSE Install CD/DVD=>boot up=>Installation=>Repair Installed System=>Automatic Repair

Or manual repair and then select the feature you want to repair. But automatic is safe and sure
 
Old 10-29-2005, 08:29 AM   #6
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
I reinstall my windows XP, and this time it removed grub, i really need autorepair to reinstall grub.

i tried before:
linux rescue
chroot /mnt/sysimage
grub --install /dev/hda

But it did not work.

Last edited by unSpawn; 01-16-2011 at 12:34 PM. Reason: //Deflate post count
 
Old 10-29-2005, 08:35 AM   #7
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Quote:
Originally posted by TigerLinux
i tried before:
linux rescue
chroot /mnt/sysimage
grub --install /dev/hda

But it did not work.
Once again SuSE Autorepair feature should do the trick
 
Old 10-29-2005, 08:43 AM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,475

Rep: Reputation: Disabled
the grub install command is not always good as it lacks feedback.

if you have a knoppix or kanotix cd its
open a terminal
su
grub
root (hdX,y).......see my tut on what that is
setup (hd0)
quit

this puts grub back into mbr overwriting the ntldr bootloader.

post your /etc/fstab if you do not understand my tut on what X,y should be pls

2) I dont use suse but if its got a chroot command in rescue mode it should have bash commands and hopefully grub is available to be used as above.
 
Old 10-29-2005, 09:13 AM   #9
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
Thankyou Slacker, i did it.
 
Old 11-18-2005, 11:06 PM   #10
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-19-2005, 05:57 AM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
tinybit - please stop spamming up LQ with this. If you wish to advertise this program, put a small discreet link in your signature. More people will see it and it will have more relvance.
 
Old 11-19-2005, 08:31 AM   #12
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
Suse's Grub has no problem to triple-boot with my windows XP and 2000.
 
Old 11-19-2005, 08:09 PM   #13
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
XavierP:

I am sorry if it is considered to be spam. Thanks for your advice.
 
  


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
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
Grub bootloader BiLLie- Linux - Newbie 19 07-16-2005 03:09 PM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 06:34 PM
GRUB after Windows reinstallation piggysmile Linux - Software 1 06-26-2004 08:13 AM
Grub reinstallation Mandake 7.2 Martin Linux - General 1 04-19-2001 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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