LinuxQuestions.org
Register a domain and help support LQ
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-21-2004, 06:06 AM   #1
cybrtrckr
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
xp deleted grub


i have suse 9.1 PE and xp installed on computer. I formatted xp so there went the mbr.
Now Grub is gone. I used yast, system, boot loader config to propose new config:

Boot loader type GRUB
Boot loader location 1, IDE, 74.53 GB, /dev/hda, WDC-WD800BB-32CCB0(MBR)
Disc order /dev/hda
default section Linux
Available sections Linux (default), Linux other, Floppy, Failsafe
Activate Boot Loader Partion No


This is what i got when i tried to restore mbr of hard disk:


GNU GRUB version 0.94 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (null)

Error 23: Error while parsing number
grub> install --stage2=/boot/grub/stage2 / d (hd0) / 0x8000 (null)/

Error 12: Invalid device requested
grub> quit

So the only way that i can get into to suse is to put in the cd, load and choose the install.
While i am in install, abort. then choose to load installed os from hd.

All i am trying to do is to get grub reinstalled. I thought about the boot disks but there is 3 to make, besides floppies are slow.

PLZ Help Me!!!!!!!!!
 
Old 09-21-2004, 06:32 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi!

First, calm down a little.

Now, you say that you can get SuSE to boot from harddisk (with a complicated procedure). Do that and open a Super user terminal window. From there, issue this command:
/sbin/grub-install /dev/hda

Martin
 
Old 09-21-2004, 01:31 PM   #3
cybrtrckr
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I forgot to let you know. I already tried that. The folder or file does not exiist.
Thanx 4 your help though.

Chad
 
Old 09-21-2004, 04:27 PM   #4
spacer
LQ Newbie
 
Registered: Apr 2004
Location: Somewhere in Space
Distribution: RedHat
Posts: 10

Rep: Reputation: 0
Quote:
Originally posted by cybrtrckr
I forgot to let you know. I already tried that. The folder or file does not exiist.
Thanx 4 your help though.

Chad
I may not be tackling the actual problem. But if u want a quick-fix solution then just try running /sbin/lilo
 
Old 09-21-2004, 04:48 PM   #5
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 31
did you tried to boot from cd and type:
linux rescue
chroot /mnt/sysimage

and then
/sbin/grub-install /dev/hda ?

Boby
 
Old 09-21-2004, 05:13 PM   #6
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
There seems to be a bug in SuSE that prevents grub-install from working. Follow the directions here instead:
http://www.novell.com/coolsolutions/...e.html#3006400

Good luck!
Martin
 
Old 10-01-2004, 03:57 PM   #7
cybrtrckr
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
thankx 4 all the help

But none of it I could get to work. I had the same problem with rh 8 and it was not this difficult to fix. I decided to install mandrake 10. See if this one is a little more user friendly

Chad
 
Old 10-01-2004, 04:02 PM   #8
ekaqu
Member
 
Registered: Sep 2004
Distribution: Debian SID, Debian Woody, Debian Sarge
Posts: 39

Rep: Reputation: 15
windows doesn't like grub (every linux install that i had were there was a windows/ linux dual boot, all windows i tried (2k and xp) killed grub). your best bet is to run lilo imo. lilo has never caused problems for me

Last edited by ekaqu; 10-01-2004 at 04:03 PM.
 
Old 10-01-2004, 04:25 PM   #9
DJ Cacophony
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Rep: Reputation: 0
Boot up off the SuSE CD
Continue with the installation
When prompted with the message "setup has found an existing linux installation, and the options "new installation", "boot installed system", etc, choose "repair current system", and follow the prompts.

Last edited by DJ Cacophony; 10-01-2004 at 04:27 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
Grub Error 22, deleted partition kmorsch Linux - Newbie 29 07-09-2009 02:20 AM
WinXP deleted my Grub thesalmon83 Linux - Newbie 12 03-26-2005 08:28 PM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 05:53 PM
Grub - Deleted Partition digipsythe Linux - Newbie 1 04-12-2004 01:38 AM
Deleted partitions, stuck in grub Linux_n00b Linux - Newbie 1 11-30-2001 02:31 PM


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