Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi there,
ive download auditor live cd. but im wanting to access a few text files on my hdd. they are too big to print out, it would be a waste of paper and i think it would just be easier to see it on the computer...... i want to be able to boot up the auditor live cd and have the files on the same cd. i tried first to extract the image to my hdd, put the txt files in and then burned it to a cd. rebooted pc and it would not burn the cd. i think i have it in a wrong directory or something. where am i meant to put it so i can access it from the cd?
or another way would be from accessing it from my hdd, but how?? auditor is knoppic based but i cannot seem to access the hdd.
Use the mount command! Take a look at "man mount".
ex.: mount -t ntfs /dev/hda1 /mnt/afolder
where -t is the partition type, hda1, the first partition of your IDE1 master HD, and /mnt/afolder an empty folder in the right place to mount things.
To modify an ISO, mount it using the loopback device (check your man pages for details, should be something like "mount -o loop (device) (mountpoint)" from memory
You can't directly edit the ISO, IIRC, so copy the files across to a new directory with "cp -R". You'll then have the whole filesystem of the ISO as part of your normal filesystem. Copy the files you want into the directory, create a new ISO image with mkisofs or similar, and then burn the ISO to the disk using cdrecord or whatever.
So long as there's enough space on the CD to accomodate the extra files, this should work. Haven't tried it myself tho, so no promises!
Last edited by oneandoneis2; 10-28-2005 at 04:00 AM.
I suspect the new CD may not boot. If you make a copy of a hard disk you need to at least run LILO again to configure the boot loader. CDs use isolinux instead of LILO but I think the principle is the same.
Actually, I think you'll find the principle is different - You have to re-install the boot loader when copying a hard drive because it installs it to the MBR, which isn't part of the file system, and so not transferrable via "cp"
But because CD-ROMs don't have a MBR, they have to use something that IS part of the file system, which therefore IS cp-able.
I don't have a Knoppix CD handy, but my Knoppix-based DSL CD is indeed isolinux based, and that is in turn eltorito based. And when I made a Grub CD via the eltorito option, it only involved copying a file onto the CD.
So a straightforward file-copy should work, AFAIK.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.