Page 5 of 14

How to avoid savings to Usb Flash.

Posted: Thu 23 May 2013, 12:05
by backi
Hi !!

How to avoid savings to Usb Flash.

Found another solution for problem---installing pets, debs or downloads from PPmanager and--- „ not to save them to USB Flash on demand, without spoiling PPmanager „--- Works for Puppy Precise ,(,probably on Raring too .did not test yet )

1.Download somewhere the script „nosaveshutdown „ make it executable .

2. Goto Puppy Event Manager > Save Session > Save interval (0=never )
Save to flash....Restart

3.Install petget20120418.pet from
http://shino.pos.to/linux/puppy/

Save to flash ..restart
Now you can install pets debs or downloads from PPmanager without spoiling it..If you like to keep them
either use „save2flash „ during session without shutting down ,
or saving session at shutdown ..just shutdown as usual session will be saved.

In case you dont want to save Changes /session ...just execute the script above „nosaveshutdown“ . Nothing will be saved to Flash .This works for me onPrecise Puppy 5.6 . Probobly on UPUP RARING too (did not test it yet)

Install petget20120418.pet from
http://shino.pos.to/linux/puppy/

Re: Precise Puppy 5.6-FINAL

Posted: Thu 23 May 2013, 12:21
by OscarTalks
BarryK wrote:I have fixed xorgwizard so that it does offer the nvidia driver, however I do need to know one thing:

Could you please tell me, when the official nvidia installer offers to blacklist the nouveau kernel driver, and you accept, what is the name of the file it creates in /etc/modprobe.d, and what is it's exact content?
Hello BarryK,

The file is named nvidia-installer-disable-nouveau.conf

and just contains:-

Code: Select all

# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0

Posted: Thu 23 May 2013, 12:35
by 666philb
i made some pets of the amd graphic drivers for precise 5.6..... first one's for modern cards, second for older legacy cards. i can't test the legacy driver as i don't have the right card. let me know if it's ok

http://www.wuala.com/666philb/Documents ... .2.44.pet/ 55mb
MD5 88aaab74dd218a3a874cbd98f4b2de5f

http://www.wuala.com/666philb/Documents ... .2.44.pet/55mb
MD5 919fdf82fddc7b3e8412942c5c0bf1df

getnvidia-0.9.2

Posted: Thu 23 May 2013, 12:49
by shinobar
For the Nvidia driver for Precise Puppy 5.6, try getnvidia-0.9.2.
# 22may2013: fix NVIDIA-*.run check (thanks to peebee)
# 23may2012: fix disablenouveau (thanks to peebee)
http://www.murga-linux.com/puppy/viewtopic.php?t=72405

/usr/sbin/loginmanager

Posted: Thu 23 May 2013, 13:33
by L18L
robwoj44 has not been able to let fido change back to login as root, see http://murga-linux.com/puppy/viewtopic. ... 4&start=45

I have found that

Code: Select all

#  echo "$ADMINPASSWORD" | su root
does not work at all. fido stays fido.

So I tried our (good old :idea: ) sudo -A ${0} ${@} ...
... and it works.

Code: Select all

#!/bin/sh
#note, root2user called via shutdownconfig, changes root to fido.
#110507 TaZOC bug fix.
#120201 rodin.s: internationalized.
#120323 replace 'xmessage' with 'pupmessage'.
#120409 if using minit instead of busybox init.
#130523 L18L: HOMEUSER, sudo, without ADMINPASSWORD

export TEXTDOMAIN=loginmanager
export TEXTDOMAINDIR=/usr/share/locale
export OUTPUT_CHARSET=UTF-8

#HOMEUSER="`whoami`"
[ "`whoami`" != "root" ] && exec sudo -A ${0} ${@} #130523
HOMEUSER="`grep autologin /etc/inittab | cut -d ' ' -f3`" #130523
[ $HOMEUSER ] || HOMEUSER=$USER #130523

