I tried the snapshot tool.
So before starting the snapshot, I made just the customization of the OS like I wanted for Vajra.
While creating a snapshot, mx does offer a window where we can change the name of the distro, codename, etc…
I filled it with the details of vajra but the name just showed up on the grub menu and nowhere else. But when I changed the lsb-release file in the vajra live iso, the changes reflected. So i think i will be able to fix this by changing the file before creating my snapshot. ( tried in vbox btw )
Also, the customizations were gone too..
One more thing, MX Snapshot creator gives two options while creating the snapshot, one preserves the user account while other just copies the system without the accounts because obviously im making a distro for distribution and don’t want my username and password on the installs of vajra.
I think thats the reason the customizations didn’t work.
Cause they are in the /home/.config and are independent for every user.( pls correct if the statement is wrong )
So now I just I have to store the config files in the directories which keep them default. Probably skel, usr/share ig?..(Pls correct if wrong and also add directories if im missing them)
After the customizations go correct and the name ‘Vajra’ starts to appear in the live iso, the rest of the things are easy to do for me..I will just add some apps which I want and add the Custom Layout Switcher which im gonnna make (cli based)(macOs, win7/10, win11 like layouts)
Tried one more thing, but that too went in vain…
So was just going through the MX Snapshot tool again and found that they allow to edit a ‘exclusion file’ which contains directories which r to be excluded while making the distro. And I saw .config in that list. I removed it, saved the file and made the iso again but, nothing changed…same thing as before . Waiting for ur replies for my above post.
Normally prototype configurations are stored in /usr/share or /etc , and when a user is created they are copied to the users home directory.
I dont know what determines where prototypes are stored or how the useradd process knows where to find them.?
I guess it may have a search list of places to look.
You already excluded your whole home directory because you chose reset accounts.
These system-wide changes should now persist in your ISO
Remember:
Test the ISO in a VM first
Some MX-specific branding might still appear in certain tools
You might need to modify some additional files depending on what specific customizations you want to persist
Would you like me to explain any of these steps in more detail?
To preserve all those desktop customizations when creating an ISO with “Don’t preserve user accounts” option, you need to copy them to /etc/skel/. Here’s how:
I had installed the tesla 470 driver on my pc as I have the gt730 card…
Now the live iso also has the tesla driver preinstalled and also the tesla 470 driver management app by nvidia…i obviously don’t need them in my iso…how eo i remove them…
I thought of one option though…that was to make the mx distro while mx itself is installed in vbox…thus it wont have the nvidia driver preinstalled…what do you think??
Hopefully you can demonstrate on a different computer ?
In case you are asked to provide a working solution. Dont forget documentation and write up the steps you have taken with screenshots … part of the project is always the presentation of how you got to the end.
I am going to make a PPT including all the steps I took, the features , why its better for old pcs instead of windows, etc… and also a Website to showcase the distro ( a simple one ).And I think I need to give some time for the person at the table to try it out too ig(a min or two)??
Thanks again!!
I was completely sure that i am going to make a linux project itself. Cuz That would be unique. And it should also have a real-life application. That was my plan.
Thanks to all members who replied to my post. I couldn’t have done it without everyone…
Now I just have to make small things better day by day. I have time till 5 dec…
Also thanks @nevj once again for helping me out. Just saw that the current time at Australia is 3am. Respect!
That raises another question.
What type of PC are you going to try and boot this live usb in when you demonstrate it at college?
Is it possible to test it beforehand… you dont want an embarassing failure in a demo.
A live usb needs to have all the drivers needed to boot on any target PC.
I am not sure whether an iso made from a live system has all drivers or just those loaded by the live system?
You may need to make the iso directly from the MX iso… and that brings us back to cubic… maybe you should try again making one with cubic and see if it is any different.
Ill probably use a laptop with just the integrated graphics. Preferably one with not high specs so that i can demonstrate how it can run well on olc pcs. One of my father’s friends runs an HP shop. He is a very old friend of my father( they r friends from like 25 yrs). I frequently visit his shop just to u know see new laptops and desktops. Infact he is the one who told me to try linux first time in 2020. And here I am, making my own spin/distro for a project.
So he has many laptops in his shops which are just there in a cupboard. They r not very new. I can surely try to get one of them…
I think the drivers are loaded by the live iso after detecting the hardware ( thats why i set nomodeset right?)
Mx doesnt provide option to add iso and make changes in it…it just makes snapshot of the current system state.
And as u said, it brings us back to cubic, where i can edit the iso.
Or theres one more thing I can do…remove the entry of the nvidia driver manager from the whisker menu…no one will know!
Yes, and it only loads the drivers needed for the hardware it detects in your PC. That is why I am concerned.
nomodeset is about telling it not to have the kernel detect video mode, but to wait and let X11 do it. I think you would get the same drivers, with or without nomodeset., but it might choose a different video mode.
But also offer a handout, project notes. Depending on the examination body, it may need to go outside for verification. Every exam body i delt with asked for sample submissions so they could check student work was correct and the tutorial staff were not just signjng off on qualifications.
Also, if you are going on to further education or prospective employers you can take a nicely presented dossier with you for them to see your standards of work.