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 Mon 09 Dec 2019, 04:01
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 25 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 23, 24, 25, 26, 27, ..., 101, 102, 103 Next
Author Message
backi

Joined: 27 Feb 2011
Posts: 1846
Location: GERMANY

PostPosted: Fri 18 Aug 2017, 14:56    Post subject:  

Hi festus !
Showdown
Show your menu.lst . Laughing Laughing Laughing
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4204
Location: holland

PostPosted: Fri 18 Aug 2017, 15:17    Post subject:  

Hi peebee,

Quote:
It currently has one big problem in that the desktop does not reappear after the system has gone into sleep mode after a period of inactivity - the screen is "activated" when the mouse is moved or the keyboard pressed but just displays dark grey - similar behaviour on both desktop and laptop with different graphics drivers....


Didn't try your ISO yet, but did a build exactly like your setup (as you shared) and same problem for me.

For me the problem is the screenlocker !
Not sure why it's like that but pressing ctrl + alt + F7 shows message for a few seconds that the session is locked and then the session can be activated by entering password.
But screenlocker can be disabled, in Desktop Session settings uncheck it.

Fred

Last edited by fredx181 on Fri 18 Aug 2017, 15:21; edited 1 time in total
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 1707

PostPosted: Fri 18 Aug 2017, 15:19    Post subject:  

Hi Festus!

Maybe this will help ya Wink (Hi Backi!!)

[EDIT: removed the UUID in case someone comes along later and thinks that exact same thing has to be entered Rolling Eyes . Better to try and anticipate this stuff]
menu-lst-entries-of-all-stretch-builds.jpg
 Description   
 Filesize   145.96 KB
 Viewed   582 Time(s)

menu-lst-entries-of-all-stretch-builds.jpg

An-external-IDE-usbdrive-with-frugal-installs.png
 Description   
 Filesize   121.54 KB
 Viewed   585 Time(s)

An-external-IDE-usbdrive-with-frugal-installs.png

inside-stretch-build3-frugal-folder.png
 Description   
 Filesize   44.05 KB
 Viewed   580 Time(s)

inside-stretch-build3-frugal-folder.png

inside-subdir-stretch-of-stretch-build3-frugal-folder.png
 Description   
 Filesize   82.48 KB
 Viewed   582 Time(s)

inside-subdir-stretch-of-stretch-build3-frugal-folder.png


Last edited by belham2 on Fri 18 Aug 2017, 15:26; edited 2 times in total
Back to top
View user's profile Send private message 
jd7654

Joined: 06 Apr 2015
Posts: 297

PostPosted: Fri 18 Aug 2017, 15:22    Post subject:  

EDIT: Fred beat me to it.


Aha, I see what you're seeing. I guess I just never left the DebLive alone long enough to see it. It was not the Suspend issue, which is separate problem. It is the screen blanking.

So after I left the system for a while, the screen went blank, but did not recover display. But I tried other vtys ctrl-alt-f2 and they responded. Strange thing is, the DebLive starts out with X on vty1. But I also found it on vty7. So after blanking the X on vty1 is dead, but the one on vty7 works OK. Some straigtening out to do maybe?

As for the blanker, that can be set or disabled with xset command.
Back to top
View user's profile Send private message 
festus


Joined: 14 Jan 2015
Posts: 221

PostPosted: Fri 18 Aug 2017, 15:49    Post subject:  

backi wrote:
Hi festus !
Showdown
Show your menu.lst . Laughing Laughing Laughing

Thanks, for the reply, backi

My menu.lst only has four regular pups:
Code:
# Frugal installed Puppy

title Puppy manna 6.4.2 (sda2/manna)
  uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  kernel /manna/vmlinuz   psubdir=manna pmedia=atahd pfix=fsck
  initrd /manna/initrd.gz

title Puppy lxpup 16.07 (sda2/lxpup16slacko632)
  uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  kernel /lxpup16slacko632/vmlinuz   psubdir=lxpup16slacko632 pmedia=atahd pfix=fsck
  initrd /lxpup16slacko632/initrd.gz

title Puppy lx_xenialpup 7.0.8.1 (sda2/lxpupxenial17)
  uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  kernel /lxpupxenial17/vmlinuz   psubdir=lxpupxenial17 pmedia=atahd pfix=fsck
  initrd /lxpupxenial17/initrd.gz