CHANGE2ROOT=""
if [ "$HOMEUSER" != "root" ];then # without ADMINPASSWORD
 CHANGE2ROOT="<text><label>$(gettext 'However, if you wish, you can change to the administrator (root) permanently on the next boot. Just tick this box and it will be so:')</label></text>
  <checkbox>
   <label>$(gettext 'Tick box to become administrator permanently')</label>
   <default>false</default>
   <variable>CHECKADMIN</variable>
  </checkbox>
 <text><label>$(gettext 'This will take affect after reboot.')</label></text>
 "

fi

export MAIN_DIALOG="
<window title=\"LoginManager\" icon-name=\"gtk-execute\">
 <vbox>
  <text use-markup=\"true\"><label>\"<b>$(gettext 'Currently you are logged in as') '${HOMEUSER}'</b>\"</label></text>
  
  ${CHANGE2ROOT}
  
  <hbox>
   <button ok></button>
   <button cancel></button>
  </hbox>
 </vbox>
</window>
"

RETSTRING="`gtkdialog3 --program=MAIN_DIALOG --center`"
[ $? -ne 0 ] && exit

#echo "$RETSTRING"
eval "$RETSTRING"
[ "$EXIT" != "OK" ] && exit

#if [ "$CHANGE2ROOT" != "" ];then
 if [ "$CHECKADMIN" = "true" ];then
  # echo "$ADMINPASSWORD" | su root #130523
  #if [ $? -ne 0 ];then
  # pupmessage -bg red -title "$(gettext 'LoginManager: error')" -center "$(gettext 'Sorry, admin password is wrong')"
  # exit
  #fi #130523
  rootEXPR="s%^tty1.*%tty1::respawn:/sbin/mingetty --autologin root tty1%"
  sed -i -e "$rootEXPR" /etc/inittab #110507 TaZOC bug fix.
  
  #120409 if using minit instead of busybox init...
  if [ -f /etc/minit/getty/1/params  ];then #see my minit pet pkg.
   EXPR2='s%^fido$%root%'
   sed -i -e "$EXPR2" /etc/minit/getty/1/params
  fi
  pupmessage -bg green -center -title "$(gettext 'Login Manager: OK')" "$(gettext 'Ok, you will be administrator at next boot')"
 fi
#fi

Re: Precise Puppy 5.6-FINAL

Posted: Thu 23 May 2013, 14:12
by BarryK
OscarTalks wrote:
BarryK wrote:I have fixed xorgwizard so that it does offer the nvidia driver, however I do need to know one thing:

Could you please tell me, when the official nvidia installer offers to blacklist the nouveau kernel driver, and you accept, what is the name of the file it creates in /etc/modprobe.d, and what is it's exact content?
Hello BarryK,

The file is named nvidia-installer-disable-nouveau.conf

and just contains:-

Code: Select all

# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0
Thanks for that. I think now the xorgwizard is friendly toward the NVIDIA driver when it is installed, see my blog post:

http://bkhome.org/blog2/?viewDetailed=00256

Posted: Thu 23 May 2013, 16:25
by peebee
In parallel with BK's changes for nvidia described here, Shinobar has released getnvidia 0.9.2 which creates an sfs which loads successfully onto the current Precise 5.6 and after a reboot the nvidia driver is being used and also is displayed as an option by xorgwizard.

Hopefully the changes made by BK and Shinobar will prove to be complementary....

Cheers
peebee

Posted: Thu 23 May 2013, 16:34
by nooby
I guess I can read more about this on Barry's log or the announcement part of the forum?

"including a new X.Org video wizard (with forced-reboot recovery mechanism),"

obviously I have not payed attention.

has there been changes since 5.5.94 or are these twins
only that it became the official

Precise Puppy 5.6-final, May 21, 2013

Posted: Thu 23 May 2013, 18:40
by Billtoo
Manual frugal install to a 16gb SDHC card which is plugged into a usb
card reader, running on a Compaq desktop pc.

