Fix broken setup #197
Replies: 5 comments 17 replies
|
To repair I would try to boot live, chroot into the system and then rebuild initramfs. The command that you should run for this is:
"it complains about grub-mkconfig binary being missing." I assume you understand what chrooting into a system means here but let me try to explain. "Like how to open the LUKS cryptdisk, mouting the proper mount points, etc." It’s still unclear whether you were operating inside your installed system or just from the live environment. # list disks and partitions
lsblk -f
# mount root (example)
mount /dev/sdXn /mnt
# if you have a separate /boot (optional)
mount /dev/sdXn /mnt/boot
# if you use encryption, unlock it first (example)
cryptsetup open /dev/sdXn cryptroot
# bind mounts
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
# chroot
chroot /mnt/dev/sdXn is just a placeholder: sdX = disk (e.g. sda, sdb, nvme0n1) You can use lsblk -f to identify: your root filesystem (/) After that you are working inside your installed system. mocaccino-dracut --rebuild-all |
|
"Thank you, the mocaccino-dracut command worked but it didn't rebuild the grub.cfg file." Nobody claimed it would do that. I only explained the correct command for rebuilding your initramfs. At this point I have no idea what happened to your system and you are also unclear about what happened. |
|
I've gotten the boot working again now, by coping the binaries from a working system to the broken one and executed the grub --all creation. That did the trick in terms of booting the OS from the disk. Yet I still get this error here: "Error on sync repository luet: open: no such file or directory" |
|
I think I fixed the permissions now, and the upgrade is working again. Yet for some reason the whole Window based packages are either gone or broken. I've tried to install the meta/gnome package and it got deployed, but it's missing the /var/lib/systemd/gdm... but it didn't got deployed. Would a reinstall of the gdm package specifically help. Any other ideas on how to fix that? |
|
Seems my WLAN isn't working on my gnome environment anymore, I just can't find the settings. Yet I don't find a package which could include that as well. How do I get it activated again? |
Uh oh!
There was an error while loading. Please reload this page.
I've upgraded one of my older OS installs. After the upgrade the kernel didn't boot anymore. Trying to fix the config in grub, I've tried the command "mos kernel geninitramfs --all" Yet while trying to do the grub.cfg it complains about grub-mkconfig binary being missing.
So I tried to reinstall grub, but booting with a live system the luet repo doesn't seem to be properly configured when I try to do the reinstall. Is there some documentation about how to properly start and load the OS to repair it?
Like how to open the LUKS cryptdisk, mouting the proper mount points, etc.
Since MOS isn't exactly working like a gentoo system, it doesn't seem to be that easy to repair it.
Any help would be greatly appreciated.
All reactions