[CentOS] Accidentally nuked my system - any suggestions ?

Stephen John Smoogen smooge at gmail.com
Tue Dec 4 22:50:16 UTC 2018


On Tue, 4 Dec 2018 at 17:30, Nicolas Kovacs <info at microlinux.fr> wrote:
>
> Le 04/12/2018 à 23:10, Gordon Messmer a écrit :
> > The system should boot normally if you disconnect sdb.  Have you
> > tried that?
>
> Unfortunately that didn't work. The boot process stops here:
>
> [OK] Reached target Basic System.
>
> Now what ?
>
>

In the rescue mode, recreate the partition table which was on the sdb
by copying over what is on sda


sfdisk –d /dev/sda | sfdisk /dev/sdb

This will give the kernel enough to know it has things to do on
rebuilding parts.


-- 
Stephen J Smoogen.



More information about the CentOS mailing list