Re: F19 RAID1 drive died - what if it was sda that died?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 15 March 2018 16:34:26 Bill Shirley wrote:
>
> Run:
> grub2-install /dev/sda
> grub2-install /dev/sdb
>
> Now, you can boot from either drive.
>
> Bill
>

Hi Bill,  Thanks for this.  However, when I try this I get:

[root@lou ~]# grub2-install /dev/sda
/usr/lib/grub/x86_64-efi doesn't exist. Please specify --target or --directory
[root@lou ~]# 

A quick google shows gives the indication that this is for MBR systems where 
mine is UEFI. 

A slower google hasn't given me instructions on how to do this on a UEFI 
system in a way that I can understand.

Can anyone give the equivelant to Bill's commands above.

To review the situation. I have sda which I boot from. I have a brand new sdb 
which I use for RAID1. Should sda fail at some point I want to be able to 
unplug sda, and be able to boot from (what is currently) sdb.

this is what the two drives both look like at the moment,

[root@lou ~]# parted
GNU Parted 3.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: ATA ST3000DM001-1CH1 (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  53.5MB  52.4MB  fat16        EFI System Partition  boot
 2      53.5MB  2837GB  2837GB                                     raid
 3      2837GB  2942GB  105GB                                      raid
 4      2942GB  2994GB  52.5GB  ext4                               raid
 5      2994GB  3001GB  6296MB                                     raid
 6      3001GB  3001GB  1049kB                                     bios_grub

(parted)            
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux