I have 2 servers that have the same hardware configuration and I am trying to create a clonezilla copy of one server and install it on the other server. However, when I do this I am getting the following error on the restore on the second server:
Directory /sys/firmware/efi/efivars/ NOT found!
Please make sure:
1. This machine uses UEFI, not legacy BIOS.
2. You are using Linux Kernel >= 3.9
3. The Linux kernel module efivars is loaded (modprobe efivars).
Program terminated.
Couple of things to note here:
1. My system is not using UEFI BIOS settings, it is using legacy BIOS settings.
2. The server that I cloned is running CentOS7 which has kernel 3.10 installed.
The data is successfully copied to the second server however the grub2 boot loader is missing. So, to get around this, I boot up a Live CentOS7 USB stick and manually re-install the Grub2 boot loader.
The 2 servers should have the exact same BIOS settings. They both have a "PERC H730P Mini" raid controller installed with one virtual drive configured.
fdisk -l /dev/sda
Disk /dev/sda: 9211.9 GB, 9211899543552 bytes, 17991991296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4294967295 2147483647+ ee GPT
With the following partitions:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda4 29G 5.7G 22G 21% /
/dev/sda2 477M 155M 293M 35% /boot
/dev/sda3 77G 6.0G 67G 9% /var
/dev/sda6 8.2T 232G 7.6T 3% /home
I am using version clonezilla-live-20150805-vivid-amd64 to create the clone and to restore the clone image with all the default settings.
Any suggestions on how to avoid getting the above error and for the restore process to complete successfully so that I don't have to manually re-install grub2?
Thank you,
Marc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can enter expert mode, and chceck the option "-iefi".
However, one thing I'd like to confirm is, is you use legacy BIOS, but use "GPT" format for your hard drive?
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have 2 servers that have the same hardware configuration and I am trying to create a clonezilla copy of one server and install it on the other server. However, when I do this I am getting the following error on the restore on the second server:
Directory /sys/firmware/efi/efivars/ NOT found!
Please make sure:
1. This machine uses UEFI, not legacy BIOS.
2. You are using Linux Kernel >= 3.9
3. The Linux kernel module efivars is loaded (modprobe efivars).
Program terminated.
Couple of things to note here:
1. My system is not using UEFI BIOS settings, it is using legacy BIOS settings.
2. The server that I cloned is running CentOS7 which has kernel 3.10 installed.
The data is successfully copied to the second server however the grub2 boot loader is missing. So, to get around this, I boot up a Live CentOS7 USB stick and manually re-install the Grub2 boot loader.
The 2 servers should have the exact same BIOS settings. They both have a "PERC H730P Mini" raid controller installed with one virtual drive configured.
fdisk -l /dev/sda
Disk /dev/sda: 9211.9 GB, 9211899543552 bytes, 17991991296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4294967295 2147483647+ ee GPT
With the following partitions:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda4 29G 5.7G 22G 21% /
/dev/sda2 477M 155M 293M 35% /boot
/dev/sda3 77G 6.0G 67G 9% /var
/dev/sda6 8.2T 232G 7.6T 3% /home
I am using version clonezilla-live-20150805-vivid-amd64 to create the clone and to restore the clone image with all the default settings.
Any suggestions on how to avoid getting the above error and for the restore process to complete successfully so that I don't have to manually re-install grub2?
Thank you,
Marc
You can enter expert mode, and chceck the option "-iefi".
However, one thing I'd like to confirm is, is you use legacy BIOS, but use "GPT" format for your hard drive?
Steven.