It is currently Thu Oct 23, 2014 9:10 am

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: mkisofs in linux
PostPosted: Thu Sep 18, 2008 5:56 pm 
Offline

Joined: Thu Sep 18, 2008 5:27 pm
Posts: 20
Location: CA, US
Hi,
Am new to UBCD and its forums.
Work mostly in Linux, and found that the following Command Line Interface command was effective in compiling a working ubcd411.iso CD:
Code:
mkisofs -o ./ubcd411.iso -N -J -joliet-long -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ./


Key things to note are:
1. The so-called source directory a.k.a. the "root" directory was /home/<localuser>/ubcd-extract (and WITHOUT a "C:\" as in MS-Windows)
2. The entire ubcd-extract directory was chown'ed to the localuser rather than to the superuser, and after assembling the UBCD source tree with customizations, no Write permission was granted, i.e., all individual files were chmod'ed to 0555 a.k.a. r-xr-xr-x
3. As written in the syslinux-3.71 archive doc/isolinux.txt file and at http://syslinux.zytor.com/wiki/index.php/ISOLINUX, there does NOT need to be a pre-existing isolinux/boot.cat as this is generated by the above mkisofs command sequence.
OTOH, there certainly DOES need to be a pre-existing and correct isolinux/isolinux.bin as this is NOT generated [correctly] by the above CLI command sequence.

Any corrections, suggestions, or ways to optimize the UBCD mastering process are certainly welcome!
accrc j.h., are you reading this??

Current goal is to find the easiest way(s) to create, in Linux, floppy disk images and their gzip'ped .igz counterparts for UBCD remastering.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 19, 2008 2:57 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
I have unpacked UBCD5 beta 5 in ./ubcd/ubcd50b5

This is my mkisofs-ubcd.sh (it is located inside the ./ubcd directory):
Quote:
# You can double click on this script to remaster UBCD.
# It will automatically CD to the directory of the script
currrent_dir=`dirname $0`
echo Change directory to: "$currrent_dir".
cd $currrent_dir
echo

# Name of the iso that you want to create
isoimagefilename="./ubcd50b5-custom.iso"

# Directory where you have unpacked UBCD
root_of_iso_tree="./ubcd50b5/"

# Volume Id of the CD (label of the CD)
VOLUME_ID="UBCD50b5"

# Make the iso.
mkisofs -N -J -joliet-long -D -V "$VOLUME_ID" -o "${isoimagefilename}" -b "isolinux/isolinux.bin" -c "isolinux/boot.cat" -hide "isolinux/boot.cat" -no-emul-boot -boot-load-size 4 -boot-info-table "${root_of_iso_tree}"


You have to make this script executable (chmod a+x mkisofs-ubcd.sh) and edit the root_of_iso_tree, the isoimagefilename and VOLUME_ID parameter. Afterwards you can just double click on it, without opening a terminal and cd-ing to the right directory.

If you remaster UBCD, I recommend that you update isolinux / syslinux also. Don't use the syslinux package which is included in your distro, it is probably very outdated.
http://syslinux.zytor.com/

Update also the freedos image (there should be soon an update that correct the errors in the last version, so wait a little bit more).
@ as702: Which is the best version of your freedos image for UBCD411? I suspect that you don't need the last version for it (can be wrong).
http://ultimatebootcd.com/forums/viewtopic.php?t=1422

UBCD50beta5 contains Parted Magic (linux). It also has antivirus software.
http://ultimatebootcd.com/forums/viewforum.php?f=7

If you want to edit .igz files, rename them to .img.gz or .gz, unpack them with gzip of file-roller (GUI).

Making floppy images in linux:
For a 1.44MiB floppy image:
dd if=/dev/zero of=./newimage.img bs=1440k count=1

For a 2.88MiB floppy image:
dd if=/dev/zero of=./newimage.img bs=1440k count=2
or
dd if=/dev/zero of=./newimage.img bs=2880k count=1

See man dd for more information.
You can format the images with mkfs.msdos. They won't be bootable. You need to transfer a bootsector from a bootable floppy (image)

You can find bootable freedos images at: http://bootcd.narod.ru/images.htm.

See also: Question: Where do I get disk images > 2.88MB? : http://ultimatebootcd.com/faq.html.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group