title Puppy slacko 6.9.9.9 (sda2/slacko-700)
  uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  kernel /slacko-700/vmlinuz   psubdir=slacko-700 pmedia=atahd pfix=fsck
  initrd /slacko-700/initrd.gz

Thanks, belham2, for the info, I'll ponder the settings.

I'm in xenial pup now, so in a little while I'm a gonna try it again, with xorriso & isolinux installed.

Do those steps, in my above post, look like they should work?

Would someone, please, post a grub4dos menu.lst entry for this type of deb-9 scripted pup, that will make a savefolder or the like?

See you all in a couple of hours, festus
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4204
Location: holland

PostPosted: Fri 18 Aug 2017, 15:49    Post subject:  

jd7654 wrote:
Strange thing is, the DebLive starts out with X on vty1. But I also found it on vty7. So after blanking the X on vty1 is dead, but the one on vty7 works OK. Some straigtening out to do maybe?


The lightdm login manager is conflicting with the autologin line in /etc/inittab
Code:
1:2345:respawn:/bin/login -f root tty6 </dev/tty1 >/dev/tty1 2>&1

Can be fixed with:
Code:
cp -af /etc/inittab-noauto /etc/inittab

Then:
Code:
pkill X

And only lightdm will be used for login.

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


Joined: 11 Dec 2013
Posts: 4204
Location: holland

PostPosted: Fri 18 Aug 2017, 15:58    Post subject:  

@festus

Simple example:
Create folder deblive on ext4 partition
Put the "live" folder from the isodata build folder in deblive, so you get /deblive/live
menu.lst entry:
Code:
title DebLive (porteus-boot) save-to-folder /deblive
  uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  kernel /deblive/live/vmlinuz1 noauto from=/deblive changes=EXIT:/deblive/
  initrd /deblive/live/initrd1.xz


Quote:
Do those steps, in my above post, look like they should work?


Quote:
5. mkdir -p stretch/chroot

6. cd stretch


You can skip these steps, the mklive-stretch script does it

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

Joined: 15 Aug 2016
Posts: 1707

PostPosted: Fri 18 Aug 2017, 16:13    Post subject:  

fredx181 wrote:
@festus

Simple example:
Create folder deblive on ext4 partition
PFred



Fred. FreD..FRED!

Savefolders s#ck!! Laughing Laughing

Convince your minions to save any & all changes, if they want them, in the "live" folder. Plus those menu.lst entries you taught me are still so utterly alien-speak that even today I still can't understand them even after slamming down a few hefeweizens Cool Shocked

Besides, it's way more fun in "live" when things blow up & the OS goes wonky, as then you've no idea where to begin looking...and hitting the "nuclear-reset" button becomes a grand idea.......hahahahha Wink
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3671

PostPosted: Fri 18 Aug 2017, 16:16    Post subject:  

fredx181 wrote:
jd7654 wrote:
Strange thing is, the DebLive starts out with X on vty1. But I also found it on vty7. So after blanking the X on vty1 is dead, but the one on vty7 works OK. Some straigtening out to do maybe?


The lightdm login manager is conflicting with the autologin line in /etc/inittab
Code:
1:2345:respawn:/bin/login -f root tty6 </dev/tty1 >/dev/tty1 2>&1

Can be fixed with:
Code:
cp -af /etc/inittab-noauto /etc/inittab

Then:
Code:
pkill X

And only lightdm will be used for login.

Fred

Or perhaps just remove lightdm? I don't use a dm at all, just have it set to autologin similar to your
Code:
1:2345:respawn:/bin/login -f root tty6 </dev/tty1 >/dev/tty1 2>&1

and in my .profile I have it set so the auto-logged-in tty1 session runs startx
Code:
[ "$(tty)" = "/dev/tty1" ] && exec startx

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4204
Location: holland

PostPosted: Fri 18 Aug 2017, 16:20    Post subject:  

belham wrote:
Convince your minions to save any & all changes, if they want them, in the "live" folder.


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

Joined: 18 Jul 2012
Posts: 1413

PostPosted: Fri 18 Aug 2017, 16:29    Post subject:  

