Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-28-2010, 11:13 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 12

Rep: Reputation: 0
Extract ISO to HD, create ISO from Extractions, Boot ISO

mkdir /mnt/iso
mount -o loop -t iso9660 ./debian-507-i386-netinst.iso  /mnt/iso
mkdir /tmpdeb
cd /tempdeb
cp -pr /mnt/iso/* ./
md5sum `find ! -name "md5sum.txt" ! -path "./isolinux/*" -follow -type f` > md5sum.txt
mkisofs -o /tmpdeb.iso -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/ ./
Launch tempdeb.iso inside of a vmware machine.
It goes thru the first 3 options, then it starts looking at the cd and says:
Incorrect CD-ROM detected
The CD-ROM drive contains a CD which cannot be used for installation.
Please insert a suitable CD to continue with the installation.

I can boot and install the original ISO just fine.
Old 12-28-2010, 01:10 PM   #2
LQ Newbie
Registered: Jul 2008
Posts: 12

Original Poster
Rep: Reputation: 0
cp -pr /mnt/iso/* ./

should be

cp -pr /mnt/iso ./

It doesn't copy hidden files when you do /*



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount ISO as specific device (ie: /dev/sda1) with GRUB2 to boot KNOPPIX live cd iso BLuFeNiX Linux - General 2 12-23-2009 01:31 AM
i edited the fedora9.iso files... how do i create bootable iso now? Yaniv-Fer Linux - General 3 11-04-2008 02:52 AM
How to create CD ISO from Fedora DVD ISO amjadakmal Fedora 2 05-24-2006 01:19 AM
Does anyone Know how to open either .iso.rz or these .iso.xdelta,.iso.bz2,.iso.lzma?? maximalred Debian 5 06-09-2004 06:15 AM
mount a .iso or extract a .iso behind user witout access to root easytarget Linux - Newbie 3 09-29-2002 05:01 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration