Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 18 Nov 2017, 12:08
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 28 of 58 [859 Posts]   Goto page: Previous 1, 2, 3, ..., 26, 27, 28, 29, 30, ..., 56, 57, 58 Next
Author Message
labbe5

Joined: 13 Nov 2013
Posts: 1018
Location: Canada

PostPosted: Mon 21 Aug 2017, 10:57    Post subject: testing minimal iso
Subject description: what i added
 

Hi Fredx,

This way of building a minimal OS is new to me. I took the time to test it, and i found that this minimal ISO is faster than other Dog. Before that i was contemplating using mini.ISO (50MB) from Ubuntu and try a 17.04 minimal installation, very basic, adding packages that i really need with apt. But it doesn't have utilities from Dog-based OS, so it is less versatile.

What i added :

I had to install firmware-linux-nonfree for wifi. Out-of-the box, wifi is not available. You can install firmware-linux-free, but i really needed the nonfree.

I added a user. I realized that i needed a display manager with a greeter.

Without a display manager, to switch to my user account, i had to do exit x, do Alt-F1 to have a prompt to username and password. Entering both, i switched to my user account, needed for some applications, such as VLC, Firejail, and so on.

As a display manager, Slim is kind of a GUI for Alt-F1, so i installed Slim. As a result, the Debian installation is less minimal, but more polished.

I look forward to whatever you do, it is very interesting.

Finally, keep on with your 32-bit OS development, many developers are dumping this architecture in favor of 64-bit only. When you can have a good 32-bit second-hand laptop or a refurbished 32-bit Dell netbook for less than 100$ which was valued at 1000$ a few years ago, it is not tomorrow i will switch to 64-bit architecture just to have a brand new thing.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11720
Location: Stratford, Ontario

PostPosted: Mon 21 Aug 2017, 11:05    Post subject: Re: testing minimal iso
Subject description: what i added
 

labbe5 wrote:
Out-of-the box, wifi is not available.

If you want help with this, you should supply more specific information.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2585
Location: holland

PostPosted: Mon 21 Aug 2017, 13:41    Post subject:  

rcrsn51 wrote:
I burned some Stretch-Live ISOs to DVD and got an interesting result.

If I booted an Athlon machine with the 32bit disc, I got an immediate kernel-panic.

But the 64bit version booted fine.

This machine will boot 32bit Puppy discs OK.


Hi Bill, did you test that with both boot methods (porteus-boot and live-boot)
I can't test that myself, but I wouldn't surprsed if live-boot works and porteus-boot not. (just guessing)

@labbe5
Quote:
Without a display manager, to switch to my user account, i had to do exit x, do Alt-F1 to have a prompt to username and password. Entering both, i switched to my user account, needed for some applications, such as VLC, Firejail, and so on.

As a display manager, Slim is kind of a GUI for Alt-F1, so i installed Slim. As a result, the Debian installation is less minimal, but more polished.


As a coincidence I just made a fix for "display-manager <> console login (automatic)" conflict, see next post

Fred

Last edited by fredx181 on Mon 21 Aug 2017, 14:15; edited 2 times in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2585
Location: holland

PostPosted: Mon 21 Aug 2017, 13:56    Post subject:  

*** Updated mklive-stretch ***

Some small changes:
- When installed a display-manager, e.g. lightdm or slim, the script will detect it and disable the (default) login method through /etc/inittab
(otherwise strange things can happen, login on both tty1 and tty7)
See also these posts about the issue
http://murga-linux.com/puppy/viewtopic.php?p=964774#964774
http://murga-linux.com/puppy/viewtopic.php?p=964776#964776
http://murga-linux.com/puppy/viewtopic.php?p=964778#964778
- The generated config file "build_setup.conf" contains now info about which architecture it's build for
(e.g: generated for architecture: i386)
And if 32 bit build, "build_setup.conf" contains now FORCE32=TRUE
(needs to be set to FALSE if making a 64 bit build)


mklive-stretch script (right-click > Save link as and make executable)

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
labbe5

Joined: 13 Nov 2013
Posts: 1018
Location: Canada

PostPosted: Mon 21 Aug 2017, 15:09    Post subject:  

Quote:
If you want help with this, you should supply more specific information.


Thanks.

