Open gmstyle opened 8 years ago
When you use this script : https://github.com/Oros42/CustomDebian, yes, by default, the user is root. You can create a folder CustomDebian/custom_setup/ and put in this folder a file like «adduser.sh» with :
useradd <MyUser>
You can put all your custom conf in CustomDebian/custom_conf/. All content of this folder is copy and paste in «/» of live-cd. So you can create CustomDebian/custom_conf/etc/skel/ and CustomDebian/custom_conf/root/
Ok...And there's a method to put debian-installer into the live-cd?
Good question. I haven't yet use debian-installer. I think you can put a script in CustomDebian/custom_setup/ with the setup of debian-installer but i don't know how does it works. If you found the solution, I am interested to add this to CustomDebian.
I will search something about it. Another question, how to enable contrib non-free repo? i need to edit source.list in chroot or i can enable repos before with a script in custom_setup?
3 options :
echo "deb http://..... contrib non-free" > /etc/apt/source.list
thanks a lot for your support!! i will ask you something else in the future if i will need help ;)
Okay, no problem ;-)
Tryied to add user with your suggestion but seems it doesn't work. I have another question, there is a way to startx in chroot? thanks
Sorry, it's adduser for an interactive add and useradd for automatic add (check the man for options). startx in chroot ? Euh... I never try it. After 2min of search I found this : http://www.gentoo-wiki.info/HOWTO_startx_in_a_chroot
Thanks for your reply. Is it normal that when i make rebuild option i have this output on terminal during the mksquashfs process?
Source directory entry boot already used! - trying boot_1 Source directory entry opt already used! - trying opt_1 Source directory entry initrd.img already used! - trying initrd.img_1 Source directory entry mnt already used! - trying mnt_1 Source directory entry etc already used! - trying etc_1 Source directory entry vmlinuz already used! - trying vmlinuz_1 Source directory entry lib64 already used! - trying lib64_1 Source directory entry media already used! - trying media_1 Source directory entry lib already used! - trying lib_1 Source directory entry srv already used! - trying srv_1 Source directory entry var already used! - trying var_1 Source directory entry usr already used! - trying usr_1 Source directory entry run already used! - trying run_1 Source directory entry home already used! - trying home_1 Source directory entry proc already used! - trying proc_1 Source directory entry tmp already used! - trying tmp_1 Source directory entry sys already used! - trying sys_1 Source directory entry sbin already used! - trying sbin_1 Source directory entry root already used! - trying root_1 Source directory entry dev already used! - trying dev_1 Source directory entry bin already used! - trying bin_1
EDIT: SOLVED
just mv filesystem.squashfs filesystem.squashfs.old
and then rebuild ;)
Oups :-/ I have found some other bugs. I will fix (normally) it this week.
:D Do Have you an idea to make the ISO UEFI ready?
No one of my computers have the fucking UEFI, so I didn't test it. But if you open (for example) an ISO of Minux Mint, you've got this :
.
├── EFI
│ └── BOOT
│ ├── BOOTx64.EFI
│ └── grubx64.efi
But if you open an ISO of Debian, you see nothing. So I don't known how does it works :-/
I have made few corrections on my script :
i'm testing your new files with the corrections and now, after rebuild, did not boot into the live system with live user or root...
arf :-/ I make new tests ....
ok mee too ... May be that depends on some new package that I install. I will inform you
New test for me and it's works. My test :
git clone https://github.com/Oros42/CustomDebian.git
cd CustomDebian
sudo ./build_custom_debian.sh new
And run the ISO in virtualbox.
Now i'm testing the same option (new) but with my configuration files and i will inform you with my result. :)
EDIT Works fine so i think was a packag i installed in chroot that create the problem.
About Debian Installer
i found http://unix.stackexchange.com/questions/183869/missing-step-debian-installer-launcher but seems not working for me
Hi, i want to make a test iso based on debian and i like your tool. I have 2 questions:
1- The live user will be root? 2- Where to place the configuration files for the live-cd (like openbox customizations files autostart.sh or menu.xml etc...) before building in /etc/skel or /root?
Thanks a lot