From: Trevis Scoffer <nikolaibitinit@gmail.com>
To: voidlinux <voidlinux@googlegroups.com>
Subject: Can't install/upgrade grub after taking a lvm snapshot
Date: Tue, 5 Mar 2019 00:25:45 -0800 (PST) [thread overview]
Message-ID: <2638865c-364c-46cd-82a3-28745225d913@googlegroups.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2264 bytes --]
I am having a bit similar issue... like this:
https://www.reddit.com/r/voidlinux/comments/ah86ac/stuck_on_executing_postinstall_kernel_hook_50grub/
I can't properly update my grub after taking LVM snapshot...
sudo modprobe dm-snapshot
sudo lvcreate -L 50G -n snap1 -s /dev/linuxvg/rootfs
Warning: Monitoring failed on snap1
Warning: Monitoring failed on rootfs
Logical volume "snap1" created
then
sudo xbps-reconfigure -f linux4.19
linux4.19: configuring ...
Executing post-install kernel hook: 20-dracut ...
Executing post-install kernel hook: 50-grub ...
Generating grub configuration file ...
grub-probe: error:unknown filesystem.
/usr/bin/grub-prob: error unknown filesystem
Found Void on /dev/mapper/linuxvg-snap1
done
With a reboot, I end up with blank screen...
My fstab:
cat /etc/fstab
UUID=de2e2df6-595d-4f8e-9537-a03459113cbd / ext4 defaults 0 1
UUID=3C5D-89E5 /boot/efi vfat defaults 0 2
tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0
and grub-config:
#
# Configuration file for GRUB.
#
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Void"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4 slub_debug=P page_poison=1
net.ifnames=0"
# Uncomment to use basic console
#GRUB_TERMINAL_INPUT="console"
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
#GRUB_BACKGROUND=/usr/share/void-artwork/splash.png
#GRUB_GFXMODE=1920x1080x32
#GRUB_DISABLE_LINUX_UUID=true
#GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
and lvm.conf: http://0x0.st/zo2u.txt
Edit: I have lost my irc nick, so can't join there
--
You received this message because you are subscribed to the Google Groups "voidlinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voidlinux+unsubscribe@googlegroups.com.
To post to this group, send email to voidlinux@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/2638865c-364c-46cd-82a3-28745225d913%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 31196 bytes --]
[-- Attachment #2: photo_2019-03-05_13-55-11.jpg --]
[-- Type: image/jpeg, Size: 130074 bytes --]
[-- Attachment #3: photo_2019-03-05_13-55-21.jpg --]
[-- Type: image/jpeg, Size: 250543 bytes --]
reply other threads:[~2019-03-05 8:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2638865c-364c-46cd-82a3-28745225d913@googlegroups.com \
--to=nikolaibitinit@gmail.com \
--cc=voidlinux@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).