After installing firmware-linux-nonfree, i am able to see wifi networks available in my vicinity.

Before, the GUI did not launch at all.

I also needed to install acpi to have batteries status on my laptop.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 934

PostPosted: Mon 21 Aug 2017, 16:52    Post subject:  

Is there a specific package that has to be included for lz4 to work on the Quick Remaster? Or is it just not supported yet.

I did a quick remaster using lz4 and it seemed to do what it was supposed to, but when I rebooted, I got the errors in the screenshot I've attached. It worked fine when I redid it with gzip and I've used xz in the past and that's worked too.

I saved the bad 01-filesystem.squashfs if there is something you'd like me to check.

Luckily someone had the great idea to include emergency backups as a part of the quick remaster program. Very Happy Very Happy
error.jpg
 Description   
 Filesize   103.48 KB
 Viewed   481 Time(s)

error.jpg

Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11720
Location: Stratford, Ontario

PostPosted: Mon 21 Aug 2017, 17:27    Post subject:  

fredx181 wrote:
did you test that with both boot methods (porteus-boot and live-boot) I can't test that myself, but I wouldn't surprsed if live-boot works and porteus-boot not. (just guessing)

Unfortunately, the 32bit disc failed to boot with either "live" setting. But the 64bit disc worked fine either way.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2585
Location: holland

PostPosted: Mon 21 Aug 2017, 17:59    Post subject:  

dancytron wrote:
Is there a specific package that has to be included for lz4 to work on the Quick Remaster? Or is it just not supported yet.

I did a quick remaster using lz4 and it seemed to do what it was supposed to, but when I rebooted, I got the errors in the screenshot I've attached. It worked fine when I redid it with gzip and I've used xz in the past and that's worked too.

I saved the bad 01-filesystem.squashfs if there is something you'd like me to check.


I see Trinitydog, is it about that ?
Anyway, are you able to mount the squashfs ? (from one of the dogs that supports LZ4)
LZ4 should work, on StretchLive I tested on 64 and 32 bit
Trinydog Stretch I just tested booting with LZ4 squashfs and works also.

Quote:
Luckily someone had the great idea to include emergency backups as a part of the quick remaster program.


Mmm.. what was his name again ? Smile Smile

Fred
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 934

PostPosted: Mon 21 Aug 2017, 18:26    Post subject:  

Trinitydog is just the name of the folder. I was too lazy to change the menu.1st file, so I just deleted the Trinitydog I wasn't using and pasted the Stretch-live I made into that folder.

Have you tested the Quick Remaster with lz4 yet?
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 934

PostPosted: Tue 22 Aug 2017, 01:49    Post subject:  

I think I found the save2flash issue.

This is an entry from my log file.
Quote:

Get:49 https://fredx181.github.io/StretchDog/amd64/Packages ./ porteusbootscripts 0.0.3 [6598 B]


When I go to the site and download porteusbootscripts 0.0.3 and extract it, it contains the old save2flash and snapmergepuppy files.

apt-cache rdepends shows

Quote:
root@live:~# apt-cache rdepends porteusbootscripts
porteusbootscripts
Reverse Depends:
debdogmountscripts
root@live:~# apt-cache rdepends debdogmountscripts
debdogmountscripts
Reverse Depends:
porteusbootscripts
debdoginstallscripts
root@live:~# apt-cache rdepends debdoginstallscripts
debdoginstallscripts
Reverse Depends:
root@live:~#



My build_setup.txt file shows that I decided to add debdoginstallscripts on my own in the extra apps, because why not.

Quote:
Extra Dog Packages:
google-chrome-stable gksu ntfs-3g mpv upgrade-kernel debdoginstallscripts lxterminal mtpaint xarchiver xfce4-appfinder mc desktop-drive-icons links2 gdmap


So, I believe that the issue is caused by the out of date files in porteusbootscripts, which is being installed because somewhere along the line I decided that debdoginstallscripts sounded like a good thing to install.

I will test this hypothesis tomorrow.
Back to top
View user's profile Send private message 
jd7654

Joined: 06 Apr 2015
Posts: 256

PostPosted: Tue 22 Aug 2017, 05:05    Post subject:  

