From: zenny <zenny@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: After recent upgrade, void lands at `dracut>` prompt
Date: Thu, 30 Jun 2022 16:17:16 +0200 [thread overview]
Message-ID: <20220630141716.heQWwiiwiVxgMU5TYghngo1fG6fhtLklvoiU70e0NgI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37757@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]
New comment by zenny on void-packages repository
https://github.com/void-linux/void-packages/issues/37757#issuecomment-1171278159
Comment:
> You may need to replace the `--bind` with `--rbind` for the `/dev` mount if anything about the Dracut rebuild needs `/dev/pts`, but otherwise this should work fine.
@ahesford Back to void. :D Thanks for your inputs. The culprit was handled with your help. Thanks.
However, I did the following to ease those who come across the same issue.
1. Mounted the HDD partition void root and boot:
```
sudo mkdir -p /mnt/voidrootboot
sudo mount /dev/sdd6 /mnt/voidrootboot
```
2. Mounted `dev, sys, proc` of the host/rescue OS for dracut operation:
```
sudo mount --bind /sys/ /mnt/voidrootboot/sys/
sudo mount --bind /proc/ /mnt/voidrootboot/proc/
sudo mount --rbind /dev/ /mnt/voidrootboot/dev/
```
Please note that dracut needs /dev to be recursively mounted for the use of /dev/pts. Kudos to @ahesford for this hint.
4. Chrooted into the mounted partition:
```
chroot /mnt/voidrootboot
```
5. Make necessary changes:
`echo 'omit_dracutmodules+=" zfs "' > /etc/dracut.conf.d/zfs.conf`
Please do not skip the space around the module name, `zfs`.
6. Rebuild initramfs:
```
sudo xbps-reconfigure -f zfs
```
7. Successfully built and good to go. Back to voidlinux. :D
next prev parent reply other threads:[~2022-06-30 14:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-30 11:04 [ISSUE] " zenny
2022-06-30 11:25 ` ahesford
2022-06-30 11:25 ` [ISSUE] [CLOSED] " ahesford
2022-06-30 11:45 ` zenny
2022-06-30 11:52 ` ahesford
2022-06-30 14:17 ` zenny [this message]
2022-06-30 21:38 ` ihameed
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=20220630141716.heQWwiiwiVxgMU5TYghngo1fG6fhtLklvoiU70e0NgI@z \
--to=zenny@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/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).