Test iso 11th Oct

Discuss anything specific to using Puppy on a multi-session disk
Post Reply
Message
Author
Guest

Test iso 11th Oct

#1 Post by Guest »

BarryK posting, not logged in.

Okay, many improvements:
http://puppy.wise-guy.us/

G2, note, I restored "-newer" to "-cnewer"
...I recall now, I've been through that before.
If you make a copy of a file, its modify date will be too old and
it won't get saved.
The problem of too many files getting saved each session is fixable
-- it's more of a timezone issue (again).
Set the timezone, bootup again next day, it should be right.
...there is still a small problem there, that I will look at tinight.

For newcomers, you need a DVD burner drive to test this.
PC with 256M RAM.

I have used a DVD-R.
Need to test with DVD-RW, prior full blank and also with
prior fast-blank (yes, there is a difference) using the dvd+rw-format
utility.

Guest

Why DVD+R(W) is superior to DVD-R(W)

#2 Post by Guest »

Here's an article from 2003 that describes in detail why DVD+R/RW is technically superior to DVD-R/RW

Guest aka Ted Dog

tricks for the new iso

#3 Post by Guest aka Ted Dog »

Now, local0 is editable and will get saved back. So add these line to the very end, just before the end of the file /etc/rc.d/rc.local0 Beginning and end lines are reference points in this code slice.

Code: Select all

. /etc/rc.d/rc.local
cp -f /etc/rc.d/rc.reboot-cd /tmp/rc.reboot
sleep 2
date +%s > /root/.etc/.rubberstamp #number seconds since 1970.
exit
###END###
This will clean up the timestamp issue and allow rc.reboot-cd to be editable as well.

Save some plastic, burn less discs! :P

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

who was that guest imposter!!! CODE UPDATE

#4 Post by Ted Dog »

Code: Select all

. /etc/rc.d/rc.local
cp -f /etc/rc.d/rc.reboot-cd /tmp/rc.reboot 
sleep 2
date +%s > /root/.etc/.sessiontimestamp #number seconds since 1970.
exit
###END###
THIS IS THE CORRECTED CODE FRAG. :oops:

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: who was that guest imposter!!! CODE UPDATE

#5 Post by BarryK »

Code: Select all

. /etc/rc.d/rc.local
cp -f /etc/rc.d/rc.reboot-cd /tmp/rc.reboot 
sleep 2
date +%s > /root/.etc/.sessiontimestamp #number seconds since 1970.
exit
###END###
Ted Dog,
That write to .sessiontimestamp is currently earlier in the rc.local0 script,
just after executing "hwclock" program.
-- do you think that is too soon in the boot process?

Regarding rc.reboot-cd being editable, we also need to think about
version upgrades. When boot a new version, want rc.reboot-cd to be
over-written from the live-cd. ...right now my brain is not up to it.
...will think about it again later...

Note, I've done a lot of work on rc.reboot-cd, will upload another iso
soon.

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

moving timestamp to end of file

#6 Post by Ted Dog »

I almost have delete working (in my version) the save size is as low as 0K with just .events being saved back. The internet dhcp settings are stored back with earlier setting of timestamp. A much eariler version caused a router lockup when I booted CD on different box on the same router at the same time. Also moving the setting of DMA on for DVD earilier (in init-cd) after mount of /.user_cram and before all the copying to /livecd will speed up boot process. Even without DMA set, the whole boot process seems to move faster than CD.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#7 Post by GuestToo »

maybe an rc.reboot.local hook in the rc.reboot files might be useful, for users to use, something like:
[ -r /etc/rc.d/rc.reboot.local ] && . /etc/rc.d/rc.reboot.local

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#8 Post by BarryK »

G2,
Yes, that looks like a good idea.

Ted Dog,
Yes, there's more than one way to skin a cat.
I have retained support for CDs in the scripts, which is making them
more messy.

One thing I discovered last night:
In rc.reboot-cd, if DVD is full, I have code to write a closing session,
like this "growisofs -dvd-compat -M ...etc..." but that does not work.
The "-dvd-compat" option only writes a closed session if it is the first
track written to the DVD, in other words "growisofs -dvd-compat -Z ...".

After using "-M" to write sessions, the only way to close the DVD is to
fill the rest of it with zeroes:
growisofs -M /dev/hdc=/dev/zero
...this info comes from a mail list, from the author of growisofs himself.

When it is closed, dvd+rw-mediainfo returns "Disc status: complete".

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#9 Post by BarryK »

Does anyone have a PC with only a NTFS partition, nothing else, not even
a Linux swap or fat partition?

Test the multisession DVD on it, find out if XP will work afterwards!

XP has c:\pagefile.sys and multisession-Puppy will use that as a swap file.
I need confirmation that yes, Puppy is using it, and afterward XP can
recover a "corrupted" pagefile.sys file.

G2 did some experiments on this, reported on the old forum, and it seemed
okay, but I'm nervous about this as it is rather invasive. Need more
feedback that it works okay.

The new multisession DVD Puppy will only use a C:\swapfile.sys if it cannot
find a Linux swap partition, and if there is no C: fat partition.
If there is a fat partition, Puppy will create C:\pupx.swp.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#10 Post by GuestToo »

