Fedora Linux Support Community & Resources Center
  #1  
Old 31st March 2005, 03:25 AM
Collins Offline
Registered User
 
Join Date: Mar 2005
Posts: 4
Grub Problems

Hi all,
I recently obtained a FC3 box which had a 5400rpm hard-drive (primary) and a 7200rpm hard-drive (secondary), so all the system stuff was running off the slower hard-drive. Everything was configured well, grub was fine, with about 3 kernels listed in it (in /boot/grub/grub.conf). I decided to switch the hard-drives around and reinstall FC3 for performance reasons. During install I said remove all partitions on this system, and then said yes to all the partitioning defaults after that (i'm pretty sure all the boot stuff was being put on hda). Install was successful, but now there is no /boot/grub/ folder! I've searched arond everywhere (even with $locate grub) and can't find any grub settings at all. I've downloaded the latest kernel via up2date which sits in /boot but it hasn't been added to grub and I can't find the configuration files to adjust this! Anybody got any ideas?

Thanks in advance!
Reply With Quote
  #2  
Old 31st March 2005, 04:43 AM
sailor's Avatar
sailor Offline
Registered User
 
Join Date: Mar 2004
Location: San Antonio, Texas
Age: 55
Posts: 4,010
I am not quite following what you are asking..but the grub entries are in the mbr of the slower disk which you removed...upon reinstalling FC3 on the faster dirve, it should have specifically asked if you wanted to install grub(and would have put the grub on that HD's mbr)...
To install grub on the 1st HD use the following instructions:

1) Boot with your Fedora Core rescue disk or CD1.
2) Type "linux rescue" at the prompt.
3) Answer the questions about keyboard and language.
4) Tell the rescue mode to mount your FC3 partition
5) When you come to the console prompt type: chroot /mnt/sysimage
6) Run /sbin/grub-install /dev/hda
This command will install GRUB boot loader on the Master Boot Record (MBR) of the first drive.
__________________
sailor
Fedora 18, Lenovo V570 IdeaPad Intel Core I5
Registered linux user #362635
****************************************
Reply With Quote
  #3  
Old 31st March 2005, 05:18 AM
BAshworth Offline
Registered User
 
Join Date: Mar 2005
Location: Phoenix
Age: 37
Posts: 51
but the grub.conf file should still be in /boot/grub. No matter where grub itself is actually installed. Is there a link to it in /etc/ ?
Reply With Quote
  #4  
Old 31st March 2005, 05:21 AM
Collins Offline
Registered User
 
Join Date: Mar 2005
Posts: 4
Theres a symbolic link to grub.conf in /etc/ but it points to nothing.

I tried your suggestion sailor.
This created /boot/grub. I added another entry to grub.conf, rebooted, but grub is still reading some other configuration file (from the old mbr?). Which means I cannot change kernel, it will only boot the standard FC3 one. Infact in my /boot/ only the ones I have downloaded are there - not the one which is being booted.
Reply With Quote
  #5  
Old 31st March 2005, 08:40 AM
Collins Offline
Registered User
 
Join Date: Mar 2005
Posts: 4
Just did a reinstall, wiped the partitions and had the installer redo them to the defaults. Made sure that the mbr was going on hda etc etc. All boots up fine.. except now there is nothing at all in /boot
Any ideas??
Reply With Quote
  #6  
Old 31st March 2005, 09:32 AM
Collins Offline
Registered User
 
Join Date: Mar 2005
Posts: 4
Ok I managed to solve the problem. It was a label problem, exactly the same as this users problem:
https://www.redhat.com/archives/fedo.../msg06724.html
Simply changed the label on hdb1 to /oldboot and all was fixed again!
Reply With Quote
Reply

Tags
grub, problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub problems MiLev Using Fedora 7 12th October 2009 07:08 PM
Grub problems. ledbythereaper Installation and Live Media 2 12th May 2006 06:46 PM
Problems with Grub on hdb JamesPicone Installation and Live Media 9 15th January 2006 12:00 AM
grub problems ? neighborlee Using Fedora 5 14th December 2005 10:30 PM
GRUB problems Nadrien Installation and Live Media 7 22nd June 2005 08:45 PM


Current GMT-time: 03:54 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat