pieroproietti / penguins-eggs

On the road of Remastersys, Refracta, Systemback and father Knoppix!
https://penguins-eggs.net
394 stars 44 forks source link

Destination Host #253

Closed kingofkillers91 closed 1 year ago

kingofkillers91 commented 1 year ago

Can I choose the destination where I want to copy the exported file? The default path the tools saves my ISO doesn't exist.

pieroproietti commented 1 year ago

Hi @kingofkillers91

Just edit /etc/penguins-eggs.d/tools.yaml and adapt it to your needs.

# Penguins' eggs
# tools.yaml
---
penguins_eggs_conf: /etc/penguins-eggs.d/eggs.yaml

# you can adapt this configuration to your needs
remoteHost: 192.168.1.2

# path to remote host
remotePathDeb: /eggs/
remotePathDoc: /not-used-more/
remotePathIso: /var/lib/vz/template/iso/

# always root
remoteUser: root

# path to local host
localPathDeb: /home/artisan/penguins-eggs/perrisbrewery/workdir/
localPathDoc: /not-used-more/
localPathIso: /home/eggs

# filter package files
filterDeb: eggs_9.*.*_
kingofkillers91 commented 1 year ago

I'll try. To create an exact clone of my currently installed Ubuntu distro on my laptop and install it on multiple PCs, which command would you recommend I use? I'm gonna need an ISO file to burn onto a USB which i'll be using to install on the other PCs. Thank you

pieroproietti commented 1 year ago

I guess you want to duplicate and reinstall only the system without your data, and you want to perform the installation with the installer graphic calamares:

When this is done, export your ISO and put it on a USB stick, you can use balena-etcher or ventoy, and install the system on your computers.

https://penguins-eggs.net

pieroproietti commented 1 year ago

If you want create Your live image, including yours users and data, add the flag --clone in produce, example: sudo eggs produce --clone

kingofkillers91 commented 1 year ago

I did everything you said and it worked. I burnt the ISO onto a usb stick and booted it but it won't let me actually install the OS on the pc. I can only run a LIVE version of my clone. What can do i to install the clone on other PC's?

pieroproietti commented 1 year ago

Hi, that distro and eggs version are you using?

You must have a link on the desktop for calamares , click It or open a terminal and run: sudo calamares -d

Another possibility, if you don't have calamares Is to use krill, open a terminal and: sudo eggs install

Be warned, krill Will erase your destination device.

kingofkillers91 commented 1 year ago

Thanks, Does the "sudo eggs produce --clone" actually save the settings i have previously customized in the clone? Thanks

pieroproietti commented 1 year ago

Yes, clone have the same users so ...

But Just to save your customization you don't Need clone, all you must to do Is Copy your custom configurations on /etc/skel

This skel Is used every time a new user Is created, as skeleton to It.

There Is a command you can use, from your main user: sudo eggs tools skel

After that try to create a new user and look if It take your customizations.

Il dom 16 lug 2023, 21:10 kingofkillers91 @.***> ha scritto:

Thanks, Does the "sudo eggs produce --clone" actually save the settings i have previously customized in the clone? Thanks

— Reply to this email directly, view it on GitHub https://github.com/pieroproietti/penguins-eggs/issues/253#issuecomment-1637165668, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHKBFNBRHZRLR3AWYLURSLXQQ4BRANCNFSM6AAAAAA2GF2OUU . You are receiving this because you commented.Message ID: @.***>

kingofkillers91 commented 1 year ago

Too late, i've used the eggs produce --clone command. I'll let you know tomorrow if everything works as it should. Thanks for your help

kingofkillers91 commented 1 year ago

Hi Pietro, everything seems to be working fine. I've successfully installed the clone on another laptop. However, there's an issue with the cloning tool. I had installed Wine before cloning the system because I need to run a Windows software on each clone. But on the cloned system, when I try to run the Windows software, I receive a "warning" message stating that I need to install some libraries before running the software. I had previously installed these libraries before cloning the system, and it was working perfectly fine. Why didn't the tool clone them as well? Thanks

kingofkillers91 commented 1 year ago

Update: After i downloaded "using the network connection" the libraries needed the windows software runs just fine. So it looks like the tool didn't just clone those libraries. Thanks

kingofkillers91 commented 1 year ago

You can now close this issue. Thanks