it might be safer to ask the user for permission

i think a dynamic Windows swap file is fairly safe to use ... you can format and use it as a linux swap file, or delete it altogether (not from Puppy if it's on an ntfs, of course), and it seems to be ok ... the swap file can be setup as a static fixed size swap file, which might not be safe to use (or it might be safe)

what would probably not be safe is using the hibernate file on a laptop that has shut down in hibernate mode ... and probably it would not be safe to use the swap file either, if it shut down in hibernate mode

i tried using a dynamic (size of the swap file automatically set by the OS) pagefile.sys on a vfat partition (i have XP installed on a vfat partition), on a desktop with suspend and hibernate disabled, and had no problems at all

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#11 Post by Flash »

Sorry, not me. I have W2K formatted with NTFS, but also Linux, on the hard drive.

I may have found a bug in 11 Oct 05 multisession DVD. I never noticed it before now. My mouse acceleration settings don't seem to be saved when I shutdown. When I set my mouse acceleration in Start-> Control Panel-> JWM Configuration-> X Settings, then OK, then ctrl+alt+backspace, then xwin to restart the window manager, the mouse works like I want it to. Stuff is saved to the DVD when I shutdown, but, when I restart, the mouse is back to the original setting.

FWIW, today I talked to a guy who runs a community computer access room. I haven't used it, but I gather it's sort of like a free, or low price, internet cafe, with the computers supplied. Anyway, when I described Multisession Puppy DVD to him his eyes lit up. He said he knows someone who runs a community computer access room in Mexico who, instead of cleaning up the hard drives every night, could maybe trade those hard drives for DVD burners and give each customer a DVD with multisession Puppy on it.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#12 Post by BarryK »

I've done some major work on the bootup and shutdown scripts, the
ms-dvd is now running very nicely.

Fundamental problems with too many files getting saved, some files not
getting saved when they should, now all seems to be fixed.

There will be a new iso to test, but not for about 24 hours from now,
as I need to get to my friend's place who has adsl.
I may have found a bug in 11 Oct 05 multisession DVD. I never noticed it before now. My mouse acceleration settings don't seem to be saved when I shutdown. When I set my mouse acceleration in Start-> Control Panel-> JWM Configuration-> X Settings, then OK, then ctrl+alt+backspace, then xwin to restart the window manager, the mouse works like I want it to. Stuff is saved to the DVD when I shutdown, but, when I restart, the mouse is back to the original setting.


Flash,
could you test that again after i upload the "14th Oct test iso".
And create, delete, throw whatever you can think at it.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#13 Post by Flash »

I'm holding my breath. :)

dismembered

#14 Post by dismembered »

Hey! Ho!

After reading some recent threads I have this questions now.

Q: Does the Master of Puppy now wants his puppy to run only as MS_DVD puppy instead of MS_LiveCD ? People who were very exited by the the emergence of the Puppy because they had a low cost PC sitting arround the house with Slow Processors and Old CD-writers, had started to believe thet they would be able to run there computers with ease now. What those people are supposed to do now ?

Q: Do you really believe that answer to every question is Buy a DVD writer ? Is it really OK to just tell everybody to Buy instead of trying to fix MS_LiveCD ?

Please don't be angry with stright approach, I just think that fixing the MS_CD problem will attract more users to this Puppy but if Future puppyies will only be DVD_Puppyies, not many people would be exited by it.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#15 Post by Flash »

Please, I think you misunderstand.

First, let's be clear that my words in this forum are mine alone. I do not speak for Barry.

Having said that, here's the way I see it: multisession is only one of several forms that Puppy Linux can take. I think that Barry is concentrating on the development of multisession DVD at the moment because it is rewarding his attention with rapid improvement. I do not suppose this to mean that he will abandon the development of multisession CD, or any other form, of Puppy.

Are you running Puppy as multisession CD? DVD is the only multisession Puppy that works for me.

Giving new life to old PCs is a neat trick of Puppy, but old hardware will eventually break. Now that they cost about the same wouldn't you replace a broken CD burner with a DVD burner? And now that DVD-Rs are cheaper per megabyte than CDs, wouldn't you use them instead?

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#16 Post by Pizzasgood »

I think that Barry is concentrating on the development of multisession DVD at the moment because it is rewarding his attention with rapid improvement.
Especially considering that multisession DVD was way behind not to long ago. It's basically a phase. Work on this a bit, then that a bit, rinse, and repeat :)
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#17 Post by BarryK »

We are still supporting multisession-CD, and report from Ted Dog is that it works well. The improvements we are making are affecting the m.s.-CD as well, though DVD is inherently superior it seems.

Guest

#18 Post by Guest »

BarryK wrote:We are still supporting multisession-CD, and report from Ted Dog is that it works well. The improvements we are making are affecting the m.s.-CD as well, though DVD is inherently superior it seems.
Thanks you all for replies. It is satisfying to know that ms-CD will also be developped along with other things.

I am really waiting eagerly for Bug Free Puppy 1.0.6. I am sure it is not too far away.

Thanks Barry for a wonderful thing. I am sure everybody appreciates your work towards making this world a better place by getting us rid of God Forsaken, Good For Nothing, WINDOWS

Post Reply