[TriLUG] Need Grub help

Scott Lambdin via TriLUG trilug at trilug.org
Tue May 1 19:11:23 EDT 2018


Hi -

I think this looks pretty good for you:
https://www.thegeekdiary.com/centos-rhel-7-how-to-reinstall-grub2-from-rescue-mode/

--Scott

On Tue, May 1, 2018 at 6:02 PM, Paul Boyle via TriLUG <trilug at trilug.org>
wrote:

> Hi,
>
> I had the hard drive which contains the OS and distro (CENTOS 7) on one
> of my student workstations fail (a hardware failure). /home is on a
> separate drive which is OK. I was able to clone the image of the drive
> to another hard drive (partitions look OK from gdisk). The cloned
> partitions can be mounted via a harness on another Linux box.
>
> The layout of the disk is:
> /dev/sda1 -> /boot/efi (msdos(?))
> /dev/sda2 -> /boot (ext4)
> /dev/sda3 -> / (ext4)
> /dev/sda4 -> Linux swap
>
> I put the cloned drive into the PC. and when I try to boot I get an
> error saying
>
> "Reboot and select proper boot device
> or Insert Boot media into selected boot device and press a key".
>
> I'm thinking I need to run GRUB2 to make the system boot from new hard
> drive.  However, I am befuddled by GRUB2.  Can someone suggest a
> sensible course of action?
>
> I'm thinking  putting a original CENTOS install DVD and
> choosing the rescue option.  However, I don't know really what to do
> after that.
>
> Any help appreciated.
>
> Reason to break out the world's smallest violins:  I'm scheduled to
> start my vacation tomorrow and I would love to get this sorted out this
> evening.
>
> Thanks,
>
> Paul
>
> --
> Paul D. Boyle, Ph. D.
> Manager, X-ray Facility
> Department of Chemistry
> Western University
> London, ON N6A 5B7
> Canada
> GPG Fingerprint: 8ECE 516D 9046 FE83 4A46  7E8E D720 555D 8CC3 EC6B
>
> --
> This message was sent to: Scott Lambdin <lopaki at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : https://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  : https://www.trilug.org/
> mailman/options/trilug/lopaki%40gmail.com
> Welcome to TriLUG: https://trilug.org/welcome
>



-- 

Eat like you give a damn.  Go vegan.


More information about the TriLUG mailing list