video-info-glx 1.5.3 Thu 23 May 2013 on Precise Puppy 5.6 Linux 3.2.44 i686
0.0 VGA compatible controller: NVIDIA Corporation GF108
[GeForce GT 430] (rev a1)
oem: NVIDIA
product: GF108 Board - 1071v1p1 Chip Rev
X Server: Xorg Driver: nvidia
X.Org version: 1.11.3
dimensions: 1280x1024 pixels (382x302 millimeters)
depth of root window: 24 planes
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 430/PCIe/SSE2
OpenGL version string: 4.3.0 NVIDIA 319.23
# glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.396 FPS
301 frames in 5.0 seconds = 60.020 FPS
301 frames in 5.0 seconds = 60.020 FPS
#
Pentium(R) Dual-Core CPU E5200 @ 2.50GHz
Core 0: @1200 1: @1200 MHz
Compact Wireless-G USB Adapter
I installed the proprietary Nvidia driver for my graphics card.
Installed lots of applications with ppm.
Precise 5.6 is working well, no problems.

Posted: Thu 23 May 2013, 23:05
by lvds
Hi Barry,

I've tested the new xorg crash recovery mechanism (as explained here)
The Woof-level notes above state that this pup has a new Xorg Video Wizard and a "recovery mechanism". if you bootup and do not get a graphical desktop, and the keyboard/mouse have hung, which can happen with some troublesome old video hardware, press the 'reset' button on the PC or hold down the 'power' button for 4 seconds to force a shutdown -- at next startup the "recovery mechanism" kicks in, forcing the Xorg Video Wizard to run. Then, you can try an alternate Xorg driver.
As this is a new feature, I welcome feedback, especially tweaks for the /usr/sbin/xorgwizard-cli script, if you know Bash coding!
...tested on my Asus 1225c which is equiped with Atom cedar trails. And it does not work for me. At first pass: black screen. Reboot. Second pass: black screen.

So far, the only puppies that could boot were Racy v5.5 and upup-precise 3.8.3. These two boots into 1024x768. Then when running xorg video wizard manually and ask for a probe, will allow the 1366x768 ; Important to note: the screen in text mode to chose between probe, test... is too big and goes out of the screen ! So you need to type in blind (enter the first time, because hopefully this is the default, then enter again when the screen resolution is selected) because you don't see the buttons. It seems the issue is common and most people when having video problems get down to 1024x768 so maybe it would be good to adapt the message for that size so anyone can see the buttons to press.

Best regards
Laurent

difficulties

Posted: Thu 23 May 2013, 23:45
by n1mnal
Machine: Dell D410 Laptop

Machine already has Lucid 511 and Lucid 528.004 installed, no problems.
Downloaded the Precise 5.6 iso using Lucid 528.4, md5sum was ok.
Mounted the iso, copied its contents to a toplevel dir on /mnt/home (sda1),
edited /boot/grub/menu.lst to add new entries. Rebooted into Precise 5.6.

The reboot chooses the intel video driver, and finds the desktop icons ok
(but see below); I set the timezone, choose an unencrypted ext3
savefile and try to shutdown; the shutdown script prints only 1 line (something like "Precise is shutting down") then hangs without shutting down (fan still full on 5min later). Hit power button, reboot.

This time no icons found, text message "can't find file ..." appears then
disappears before it can be fully read, desktop screen has only triangles.
Try to shutdown, same problem as before. (Early puppy 4.x and 5.x
would also give incomplete shutdown progress messages on this machine,
but problem was cured before 5.11, perhaps about when ext3 savefiles
were introduced.)

All the above was done in a location lacking network access, which is normally not a problem. Came to this forum for clues, no luck.

Re: Precise Puppy 5.6-FINAL

Posted: Fri 24 May 2013, 00:06
by elch
Hello BarryK,
I've tested the latest /usr/sbin/xorgwizard-cli.
I could switch from the Nouveau driver to the nvidia-glx-319.17-k3.2.44.sfs.
:D This is OK!!

The netbook is an asus-eee 1201n / nvidia-ion

Thanks for all puppy!

Re: difficulties

