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 Tue 21 Oct 2014, 23:53
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
Dvd .iso version 1.05
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
BarryK
Puppy Master


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

PostPosted: Sat 08 Oct 2005, 05:12    Post_subject:  

Yeah, that could be it.
It works when there is just one track.

I'll upload my scripts tonight, after I have looked at GuestToo's bugfix
-- unmodified files are getting saved at end of session.
Back to top
View user's profile Send_private_message Visit_website 
Guest
Guest


PostPosted: Sat 08 Oct 2005, 11:58    Post_subject:  

Embarassed
Back to top
Guest
Guest


PostPosted: Sat 08 Oct 2005, 12:12    Post_subject:  

FWIW, here's a description of the Multi Media command set, which may, or may not, be adhered to by all DVD drive manufacturers. Laughing
Back to top
BarryK
Puppy Master


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

PostPosted: Sat 08 Oct 2005, 23:22    Post_subject:  

Okay, test DVD multi-session here, courtesy of Babbs:

http://puppy.wise-guy.us/

There's also a readme file.

Please heed the warning about the XP swap file.

I'm going to contact the author of growisofs, see if there is any way
to force only one track, instead of the two that are created on the DVD
-- which causes seek errors.

One really good thing is the efficiency of saved sessions, as all in track 2,
until dvd is full.

If you download usr_devx.sfs to /root, it will get saved to dvd at end
of session, then loaded back into /root next session and automatically
mounted on /usr.
...well, that was the idea, but after uploading the iso, i realised that
the shutdown cleanup moves it to /root/archive and it never gets
reloaded. Need to fix that.

However, if put usr_devx.sfs into /livecd, at shutdown there is an option
to create a new dvd, which will burn everything in /livecd onto the dvd,
as well as all files in /root, so the new dvd will load usr_devx.sfs
onto /usr at bootup ...again, in theory.
Back to top
View user's profile Send_private_message Visit_website 
Ted Dog


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

PostPosted: Sun 09 Oct 2005, 00:20    Post_subject: adding dev. tools  

Code:
 growisofs -M /dev/hdb usr_devx.sfs

change to directory having usr_devx.sfs and use the code above changing the /dev/hdb to what ever your burner is located.
Back to top
View user's profile Send_private_message 
Ted_Dog
Guest


PostPosted: Sun 09 Oct 2005, 03:11    Post_subject: cdrecord errors in new test-DVD iso in reboot script  

if you would replace the cdrecord command at this state with this we will have less problems with DVD drives.
Code:
   #v1.0.5 need ATAPI: prefix... Replace "Can" with "Does"...
   #v1.0.6 get rid of warnings to console...
   if [ "`dvd+rw-mediainfo $CDR 2>/dev/null | grep "non-DVD"`" = "" ];then
    MAXSIZEM=647
    MEDIATYPE="CD" #v1.0.6


cdrecord also fails here:
Code:
  #v1.0.5 need ATAPI: prefix...
  #v1.0.6 get rid of warnings to console...
  CDDVDFS="`cdrecord -toc dev=ATAPI:$CDR `"
  NUMTRACKS=`echo -n "$CDDVDFS" |grep "track"|tail -n 2|head -n 1|tr -s " "|cut -f 2 -d " "`


consider skipping this section of code if DVD is already determined. some size info is reported but it format varies based on DVD+RW or DVD-R media. growiso will block any attempt to add over 4G in a new directory and reports it. That should prompt for a new DVD. That gives about a 700M buffer for a single file [from RAM] over the 4G boundry. Therefore all this checking for size before hand is really not needed.
Back to top
BarryK
Puppy Master


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

PostPosted: Sun 09 Oct 2005, 19:29    Post_subject:  

Thanks, yes, so simple to just append usr_devx.sfs to the DVD!

Well, the size checking is needed.... I think
Need to know in advance whether the session will fit.
If growisofs starts to write files to the dvd, then hits the limit, will get
part of a session saved ...not good.

