LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-22-2003, 04:25 AM   #1
sbaguz
LQ Newbie
 
Registered: Jul 2003
Location: Italy
Distribution: SuSE 10.1; Puppy Linux; Slax; Red Hat 9
Posts: 19

Rep: Reputation: 0
Question After using Partition Magic GRUB doesn't work...


I installed (or better: I began the installation... ) Linux one month ago and now I love it. So yesterday night I used Partition Magic to hardly reduce Windows space and increase the space for Linux. But... horror, when rebooting GRUB no longer works !!!
I have a GRUB promt and no GUI screen.
I tried reinstalling GRUB from CD, both on MBR and on first boot partition sector, I tried installing LILO, but the result is the same.: the GRUB prompt...
I have a boot floppy for Linux so I can access to my system this way, but this is not a solution, of course...
PLEASE, HELP ME: I don't want to reinstall the whole Linux !!! Let me know how to make my grub work again, PLEASE !!!!

P.S.: Be patient : I know this is an old problem and there is a lot of stuff in the forum about it, but in this moment I'm very panicked and I need someone helping me...
Thanks in advance.
 
Old 08-22-2003, 04:40 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Grub can't find its files, Reinstall Grub on the MBR

su to root
Code:
grub
root (hdx,x)
setup (hd0)
quit
This should reinstall grub. make sure your root (hdx,x) points at your boot partition which contains the grub folder.
 
Old 08-22-2003, 07:50 AM   #3
sbaguz
LQ Newbie
 
Registered: Jul 2003
Location: Italy
Distribution: SuSE 10.1; Puppy Linux; Slax; Red Hat 9
Posts: 19

Original Poster
Rep: Reputation: 0
quetions...

I want to be sure:

1- I have to install grub in the MBR even if I've Windows XP installed? (I read it's better to install in the first sector of /boot partition in this case).

2- Be patient (as I said I'm a panicked ) : I have to install grub again from RedHat CD or can I do this from the terminal? By typing what (grub-install? )? Or the commands you 've written before are already the installation procedure?

Thanks
 
Old 08-22-2003, 09:02 AM   #4
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
The Partition magic program always screws up grub or lilo, and I would caution you against using it. You can always use the fdisk and mk*** commands under Linux. Still there is no use crying over spilled milk.

Just boot the system using your boot floppy, then log in as root and follow the commands that leonscape said, and I guess you will be out of the woods.
 
Old 08-22-2003, 09:41 AM   #5
sbaguz
LQ Newbie
 
Registered: Jul 2003
Location: Italy
Distribution: SuSE 10.1; Puppy Linux; Slax; Red Hat 9
Posts: 19

Original Poster
Rep: Reputation: 0
Ok, you are right...

Yes, probably you are right about crying over spilled milk.

But what does it mean the 'root (hdx,x)' command ? What's the second item: Assuming my boot partition is hd5 I should enter
root (hd5,5) ?

Hoping not to bore you again...
 
Old 08-22-2003, 11:36 AM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
hd5? your missing a letter, after the hd bit. Since grub count from zero not 1, 5 becomes 4.

(hdx, 4)

So if its,
a = 0
b = 1
c = 2
d = 3

my /boot partition is on hda5 so mine would be root(hd0, 4).
 
Old 08-22-2003, 12:35 PM   #7
sbaguz
LQ Newbie
 
Registered: Jul 2003
Location: Italy
Distribution: SuSE 10.1; Puppy Linux; Slax; Red Hat 9
Posts: 19

Original Poster
Rep: Reputation: 0
Talking Thanks !!!

Thanks to all !!!!
Now everything is like before... no, something changed: I have less confiance in Win related software and more in Linux... and in Linux people too !!!

Thanks again !
 
Old 08-22-2003, 12:59 PM   #8
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Glad its all working
 
Old 08-23-2003, 02:54 AM   #9
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
And if you have any more problems, we are here to help you again.
 
  


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
Using partition magic to create Linux partition then install EviLBoX Linux - General 5 09-12-2008 06:01 AM
Does the Partition Magic Trial fully work? DemonFox Linux - Newbie 85 09-03-2004 02:06 AM
Grub error after partition magic Irving Linux - Software 4 06-21-2004 04:56 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-29-2003 12:16 AM
xp pro and rh7.3 dual boot (grub and partition magic) George_Hong Linux - Software 2 12-09-2002 07:34 PM


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