Sponsored Content
Full Discussion: Bootable CD
Top Forums UNIX for Dummies Questions & Answers Bootable CD Post 302077986 by Corona688 on Tuesday 27th of June 2006 11:17:27 PM
Old 06-28-2006
is the cdrom mounted, or are you doing everything inside an initrd? If you're just in an initrd, do something like
Code:
mkdir /mnt/cdrom
mount -t iso9660 /dev/hdc /mnt/cdrom
ls /mnt/cdrom

If your /mnt/ is not writable, substitute /tmp/ or whatever.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Bootable CD

Hi, I need to be able to make a back bootable CD for Solaris 7 + software on the system. As stated the CD needs to be a bootable one, I know it will more then likely have to be more then 1 CD and I don't mind. What would be a good program to do this? Also the best way to go about doing it.... (1 Reply)
Discussion started by: merlin
1 Replies

2. UNIX for Dummies Questions & Answers

bootable CD

Hey all, I'm trying to make a backup bootable CD of a solaris 7 machine. I have no idea where to start so I did alot a reading :-) Even though I've done alot of reading I still don't know what is the best way of going about it all. What I am after as a finished result is a bootable CD... (1 Reply)
Discussion started by: merlin
1 Replies

3. Filesystems, Disks and Memory

bootable cd

how can i create a bootable cd? i have the .iso thingy, and now i only need to put it on the cd, but do i need something special to do it w/? or just burn it right onto the cd? Ive already set cd to 1st in bios. thanx anyways (1 Reply)
Discussion started by: thenewestuser
1 Replies

4. UNIX for Dummies Questions & Answers

bootable

hw can i prepaer bootable floopy in Solaris as well as SCO Unix thx (1 Reply)
Discussion started by: girish_shukla
1 Replies

5. SuSE

CD Bootable OS

Hi, I want to create a CD that is bootable containing a working Linux OS ie OS runs from CD and not harddrive. Will probably install Linux to a 650GB partition , including all the bits I need. How would I then use this partition to create a working CD? Ideas and Web sites with info very... (5 Replies)
Discussion started by: markdr011
5 Replies

6. UNIX for Dummies Questions & Answers

How to have bootable backup?

In my present dual boot (Fedora Core 4 & WinXP2003 Server) desktop computer, I have redundant 100GB disk drives. Every so often I boot fedora core 4 and telinit 1 cp /dev/sda /dev/sdb and then I reverse the connections to the drives so I boot from the newly created copy. I just ordered... (2 Replies)
Discussion started by: siegfried
2 Replies

7. Filesystems, Disks and Memory

Make non-bootable scsi drive, bootable

In our HP/Unix system, our master scsi drive was bootable and our mirrored drive was non-bootable. Are any of these alternatives possible: 1) Make the non-bootable scsi drive bootable? How? 2) Create a bootable scsi drive, then copy the mirrored data to the newly created scsi drive? I seek... (1 Reply)
Discussion started by: bfisk
1 Replies

8. UNIX for Advanced & Expert Users

How to determince CD is bootable or not

Hi, How can i determine the /dev/scd0 is bootable or not from command-line with single-line command according to ElTorito specification or something else? Regards, (2 Replies)
Discussion started by: oduth
2 Replies

9. SCO

Recovering 5.0.7 from Bootable CD

I've been working with SCO Unix for several years now but have never had to restore a system from a bare drive. I have a bootable CD that contains what appears to be the correct files necessary to recover the boot and root filesystems. I've got the BIOS setup such that the CD is the first... (12 Replies)
Discussion started by: teamhog
12 Replies

10. Hardware

Bootable thumbdrive

Hi all! I trying to modify my bootable thumbdrive to be seen in window OS when i plug in. I did a FAT32 partition for it but it seem like! "windows only recognizes the first primary partition on a removable device" My 1st partition is my Ubuntu OS partition ext4, is there a way to go about... (4 Replies)
Discussion started by: GQiang
4 Replies
VNDCOMPRESS(1)						    BSD General Commands Manual 					    VNDCOMPRESS(1)