Note, I have sent an email to Andy, the author of growisofs, asking about
the tracks, how to force everything into just one track for DVD-Rs.
Back to top
View user's profile Send_private_message Visit_website 
Flash
Official Dog Handler


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

PostPosted: Sun 09 Oct 2005, 23:10    Post_subject: puppy-test-ms-dvd-9oct05 test report  

Barry,
I burned your DVD Puppy (to an 8 cm DVD+RW) and booted it a few times, adding something each time to see if it would save correctly. As far as I could tell, it did. After 3 shutdowns it has only grown to 68 MB.

However, even though it seems to work OK, some puzzling messages do appear during shutdown. I took some pictures of them with my digital camera. Here are all but the second one. (The forum only allows 3 attachments to a post.)
puppy-test-ms-dvd-9oct05_shutdown_1.jpg
 Description   
 Filesize   65.9 KB
 Viewed   1429 Time(s)

puppy-test-ms-dvd-9oct05_shutdown_1.jpg

puppy-test-ms-dvd-9oct05_shutdown_3.jpg
 Description   
 Filesize   67.4 KB
 Viewed   1443 Time(s)

puppy-test-ms-dvd-9oct05_shutdown_3.jpg

puppy-test-ms-dvd-9oct05_shutdown_4.jpg
 Description   
 Filesize   57.81 KB
 Viewed   1489 Time(s)

puppy-test-ms-dvd-9oct05_shutdown_4.jpg

Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


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

PostPosted: Mon 10 Oct 2005, 06:46    Post_subject:  

Thanks, your snapshots give me a clue...

Creating the original iso file, I used mkisofs directly.
After you download the iso file, you use growisofs to burn the iso to dvd.

Saving a session, only growisofs is used to write the files to dvd.

Tonight I will try an experiment, usr growisofs to bypass the iso file stage,
and burn the files direct to dvd.

Note, growisofs does use mkisofs, to convert the files to an iso image,
-- so I need to find out the exact parameters that get fed to mkisofs.
...maybe is run "ps" command quick enough, can find that out.
Back to top
View user's profile Send_private_message Visit_website 
BarryK
Puppy Master


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

PostPosted: Mon 10 Oct 2005, 10:17    Post_subject:  

Okay, it's lookin real good!
Ted Dog mentioned in an earlier post that it works better if mkisofs is not used.

In Unleashed, I wrote the files in isolinux-builds directory direct to the DVD
using growisofs, bypassing direct usage of mkisofs.

I then used Graveman to read the DVD image to an iso file.

I'm running it now, so far no error messages at bootup or shutdown.

Just trying a few more tweaks.

Tomorrow I'll upload a new iso, and we will see if we can beat any more
bugs.

I'm most impressed with the space efficiency of saving the sessions,
unlike CD which used 10 - 15M padding for each saved session.

I'm using DVD-Rs to test, wasting lots of them....
but once I get it all working ...well, just about there ....then one DVD
will last for a long time.
Back to top
View user's profile Send_private_message Visit_website 
Flash
Official Dog Handler


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

PostPosted: Tue 11 Oct 2005, 00:29    Post_subject:  

Barry,

I've been trying to make some sense of the MultiMedia Command set. It's pretty heavy going. I may have this wrong, but here's what I think it says.

An open session is made up of at least one but not more than 16 "fragments" which are reported as tracks. Once the session is closed the whole session is viewed as one track. It's not clear to me whether every fragment in an open session is a track, or only the open one(s) or what. Also, I'm unclear on just what constitutes a "fragment."

So, in the unlikely event that I understood it correctly, the MMC literature implies that the only way to have one track on a DVD is to have only one session on the DVD, which contains only one fragment, and which is kept open until the DVD is full.
Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


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

PostPosted: Tue 11 Oct 2005, 18:44    Post_subject:  

Well, anyway, the latest isn't giving any seek errors at bootup and shutdown:
http://www.murga.org/~puppy/viewtopic.php?t=2844&highlight=
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
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: 13 (0.0136s) ][ GZIP on ]