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 Sat 25 Oct 2014, 06:12
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to build an ISO with the development software. Quirky L.
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Thu 14 Jul 2011, 02:08    Post_subject:  How to build an ISO with the development software. Quirky L.
Sub_title: "Quirky Linux - 1.40"
 

Quote:

Quote:

Assumption: the file 'linux_headers_DEV-2.6.31.14-w5.pet' is not for the iso file 'Quirky Linux - 1.40'.

http://www.murga-linux.com/puppy/viewtopic.php?t=79271&sid=8b0e2565bbfcf16392381f40c87762d8

Edit: Y2014M09D15


Not fresh information:



4 steps = 4 scripts.

About ".SFS installer" author wrote:

http://www.murga-linux.com/puppy/viewtopic.php?p=289038#289038

.....................................................................................[1].....................................................................................
.............................................................................................................................................................................

Quote:

Attempt-1_-STEP-1_--DEV_iso.sh

Code:

#!/bin/bash
#.................................................................................
#>>>------------------------------------------------------------------------------
#------------------------------------------------------------------------------>>>
#
#-=qrky-140.iso=- is installed into RAM;
#version of installation: CDROM-to-RAM;
#computer is working under installed ISO image -=qrky-140.iso=-.
#
#mounted device's directory: /mnt/sdb1
cd /archive ;
tar --strip-components=1 -xvf /mnt/sdb1/Y2010_M08_D09/Linux_Quirky-1.40--DEV/Quirky-1.4.tar 0_Quirky-1.4/linux_headers_DEV-2.6.31.14-w5.pet ;
echo "ok" ;
echo "744af269a18050ad01c3049cd7064659  linux_headers_DEV-2.6.31.14-w5.pet" > /archive/md5sum_linux_headers_DEV-2.6.31.14-w5.txt ;
xmessage "`md5sum -c md5sum_linux_headers_DEV-2.6.31.14-w5.txt | cat`" ;
echo "ok" ;
chmod 0744 linux_headers_DEV-2.6.31.14-w5.pet ;
rm /archive/md5sum_linux_headers_DEV-2.6.31.14-w5.txt ;
#
umount /mnt/sdb1 ;
##
adduser -g "raoot" -H -D -G root -s /bin/sh -u 1004 raoot ;
#
chown -R raoot /usr/.*?* ;
chown -R raoot /lib/*?* ;
chown -R raoot /sbin/*?* ;
chown -R raoot /bin/*?* ;
chown -R raoot /etc/*?* ;
chown -R raoot /etc/.*?* ;
chown -R raoot /root/*?* ;
chown -R raoot /root/.*?* ;
##
#find /usr -user root ; # >>>
#find /lib -user root ; # >>>
#find /sbin -user root ; # >>>
#find /bin -user root ; # >>>
#find /etc -user root ; # >>>
#find /root -user root ; # >>>
##
#
xmessage "Files and Links which belong to ROOT in /usr folder = [`find /usr -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /lib folder = [`find /lib -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /sbin folder = [`find /sbin -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /bin folder = [`find /bin -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /etc folder = [`find /etc -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /root folder = [`find /root -user root | cat`]" ;
#
rox /archive/linux_headers_DEV-2.6.31.14-w5.pet ; xmessage "-=linux_headers_DEV-2.6.31.14-w5.pet=- has been installed. `xmessage 'Wait please. There will be 2 pop-ups.'`" ;
echo "ok" ;
rm /archive/linux_headers_DEV-2.6.31.14-w5.pet ;
echo "ok" ;
#
find /usr -type f -user root > /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /usr -type l -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /lib -type f -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /lib -type l -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /sbin -type f -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /sbin -type l -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /bin -type f -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /bin -type l -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /etc -type f -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /etc -type l -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /root -type f -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
find /root -type l -user root >> /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt ;
#
cd /archive ;
tar --files-from=/archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt -cvf linux_headers_DEV-_TAR_-2.6.31.14-w5_pet.tar ;
#
mkdir -p /mnt/sda4 ; mount /dev/sda4 /mnt/sda4 ;
cd /mnt/sda4/0/0_Quirky-1.4/ ;
curl -C - -O file:///archive/linux_headers_DEV-_TAR_-2.6.31.14-w5_pet.tar ;
cd / ;
umount /mnt/sda4 ;
xmessage "IT IS TIME TO MAKE STEP-2." `rm /archive/linux_headers_DEV-_TXT-2.6.31.14-w5_pet.txt /archive/linux_headers_DEV-_TAR_-2.6.31.14-w5_pet.tar`
#
#<<<------------------------------------------------------------------------------
#------------------------------------------------------------------------------<<<
#............................The REBOOTING of COMPUTER............................



.....................................................................................[2].....................................................................................
.............................................................................................................................................................................

Quote:

Attempt-1_-STEP-2_--DEV_iso.sh

Code:

#!/bin/bash
#.................................................................................
#>>>------------------------------------------------------------------------------
#------------------------------------------------------------------------------>>>
#
#-=qrky-140.iso=- is installed into RAM;
#version of installation: CDROM-to-RAM;
#computer is working under installed ISO image -=qrky-140.iso=-.
#
#mounted device's directory: /mnt/sdb1
#
#Installation of the SFS_installer.
cd /archive ;
curl -C - -O file:///mnt/sdb1/Y2010_M08_D09/To_Make_PETs_and_SFS-Stuff/Pet_Maker/Pet_Maker-1.7-3-430.pet ;
echo "ok" ;
echo "faa09c721a45b90175f3e97c8f5ac8cd  Pet_Maker-1.7-3-430.pet" > /archive/md5sum_Pet_Maker-1.7-3-430.txt ;
xmessage "`md5sum -c md5sum_Pet_Maker-1.7-3-430.txt | cat`" ;
echo "ok" ;
chmod 0744 Pet_Maker-1.7-3-430.pet ;
rox /archive/Pet_Maker-1.7-3-430.pet ; xmessage "-=Pet_Maker-1.7-3-430.pet=- has been installed. `xmessage 'Wait please. There will be 2 pop-ups.'`" ;
echo "ok" ;
rm /archive/Pet_Maker-1.7-3-430.pet ;
rm /archive/md5sum_Pet_Maker-1.7-3-430.txt ;
echo "ok" ;
#<<<------------------------------------------------------------------------------
#------------------------------------------------------------------------------<<<
#.................................................................................
#>>>------------------------------------------------------------------------------
#------------------------------------------------------------------------------>>>
##
cd /archive ;
tar --strip-components=1 -xvf /mnt/sdb1/Y2010_M08_D09/Linux_Quirky-1.40--DEV/Quirky-1.4.tar 0_Quirky-1.4/qrky_devx_140.sfs ;
echo "ok" ;
echo "4adce6f0cda46d42309c1dba42871c26  qrky_devx_140.sfs" > /archive/md5sum_sfs--qrky_devx_140.txt ;
xmessage "`md5sum -c md5sum_sfs--qrky_devx_140.txt | cat`" ;
echo "ok" ;
rm /archive/md5sum_sfs--qrky_devx_140.txt ;
#
umount /mnt/sdb1 ;
##
adduser -g "raoot" -H -D -G root -s /bin/sh -u 1004 raoot ;
#
chown -R raoot /usr/.*?* ;
chown -R raoot /lib/*?* ;
chown -R raoot /sbin/*?* ;
chown -R raoot /bin/*?* ;
chown -R raoot /etc/*?* ;
chown -R raoot /etc/.*?* ;
chown -R raoot /root/*?* ;
chown -R raoot /root/.*?*
##
#find /usr -user root ; # >>>
#find /lib -user root ; # >>>
#find /sbin -user root ; # >>>
#find /bin -user root ; # >>>
#find /etc -user root ; # >>>
#find /root -user root ; # >>>
##
#
xmessage "Files and Links which belong to ROOT in /usr folder = [`find /usr -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /lib folder = [`find /lib -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /sbin folder = [`find /sbin -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /bin folder = [`find /bin -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /etc folder = [`find /etc -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /root folder = [`find /root -user root | cat`]" ;
#
xmessage "-=/archive/qrky_devx_140.sfs=- file will be deleted." `xmessage "Click onto [okay] after the end of .sfs file installation."` ;
#
#Use menu >>> MENU://Utility/"Pet Maker Plus"
#Use section >>> Convert://"Choose SFS"
#Don't click onto the informational message's -=OK=- button. Simply wait.
#
rm /archive/qrky_devx_140.sfs ;
#
find /usr -type f -user root > /archive/qrky_devx-TXT_140--sfs.txt ;
find /usr -type l -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /lib -type f -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /lib -type l -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /sbin -type f -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /sbin -type l -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /bin -type f -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /bin -type l -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /etc -type f -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /etc -type l -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /root -type f -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
find /root -type l -user root >> /archive/qrky_devx-TXT_140--sfs.txt ;
#
cd /archive ;
tar --files-from=/archive/qrky_devx-TXT_140--sfs.txt -cvf qrky_devx-_TAR_-140--sfs.tar ;
#
mkdir -p /mnt/sda4 ; mount /dev/sda4 /mnt/sda4 ;
cd /mnt/sda4/0/0_Quirky-1.4/ ;
curl -C - -O file:///archive/qrky_devx-_TAR_-140--sfs.tar ;
cd / ;
umount /mnt/sda4 ;
xmessage "IT IS TIME TO MAKE STEP-3." `rm /archive/qrky_devx-TXT_140--sfs.txt /archive/qrky_devx-_TAR_-140--sfs.tar`
#
#<<<------------------------------------------------------------------------------
#------------------------------------------------------------------------------<<<
#............................The REBOOTING of COMPUTER............................



.....................................................................................[3].....................................................................................
.............................................................................................................................................................................

Quote:

Attempt-1_-STEP-3_--DEV_iso.sh

Code:

#.................................................................................
#>>>------------------------------------------------------------------------------
#------------------------------------------------------------------------------>>>
#
#-=qrky-140.iso=- is installed into RAM;
#version of installation: CDROM-to-RAM;
#computer is working under installed ISO image -=qrky-140.iso=-.
#
#mounted device's directory: /mnt/sdb1
#
#Installation of the SFS_installer.
cd /archive ;
curl -C - -O file:///mnt/sdb1/Y2010_M08_D09/To_Make_PETs_and_SFS-Stuff/Pet_Maker/Pet_Maker-1.7-3-430.pet ;
echo "ok" ;
echo "faa09c721a45b90175f3e97c8f5ac8cd  Pet_Maker-1.7-3-430.pet" > /archive/md5sum_Pet_Maker-1.7-3-430.txt ;
xmessage "`md5sum -c md5sum_Pet_Maker-1.7-3-430.txt | cat`" ;
echo "ok" ;
chmod 0744 Pet_Maker-1.7-3-430.pet ;
rox /archive/Pet_Maker-1.7-3-430.pet ; xmessage "-=Pet_Maker-1.7-3-430.pet=- has been installed. `xmessage 'Wait please. There will be 2 pop-ups.'`" ;
echo "ok" ;
rm /archive/Pet_Maker-1.7-3-430.pet ;
rm /archive/md5sum_Pet_Maker-1.7-3-430.txt ;
echo "ok" ;
#<<<------------------------------------------------------------------------------
#------------------------------------------------------------------------------<<<
#.................................................................................
#>>>------------------------------------------------------------------------------
#------------------------------------------------------------------------------>>>
##
cd /archive ;
tar --strip-components=1 -xvf /mnt/sdb1/Y2010_M08_D09/Linux_Quirky-1.40--DEV/Quirky-1.4.tar 0_Quirky-1.4/kernel_src-2.6.31.14-patched.sfs ;
echo "ok" ;
echo "07c3e799c0c2e505a7635a1472f52367  kernel_src-2.6.31.14-patched.sfs" > /archive/md5sum_sfs--kernel_src-2.6.31.14-patched.txt ;
xmessage "`md5sum -c md5sum_sfs--kernel_src-2.6.31.14-patched.txt | cat`" ;
echo "ok" ;
rm /archive/md5sum_sfs--kernel_src-2.6.31.14-patched.txt ;
#
umount /mnt/sdb1 ;
##
adduser -g "raoot" -H -D -G root -s /bin/sh -u 1004 raoot ;
#
chown -R raoot /usr/.*?* ;
chown -R raoot /lib/*?* ;
chown -R raoot /sbin/*?* ;
chown -R raoot /bin/*?* ;
chown -R raoot /etc/*?* ;
chown -R raoot /etc/.*?* ;
chown -R raoot /root/*?* ;
chown -R raoot /root/.*?*
##
#find /usr -user root ; # >>>
#find /lib -user root ; # >>>
#find /sbin -user root ; # >>>
#find /bin -user root ; # >>>
#find /etc -user root ; # >>>
#find /root -user root ; # >>>
##
#
xmessage "Files and Links which belong to ROOT in /usr folder = [`find /usr -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /lib folder = [`find /lib -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /sbin folder = [`find /sbin -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /bin folder = [`find /bin -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /etc folder = [`find /etc -user root | cat`]" ;
xmessage "Files and Links which belong to ROOT in /root folder = [`find /root -user root | cat`]" ;
#
xmessage "-=/archive/kernel_src-2.6.31.14-patched.sfs=- file will be deleted." `xmessage "Click onto [okay] after the end of .sfs file installation."` ;
#
#Use menu >>> MENU://Utility/"Pet Maker Plus"
#Use section >>> Convert://"Choose SFS"
#Don't click onto the informational message's -=OK=- button. Simply wait.
#
rm /archive/kernel_src-2.6.31.14-patched.sfs ;
#
find /usr -type f -user root > /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /usr -type l -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /lib -type f -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /lib -type l -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /sbin -type f -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /sbin -type l -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /bin -type f -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /bin -type l -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /etc -type f -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /etc -type l -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /root -type f -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
find /root -type l -user root >> /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt ;
#
cd /archive ;
tar --files-from=/archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt -cvf kernel_src-_TAR_-2.6.31.14-patched--sfs.tar ;
#
mkdir -p /mnt/sda4 ; mount /dev/sda4 /mnt/sda4 ;
cd /mnt/sda4/0/0_Quirky-1.4/ ;
curl -C - -O file:///archive/kernel_src-_TAR_-2.6.31.14-patched--sfs.tar ;
cd / ;
umount /mnt/sda4 ;
xmessage "IT IS TIME TO MAKE STEP-4." `rm /archive/kernel_src-_TXT_-2.6.31.14-patched--sfs.txt /archive/kernel_src-_TAR_-2.6.31.14-patched--sfs.tar`
#
#<<<------------------------------------------------------------------------------
#------------------------------------------------------------------------------<<<
#............................The REBOOTING of COMPUTER............................



.....................................................................................[4].....................................................................................
.............................................................................................................................................................................

Quote:

Attempt-1_-STEP-4_--DEV_iso.sh

Code:

#!/bin/bash
#.................................................................................
#>>>------------------------------------------------------------------------------
#------------------------------------------------------------------------------>>>
#
#-=qrky-140.iso=- is installed onto HDD;
#version of installation: FULL;
#computer is working under installed ISO image -=qrky-140.iso=-.
#
#mounted device's directories: /mnt/sdb1 ; /mnt/sda4
cd /tmp ;
tar --strip-components=1 -xvf /mnt/sdb1/Y2010_M08_D09/Linux_Quirky-1.40--DEV/Quirky-1.4.tar 0_Quirky-1.4/qrky-140.iso ;
echo "ok" ;
echo "87ed57f47fd3f782f9897cc2d3a3bcee  qrky-140.iso" > /tmp/md5sum_qrky-140.iso.txt ;
xmessage "`md5sum -c md5sum_qrky-140.iso.txt | cat`" ;
echo "ok" ;
rm /tmp/md5sum_qrky-140.iso.txt ;
#
cd / ; mkdir -m 0777 qrky_140--iso pup-qrky_140 ;
#
mkdir -m 0777 -p /mnt/data ;
#
mount -t iso9660 -o rw,loop=/dev/loop1 /tmp/qrky-140.iso /mnt/data ;
#
mkdir -m 0777 -p /mnt/data_sfs_pup ;
#
mount -t squashfs -o rw,loop=/dev/loop4 /mnt/data/qrky_140.sfs /mnt/data_sfs_pup ;
#
#NO --->> #rsync --recursive --progress /mnt/sda1/pup-qrky_140/ /pup-qrky_140 ;
#
cd /mnt/data ; tar cf - . | tar -C /qrky_140--iso -xpf - ;
#
cd /mnt/data_sfs_pup ; tar cf - . | tar -C /pup-qrky_140 -xpf - ;
#
cd / ;
#
umount /mnt/data_sfs_pup ;
rm /qrky_140--iso/qrky_140.sfs ;
#
umount /mnt/data ;
rm /tmp/qrky-140.iso ;
#
#=================================================================================
#
#now, gonna make the SFS and ISO
#
xmessage "> making the SFS <" ;
#
tar --directory=/pup-qrky_140/ -xvf /mnt/sda4/0/0_Quirky-1.4/linux_headers_DEV-_TAR_-2.6.31.14-w5_pet.tar ;
#
tar --directory=/pup-qrky_140/ -xvf /mnt/sda4/0/0_Quirky-1.4/qrky_devx-_TAR_-140--sfs.tar ;
#
tar --directory=/pup-qrky_140/ -xvf /mnt/sda4/0/0_Quirky-1.4/kernel_src-_TAR_-2.6.31.14-patched--sfs.tar ;
#
xmessage "-=dir2sfs=- will be active after skipping of this message." ;
cd / ;
dir2sfs pup-qrky_140 ;
#
mv pup-qrky_140.sfs qrky_140.sfs ;
rm -r /pup-qrky_140 ;
#
cd /qrky_140--iso/ ; curl -C - -O file:///qrky_140.sfs ;
#
rm /qrky_140.sfs ;
#
xmessage "> making the ISO <" ;
#
rm /qrky_140--iso/boot.cat ;
#
cd / ;
mkisofs -D -input-charset iso8859-1 -R -o qrky-140.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table qrky_140--iso ;
#
mv qrky-140.iso qrky-140_DEV.iso ;
#
mkdir -p /mnt/sda4 ; mount /dev/sda4 /mnt/sda4 ;
cd /mnt/sda4/0/0_Quirky-1.4/ ;
curl -C - -O file:///qrky-140_DEV.iso ;
cd / ;
umount /mnt/sda4 ;
#
xmessage "NEW -=ISO=- HAS BEEN CREATED."
#<<<------------------------------------------------------------------------------
#------------------------------------------------------------------------------<<<



.............................................................................................................................................................................
.............................................................................................................................................................................

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.


Edited_times_total
Back to top
View user's profile Send_private_message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Mon 09 Jul 2012, 16:44    Post_subject:  

2012-04-07--30days wrote:

md5 = 914174435741ce75c0304e8875e65e59

For downloading: http://www.axifile.com/ru/0DC3AB5577

For deletion: http://www.axifile.com/?d=0DC3AB557743F4




Quote:

Burning_in_Quirky-Linux-140.txt
Code:

#
# # # cdrkit-1.1.11-w5c.pet <=== http://distro.ibiblio.org/quirky/pet_packages-wary5/
#

#
# # # START
#

history -c >/root/.history ; printf '\ec' ;

cdrecord --devices
#==RESULT==>wodim dev='/dev/scd0'

wodim dev='/dev/scd0' driveropts=help -checkdrive
#==RESULT==>wodim dev='/dev/scd0' driveropts=burnfree

wodim dev='/dev/scd0' -prcap
#==OUTPUT==>Write speed # 1:   705 kB/s CLV/PCAV (CD   4x, DVD  0x) ==RESULT==> wodim dev='/dev/scd0' speed=4

readom dev='/dev/scd0' -speed=4 -sectors=0-0 f=/dev/null
#==OUTPUT==>Capacity: 151360 Blocks = 302720 kBytes = 295 MBytes = 309 prMB ==RESULT==> CD-disk is not empty

#wodim dev='/dev/scd0' blank=fast
wodim dev='/dev/scd0' blank=all

readom dev='/dev/scd0' -speed=4 -sectors=0-0 f=/dev/null
#==OUTPUT==>Capacity: 1 Blocks = 2 kBytes = 0 MBytes = 0 prMB ===> CD-disk is empty

genisoimage -R -quiet -print-size /mnt/sdb3/Quirky_Dev-Linux-140/qrky-140--DEV_for_NVidia.iso
#==QUERY_FROM==> tsize ==FOR_MULTISESSION_MODE==>
#==OUTPUT==>151535
#<===

isoinfo -d -i /mnt/sdb3/Quirky_Dev-Linux-140/qrky-140--DEV_for_NVidia.iso
#==OUTPUT==>CD-ROM is in ISO 9660 format ==RESULT==> wodim dev='/dev/scd0' -data
#==OUTPUT==>Rock Ridge signatures version 1 found ==RESULT==> wodim dev='/dev/scd0' -data

#Success with -=SmartTrack=- CD-RW ===>
wodim dev='/dev/scd0' driveropts=burnfree -verbose fs=1000x2k -data -sao speed=4 /mnt/sdb3/Quirky_Dev-Linux-140/qrky-140--DEV_for_NVidia.iso
# <===

# ! ATTENTION !
wodim dev='/dev/scd0' -toc
==OUTPUT==>first: 1 last 1
==OUTPUT==>track:   1 lba:         0 (        0) 00:02:00 adr: 1 control: 4 mode: 1
==OUTPUT==>track:lout lba:    151360 (   605440) 33:40:10 adr: 1 control: 4 mode: -1
#
#==GUESS==>'151360 (   605440)' ===> 'count=151360'
#==GUESS==>'Volume size is: 151360' ===> 'sectors=0-151360'
# ! ATTENTION !

isoinfo -d -N 0 dev='/dev/scd0'
#==OUTPUT==>151360
isoinfo -d -i /mnt/sdb3/Quirky_Dev-Linux-140/qrky-140--DEV_for_NVidia.iso
#==OUTPUT==>151360

readom dev='/dev/scd0' sectors=0-151360 -speed=4 f=/dev/null

eject ; eject -t

readom dev='/dev/scd0' sectors=0-151360 -speed=4 f=/dev/null

dd if=/dev/sr0 bs=2048 skip=0 count=151360 of=/dev/null

dd if=/dev/sr0 bs=2048 skip=0 count=151360 | md5sum

cat /mnt/sdb3/Quirky_Dev-Linux-140/qrky-140--DEV_md5sum_-_for_NVidia.txt
#==OUTPUT==>914174435741ce75c0304e8875e65e59

mount -t iso9660 /dev/sr0 `mkdir -p /mnt/sr0 ; find /mnt/sr0`
#==OUTPUT==>mount: block device /dev/sr0 is write-protected, mounting read-only

ls -1 -a /mnt/sr0
#==OUTPUT==>
.
..
boot.cat
boot.msg
help2.msg
help.msg
initrd.gz
isolinux.bin
isolinux.cfg
logo.16
qrky_140.sfs
vmlinuz
#<===

umount /mnt/sr0

#
# # # FINISH
#


Edit: 2012, jul 10.


A script's content can be copied into text editor by means of <Quote> mode.

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
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.1142s ][ Queries: 11 (0.0084s) ][ GZIP on ]