LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-11-2004, 12:38 AM   #1
Leenuks
LQ Newbie
 
Registered: Feb 2004
Location: Australia
Distribution: Redhat 7.2
Posts: 2

Rep: Reputation: 0
Question GRUB error when trying to install stage 1


Hi
I am having trouble installing grub after having to reinstall windows 98.
I do the following to get to my linux partition

I boot with redhat 7.2 install cd
I then typed "linux rescue" at the prompt

Asked for language and to click continue to find system

get another prompt.

Typed "chroot /mnt/sysimage"

then typed "/sbin/grub-install /dev/hda"
got "/dev/root: Not found or not a block device"

cat /proc/partitions shows both hard discs and partitions on them
I have 2 hardrives and 2 cdrom drives

hda has 2 fat 32 partitions
hdab has 2 partitions 1 linux and 1 swapspace

Partition magic6 sees all partitions from windows.

confused
 
Old 02-11-2004, 01:48 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
This might help:

http://lists.suse.com/archive/suse-l...-Mar/2334.html


John
 
Old 02-11-2004, 01:50 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Grub doesn't use the hda, hdb, etc. designation. It uses hd0, hd1, etc. (that hd zero, hd one, etc.).
So, hda=hd0 in grub's terminology. Try it again using /dev/hd0 instead of /dev/hda.
 
Old 02-12-2004, 04:12 AM   #4
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
Originally posted by bigrigdriver
Grub doesn't use the hda, hdb, etc. designation. It uses hd0, hd1, etc. (that hd zero, hd one, etc.).
So, hda=hd0 in grub's terminology. Try it again using /dev/hd0 instead of /dev/hda.

Mmmmm, I don't think so. You can use either even though the newer hd0 syntax is recommended.

You can even mix them within the same file.


John
 
Old 02-12-2004, 08:19 AM   #5
personne4792
Member
 
Registered: Jan 2004
Location: France
Distribution: Win2KPro,RH9
Posts: 34

Rep: Reputation: 15
How exactly is your partition table ?I don't think parted was given with RH7.2, but at the rescue mode, you can use parted to print your partition table.
 
Old 02-16-2004, 06:15 AM   #6
Leenuks
LQ Newbie
 
Registered: Feb 2004
Location: Australia
Distribution: Redhat 7.2
Posts: 2

Original Poster
Rep: Reputation: 0
Hi
I tried parted and then used the command 'check1' and got back that the freespace of hda1 equals 505700 not 505699 ..... seems like something might be up with the partition...... I read that the only way to fix this is to backup and then delete all the partions on my windows hdd (hda) and repartition...

I could just reinstall Redhat to hdb all over again but I think that's the easy way out.

any ideas.....
Cheers
 
  


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
help ! grub stage 2 read error bschiett Linux - Newbie 4 09-21-2005 02:27 AM
help ! grub stage 2 read error bschiett Linux - General 1 09-20-2005 06:45 PM
HD Grub Stage 2 Read Error jmw83 Linux - Newbie 13 06-07-2004 07:51 PM
URGENT Help with Grub Install stage 1 error arundeep78 Linux - Software 2 02-14-2004 08:34 AM
GRUB Loading stage 1.5 ...... Error 25 sean21 Linux - Newbie 2 11-08-2003 09:27 PM


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