Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Thanks again for your continuing support Bill !rcrsn51 wrote:Sound Card Selector updated here.
Not often I mention, but I'm sure you noticed that I always try to keep up by adding your updated packages to the custom repos.
@all, see here:
https://fredx181.github.io/StretchDog/i ... ges/Extra/
https://fredx181.github.io/StretchDog/a ... ges/Extra/
Or, better, instead of downloading, install with apt-get, e.g.
Code: Select all
apt-get update
apt-get install sound-card-selector
*** Updated mklive-stretch script ***
Changed installed kernel to latest Debian Stable version 4.9.0-7 (previously was 4.9.0-6)
After download, make it executable:
The tar.gz archive containing e.g. porteus-boot scripts + aufs and squashfs (LZ4 support) kernel modules for 4.9.0-7 is: dog-boot-stretch-20180815.tar.gz
(just for info in case anyone preferring to change to that manually in custom mklive-stretch script)
Fred
Changed installed kernel to latest Debian Stable version 4.9.0-7 (previously was 4.9.0-6)
After download, make it executable:
Code: Select all
chmod +x mklive-stretch
(just for info in case anyone preferring to change to that manually in custom mklive-stretch script)
Fred
New version in repos of "upgrade-kernel", 1.0.9
For to upgrade to latest kernel version 4.9.0-7 (frugal install only)
Install from Synaptic or with apt-get:
Run from Menu > System > Upgrade-Kernel
Fred
For to upgrade to latest kernel version 4.9.0-7 (frugal install only)
Install from Synaptic or with apt-get:
Code: Select all
apt-get update
apt-get install upgrade-kernel
Fred
Just did the kernel upgrade and then remastered. All went as expected.fredx181 wrote:New version in repos of "upgrade-kernel", 1.0.9
For to upgrade to latest kernel version 4.9.0-7 (frugal install only)
Install from Synaptic or with apt-get:Run from Menu > System > Upgrade-KernelCode: Select all
apt-get update apt-get install upgrade-kernel
Fred
root@live:~# uname -a
Linux live 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux
If you have set the ALSA Equalizer as your default audio device, you may lose the ability to control the master volume from the tray applet.
Alsa-master-volume creates a second tray applet that shows Alsamixer set to Card 0. Now you can change the volume while the Equalizer is active.
Remove the fake .gz extension. The tray icon appears on the next restart.
Code: Select all
### these three lines enable the regular sound card ###
#defaults.pcm.card 0
#defaults.pcm.device 0
#defaults.ctl.card 0
##################
ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
slave.pcm "plughw:0,0";
}
pcm.equal{
type plug;
slave.pcm plugequal;
}
### these two lines enable the equalizer ###
pcm.!default pcm.equal
ctl.!default ctl.equal
Remove the fake .gz extension. The tray icon appears on the next restart.
- Attachments
-
- alsa-master-volume_1.0_i386.deb.gz
- (3.96 KiB) Downloaded 120 times
-
- alsa-master-volume_1.0_amd64.deb.gz
- (3.82 KiB) Downloaded 124 times
What is the difference with the files you have posted in a previous post(kernel-4.16.0-0.bpo.2-amd64.squashfs , new init.rd ... etc...)?fredx181 wrote:New version in repos of "upgrade-kernel", 1.0.9
For to upgrade to latest kernel version 4.9.0-7 (frugal install only)
Install from Synaptic or with apt-get:Run from Menu > System > Upgrade-KernelCode: Select all
apt-get update apt-get install upgrade-kernel
Fred
I did that type of upgrade and conky reports kernel 4.16.0 and everything works as before.
The only downside so far (for me) is that I have to update virtual box to work with the new kernel.
Hi, trister,trister wrote:What is the difference with the files you have posted in a previous post(kernel-4.16.0-0.bpo.2-amd64.squashfs , new init.rd ... etc...)?fredx181 wrote:New version in repos of "upgrade-kernel", 1.0.9
For to upgrade to latest kernel version 4.9.0-7 (frugal install only)
Install from Synaptic or with apt-get:Run from Menu > System > Upgrade-KernelCode: Select all
apt-get update apt-get install upgrade-kernel
Fred
I did that type of upgrade and conky reports kernel 4.16.0 and everything works as before.
The only downside so far (for me) is that I have to update virtual box to work with the new kernel.
Running "upgrade-kernel" will upgrade to the latest kernel (4.9.0-7 now) from the "stable" repository.
Requires saving changes and reboot.
The files from the 4.16.0-0 archive is the kernel from Debian backports repository, which is not an included source by default in StretchDog.
Hope this answers your question.
EDIT: For virtual box you will probably need linux-headers (4.16) from backports.
Fred
Thanks Bill, added to repos.rcrsn51 wrote:Touchpad bugfix here.
@all, added package pschedule (great program, thanks to zigbert ) to repos, install with Synaptic or apt-get:
Code: Select all
apt-get update
apt-get install pschedule
Fred
Here are .deb packages for Xlunch Graphical App Launcher
(work in progress)
https://fredx181.github.io/StretchDog/N ... 5_i386.deb
https://fredx181.github.io/StretchDog/N ... _amd64.deb
See info and screenshots (and .pet packages) here:
http://murga-linux.com/puppy/viewtopic.php?t=114208
Small difference with the .pet package is that everytime a new program is installed, it will 'trigger' dpkg and the entries for xlunch will be updated (in /etc/xlunch/entries.dsv)
(if the program has .desktop launcher in /usr/share/applications)
EDIT: Updated to version 3.2.12-5, added sc0ttman's addition of option --maxtextlength
http://murga-linux.com/puppy/viewtopic. ... 59#1003559
Fred
(work in progress)
https://fredx181.github.io/StretchDog/N ... 5_i386.deb
https://fredx181.github.io/StretchDog/N ... _amd64.deb
See info and screenshots (and .pet packages) here:
http://murga-linux.com/puppy/viewtopic.php?t=114208
Small difference with the .pet package is that everytime a new program is installed, it will 'trigger' dpkg and the entries for xlunch will be updated (in /etc/xlunch/entries.dsv)
(if the program has .desktop launcher in /usr/share/applications)
EDIT: Updated to version 3.2.12-5, added sc0ttman's addition of option --maxtextlength
http://murga-linux.com/puppy/viewtopic. ... 59#1003559
Fred
hi, small request: allow to use pre-existing stretch dir.
my download stopped near the end of the process, due to out-of-diskspace.
So i had to start the download all over again. When i restarted (in a new dir), your script said it was going to delete everything in the stretch folder...
...update, but now i'm confused, cuz it seemed to continue without re-downloading... or so it seemed...
...update, my final iso is 18MB ...update i deleted the stretch dir, and started over. My new iso is 9 MB ...something's wrong, a 9 MB iso isn't an OS.
Also says frugal files are in isodata/live/. Hrm, what if i want to distrib the iso without any extra loose files? Will this script make an iso that works as a live CD?
THX
my download stopped near the end of the process, due to out-of-diskspace.
So i had to start the download all over again. When i restarted (in a new dir), your script said it was going to delete everything in the stretch folder...
...update, but now i'm confused, cuz it seemed to continue without re-downloading... or so it seemed...
...update, my final iso is 18MB ...update i deleted the stretch dir, and started over. My new iso is 9 MB ...something's wrong, a 9 MB iso isn't an OS.
Also says frugal files are in isodata/live/. Hrm, what if i want to distrib the iso without any extra loose files? Will this script make an iso that works as a live CD?
THX
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]
Hi johnywhy,
Obviously something went wrong, the ISO should be at least 160 MB.
Please provide more details about what you did, so I could try to reproduce.
From which OS you ran mklive-stretch, used -gui or -cli, which option(s) ? etc...
I suspect you ran out of disk space (second try again), you didn't run it from the virtual live system e.g. from /root did you ?
(EDIT: I mean when changes are running in RAM you'd need much RAM in that case)
It's best to run from a Linux formatted partition (e.g. ext4) with 2GB free disk space at least.
Yes. it will make an ISO that works as a live CD.
Fred
Obviously something went wrong, the ISO should be at least 160 MB.
Please provide more details about what you did, so I could try to reproduce.
From which OS you ran mklive-stretch, used -gui or -cli, which option(s) ? etc...
I suspect you ran out of disk space (second try again), you didn't run it from the virtual live system e.g. from /root did you ?
(EDIT: I mean when changes are running in RAM you'd need much RAM in that case)
It's best to run from a Linux formatted partition (e.g. ext4) with 2GB free disk space at least.
Yes. it will make an ISO that works as a live CD.
When restarting it will delete the build, but not the 'cache', i.e. already downloaded .deb packages will not be removed.When i restarted (in a new dir), your script said it was going to delete everything in the stretch folder...
Fred
Well, there ya go. I ran it first from a Stretch desktop, and ran out of disk space.fredx181 wrote:best to run from a Linux formatted partition (e.g. ext4) with 2GB free disk space at least.
When restarting it will delete the build, but not the 'cache', i.e. already downloaded .deb packages will not be removed.
Then ran it from an NTFS partition with lots of disk space.
Now (finally) running from an ext4 partition with lots of disk space. Fingers crossed.
What's up with FAILED? The installer kept going. Shouldn't it stop on a FAIL?Choose XFCECode: Select all
# sh mklive-stretch -gui Checking network connection... OK
Remove firefox and conky
Accept default on "Do you want to run Xterm just before exiting chroot ? (Enter=no) (y/N)?"
GotCode: Select all
Reading package lists... Done Install some required packages, e.g. debootstrap, squashfs-tools, etc... E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. FAILED Setting up debootstrap in stretch/chroot This may take a while...
later got:
Code: Select all
Reading package lists... Done
Please set the password for 'root'
Also now you may want to add to or edit files in the chroot folder
Enter new UNIX password:
Retype new UNIX password:
Sorry, passwords do not match
passwd: Authentication token manipulation error
passwd: password unchanged
Please try again, type password for root
Enter new UNIX password:
Retype new UNIX password:
Sorry, passwords do not match
passwd: Authentication token manipulation error
passwd: password unchanged
Warning: password is not set
Adding group `fuse' (GID 1000) ...
Done.
...
THX
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]
Hi johnywhy,
I don't know why you got the "interrupted" message
Sorry that things went bad for you, anyway, please try again and do before running mklive-stretch:
I'm not sure (from what you wrote) if the build finished.
The root password you can always set (again) after booting the system:
Fred
Well.. yes, you are right, it should stop then.What's up with FAILED? The installer kept going. Shouldn't it stop on a FAIL?
I don't know why you got the "interrupted" message
Sorry that things went bad for you, anyway, please try again and do before running mklive-stretch:
Code: Select all
dpkg --configure -a
The root password you can always set (again) after booting the system:
Code: Select all
passwd root
it hadn't finished yet, when i posted. I didn't stop it. now it's up tofredx181 wrote: I don't know why you got the "interrupted" message
Sorry that things went bad for you, anyway, please try again and do before running mklive-stretch:I'm not sure (from what you wrote) if the build finished.Code: Select all
dpkg --configure -a
Code: Select all
Cleaning...
Unmounting mount binds in chroot
Start extracting and creating new 'live' initrd files...
OK
108480 blocks
Creating initrd.img, please wait...
OK
Copy kernel modules, contents of lib/modules, from extracted 'live-boot' initrd
to extracted 'porteus-boot' initrd skeleton, initrdport/lib/modules/ ...
OK
Creating initrd1.xz, please wait...
i ran the dpkg command in another window as soon as i saw the message. But does the dpkg alert indicate this iso is already borked?
Update: it finished, i got a 200 MB iso. Bigger than expected. Trying a frugal install now...
THX
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]