StretchDog

A home for all kinds of Puppy related projects
Post Reply
Message
Author
trister
Posts: 137
Joined: Sun 01 Mar 2015, 21:16

#136 Post by trister »

In a very old laptop (clevo D400s ,sis650 graphics integrated graphics card and year about 2004) I boot with a clean Jessie Dog 32 without any problems.

Both Stretch Dog 32 (from this topic) & a stretch dog 32( made with the debootstrap script) reach the time that startx is starting and then the laptop seems to go to sleep mode (powerlight blinking everything else powers down).

I suspect that it might be driver/firmware issue. Is there a way to get the same firmwares/drivers that are used in JessieDog32 to the Stretch 32 linuxes? How could I do that? I even tried nomodeset parameter but did not work.

Do you have any other idea?

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#137 Post by fredx181 »

Hi trister, maybe try to boot with the Jessie kernel (3.16)
Here's a "package" 32-bit (has newest Jessie kernel version included as squashfs)
https://fredx181.github.io/StretchDog/N ... pae.tar.gz
From extracted folder "k-3.16.0-4-pae", copy the files to the Stretch "live" folder, the initrd1.xz and vmlinuz1 need to be replaced (better first make backup of originals, or rename)

I tested this on Stretch and works fine, btw, boots faster than the Stretch kernel for me.

Fred

trister
Posts: 137
Joined: Sun 01 Mar 2015, 21:16

#138 Post by trister »

fredx181 wrote:Hi trister, maybe try to boot with the Jessie kernel (3.16)
Here's a "package" 32-bit (has newest Jessie kernel version included as squashfs)
https://fredx181.github.io/StretchDog/N ... pae.tar.gz

Fred
Thanks fred.
I tried it but I got the same result. Laptop seems to goto sleep mode instead of starting desktop.

I think I'll just check which stretchdog32 squashfs run in this older laptop.Maybe I'll be lucky and will all run...

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#139 Post by fredx181 »

*** Updated "upgrade-kernel" ***

Made some changes, takes less time, it has also dependency "elinks" now, this for to check at https://fredx181.github.io/StretchDog/ for latest aufs and squashfs kernel modules I compiled, currently:
https://fredx181.github.io/StretchDog/a ... s-k4.9.0-8
Install :

Code: Select all

apt-get update
apt-get install upgrade-kernel
Also made slightly different script upgrade-kernel2, request from trister, see here:
http://murga-linux.com/puppy/viewtopic. ... 97#1007597
With that one the kernel install is not being part of the filesystem or changes (installs in chroot)
Just needs manual copying the created files to the "live" frugal install folder.
Perhaps this is better way to upgrade the kernel, any opinions ?

@trister
I tried it but I got the same result. Laptop seems to goto sleep mode instead of starting desktop.
Another thing you can try is to boot with "live-boot", maybe that works.

Fred

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#140 Post by dancytron »

fredx181 wrote:*** Updated "upgrade-kernel" ***

Made some changes, takes less time, it has also dependency "elinks" now, this for to check at https://fredx181.github.io/StretchDog/ for latest aufs and squashfs kernel modules I compiled, currently:
https://fredx181.github.io/StretchDog/a ... s-k4.9.0-8
Install :

Code: Select all

apt-get update
apt-get install upgrade-kernel
/snip

Fred
Ran new upgrade-kernel and then remastered. All ran as expected.
root@ChromeDog64:~# uname -a
Linux ChromeDog64 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

64bit kernel

#141 Post by sszindian »

After I do an-

apt-get update
apt-get install upgrade-kernel

I get-

root@live:~# uname -a
Linux live 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux
root@live:~#

Am I using your latest 64bit kernel (in the 4.9.* series) or am I missing something here?

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#142 Post by fredx181 »

sszindian wrote:After I do an-

apt-get update
apt-get install upgrade-kernel

I get-
....
....
Did you run it after install ?
From Menu > System > Upgrade-kernel (frugal install only)
Then after reboot with changes saved you should see kernel 4.9.0-8 when running uname -a:


Fred

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

kernel

#143 Post by sszindian »

Thanks fred!

Now I Get-

root@live:~# uname -a
Linux live 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux
root@live:~#

All seems well now :D

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

trister
Posts: 137
Joined: Sun 01 Mar 2015, 21:16

#144 Post by trister »

fredx181 wrote:*** Updated "upgrade-kernel" ***

Another thing you can try is to boot with "live-boot", maybe that works.

Fred
Thanks for your help fred.

I tried to boot with live-boot but I wasn't able. Don't know what to change this porteus boot option:

title porteus dogstretch_deblive32/ RAM
find --set-root --ignore-floppies /dogstretch_deblive32/live/initrd1.xz
kernel /dogstretch_deblive32/live/vmlinuz1 from=/dogstretch_deblive32
initrd /dogstretch_deblive32/live/initrd1.xz

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#145 Post by fredx181 »

trister wrote:I tried to boot with live-boot but I wasn't able. Don't know what to change this porteus boot option:
That would be for live-boot (needs to have initrd.img in your live folder):

Code: Select all

title dogstretch_deblive32/ live-boot
find --set-root --ignore-floppies /dogstretch_deblive32/live/initrd.img
kernel /dogstretch_deblive32/live/vmlinuz1 boot=live live-media-path=/dogstretch_deblive32/live union=aufs
initrd /dogstretch_deblive32/live/initrd.img
This is without persistence.
Needs some more for that, but let's first see if it makes a difference for you.