Posted: Fri 24 May 2013, 02:46
by rjbrewer
[quote="n1mnal"]Machine: Dell D410 Laptop


I have a full install of 5.6 on my Inspiron 700M.
Had same reboot-shutdown problem.
Added "pfix=acpi force" (no quotes) to kernel line in grub menu.lst.
Fixed the problem.
Edit:
Maybe it was just acpi=force.
Removed it after the reboot was working and it's still good.

I wanted 1024x768 res. instead of the native 1280x800.
Used xorgwizard to choose Vesa instead of Intel driver.
It actually outperforms the (accelerated?) Intel driver now.

Re: difficulties

Posted: Fri 24 May 2013, 11:56
by BarryK
n1mnal wrote:Machine: Dell D410 Laptop

Machine already has Lucid 511 and Lucid 528.004 installed, no problems.
Downloaded the Precise 5.6 iso using Lucid 528.4, md5sum was ok.
Mounted the iso, copied its contents to a toplevel dir on /mnt/home (sda1),
edited /boot/grub/menu.lst to add new entries. Rebooted into Precise 5.6.

The reboot chooses the intel video driver, and finds the desktop icons ok
(but see below); I set the timezone, choose an unencrypted ext3
savefile and try to shutdown; the shutdown script prints only 1 line (something like "Precise is shutting down") then hangs without shutting down (fan still full on 5min later). Hit power button, reboot.

This time no icons found, text message "can't find file ..." appears then
disappears before it can be fully read, desktop screen has only triangles.
Try to shutdown, same problem as before. (Early puppy 4.x and 5.x
would also give incomplete shutdown progress messages on this machine,
but problem was cured before 5.11, perhaps about when ext3 savefiles
were introduced.)

All the above was done in a location lacking network access, which is normally not a problem. Came to this forum for clues, no luck.
I can't do much about this kind of problem, unless I can reproduce it on my hardware. Sometimes, I can ask questions, until finally may be able to narrow it down.

One question, does the problem occur if you choose ext2 for the save-file?

Personally, I always use ext2, so if any problems come up with ext3 or ext4 I rely on others to discover them. I don't really see how that can be the cause of your problem, though.

I am planning to test Precise on more hardware. I have a few more PCs in storage in my garage, I will set them up, maybe tomorrow.

Posted: Fri 24 May 2013, 12:01
by BarryK
lvds wrote:Hi Barry,

I've tested the new xorg crash recovery mechanism (as explained here)
The Woof-level notes above state that this pup has a new Xorg Video Wizard and a "recovery mechanism". if you bootup and do not get a graphical desktop, and the keyboard/mouse have hung, which can happen with some troublesome old video hardware, press the 'reset' button on the PC or hold down the 'power' button for 4 seconds to force a shutdown -- at next startup the "recovery mechanism" kicks in, forcing the Xorg Video Wizard to run. Then, you can try an alternate Xorg driver.
As this is a new feature, I welcome feedback, especially tweaks for the /usr/sbin/xorgwizard-cli script, if you know Bash coding!
...tested on my Asus 1225c which is equiped with Atom cedar trails. And it does not work for me. At first pass: black screen. Reboot. Second pass: black screen.

So far, the only puppies that could boot were Racy v5.5 and upup-precise 3.8.3. These two boots into 1024x768. Then when running xorg video wizard manually and ask for a probe, will allow the 1366x768 ; Important to note: the screen in text mode to chose between probe, test... is too big and goes out of the screen ! So you need to type in blind (enter the first time, because hopefully this is the default, then enter again when the screen resolution is selected) because you don't see the buttons. It seems the issue is common and most people when having video problems get down to 1024x768 so maybe it would be good to adapt the message for that size so anyone can see the buttons to press.

Best regards
Laurent
Does the black screen occur after the boot-up? That is, do you get all the startup messages, then finally it starts up Xorg and the graphical desktop -- but not in your case, but if you do get the messages right up to that point, then it does mean that Xorg is trying to start.

