Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th December 2011, 03:45 PM
jdc18 Offline
Registered User
 
Join Date: Apr 2009
Posts: 12
linuxfirefox
Installing grub2 on /dev/sdb after /dev/sda died

Hi,

I had 2 harddrives /dev/sda and /dev/sdb, in sda I had windows, and apparently that drive died.
So I removed /dev/sda, an booted with the fedora 16 DVD, chrooted to /mnt/sysimage, checked if everything in /etc/fstab was not pointing to /dev/sdb because my second harddrive should be now /dev/sda.
I checked /etc/default/grub and it seemed ok.
Then use grub2-mkconfig -o /boot/grub2/grub.cfg
Rebooted the computer but I just get a "-" flashing like grub is not recognized.
Reply With Quote
  #2  
Old 11th December 2011, 04:18 PM
Skull One's Avatar
Skull One Offline
Registered User
 
Join Date: Jun 2010
Location: Lost...
Posts: 550
linuxredhatmozilla
Re: Installing grub2 on /dev/sdb after /dev/sda died

You have to install grub in the MBR of that disc. What you did was just update its configuration.
Return with the chroot, and do:
Code:
grub2-install /dev/sda
then reboot, it should be ok.
__________________
:confused:
Reply With Quote
  #3  
Old 11th December 2011, 04:19 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Installing grub2 on /dev/sdb after /dev/sda died

after you boot with the Fedora DVD and do the chroot to /mnt/sysimage and running the grub2-mkconfig, did you run a grub2-install? That is what actually writes the bootloader code to the boot sector

Boot again with the DVD and go to the chroot again, then
Code:
grub2-install --force --no-floppy /dev/sda
Edit:
Looks like Skull One has faster fingers than I do.
Reply With Quote
  #4  
Old 11th December 2011, 05:31 PM
jdc18 Offline
Registered User
 
Join Date: Apr 2009
Posts: 12
linuxfirefox
Re: Installing grub2 on /dev/sdb after /dev/sda died

Thanks, I am not use to grub2 yet, I forgot about that part.
Reply With Quote
Reply

Tags
died, grub2, installing, or dev or sda, or dev or sdb

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
Grub2 glennzo Using Fedora 14 19th September 2012 12:39 AM
upgarade 15 to 16 was good before installing grub2 gnulinux Installation and Live Media 1 5th December 2011 10:31 PM
F16 and grub2 drnetsys F16 Development 1 7th October 2011 04:03 AM
[SOLVED] Help with GRUB2/MBR, Please sharp Using Fedora 0 26th July 2011 03:06 PM
[x86_64] Installing Grub2 on EFI Elv13 Mac Chat 1 24th March 2010 02:44 AM


Current GMT-time: 15:35 (Wednesday, 22-05-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