Fred

trister
Posts: 137
Joined: Sun 01 Mar 2015, 21:16

#146 Post by trister »

fredx181 wrote:
trister wrote:I tried to boot with live-boot but I wasn't able. Don't know what to change this porteus boot option:
That would be for live-boot (needs to have initrd.img in your live folder):

Code: Select all

title dogstretch_deblive32/ live-boot
find --set-root --ignore-floppies /dogstretch_deblive32/live/initrd.img
kernel /dogstretch_deblive32/live/vmlinuz1 boot=live live-media-path=/dogstretch_deblive32/live union=aufs
initrd /dogstretch_deblive32/live/initrd.img
This is without persistence.
Needs some more for that, but let's first see if it makes a difference for you.

Fred
Tried it but it stop at a promptsaying (initramfs) : (if i remember it correctly)

Thanks again fred.

Also, another irrelevant question.
Is it possible in the EXIT: boot option to disable the save session message when shutting down (or at least make default the Do Not Save option) ?
I want to save the session only when I want (eg with save2flash).

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#147 Post by fredx181 »

trister wrote:Is it possible in the EXIT: boot option to disable the save session message when shutting down (or at least make default the Do Not Save option) ?


Yes, Bob asked about that a while back (NoSave as default), needs some script editing, see here:
http://murga-linux.com/puppy/viewtopic. ... 087#994087

Fred

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#148 Post by Moat »

trister wrote:Is it possible in the EXIT: boot option to disable the save session message when shutting down (or at least make default the Do Not Save option) ?
I want to save the session only when I want (eg with save2flash).
Hi trister - I think this might be what you're looking for? ;

http://www.murga-linux.com/puppy/viewto ... 087#994087

Bob

trister
Posts: 137
Joined: Sun 01 Mar 2015, 21:16

#149 Post by trister »

Thanks both for the quick reply. :)

Made it a squashfs with 30seconds delay
Attachments
z_EXIT_no_save_on_poweroff.squashfs_REMOVE_GIF_EXT.gif
(4 KiB) Downloaded 191 times

quirkian2new
Posts: 152
Joined: Tue 06 Oct 2015, 14:10
Location: on the inter-planet train

#150 Post by quirkian2new »

Downloaded and had a try the "DevuanLive_ascii_jwm-amd64.iso", copied the live folder to my hda2 and boot with copy2ram option

Running smooth and stable. But found that hda1 and hda2 were automatically mounted at bootup ? is there any boot parameter that prevents such automatical mounting of hda1 and hda2 ?

Fatdog64, when running in ram, do not mount harddisk until desktop icon clicked by user.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#151 Post by fredx181 »

quirkian2new wrote:But found that hda1 and hda2 were automatically mounted at bootup ? is there any boot parameter that prevents such automatical mounting of hda1 and hda2 ?


Yes, add noauto to the kernel boot command line.

Fred

quirkian2new
Posts: 152
Joined: Tue 06 Oct 2015, 14:10
Location: on the inter-planet train

#152 Post by quirkian2new »

Thanks Fred,

i add noauto to the kernel boot command line, but my sda2 is still automatically mounted under /mnt/sda2

sda2 is the partition where i placed the live folder. is it possible none of my harddisk partition mounted while all running in ram. My experience with Fatdog64 (huge initrd) is that none of my harddisk partition mounted automatically.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#153 Post by s243a »

I'm getting a lot of "structure needs cleaning" errors. How do I fix them. I'm running stetchdog in a virtualbox. It was working well for quite a while but I don't see an option to do e2fsk in the boot menu.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#154 Post by fredx181 »

@s243a
I'm getting a lot of "structure needs cleaning" errors. How do I fix them. I'm running stetchdog in a virtualbox. It was working well for quite a while but I don't see an option to do e2fsk in the boot menu.
Adding parameter fsck to the kernel boot command line will check all partitions.
(but I didn't test with virtualbox)

@quirkian2new
i add noauto to the kernel boot command line, but my sda2 is still automatically mounted under /mnt/sda2
Yes, boot partition is always mounted at start, but to unmount you can add a simple scriptt to /root/Startup

Code: Select all

#!/bin/sh

hdrv=$(cat /mnt/live/etc/homedrv | cut -d'/' -f3)
umount /dev/$hdrv
(but need to boot with copy2ram to make this work)

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#155 Post by fredx181 »

Replying to questions from here:
http://murga-linux.com/puppy/viewtopic. ... 02#1009302
Porteus Modules: How can load then at startup, how can I extract them to convert them to SFS

How can I chanbge from single click to double click in XFCE.

I use Pocket with Firefox but it seems to be broken.

I had a question about printing but I solved that.
My Network connection keeps dropping and I dont know where to fixit.

My wireless connection only recognizes my wireless printer but not the wifi.

I am completely new to both Debian and Puppy, I have everythin in Porteus.

Thanks in advance

Rafael Alcocer
Hello Rafael,

First, there maybe some confusion.
StretchDog is using method for booting borrowed from Porteus (with some cheatcodes working, not all).
For the rest it has nothing to do with Porteus.
So forget about loading .xzm modules.
How can I chanbge from single click to double click in XFCE
In the Preferences of Thunar and in Desktop settings (right-click on Desktop)

For the other problems you have, please provide more details.

Fred

Post Reply