If you get the black screen earlier, then it would seem that you have an incompatibility with the Linux kernel.

Re: Precise Puppy 5.6-final, May 21, 2013

Posted: Fri 24 May 2013, 12:05
by BarryK
Billtoo wrote:Installed lots of applications with ppm.
Precise 5.6 is working well, no problems.
I installed Scribus yesterday, which is a Qt4 desktop publishing application. It is so nice as Qt-based apps now come up with the same theme as GTK apps, makes them look so much better.

Posted: Fri 24 May 2013, 12:14
by BarryK
peebee wrote:In parallel with BK's changes for nvidia described here, Shinobar has released getnvidia 0.9.2 which creates an sfs which loads successfully onto the current Precise 5.6 and after a reboot the nvidia driver is being used and also is displayed as an option by xorgwizard.

Hopefully the changes made by BK and Shinobar will prove to be complementary....

Cheers
peebee
Probably there is no clash.

But, not having looked at what shinobar has done, I cannot be certain.

The latest xorgwizard will work with the official NVIDIA installer, regardless of whether the installation chooses to blacklist the 'nouveau' kernel module or not.
Also, the wizard will now work with NVIDIA PETs that don't do anything to blacklist the nouveau module.

...the above is referring to the very latest xorgwizard-cli script that I have posted about above.

Posted: Fri 24 May 2013, 12:44
by PaulR
Further to my earlier post I've put 5.6 on a CD instead of a USB stick but the problem remains (although I can now opt to save to the HD):

Everything works fine but it hangs after X has closed and the saving message is on screen. I've rebooted and tried it with acpi off but no joy. A save file is created but it obviously doesn't get finished properly.

This is on a non-PAE Thinkpad T42 that runs all other versions of Puppy that I've tried to date, right up to the latest Slacko.

Paul

Posted: Fri 24 May 2013, 13:58
by lvds
BarryK wrote:
lvds wrote:Hi Barry,

I've tested the new xorg crash recovery mechanism (as explained here)
The Woof-level notes above state that this pup has a new Xorg Video Wizard and a "recovery mechanism". if you bootup and do not get a graphical desktop, and the keyboard/mouse have hung, which can happen with some troublesome old video hardware, press the 'reset' button on the PC or hold down the 'power' button for 4 seconds to force a shutdown -- at next startup the "recovery mechanism" kicks in, forcing the Xorg Video Wizard to run. Then, you can try an alternate Xorg driver.
As this is a new feature, I welcome feedback, especially tweaks for the /usr/sbin/xorgwizard-cli script, if you know Bash coding!
...tested on my Asus 1225c which is equiped with Atom cedar trails. And it does not work for me. At first pass: black screen. Reboot. Second pass: black screen.

So far, the only puppies that could boot were Racy v5.5 and upup-precise 3.8.3. These two boots into 1024x768. Then when running xorg video wizard manually and ask for a probe, will allow the 1366x768 ; Important to note: the screen in text mode to chose between probe, test... is too big and goes out of the screen ! So you need to type in blind (enter the first time, because hopefully this is the default, then enter again when the screen resolution is selected) because you don't see the buttons. It seems the issue is common and most people when having video problems get down to 1024x768 so maybe it would be good to adapt the message for that size so anyone can see the buttons to press.

Best regards
Laurent
Does the black screen occur after the boot-up? That is, do you get all the startup messages, then finally it starts up Xorg and the graphical desktop -- but not in your case, but if you do get the messages right up to that point, then it does mean that Xorg is trying to start.

If you get the black screen earlier, then it would seem that you have an incompatibility with the Linux kernel.
Yes, I get the black screen AFTER the boot-up.

I'm mirroring Precise too...

Posted: Fri 24 May 2013, 14:31
by dennis-slacko531
If anyone wants to get the ISO from my Godaddy server, it's pretty fast.

http://www.beok.com/lnux

NICE JOB BARRY -- thanks man
devx_precise_5.6.sfs also ready

fyi, LNUX.COM also has the download & video!