fredx181 wrote:
*** Updated mklive-stretch ***
- When installed a display-manager, e.g. lightdm or slim, the script will detect it and disable the (default) login method through /etc/inittab
...
- The generated config file "build_setup.conf" contains now info about which architecture it's build for


New script looks good. Strangeness from lxdd.conf build is fixed. Also, good changes for 32-bit config awareness.

Previously:
fredx181 wrote:
I made JWM config deb package "jwmconf" , it;s in the repos, so can be added to install list, it will automatically install jwm and rox (and some more)
...
It's a bit of an experiment by using deb package for make a build with configured Desktop environment, not sure yet if it's the right way.


Jwm config build looks good. I think that can be a nice way to keep the simplicity of the build tool, by automating the configs/customizations by adding it at the end as a package.
I also like the adding of SFS files like Peebee did in his build. I was playing around with adding modules in script at last dialog. Maybe the description could be changed to say that you can add/edit files in chroot or add modules in isodata folders at that point?

Side note:
While playing around with Dog package tool AptToSfs to create sfs modules to load, ran into failures of that app when using older or newer forced version packages such as:
firefox-esr=24.8.0esr-1~deb8u2 mpv=0.23.0-2+b2
I found that if you remove the "=" sign from the working directory name, then the AptToSfs completed successsfully with those forced version packages.

Change to /usr/local/bin/apt2sfs line 352:
Code:
export SFS=$(for i in "$INSTALL"; do echo $(echo $i | sed 's| |_|g' | sed 's|=||g'); done)
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11720
Location: Stratford, Ontario

PostPosted: Tue 22 Aug 2017, 05:52    Post subject:  

Here is the PeasyScan image scanning program. There are two versions because it contains a binary.

Remove the fake .gz extension.
peasyscan_2.12_i386.deb.gz
Description 
gz

 Download 
Filename  peasyscan_2.12_i386.deb.gz 
Filesize  42.32 KB 
Downloaded  17 Time(s) 
peasyscan_2.12_amd64.deb.gz
Description 
gz

 Download 
Filename  peasyscan_2.12_amd64.deb.gz 
Filesize  43.35 KB 
Downloaded  14 Time(s) 
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2585
Location: holland

PostPosted: Tue 22 Aug 2017, 07:18    Post subject:  

@dancytron

Quote:
I think I found the save2flash issue.
...
...


Sure you did !
I fixed the problem by removing debdogmountscripts dependency in version 0.0.3
So now installing debdoginstallscripts will not install porteusbootscripts
Also added ~/Startup/initchanges.sh in the 0.0.3 version (will help empty tmpfs after running save2flash)
But in fact porteusbootscripts doesn't need to be installed, because these (essential) scripts are already in the build by default.
But version 0.0.3 has the logrotate option, if you want that:
Code:
apt-get install porteusbootscripts=0.0.3

Also added new version 0.0.4 to the repo that has the exact same files as included in the build.

Thanks for finding out and sorry for the inconvenience.

About the (corrupted ?) 01-filesystem.squashfs, just try to mount it, if it doesn't mount probably it got corrupted
Then your problem hasn't got to do with LZ4, I guess

@rcrsn51
Thanks again for your contributions! Added to the repos
(had been earlier added the other two you shared)

@jd7654

Nice suggestions, added line "Also you can add .squashfs modules in the isodata/live folder..." to the script
Also will update apt2sfs later after some testing

Fred
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3003
Location: Worcestershire, UK

PostPosted: Tue 22 Aug 2017, 07:33    Post subject:  

Suggestion:

make purge at line #644 a config list so that other unwanted packages can also be removed if required.

Update:
LxDD-uk-i386-17.08.2.iso

_________________
LxPup = Puppy + LXDE

Last edited by peebee on Tue 22 Aug 2017, 08:22; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 3003
Location: Worcestershire, UK

PostPosted: Tue 22 Aug 2017, 07:35    Post subject:  

Synaptic error when trying to apply an installation request:
Quote:
E: Could not open lock file /var/cache/apt/archives/lock - open (2: No such file or directory)
E: Could not open file descriptor -1
E: Unable to lock the download directory

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 28 of 58 [859 Posts]   Goto page: Previous 1, 2, 3, ..., 26, 27, 28, 29, 30, ..., 56, 57, 58 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0673s ][ Queries: 12 (0.0070s) ][ GZIP on ]