10-03-2001
ISO creation problem :-: mkisofs
Hi,
I am trying to burn a directory containing some install scripts/executables etc onto a cd.
I am using redhat v7.0.
I have tried using mkisofs, but so far have not been able to get the case of the filenames to be correct.
one file is called: startInstaller
but it always comes out as either STARTINSTALLER or startinstaller.
I have tried using both -R and -r but some names still get truncated and even using the -l option to get long names, the case is still messed up.
Is there a trick to getting the case preserved for Linux filenames, as I need to have them all exact if possible.
Thanks in advance,
![Confused Smilie](https://www.unix.com/images/smilies/confused.gif)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Very new to OD and unix. I need to know how to create a bootable CD from the ISO. thanks :confused: (3 Replies)
Discussion started by: Front
3 Replies
2. UNIX for Dummies Questions & Answers
I've been using a mkisofs line like this for years without problem
# mkisofs -J -R -V 'Vol Label' -o /output/path/FILE.ISO /input/path/
Now, however, it gives a UTR-8 character message at the start
INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8... (0 Replies)
Discussion started by: Bobby
0 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am attempting to recreate an iso from a set of files. At this point I seem to be stuck on the creation process. I have reviewed man mkisofs, which returns genisofs. Below is the actual command, and what each piece of information seems to provide
mike@presario:~$ sudo mkisofs
-V... (2 Replies)
Discussion started by: mg92865
2 Replies
4. UNIX for Advanced & Expert Users
Hi All,
Am creating ISO file for same directory two times and both has different md5sum, Why does it so ?!
Am pretty sure that, there is no change in that directory between the ISO creations, So what could be issue ? Or is there any misunderstanding in the process.
mkisofs -J -R... (0 Replies)
Discussion started by: thegeek
0 Replies
5. Shell Programming and Scripting
I recently got a problem with a program. It said that Create a file using shell script and insert details in it and take a String from the user and see whether it matches with any of the details of the String. I know how to create a file, insert details, but hw to check whether the String matches... (2 Replies)
Discussion started by: ramj
2 Replies
6. Shell Programming and Scripting
Hi all,
I got the following problem.
I run this command.
mkisofs -o mynew.iso -l -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table base images isolinux pc_doc
and I get all files from base, images, isolinux and pc_doc in the root dir of the iso.
I want a... (2 Replies)
Discussion started by: stinkefisch
2 Replies
7. BSD
I'm try to mount an iso on FreeBSD 8.2, but i recive an error; I use the following commands:
# mdconfig -a -t vnode -f /path/to/myimage.iso -u 1
# mount -t cd9660 /dev/md1 /media
and receive the next message:
mount_cd9660: /dev/md1: Invalid argument
I also use mdconfig -d -u * (*- is the... (5 Replies)
Discussion started by: AnbuBlack
5 Replies
8. Linux
I want to be able to copy DVD disks directly to an ISO file from the command line (via bash script).
I have such a script that I have refined over time that works quite well about 80% of the time.
About two DVD's out of ten will not burn to an iso file, and the script hangs on one of the... (4 Replies)
Discussion started by: jvsrvcs
4 Replies
9. Red Hat
Hello Everyone,
Can anyone let me know how to make minimal boot.iso from rhl6 installation dvd iso image. I have a dvd image with me but i want to make just a minimal boot media. Somehow it is not shipped with dvd iso. I know we can download boot.iso from redhat site but is there any anyway we... (5 Replies)
Discussion started by: Rohit Bhanot
5 Replies
10. Programming
I am creating a file to store data, but the file does not get created at all.
#include <unistd.h>
#define DEFAULT_ID 0
int main()
{
int d, n=0;
int sz, data=0;
char fn;
char *bv;
snprintf(fn, 256, "bv", DEFAULT_ID);
bv=fn;
printf("%s\n", bv);
if ((d =... (4 Replies)
Discussion started by: powyama
4 Replies
LEARN ABOUT OPENSOLARIS
kernel-install
KERNEL-INSTALL(8) kernel-install KERNEL-INSTALL(8)
NAME
kernel-install - Add and remove kernel and initramfs images to and from /boot
SYNOPSIS
kernel-install COMMAND KERNEL-VERSION [KERNEL-IMAGE]
DESCRIPTION
kernel-install is used to install and remove kernel and initramfs images to and from /boot.
kernel-install will execute the files located in the directory /usr/lib/kernel/install.d/ and the local administration directory
/etc/kernel/install.d/. All files are collectively sorted and executed in lexical order, regardless of the directory in which they live.
However, files with identical filenames replace each other. Files in /etc/kernel/install.d/ take precedence over files with the same name
in /usr/lib/kernel/install.d/. This can be used to override a system-supplied executables with a local file if needed; a symbolic link in
/etc/kernel/install.d/ with the same name as an executable in /usr/lib/kernel/install.d/, pointing to /dev/null, disables the executable
entirely. Executables must have the extension ".install"; other extensions are ignored.
An executable should return 0 on success. It may also return 77 to cause the whole operation to terminate (executables later in lexical
order will be skipped).
COMMANDS
The following commands are understood:
add KERNEL-VERSION KERNEL-IMAGE
kernel-install creates the directory /boot/MACHINE-ID/KERNEL-VERSION/ and calls executables from /usr/lib/kernel/install.d/*.install
and /etc/kernel/install.d/*.install with the arguments
add KERNEL-VERSION
/boot/MACHINE-ID/KERNEL-VERSION/ KERNEL-IMAGE
The kernel-install plugin 50-depmod.install runs depmod for the KERNEL-VERSION.
The kernel-install plugin 90-loaderentry.install copies KERNEL-IMAGE to /boot/MACHINE-ID/KERNEL-VERSION/linux. It also creates a boot
loader entry according to the boot loader specification in /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. The title of the entry
is the PRETTY_NAME parameter specified in /etc/os-release or /usr/lib/os-release (if the former is missing), or "Linux KERNEL-VERSION",
if unset. If the file initrd is found next to the linux file, the initrd will be added to the configuration.
remove KERNEL-VERSION
Calls executables from /usr/lib/kernel/install.d/*.install and /etc/kernel/install.d/*.install with the arguments
remove KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/
kernel-install removes the entire directory /boot/MACHINE-ID/KERNEL-VERSION/ afterwards.
The kernel-install plugin 90-loaderentry.install removes the file /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf.
EXIT STATUS
If every executable returns 0 or 77, 0 is returned, and a non-zero failure code otherwise.
FILES
/usr/lib/kernel/install.d/*.install /etc/kernel/install.d/*.install
Drop-in files which are executed by kernel-install.
/etc/kernel/cmdline /proc/cmdline
The content of the file /etc/kernel/cmdline specifies the kernel command line to use. If that file does not exist, /proc/cmdline is
used.
/etc/machine-id
The content of the file specifies the machine identification MACHINE-ID.
/etc/os-release /usr/lib/os-release
The content of the file specifies the operating system title PRETTY_NAME.
SEE ALSO
machine-id(5), os-release(5), Boot loader specification[1]
NOTES
1. Boot loader specification
https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
systemd 237 KERNEL-INSTALL(8)