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 Fri 25 Apr 2014, 02:00
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
Test iso 11th Oct
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Author Message
Guest
Guest


PostPosted: Tue 11 Oct 2005, 01:30    Post subject:  Test iso 11th Oct  

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.
Back to top
Guest
Guest


PostPosted: Tue 11 Oct 2005, 01:41    Post subject: Why DVD+R(W) is superior to DVD-R(W)  

Here's an article from 2003 that describes in detail why DVD+R/RW is technically superior to DVD-R/RW
Back to top
Guest aka Ted Dog
Guest


PostPosted: Tue 11 Oct 2005, 12:45    Post subject: tricks for the new iso  

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:
. /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! Razz
Back to top
Ted Dog


Joined: 13 Sep 2005
Posts: 2062
Location: Heart of Texas

PostPosted: Tue 11 Oct 2005, 12:57    Post subject: who was that guest imposter!!! CODE UPDATE  

Code:
. /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. Embarassed
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Wed 12 Oct 2005, 09:12    Post subject: Re: who was that guest imposter!!! CODE UPDATE  

Code:
. /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.
Back to top
View user's profile Send private message Visit poster's website 
Ted Dog


Joined: 13 Sep 2005
Posts: 2062
Location: Heart of Texas

PostPosted: Wed 12 Oct 2005, 10:16    Post subject: moving timestamp to end of file  

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.
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 12 Oct 2005, 17:49    Post subject:  

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
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Wed 12 Oct 2005, 19:03    Post subject:  

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".
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Wed 12 Oct 2005, 19:53    Post subject:  

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.
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 12 Oct 2005, 20:25    Post subject:  

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
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10695
Location: Arizona USA

PostPosted: Wed 12 Oct 2005, 20:59    Post subject:  

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.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Thu 13 Oct 2005, 07:41    Post subject:  

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.

Quote:
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.
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10695
Location: Arizona USA

PostPosted: Thu 13 Oct 2005, 11:28    Post subject:  

I'm holding my breath. Smile
Back to top
View user's profile Send private message 
dismembered
Guest


PostPosted: Fri 14 Oct 2005, 06:55    Post subject:  

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.
Back to top
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10695
Location: Arizona USA

PostPosted: Fri 14 Oct 2005, 10:22    Post subject:  

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?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
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.0818s ][ Queries: 11 (0.0041s) ][ GZIP on ]