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 Mon 24 Nov 2014, 22:09
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 1 of 2 [27 Posts]   Goto page: 1, 2 Next
Author Message
Ted Dog


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

PostPosted: Tue 04 Oct 2005, 10:56    Post subject:  Dvd .iso version 1.05  

Using the remasterCD script here is a DVD-only v1.05 multi-session iso to burn using normal puppy. Change into the download directory and type this.
change /dev/hdb to your burner, found in CD/DVD wizard.

Code:
growisofs -Z /dev/hdb=DeVilDog.iso


or use this as a script
Code:
BURNERDRIVE="/dev/`cat /etc/cdburnerdevice`
growisofs -Z $BURNERDRIVE=DeVilDog.iso


It does not use cdrecord hince those strange error msgs from normal puppy and its error resulting in only one session saved do not exist.

EDIT: changed to point to newer improved version - Ted Dog 10/9/05
http://puppy.wise-guy.us/index.html

Last edited by Ted Dog on Sat 08 Oct 2005, 23:53; edited 1 time in total
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Tue 04 Oct 2005, 11:00    Post subject:  

Ted, I really want to try it out, but all I get are pictures of cows and goats. Confused
Back to top
View user's profile Send private message 
Ted Dog


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

PostPosted: Tue 04 Oct 2005, 11:04    Post subject: opps try again  

Ok changed the name to the one listed, please try again
Back to top
View user's profile Send private message 
Ted Dog


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

PostPosted: Wed 05 Oct 2005, 13:03    Post subject: adding developer squashfs to DeVilDog v1.05  

from the download directory (or /mnt/home ) containing usr_devx.sfs
type this command to add to existing burned DVD disk


Code:
growisofs -M /dev/`cat /etc/cdburnerdevice` -D -R -J usr_devx.sfs


you can also add usr_more.sfs (if you got one)


Code:
growisofs -M /dev/`cat /etc/cdburnerdevice` -D -R -J usr_more.sfs


