On 4/5/2017 5:56 ??, Marcelo Roccasalva wrote:> dracut -f /boot/initramfs-<kernel_version>.img <kernel_version>I did: # dracut -f /boot/initramfs-3.10.0-514.10.2.el7.x86_64.img 3.10.0-514.10.2.el7.x86_64 and it ended without reporting any error. However, when I rebooted, nothing changed ("no such device: <UUID>. Entering rescue mode..."). Am I missing something? Thanks, Nick
On Thu, May 4, 2017 at 1:12 PM, Nikolaos Milas <nmilas at noa.gr> wrote:> On 4/5/2017 5:56 ??, Marcelo Roccasalva wrote: > >> dracut -f /boot/initramfs-<kernel_version>.img <kernel_version> > > > I did: > > # dracut -f /boot/initramfs-3.10.0-514.10.2.el7.x86_64.img > 3.10.0-514.10.2.el7.x86_64when you boot via supergrub2, you get this kernel version (uname -r)? every kernel has it own initramfs where some binaries, libraries, modules and configuration files get copied from the running VM, so you need to boot from a newly created initramfs (which you find in grub2.conf) -- Marcelo "?No ser? acaso que esta vida moderna est? teniendo m?s de moderna que de vida?" (Mafalda)
Are the correct volumes referenced in your /etc/default/grub file? On May 4, 2017 11:12:11 AM CDT, Nikolaos Milas <nmilas at noa.gr> wrote:>On 4/5/2017 5:56 ??, Marcelo Roccasalva wrote: > >> dracut -f /boot/initramfs-<kernel_version>.img <kernel_version> > >I did: > ># dracut -f /boot/initramfs-3.10.0-514.10.2.el7.x86_64.img >3.10.0-514.10.2.el7.x86_64 > >and it ended without reporting any error. However, when I rebooted, >nothing changed ("no such device: <UUID>. Entering rescue mode..."). > >Am I missing something? > >Thanks, >Nick > > >_______________________________________________ >CentOS mailing list >CentOS at centos.org >https://lists.centos.org/mailman/listinfo/centos
On 5/5/2017 2:22 ??, Marcelo Roccasalva wrote:> when you boot via supergrub2, you get this kernel version (uname -r)? > every kernel has it own initramfs where some binaries, libraries, > modules and configuration files get copied from the running VM, so you > need to boot from a newly created initramfs (which you find in > grub2.conf)[Note: I am working on a fresh restored/cloned installation and I have executed on it your previous command (dracut...).] As you can see here: http://iweb.noa.gr/files/centos7/supergrub2-scratchvm-20170503-00.png ...I can select the kernel with which I boot. I select the latest one (marked blue in the image), which is also the one for which I have run the initramfs rebuild command. This indeed is the kernel version reported by the OS. I am still trying to find out how to make the OS load at boot... Nick
On 5/5/2017 5:11 ??, Barry Brimer wrote:> Are the correct volumes referenced in your /etc/default/grub file?Thanks Barry for your feedback. Here is the output: http://iweb.noa.gr/files/centos7/scratchvm-data-20170505-01.png What can you tell from that? Cheers, Nick