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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-10-2004, 11:38 PM
|
#1
|
LQ Newbie
Registered: Feb 2004
Location: Australia
Distribution: Redhat 7.2
Posts: 2
Rep:
|
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
|
|
|
02-11-2004, 12:48 AM
|
#2
|
Member
Registered: Oct 2001
Distribution: Mint 15
Posts: 770
Rep:
|
|
|
|
02-11-2004, 12:50 AM
|
#3
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
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.
|
|
|
02-12-2004, 03:12 AM
|
#4
|
Member
Registered: Oct 2001
Distribution: Mint 15
Posts: 770
Rep:
|
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
|
|
|
02-12-2004, 07:19 AM
|
#5
|
Member
Registered: Jan 2004
Location: France
Distribution: Win2KPro,RH9
Posts: 34
Rep:
|
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.
|
|
|
02-16-2004, 05:15 AM
|
#6
|
LQ Newbie
Registered: Feb 2004
Location: Australia
Distribution: Redhat 7.2
Posts: 2
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|