add this to rc.local
---------------------- rc.local ----------------
Code:
#v1.0.5...
ONECD="/dev/`cat /etc/cdburnerdevice`"
mount -t iso9660 $ONECD /mnt/home > /dev/null 2>&1
cp /mnt/home/*.sfs /livecd/
sync
USRDEVX=""
if [ ! "`ls /livecd/usr_devx.sfs 2> /dev/null`" = "" ];then
mkdir /.usr_devx
echo "Mounting /livecd/usr_devx.sfs file on /.usr_devx..."
losetup /dev/loop3 /livecd/usr_devx.sfs
mount -r -t squashfs -o noatime /dev/loop3 /.usr_devx
if [ $? -eq 0 ];then
USRDEVX=':/.usr_devx=ro'
fi
fi
USRMORE=""
if [ ! "`ls /livecd/usr_more.sfs 2> /dev/null`" = "" ];then
mkdir /.usr_more
echo "Mounting /livecd/usr_more.sfs file on /.usr_more..."
losetup /dev/loop4 /livecd/usr_more.sfs
mount -r -t squashfs -o noatime /dev/loop4 /.usr_more
if [ $? -eq 0 ];then
USRMORE=':/.usr_more=ro'
fi
fi
umount $ONECD
fuser -k -m /usr
sync
umount -r /usr
sync
mount -t unionfs -o dirs=/root/.usr=rw${USRDEVX}${USRMORE}:/.usr_cram=ro none /usr
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Wed 05 Oct 2005, 13:30    Post subject:  

Hey Ted, thanks. I downloaded it and it works beyond my expectations. For convenience I burned it in Windows with a program called Record Now, because that program has always worked for me. I burned a mini (8 cm) DVD+RW, booted it with option 5, configured it, did some things, shut down, then rebooted and the stuff I had done was still there. Then I sent a few emails and shut down. When I rebooted all the emails I had sent were in the sent folder.

I'm now in my third boot of this DVD and it's saved everything from the first two sessions except your iso, which I had transferred from Windows' NTFS partition to the "My Applications" folder in Puppy. I don't see why the iso wasn't saved. The folder I put the iso in was saved but the iso wasn't. Confused

I burned some folders from Windows' NTFS onto the multisession DVD using TkDVD (checking the "Add Session to Disk -M" option in TkDVD's "Advanced" window), and the folders show up when I mount the DVD. I haven't rebooted it yet to see what happens. Smile

Watch this space for more exciting developments.

Thanks again Ted, and Barry.
Back to top
View user's profile Send private message 
Ted Dog


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

PostPosted: Wed 05 Oct 2005, 13:42    Post subject: TkDVD is missing the -D command  

this could cause some problems. Since you are on a DVD+RW what the hay it is easy to reuse. You do not even need to erase it (shortens the rewrite count a lot)
Back to top
View user's profile Send private message 
Ted Dog


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

PostPosted: Wed 05 Oct 2005, 13:47    Post subject: TKDVD settings  

uncheck all but the -M and use -R (not -r)
resulting like this
growisofs -M /dev/dvd -J -R -graft.....
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Wed 05 Oct 2005, 21:06    Post subject:  

Ted, what does the code, that I'm supposed to add to rc.local, do? To put that another way, why do I need it?

- Thanks
Back to top
View user's profile Send private message 
Ted Dog


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

PostPosted: Wed 05 Oct 2005, 21:20    Post subject: adds the use of developer tools  

-Short answer Not if you can wait.
using your feed back the corrected tlDVD, burnISO2CD, added those changes in rc.local into sysinit-cd where it logically belong fixes are coming into version two of DeVilDog.iso I was trying to fix that dang cdrecord bug for non-DVD users and I am stuck
-now for those who can't wait if the above code is added and *.sfs files are in the same directory as usr_cram.fs, then like magic make,cc and the rest of the developer tools work. So you can compile smallish programs in RAM or in linux, vfat, flashdrive straight off the DVD.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Wed 05 Oct 2005, 21:26    Post subject:  

Thanks, I guess I can wait. Smile I have plenty to occupy me till then.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


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

PostPosted: Thu 06 Oct 2005, 19:38    Post subject:  

Ted Dog,
I'm testing version 1.
It's nice not to have those error messages!

Okay, a bug...
Nothing can be deleted.
Your rc.reboot-cd does not save 00files.backup and 00files.deleted to the DVD so they aren't there on next boot.
The problem is, I deleted a file, and it is back on the next boot.
Which means that the size of files in /root is going to keep growing and
growing ...very bad since it is only in a ramdisk.

I will also have a look at the script this afternoon.
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


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

PostPosted: Fri 07 Oct 2005, 20:05    Post subject:  

Ted Dog, building on your invaluable experience with growisofs, I have
updated rc.reboot-cd and rc.sysinit-cd, now all working, file deletion also.

Ted Dog, you examined this problem of sessions with growisofs.
Using cdrecord -toc, it shows two tracks, the original live-cd, and when
folders are saved at end of each session they just become track 2.

In other words, track 2 just keeps growing until dvd is full.

It seems, growisofs -Z creates the live-cd first track.
However the subsequent saving of each session with growisofs -M goes
into track 2.

The growisofs docs don't say this?
They do say the the commandline options in both cases, that is when
burning the first time with -Z and subsequent times with -M, that all
other options must be exactly the same.
...which they aren't.
The first time, we a building a bootable dvd, so have extra parameters.

Do you have any thoughts on this?
I would, if possible, like to get it down to all be on one track.
With current situation, there are still some seek errors at shutdown,
due to the 2 tracks.
Back to top
View user's profile Send private message Visit poster's website 
Ted_Dog
Guest


PostPosted: Fri 07 Oct 2005, 21:18    Post subject: cdrecord not really used in combination with growiso  

I removed active use of cdrecord (I suspect some how it is bad without scsi or without K2.6 series) with in rc.reboot-cd script. Also note Knoppix states that unionfs was to buggy in their early use but it seems to work ok here.
The cdrecord commands found are hold overs (lazy on my part) Embarassed
Back to top
BarryK
Puppy Master


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

PostPosted: Fri 07 Oct 2005, 22:04    Post subject:  

There are two tracks though.

The "disktype" program confirms it.

I hunted around on the Internet, found a vague reference that confirms this.
It suggested the only way to get just one track is with a DVD-RW (I'm using
DVD-Rs) and to put it into "overwrite format" by doing this:

# dvd+rw-format /dev/hdc

then when you do growisofs, firstly with -Z then save sessions with -M,
it is all in one track. ...or so the info implied.

DVD-Rs and normal DVD-RWs are in "sequential format".
Back to top
View user's profile Send private message Visit poster's website 
Ted Dog


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

PostPosted: Fri 07 Oct 2005, 22:57    Post subject: Testing in DVD-RW drawback  

I enjoyed only having one reusable DVD to do development. It has been used from version 1.02 on (with earlier growiso tests) I bought a newer DVD (dual layer) for my main linux box, and had trouble reading the DVD-R mini second track burned on winXP box at my folks house. It sound like the same issue you raised. I'll try burning a new mini after a format to see if that was it, I was ready to return this new DVD drive. Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [27 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.1690s ][ Queries: 13 (0.0303s) ][ GZIP on ]