fredx181 wrote:
belham wrote:
Convince your minions to save any & all changes, if they want them, in the "live" folder.


Why ?


Isn't that what causes the conflict of different instances saving changes over each other? Making sure there is a separate folder with a unique path for the changes of each instance prevents that.
Back to top
View user's profile Send private message 
jd7654

Joined: 06 Apr 2015
Posts: 297

PostPosted: Fri 18 Aug 2017, 16:43    Post subject:  

peebee wrote:
The iso is uploaded to smokey01.com:
LxDD-17.08.1.iso


OK, took a while, but finally downloaded it.

Very nice Peebee! Great example of a relatively complete light distro that can be built from the DebLive build script. Familiar LxPup look and feel, everything seems to work. Never used Light browser before, seems fine, fired up Youtube video, etc. Even includes b43 firmware, thanks. Great start on LxDD.
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3671

PostPosted: Fri 18 Aug 2017, 16:51    Post subject:  

Quote:
save any & all changes, if they want them, in the "live" folder.

I used to use the / folder as a savearea. Even extracted all of filesystem.squashfs to that save space beforehand. Install the standard debian grub to /boot/grub/menu.lst, ensure live-boot is installed, set the partition label to 'persistence' and create a persistence.conf file containing
Code:
/ union

... and you can boot that as though a full install, or with persistence persistence-read-only (ro, no changes stored), or just persistence (all changes written to disk as they occur).

As everything is in the save space (partition), you could even remove all of the /live/filesystem.squashfs file content. Or you can leave that and just boot that alone

title Debian FILESYSTEM ONLY
find --set-root /menu.lst
kernel /vmlinuz boot=live quiet splash
initrd /live/initrd.gz

title Debian FULL
find --set-root /menu.lst
configfile /boot/grub/menu-mine.lst
commandline

title Debian persistence changes saved as occur
find --set-root /menu.lst
kernel /vmlinuz boot=live persistence
initrd /initrd.img

title Debian persistence no changes preserved
find --set-root /menu.lst
kernel /vmlinuz boot=live persistence persistence-read-only
initrd /initrd.img

After a while I gave up with those choices and just settled on the FULL choice (pure Debian), created using similar to debootstrap i.e. relatively light (xorg, jwm, pcmanfm base system) ... and back that up using mksquashfs (to around a 650MB sfs filesize) that takes around a minute to create/restore.

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4204
Location: holland

PostPosted: Fri 18 Aug 2017, 17:00    Post subject:  

belham wrote:
Isn't that what causes the conflict of different instances saving changes over each other? Making sure there is a separate folder with a unique path for the changes of each instance prevents that.


The unique path in my example is /deblive
Assuming that there is no /deblive on another partition, if there is, then it will conflict.
The problem of conflicting occurred most of the time because of the examples we gave with (default) /live on root of the partition.
So we started to advice to create a unique folder name with live folder inside: /unique/live
But then it doesn't matter if you have changes=/unique/ or changes=/unique/live/

Fred

Last edited by fredx181 on Fri 18 Aug 2017, 18:13; edited 1 time in total
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 1707

PostPosted: Fri 18 Aug 2017, 17:33    Post subject:  

fredx181 wrote:
belham wrote:
Isn't that what causes the conflict of different instances saving changes over each other? Making sure there is a separate folder with a unique path for the changes of each instance prevents that.


The unique path in my example is /deblive
Assuming that there is no /deblive on another partition, if there is, then it will conflict.
The problem of conflicting occurred most of the time because of the examples we gave with (default) /live on root of the partition.
So we started to advice to create a unique folder name with live folder inside: /unique/live
But then it doesn't matter if you have changes=/unique/ or changes=/unique/live/
Fred


Sorry, Fred, my post above was an attempt at Friday evening humor. It failed miserably Embarassed I didn't mean to spark a rational, coherent discussion of the merits and faults of any save/changes system. For me, there is zero difference between having the changes put in the /live/ changes folder, or if I had created a savefolder instead. Pickles to cucumbers, as they say. I just happen to like doing it in the live/changes folder, that's all. Again, apologies.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 25 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 23, 24, 25, 26, 27, ..., 101, 102, 103 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.0830s ][ Queries: 13 (0.0214s) ][ GZIP on ]