It is currently Mon Mar 27, 2017 12:39 pm

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 

Joined: Thu Sep 18, 2008 5:27 pm
Posts: 21
Location: CA, US
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:
mkisofs -o ./ubcd411.iso -N -J -joliet-long -b isolinux/isolinux.bin -c isolinux/ -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, there does NOT need to be a pre-existing isolinux/ 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.

Reply with quote  
 Post subject:
PostPosted: Fri Sep 19, 2008 2:57 am 

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

This is my (it is located inside the ./ubcd directory):
# 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

# Name of the iso that you want to create

# Directory where you have unpacked UBCD

# Volume Id of the CD (label of the CD)

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

You have to make this script executable (chmod a+x 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.

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).

UBCD50beta5 contains Parted Magic (linux). It also has antivirus software.

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
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:

See also: Question: Where do I get disk images > 2.88MB? :

Reply with quote  
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 3 guests

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® Forum Software © phpBB Group