NAME
vndcompress, vnduncompress -- compress/uncompress file system images to/from cloop2 format SYNOPSIS
vndcompress [-cd] disk/fs-image compressed-image [blocksize] vnduncompress [-cd] compressed-image disk/fs-image DESCRIPTION
The vndcompress program compresses an existing file system image into a cloop2 compatible compressed file system image. An optional block- size can be given. If omitted, the default of 64kB is used. The vnduncompress command decompress a cloop2-compressed file system image back into a regular image. The file system images that can be handled are not limited to any specific file system, i.e. it is possible to handle images e.g. in ISO 9660 or UFS/FFS format. File system images in the cloop2 format are intended to be used with the vnd(4) driver in compressed mode as configured by the -z option of the vnconfig(8) program, and later mounted with the appropriate -t option to mount(8). OPTIONS
The following options are available: -c Always compress, even if the program was started as vnduncompress. -d Always uncompress (decompress), even if the program was started as vndcompress. EXIT STATUS
The vndcompress and vnduncompress utilities exit with one of the following values: 0 The operation was performed successfully. 1 An error occurred. EXAMPLES
To compress an existing CD-ROM file system image, run the following commands: # vndcompress netbsd.iso netbsd.izo Note that the resulting compressed image cannot be mounted directly via NetBSD's vnd(4) and mount_cd9660(8) commands any longer. Instead, you will have to use the -z option of vnconfig(8). The following example decompresses an existing CD-ROM file system image that was compressed in the cloop2 format into a regular file that can then be mounted: # vnconfig vnd0 KNOPPIX.iso # mount -t cd9660 -o ro /dev/vnd0d /mnt # vnduncompress /mnt/KNOPPIX/KNOPPIX /var/tmp/knoppix.iso # umount /mnt # vnconfig -u vnd0 # # vnconfig vnd1 /var/tmp/knoppix.iso # mount -t cd9660 -o ro /dev/vnd1d /mnt # ls /mnt .rr_moved cdrom floppy lib opt sbin usr bin dev home mnt proc sys var boot etc initrd none root tmp vmlinuz # umount /mnt # vnconfig -u vnd1 As an alternative, if your vnd(4) was compiled with VND_COMPRESSION, you can use vnconfig(8) to access the cloop-compressed image directly, e.g., # vnconfig vnd0 KNOPPIX.iso # mount -t cd9660 -o ro /dev/vnd0d /mnt # vnconfig -z vnd1 /mnt/KNOPPIX/KNOPPIX # mount -t cd9660 -o ro /dev/vnd1d /mnt2 # ls /mnt2 .rr_moved cdrom floppy lib opt sbin usr bin dev home mnt proc sys var boot etc initrd none root tmp vmlinuz # df /mnt /mnt2 Filesystem Size Used Avail Capacity Mounted on /dev/vnd0a 692M 692M 0B 100% /mnt /dev/vnd1a 1.9G 1.9G 0B 100% /mnt2 # umount /mnt2 # vnconfig -u vnd1 # umount /mnt # vnconfig -u vnd0 Note how the 1.9GB big filesystem on /mnt2 is mounted from the compressed file stored on the 692MB CD mounted on /mnt. To create a com- pressed file system image of an existing directory and mount it, run: # makefs -t ffs include.fs /usr/include # vndcompress include.fs include.fs.cloop2 # vnconfig -z vnd0 include.fs.cloop2 # mount -o ro /dev/vnd0a /mnt # ls /mnt To undo the steps, run: # umount /mnt # vnconfig -u vnd0 # rm /tmp/include.fs.cloop2 # rm /tmp/include.fs SEE ALSO
gzip(1), vnd(4), mount(8), mount_cd9660(8), vnconfig(8) AUTHORS
The vndcompress utility was written by Florian Stoehr <netbsd@wolfnode.de>. The vndcompress manual page was written by Florian Stoehr <netbsd@wolfnode.de> and Hubert Feyrer <hubertf@NetBSD.org>. BSD
December 12, 2005 BSD
All times are GMT -4. The time now is 08:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy