Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Initramfs is not working after install #14

Open
lmaudio opened this issue Feb 28, 2023 · 9 comments
Open

Initramfs is not working after install #14

lmaudio opened this issue Feb 28, 2023 · 9 comments
Assignees
Labels
verify This issue should be reproduced

Comments

@lmaudio
Copy link

lmaudio commented Feb 28, 2023

The refreshing of the initramfs is not working on a livesystem remastered with remastersys-gui 4.8/4.9 after install and has to be repaired.

Giving the error code of " missing Command" while initramfs-tools are installed.
Is this just on my machine or reproducable!?

@nerun
Copy link
Owner

nerun commented Feb 28, 2023

Please, give me more details:

  • System you are using?
  • What have you tried to do?
  • What the exact commands have you typed?
  • log file maybe (/home/remastersys/remastersys.log).

@lmaudio
Copy link
Author

lmaudio commented Mar 2, 2023

Yes, you're right! It seems to be that it belongs maybe to some differences between Debian and Linux Mint!? I just made a remastersys (backupmode) of a clean and customized Linux Mint 21.1 with Mate desktop. Using remastersys 4.8 because 4.9 gave error messages because of missing gubfiles in remastersys folder. Also 4.8 gave a stable livesystem that is able to be installed.

Everything works fine after installiert, just the initramfs not. Command of sudo update-initramfs -u -k all gaves the error message: 'command not found'..

Maybe this helps you understanding the problen:

If i do:

sudo apt purge remastersys remastersys-gui
sudo apt autopurge
sudo apt autoremove
sudo apt autoclean
sudo apt clean
sudo rm -f /bin/remastersys* /bin/ysudo
sudo rm -rf /etc/remastersys
sudo rm -f /etc/remastersys.conf
sudo rm -rf /lib/remastersys
sudo rm -rf /usr/share/doc/remastersys
sudo rm -rf /usr/share/doc/remastersys-gui
sudo rm -f /usr/share/menu/remastersys
sudo rm -f /usr/share/applications/remastersys*

everything is going fixed and initramfs and commands are found after this!

Maybe an uncompability with debiansettings and Linux Mint in live-system or grub settings?

Would be great if remastersys is getting compatible to Linux Mint (again) or that somebody maybe maintain a special Version for this!?

Also i found a fix with purging remastersys after system install and got a stable image that is really usable.

@lmaudio
Copy link
Author

lmaudio commented Mar 3, 2023

I will try isolinux instead oft grub now!
Maybe the problem will be solved this way?!?

I noticed that there are coming no xorriso-dependencies if i install Version 4.9 of remastersys and had xorriso NOT installed before. It is not longer needed in remastersys??

@nerun
Copy link
Owner

nerun commented Mar 3, 2023

Maybe you have genisoimage installed. In dependencies they are written this way: xorriso | genisoimage. The pipe "|" means "or". So, maybe, if you have genisoimage installed on your system, when you install remastersys, dependencies see you have genisoimage and abort installation of xorriso.

Xorriso is a MUST HAVE dependecy, you need it for GRUB. Xorriso is optional just for ISOLINUX boot. ISOLINUX will use xorriso by default, but if it don't find xorriso it will use genisoimage. But dor GRUB IT USES grub-mkrescue that DOES NEED xorriso.

So, you should install xorriso: sudo apt install xorriso. You can try to fix dependencies too: suso apt install -f.

@nerun
Copy link
Owner

nerun commented Mar 3, 2023

Thank you for all your help here. If wasn't you and the bugs you have found i would not fix so many bugs so fast.

@lmaudio
Copy link
Author

lmaudio commented Mar 3, 2023

Yea great. Thank you sooo much too.

Yesterday i made an image with ISOLINUX and remastersys 4.9 without any errors. But i had no xorriso installed! So it is wrong now because grub will something missing? Or is it OK?

Genisoimage made a hybrid livestick.

@nerun
Copy link
Owner

nerun commented Mar 3, 2023

ISOLINUX uses xorriso or genisoimage (if xorriso is missing). But GRUB will use just xorriso.

So it is wrong now because grub will something missing? Or is it OK?

It's all right.

@lmaudio
Copy link
Author

lmaudio commented Mar 3, 2023

Yea
🐰

@lmaudio
Copy link
Author

lmaudio commented Mar 4, 2023

Comment moved to issue #16 by @nerun.

@nerun nerun self-assigned this Mar 6, 2023
@nerun nerun added the verify This issue should be reproduced label Mar 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
verify This issue should be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants