Problem continuing a multisession CD. (Solved)

Discuss anything specific to using Puppy on a multi-session disk
Message
Author
Disco Makberto
Posts: 175
Joined: Mon 08 Aug 2011, 02:15

#21 Post by Disco Makberto »

Jasper wrote: (2) I use multi-session and remaster - and whereas my boot time was about 120" with 30 pets installed as "date" folders totalling some 45 MB before remastering - my current remaster boots in about 85", my sole "date" folder is less than 0.1 MB and my Precise 5.6 iso is a little smaller than the original which Ted Dog attributes to greater compression.
Jasper, if you do and complete a multisession disc, and then, once in the latest dektop, you make a remaster, why are you ending up with a "date" folder? I was told in another thread that if we first do multisession and then remaster, there will be no "date" folders but an all-in-one SFS (which covers everything as in the last session).

Carlos Albert
D-Mak

Jasper

#22 Post by Jasper »

Hi Carlos,

If you would like a full explanation of what I do and how and why with a copy of "ram2sfs" and "reburn" it may help to tailor my response if you say:

Which Pup you most want to remaster (32bit unless Ted says otherwise)
How much RAM you have
What total MB your current CD/DVD uses (excuding any extra non-dated archive folders or files - if you have added any)
If you want to use a DVD+RW or DVD-RW or- a CD-R or ..
If you have a hard drive
If you have a spare Flash Stick and, if yes, what type and size.
Perhaps Ted Dog may wish to add something?

Else, please tell if (say, tomorrow) you would prefer a brief answer restricted to your question.

My regards

ram2sfs and reburn (both from Ted Dog) work simply and superbly with my Precise 5.6 multi-session-DVD. I have 640MB RAM (no swap facility) and I also use (but do not need) a 4GB USB2 Flash Stick (6MB/sec write, 22MB/sec read) and use some 170MB of HD space to hold a copy of my current main sfs file to reduce my boot time by 30 seconds).

However, if the method fails in your case - consult Ted Dog here and if he doesn't fix it pretty pronto - demand a full refund with interest at a punitive rate.

gcmartin

#23 Post by gcmartin »

Hi @Jasper

If i follow what is presented, can I assume that
ram2sfs - gathers all system's folders into a single SFS
reburn - burns a bootmanager and the single SFS to a new CD/DVD
Is this an accurate view.

Or, does reburn take the single SFS where it is packaged into an ISO and burned to the DVD?

Thanks in advance

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

#24 Post by Ted Dog »

what did jasper talk me into again... :D You are lucky I have internet today and have my equipment with me. One of those Sonic menus jumped out of the concrete and busted my headlight.. Then acted like it never happened :D
So I am at a friends house a few blocks away from repair place awaiting the call that my part has arrived.. Backing up my friends hardware on to Multisession bluerays. Someone else fixed the size limit of 8Gs and I am awaiting code source to try 32bit.
My reburn stuff is DVD and BluRay not old fashioned CD... Saw CD in title. I haven't done a CD version since 2006. :x

Disco Makberto
Posts: 175
Joined: Mon 08 Aug 2011, 02:15

#25 Post by Disco Makberto »

Hey, Jasper!

>Hi Carlos,
>If you would like a full explanation of what I do and how and why with >a copy of "ram2sfs" and "reburn"

Thank you kindly!

>it may help to tailor my response if you say:
>Which Pup you most want to remaster (32bit unless Ted says >otherwise)

Puppy Linux Lucid 5.25

>How much RAM you have

512MB, but I am in the process of a memory upgrade.

>What total MB your current CD/DVD uses (excuding any extra >non-dated archive folders or files - if you have added any)

I am not sure about the final one, but I would say around 200MB something or 300MB something. I don't want to do it at once, but rather little by little using multisession until the last final session at which point my plan is to remaster.

>If you want to use a DVD+RW or DVD-RW or- a CD-R or ..

Any of those. I prefer to use the most effective while in the process. Obviously, the final ISO (or the ISO copy of the final disc) can be burned on anything.

>If you have a hard drive

Yes, my internal hard drive, but it is corrupted (or I should say Windows is corrupted), so I try not to use it.

>If you have a spare Flash Stick and, if yes, what type and size.
>Perhaps Ted Dog may wish to add something?

Most of the time I use microSD cards with USB converters, not flash drives (though I have a few flash drives). And most of my microSD cards are 8GB (plus a few 4GB and a few 2GB). Then I have some CF's, SD's, and MS's, but I barely use them. Again, what I use the most are microSD cards.

>Else, please tell if (say, tomorrow) you would prefer a brief answer >restricted to your question.

Well, the more you can explain, the better.

>My regards
>ram2sfs and reburn (both from Ted Dog) work simply and superbly >with my Precise 5.6 multi-session-DVD. I have 640MB RAM (no swap >facility) and I also use (but do not need) a 4GB USB2 Flash Stick >(6MB/sec write, 22MB/sec read) and use some 170MB of HD space >to hold a copy of my current main sfs file to reduce my boot time by >30 seconds).

That's nice to know! But if the final disc includes a "date folder" plus the main SFS, that is not something I am looking after. I would like to have a final disc with just one all-in-one SFS (without date folders) in lieu of the original SFS of the disc.

>However, if the method fails in your case - consult Ted Dog here >and if he doesn't fix it pretty pronto - demand a full refund with >interest at a punitive rate.

(:

Thanks again, indeed!

Carlos Albert
D-Mak

Jasper

#26 Post by Jasper »

Hi Carlos,

Using “ram2sfs

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

#27 Post by Ted Dog »

yes what jasper said...echo echo.. The remaster in RAM method would should or could have a problem finishing with such limited ram... That beening said there are some easy to work around script. If you do not care to get your hands into code. Nothing should destroyed since it just a forward only process If you can find the hardcoded tmp folder line that is in the first few lines of script point that to a mounted harddrive or flashdrive to get around remaster in RAM issue. Second the ram2sfs method does not hurt or help if it ends up In a cd or dvd but the on the fly burn script is for Dvds and BluRay in 64bit world.
As Jasper pointed out I have left behind upgrading 32 bit code for 64-bit but I do plan to return to 32bit AFTER making an upgraded methodology work in 64bit and ARM. 32bit is stable but dated. Learn a lot about how to multisession bluray and have it as good to better than 32bit code. Ie its faster than flashdrives and at times hard to tell if its loading saving from BluRay or regular harddrives based on speed.

gcmartin

#28 Post by gcmartin »

... I can say that all gcmartin’s guesses were imperfect ...
So if I'm to ask, again:
gcmartin wrote:If i follow what is presented, can I assume that
ram2sfs - gathers all system's folders into a single SFS
reburn - burns a bootmanager and the single SFS to a new CD/DVD
Is this an accurate view.

Or, does reburn take the single SFS where it is to be packaged into an ISO and burned to a DVD?
Correct or not? Anything missing?

Thanks in advance

gcmartin

#29 Post by gcmartin »

BTW, Thanks @Ted Dog and @Jasper for what is being shared.

This may be a good time for a new/newer thread to be authored by either of you with the PETs/Scripts and guidance on this process. I think a thread where RAM2SFS and Reburn is discussed specifically, can be useful in discussion that is centered around an initial post where these tools can be found. If you agree, more members might find it easy to locate, test, and provide feedback on the excellent ideas being presented, here. In addition, more developers can find making it easy to evaluate so that these tools and any current version of such are available in a booted PUPs utilities.

Just an idea for consideration. :idea:

Jasper

#30 Post by Jasper »

@ gcmartin - I'm trying to help Carlos and those who want to do something personally - not to help attention grabbing authors and critics. I answered your original questions, but you have now edited your second request to add another question.

Only a few days ago you asked for suggestions on a similar topic which I made and you ignored. That's fine, but don't repeat your extraneous questions just because you don't like my answers.

Also, a few days ago I sent you a PM with a file attached. Ten minutes ago you had not even downloaded that file - despite your reply to me which you should inspect.

Ted said he's busy, I'm not interested in writing a major all-embracing manual and I think you said you've had a 40 year career in IT. You write the manual in the new thread you suggest - you write umpteen posts a day so you must have the time.

gcmartin

#31 Post by gcmartin »

I have been testing other items that @Ted Dog has done and your RAM2SFS you sent is on the list. I had noticed that it was not posted in the thread and had assumed that you have plans, by your answers, that you are planning such.

I view your assistance as value and if you agree, I will create a manual demonstrating how to go forward.

My questions is such that I have a clearer picture of what you propose and what is to occur so that the path is crystal.

@Ted Dog and @Flash are aware that this is a topic of interest to me, as it is directly in line with where I, for years, had wondered if there is such a path. Thanks to @Ted Dog's progress on this and "removable media", much has occurred in Blu-ray, DVD, UEFI, and 64bit use.

Hope this makes clear why I am trying to clarify with my questions. Your assistance and guidance has not been unnoticed ... and is appreciated.

There is no oversight. Just trying to see the path to a new Live-DVD/Live-Blu-ray clearly.

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

#32 Post by Ted Dog »

yes real life is getting in the way of my hobby time... Nothing too bad, actually some may be a distraction with as good outcomes however to early to tell.. Looks like a week of new toys to play with and check out. The Elio car thangy is going to be on display in Austin and San Antonio next week. Talked with them about open sourcing the car brains or pre planning for power 5v 4A for additional goodies like a FatdogARM infotainment idea and basically trying to get them to be a TechnoTweeking platform.. Price point and cool factor already exists.. :wink:

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

#33 Post by Flash »

Carlos, have all your questions been answered?

Disco Makberto
Posts: 175
Joined: Mon 08 Aug 2011, 02:15

#34 Post by Disco Makberto »

Hello, Jasper!

Thanks for your invaluable help.

The tool "ram2sfs" is certainly an option, and I appreciate your assistance very much. In addiiton to your tool, I also would like to explore other options that are capable of producing an all-in-one traditional SFS that can be used in lieu of an SFS from a liveCD to produce a pup liveCD, assuming those options are viable.

The other tool, "reburn", is also an option. But I was thinking in the lines of using an ISO manipulator. By using an ISO manipulator, I can replace the "normal" SFS with my "all-in-one" SFS, then burn the new ISO to CD or DVD, and have a new pup liveCD.

My plans, before arriving to the final desktop at which point I am thinking about doing a remaster, is doing the changes via multisession. Thus, I change or add something, then save to multisession; then, next day or so, I change or add something, then save to multisession; then again next day or so, I change or add something, then save to multisession; and on and on until I get everything I want.

I am still not ready to complete my little project, but I have about 70% to 80% sorted out. There are still some issues (not related to multisession or remastering) that I still need to work on or ask in the forum.

All the very best,

Carlos Albert
D-Mak

Disco Makberto
Posts: 175
Joined: Mon 08 Aug 2011, 02:15

#35 Post by Disco Makberto »

Flash wrote:Carlos, have all your questions been answered?
Hi, Flash!

Thanks for asking.

Yes, I still would like to know the difference between "defragmenting a live disc" via a multisession CDR or multisession DVDR versus "defragmenting a live disc" via a multisession CDRW or multisession DVDRW. Please read message number 20 where I originally asked this.

Cheers,

Carlos Albert
D-Mak

gcmartin

#36 Post by gcmartin »

Hi Carlos, I hope this explains a little in concept, which BTW, you may already understand. In disk storage, files are created and destroy randomly over time. And there are times when existing files are expanded or decrease in sizes. The writing of files are done in blocks on sectors that may or may not be contiguous. The drives, themselves insure that the files have pointers linking it together, even though, over time file-blocks can get scattered because there was no way to keep all of a given file in a contiguous sequence. The I/O subsystem which writes this stuff invalidates blocks associated with this kind of file activity and many files can and do become scattered over spaces on the HDD. This scattering is ins known as fragmenting. Defragmenting attempts to take all of the files and repacks them in a somewhat sequential layout.

In multi-session CD/DVD discs, ALL DATA is written contiguously so there is little chance that a particular file can be broken into blocks and interspersed among other blocks of other files in a scatter manner. Even when a given file is edited and saved, when the session is finally written out, all change files are written intact, sequentially. Thus, since all is done in an almost single-file sequential operation, But, when running a shutdown session, ALL files, including the changed files are written sequentially. Thus, over the life of a Live DVD, you may have created/changes certain files many multiples of time and this may be encased in many save-session files on disc. Since everything is sequential, there is no equivalent concept of fragmentation, nor defragmenting with DVD/CD multisession.

So to handle the fact that the same file had been deleted/rewritten by changes from its original, there can be procedures involved which accounts for those occurrence.

You may have already noticed that to have occurred, where a file that you used was changed and you found on reboot, the changed file, while not knowing that the original file save in an earlier session still exist on the DVD/CD media even though you are looking at the most current version.

How is this reconciled, well, at boot time, the Linux technology layers the most current data on top of the originals so that when it gets to desktop, only the most current version is seen.

As such, a remaster kinda does the same thing when run as it takes the original system and replaces any data that is newer with current data, then rewrites this into an ISO (or file system folder). Now, when that ISO is written to a new disc (or a CDRW/DVDRW) it is done in a sequential manner as described above. This process of recreating the system with new data can be loosely worded as "defragmenting", for it re-combined all of the data together so that there are not multiples floating around on media disc. You can rewrite a CDRW/DVDRW many times, but, this cannot be done using CDR/DVDR that has been written to. You can add, but, you cannot rewrite as can be done with RWs ("ReWritables") versions

Hope this provide some clarity. Again, much of this you may already know.

Disco Makberto
Posts: 175
Joined: Mon 08 Aug 2011, 02:15

#37 Post by Disco Makberto »

Hello, Gcmartin!

Thanks for your explanation.

Yes, I know that "defragmenting a live disc" is not really proper terminoloy, but that is how Flash calls it, and I think that he invented the trick. Probably a better a description would be "decreasing the amount of date folders" resulting in a new live disc that contains all the info from the old disc. By the way, now that we are at it, do you know why following this trick sometimes ends up with just one date folder while some other times it ends up with two date folders? What determines if it is one or two date folders?

I have been confused with this statement by Flash:
Flash wrote:If you run multisession Puppy from a rewritable CD or DVD, you don't even have to put in a new disk; Burniso2cd will burn the iso to the multisession disk you've been running Puppy from, then it is burned you just Save to it. The danger is that if the burning or save process doesn't go right, you no longer have your old multisession disk to fall back on. So it's better to transfer to a different disk. I use DVD+RWs and leapfrog them. Once I'm sure the new disk works, the old one goes into the pile to be reused for the next test.
Let's say that we have a multisession CDRW or DVDRW disc and we want to "defragment it" (as Flash would say). Why can we write the base ISO to this same disc? If we do this, wouldn't we be deleting the old info on it? If we use a CDR or DVDR, on the other hand, we would need a new disc with the base ISO already on it. To be more specific, with a multisession disc and the "defragmenting" trick, why is it possible to burn the base ISO on the same disc if we use CDRW or DVDRW while we have to use a different disc with the base ISO already on it if we use CDR or DVDR?

Carlos Albert
D-Mak

Jasper

#38 Post by Jasper »

Hi Carlos et al,

I sent ram2sfs to gcmartin last week and since his avowed promise is to write a Multi-session manual I’ll leave it to him to make it available and to answer any questions on all aspects of Multi-session.

Even if I could type at the rate of 212 words per minute - to make an updated iso (post ram2sfs) and burn it - it would take at least 4 times longer to make an identical DVD than using “reburn
Attachments
reburn.jpg
(48.51 KiB) Downloaded 908 times

Disco Makberto
Posts: 175
Joined: Mon 08 Aug 2011, 02:15

#39 Post by Disco Makberto »

Greetings, Jasper!

Thank you very much for all your support.

Unfortunately, I don't have any experience with using Puppy Linux on USB sticks or alike. All my experience is limited to liveCD's. Even my working Windows OS is on liveCD. That doesn't mean that using a USB stick is not advantageous, for it certainly is, so I agree with what you said.

I am really looking forward to trying your applications.

Cheers,

Carlos Albert
D-Mak

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

#40 Post by Flash »

Carlos, have you actually burned a multisession CD or DVD and tried out any of the things you've been asking about? In particular, have you tried a rewritable CD or DVD?

Post Reply