LinuxQuestions.org
Review your favorite Linux distribution.
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 07-27-2006, 01:47 PM   #1
survivor45
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
installing GRUB


Hello Linux gurus! Newbie here.

I get the following error message when installing Redhat Fedora 5. I'm certain it's a common problem, but my efforts to find the solution have come up empty.

When I install Fedora on an empty hard drive....no problems, works great.

But if I partition my hard drive, I get the following error message during installation:

"The package grub-0.97-5.x86_64 cannot be opened. This is due to a missing file or perhaps a corrupt package. If you are installing from CD Media, this blah, blah, blah"

I've attempted install many times with different scenarios. I'll go into more detail on my last attempt...if it helps.

After installing Fedora 5 on my hard drive and everything working fine, I used fdisk and deleted all partitions except for the /boot partition. I then created 2 new partition after the /boot partition for my windows install and left 14 gigs of empty space after it for my future fedora install.

I installed windows and windows works great. I deleted the /boot partition. So I was left with the following:

102 mb free space
240 gb Windows
32 gb FAT32 space
14 gb free space

I plopped in my Fedora 5 disk and started my install. I let it configure its partitions automatically:

dev/hdc3 /boot ext3 102 1 13
dev/hdc1 ntfs 240002 14
dev/hdc2 vfat 32015
dev/hdc4 extended 14052
->dev/hdc5 VOLGROUP00 LVM PV 14052

LVM VOLUME GROUP
LOGVOL00 / EXT3 11968
LOGVOL01 SWAP 1984

In the past, I've tried several different scenarios to get the installation to complete. But for this example, I unchecked all packages for a minimun space install and on the boot loader screen, I selected "No boot loader"

I got the error message again. Windows still runs fine.

I just want to complete the installion of Fedora on a hard drive partition. I'm not at a point yet to even worry about getting grub to work of getting a 3rd party booter. Right now, I'm just trying to get an "installation complete" message. What am I doing wrong?

Hints? Tips? Links?
 
Old 07-27-2006, 05:19 PM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by survivor45
Hello Linux gurus! Newbie here.

I get the following error message when installing Redhat Fedora 5. I'm certain it's a common problem, but my efforts to find the solution have come up empty.

When I install Fedora on an empty hard drive....no problems, works great.

But if I partition my hard drive, I get the following error message during installation:

"The package grub-0.97-5.x86_64 cannot be opened. This is due to a missing file or perhaps a corrupt package. If you are installing from CD Media, this blah, blah, blah"

I've attempted install many times with different scenarios. I'll go into more detail on my last attempt...if it helps.

After installing Fedora 5 on my hard drive and everything working fine, I used fdisk and deleted all partitions except for the /boot partition. I then created 2 new partition after the /boot partition for my windows install and left 14 gigs of empty space after it for my future fedora install.

I installed windows and windows works great. I deleted the /boot partition. So I was left with the following:

102 mb free space
240 gb Windows
32 gb FAT32 space
14 gb free space

I plopped in my Fedora 5 disk and started my install. I let it configure its partitions automatically:

dev/hdc3 /boot ext3 102 1 13
dev/hdc1 ntfs 240002 14
dev/hdc2 vfat 32015
dev/hdc4 extended 14052
->dev/hdc5 VOLGROUP00 LVM PV 14052

LVM VOLUME GROUP
LOGVOL00 / EXT3 11968
LOGVOL01 SWAP 1984

In the past, I've tried several different scenarios to get the installation to complete. But for this example, I unchecked all packages for a minimun space install and on the boot loader screen, I selected "No boot loader"

I got the error message again. Windows still runs fine.

I just want to complete the installion of Fedora on a hard drive partition. I'm not at a point yet to even worry about getting grub to work of getting a 3rd party booter. Right now, I'm just trying to get an "installation complete" message. What am I doing wrong?

Hints? Tips? Links?
Theres bits of your post that I don't follow, so I'll just answer the best I can.

Firstly, /dev/hdc ? what about /dev/hda and /dev/hdb what's on them (hdc suggesting that you have at least 3 hard drives) ?

Whatever the installer want's to call the hard drive, it's my understanding that it is feasible to install windows second, but it puts the windows bootloader onto the MBR and overwrites whatever linux might have put there before hand, so for ease of install, windows first into however many partitions you want - just don't forget, max of 4 primary partitions. So maybe you should consider setting up your hdd for how you want the windows to work.

Then try just having some unallocated space and see if the installer picks it up, or whether it appears that you will have to tell it where you want it too install.

Fedora, AFAIK, should install into a single partition. Making the various directories for /boot, /, /home etc etc. You can, of course, dive straight in and set up multiple partitions for the linux install, I'm guessing that it would need a minimum of / and /swap - it may well also ask for /home, though if it doesn't, it's my understanding that it's better to have it set up like that, so that if you screw up and trash the install, you can then just re-install to the / partition and as long as you use all the same user info, packages etc, then when you log in as user it should all pretty much "just work".

It's often the smartest move to allow whichever bootloader you choose (or is default for the distro), to install to the first section of the MBR on the first hdd, that way, it can see all installed OS and "should" offer you the choice of what you want to boot - obviously lots of distros, will, if you install linux after windows, make the linux install the default OS, but it's not much of a hardship to change the default OS if you wanted windows to be the default.

Sorry that I have to be so general, I don't like deadrat and it's offspring, hence I can't be specific, but that lot, might point you in the right direction.

regards

John
 
  


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
installing grub bhogalts Linux - Newbie 1 03-14-2006 11:02 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 05:55 AM
Re-installing XP with grub Rizla Linux - General 1 04-14-2004 08:43 AM
installing grub amatin Linux - Software 5 12-04-2003 12:45 PM
Installing Grub Drogo Linux - Software 2 09-09-2003 01:21 AM


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