LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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


Code:
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/boot.cat ./
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
LemensTS
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 /*

Jeeeeeeeeese!
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 03:47 PM.

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