remastersys icon indicating copy to clipboard operation
remastersys copied to clipboard

Initramfs is not working after install

Open lmaudio opened this issue 2 years ago • 9 comments

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!?

lmaudio avatar Feb 28 '23 16:02 lmaudio

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).

nerun avatar Feb 28 '23 23:02 nerun

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 avatar Mar 02 '23 13:03 lmaudio

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??

lmaudio avatar Mar 03 '23 02:03 lmaudio

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 avatar Mar 03 '23 11:03 nerun

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.

nerun avatar Mar 03 '23 11:03 nerun

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.

lmaudio avatar Mar 03 '23 11:03 lmaudio

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.

nerun avatar Mar 03 '23 12:03 nerun

Yea 🐰

lmaudio avatar Mar 03 '23 21:03 lmaudio

Comment moved to issue #16 by @nerun.

lmaudio avatar Mar 04 '23 16:03 lmaudio