Dvd .iso version 1.05
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
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.
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.
adding dev. tools
Code: Select all
growisofs -M /dev/hdb usr_devx.sfs
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.
cdrecord also fails here:
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.
Code: Select all
#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
Code: Select all
#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 " "`
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
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.
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.
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.)
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.)
- Attachments
-
- puppy-test-ms-dvd-9oct05_shutdown_4.jpg
- (57.81 KiB) Downloaded 1564 times
-
- puppy-test-ms-dvd-9oct05_shutdown_3.jpg
- (67.4 KiB) Downloaded 1527 times
-
- puppy-test-ms-dvd-9oct05_shutdown_1.jpg
- (65.9 KiB) Downloaded 1507 times
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
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.
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.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
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.
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.
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.
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.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Well, anyway, the latest isn't giving any seek errors at bootup and shutdown:
http://www.murga.org/~puppy/viewtopic.p ... highlight=
http://www.murga.org/~puppy/viewtopic.p ... highlight=