StretchDog
64bit kernel
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------>
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]
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]
kernel
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
>>>---Indian------>
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
>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]
Thanks for your help fred.fredx181 wrote:*** Updated "upgrade-kernel" ***
Another thing you can try is to boot with "live-boot", maybe that works.
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
That would be for live-boot (needs to have initrd.img in your live folder):trister wrote:I tried to boot with live-boot but I wasn't able. Don't know what to change this porteus boot option:
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
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)fredx181 wrote:That would be for live-boot (needs to have initrd.img in your live folder):trister wrote:I tried to boot with live-boot but I wasn't able. Don't know what to change this porteus boot option:This is without persistence.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
Needs some more for that, but let's first see if it makes a difference for you.
Fred
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).
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
Hi trister - I think this might be what you're looking for? ;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).
http://www.murga-linux.com/puppy/viewto ... 087#994087
Bob
Thanks both for the quick reply.
Made it a squashfs with 30seconds delay
Made it a squashfs with 30seconds delay
- Attachments
-
- z_EXIT_no_save_on_poweroff.squashfs_REMOVE_GIF_EXT.gif
- (4 KiB) Downloaded 191 times
-
- Posts: 152
- Joined: Tue 06 Oct 2015, 14:10
- Location: on the inter-planet train
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.
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.
-
- Posts: 152
- Joined: Tue 06 Oct 2015, 14:10
- Location: on the inter-planet train
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.
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
(but I didn't test with virtualbox)
@quirkian2new
(but need to boot with copy2ram to make this work)
Fred
Adding parameter fsck to the kernel boot command line will check all partitions.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.
(but I didn't test with virtualbox)
@quirkian2new
Yes, boot partition is always mounted at start, but to unmount you can add a simple scriptt to /root/Startupi add noauto to the kernel boot command line, but my sda2 is still automatically mounted under /mnt/sda2
Code: Select all
#!/bin/sh
hdrv=$(cat /mnt/live/etc/homedrv | cut -d'/' -f3)
umount /dev/$hdrv
Fred
Replying to questions from here:
http://murga-linux.com/puppy/viewtopic. ... 02#1009302
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.
For the other problems you have, please provide more details.
Fred
http://murga-linux.com/puppy/viewtopic. ... 02#1009302
Hello Rafael,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
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.
In the Preferences of Thunar and in Desktop settings (right-click on Desktop)How can I chanbge from single click to double click in XFCE
For the other problems you have, please provide more details.
Fred
I'm returning to that question. I did make a squashfs with the script you pointed out to me but I noticed something yesterday: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).
While the posted script does sets as default the "Do Not Save" graphical enviroment (window popup) , it does not seem to change the text based question for saving (the one that it shown outside the windows manager.
Is there another location for the save-on-exit poweroff script? (when outside window managers)
Hi trister, the script for to Save or NoSave from console is: /usr/local/bin/snaptrister wrote:I'm returning to that question. I did make a squashfs with the script you pointed out to me but I noticed something yesterday: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).
While the posted script does sets as default the "Do Not Save" graphical enviroment (window popup) , it does not seem to change the text based question for saving (the one that it shown outside the windows manager.
Is there another location for the save-on-exit poweroff script? (when outside window managers)
Attached modified version that wil not save after waiting 10 seconds.
The part for "dialog" changed to make it work that way is:
Code: Select all
dialog --timeout 10 --yes-label "SAVE" --no-label "NO SAVE" --yesno "Press ENTER key within 10 seconds to save the session...
Or, press TAB then ENTER to not save session...
After waiting 10 seconds the session will not be saved..." 0 0 >/dev/console
ret=$?
[ $ret -ne 0 ] || SAVE="yes"
if [ "$SAVE" != "" ];then
echo
echo "[1;32m""Saving session...""[0m"
/usr/bin/snapmergepuppy 2> /dev/null
else
echo
echo "[1;31m""Session not saved""[0m"
fi
EDIT: Above code is not how it is in reality, see:
http://murga-linux.com/puppy/viewtopic. ... 70#1010170
Fred
- Attachments
-
- snap-nosave.tar.gz
- Extract and copy 'snap' (and replace) to /usr/local/bin/
- (996 Bytes) Downloaded 258 times
Last edited by fredx181 on Thu 15 Nov 2018, 08:55, edited 1 time in total.
ANSI esc code didn't quote very well in the previous posting.
\003 (at least for me) .... test post ....
Seems to work for me (cut code, open xterm, middle mouse click to paste and press enter and I see red and green alternations of "Session not saved"
A nice feature of (real) xterm is its better true-colour support.
whereas I believe urxvt isn't supportive
\003 (at least for me) .... test post ....
Code: Select all
while :
do
printf '\033[s'
printf '\033[1;31mSession not saved\033[0m'
sleep 1
printf '\033[u'
printf '\033[s'
printf '\033[1;32mSession not saved\033[0m'
printf '\033[u'
sleep 1
done
A nice feature of (real) xterm is its better true-colour support.
Code: Select all
awk 'BEGIN{
s="/\\/\\/\\/\\/\\"; s=s s s s s s s s;
for (colnum = 0; colnum<77; colnum++) {
r = 255-(colnum*255/76);
g = (colnum*510/76);
b = (colnum*255/76);
if (g>255) g = 510-g;
printf "\033[48;2;%d;%d;%dm", r,g,b;
printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b;
printf "%s\033[0m", substr(s,colnum+1,1);
}
printf "\n";
}'
- Attachments
-
- s.jpg
- (7.98 KiB) Downloaded 749 times
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
I can report that adding this option fixed my problemfredx181 wrote:@s243aAdding parameter fsck to the kernel boot command line will check all partitions.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.
(but I didn't test with virtualbox)
rufwoof wrote:ANSI esc code didn't quote very well in the previous posting.
...
Yes, it's because the forum doesn't show the special character with copy/paste.
In reality it looks as in screenshot below.
Can be this also, modified echo lines (note that "dialog" display works only from console (>/dev/console)):
Code: Select all
dialog --timeout 10 --yes-label "SAVE" --no-label "NO SAVE" --yesno "Press ENTER key within 10 seconds to save the session...
Or, press TAB then ENTER to not save session...
After waiting 10 seconds the session will not be saved..." 0 0 >/dev/console
ret=$?
[ $ret -ne 0 ] || SAVE="yes"
if [ "$SAVE" != "" ];then
echo
echo -e "\e[0;32mSaving session...\033[0m"
/usr/bin/snapmergepuppy 2> /dev/null
else
echo
echo -e "\e[0;31mSession not saved\033[0m"
fi
- Attachments
-
- 2018-11-15-092922_964x213_scrot_764x169.png
- (76.12 KiB) Downloaded 725 times