Re: CentOS 7: restore fails
Bruno Cornec <[email protected]>
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, Nikolaos Milas said on Sun, Dec 25, 2016 at 12:04:10AM +0200: >So, the only Christmas gift is going to be a set of mondoarchive.log and >mondorestore.log. :-( > >Here they are: > >http://iweb.noa.gr/files/mondoarchive-nm-20161224-01.log >http://iweb.noa.gr/files/mondorestore-nm-20161224-01.log > >I hope they might help. Well somehow yes, it helps. In your case grub doesn't install correctly. DBG4: [Main] libmondo-tools.c->read_cfg_var#1069: Configuration item bootloader.name is GRUB DBG2: [Main] ../src/mondorestore/mondo-rstr-tools.c->run_boot_loader#1288: run_boot_loader: device='/dev/vda', name='GRUB' INFO: Non-interactive mode: no way to give you the keyboard so that you re-generate your initrd. Hope it's OK DBG1: [Main] ../src/mondorestore/mondo-rstr-tools.c->offer_to_make_initrd#1245: Non-interactive mode: no way to give you the keyboard so that you re-generate your initrd. Hope it's OK INFO: running: which mr-grub > /tmp/mondo.tmp.KV7msl/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.KV7msl/mondo-run-prog-thing.err INFO: --------------------------------start of output----------------------------- INFO: /bin/mr-grub INFO: --------------------------------end of output------------------------------ INFO: ...ran just fine. :-) DBG1: [Main] ../src/mondorestore/mondo-rstr-tools.c->run_grub#1467: Yay! mr-grub found... DBG1: [Main] ../src/mondorestore/mondo-rstr-tools.c->run_grub#1469: command = mr-grub /dev/vda /tmp/mountlist.txt INFO: Running GRUB... DBG2: [Main] ../src/mondorestore/mondo-rstr-tools.c->run_grub#1476: mr-grub /dev/vda /tmp/mountlist.txt Now I'll use grub-install Launching: chroot /mnt/RESTORING grub-install /dev/vda chroot: can't execute 'grub-install': No such file or directory This error msg is normal as this is a grub2 version. grub-install returned 127 Now I'll use grub2-install So we jump now to that version. Installing for i386-pc platform. grub2-install: error: cannot find a GRUB drive for /dev/vda1. Check your device.map. THat's probably the issue here. Could you give us your /boot/grub2/device.map file please ? grub2-install returned 1 Trying a hack Checking usr/lib/grub/i386-pc Cannot find BOOTPATHNAME .............Cool. device (hd0) /dev/vda As the grub2-install didn't worked we tride something which didn't work either. I'll see to fix that one, if I can. But in fact the first one should be theone which works out of the box, which is the case on my test on a physical server on RHEL7 on my side. Not with CentoS7 on virtual server in your case. >In any case, Merry Christmas! You too and all the reader of this mailing list as well ! Bruno. -- Open Source Profession, WW Linux Community Lead http://www.hpintelco.net HPE EMEA EG FLOSS Technology Strategist http://www.hpe.com/engage/opensource FLOSS projects: http://mondorescue.org http://project-builder.org Musique ancienne? http://www.musique-ancienne.org http://www.medieval.org ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel