LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 11-08-2009, 12:56 PM   #1
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Rep: Reputation: 28
Unable to copy the contents of a mounted ISO


Howdy LQ'ers,

im working on a pxe server, and it calls for me to mount an iso and copy the contents of the iso into a folder. im using a 8.04 alternate install iso. this is the list of errors i get

Code:
cp: reading `/media/mounted_iso/casper/initrd.gz': Input/output error
cp: reading `/media/mounted_iso/casper/vmlinuz': Input/output error
cp: reading `/media/mounted_iso/dists/hardy/main/binary-i386/Packages': Input/output error
cp: reading `/media/mounted_iso/dists/hardy/main/binary-i386/Packages.gz': Input/output error
cp: reading `/media/mounted_iso/dists/hardy/main/binary-i386/Release': Input/output error
cp: reading `/media/mounted_iso/dists/hardy/Release': Input/output error
cp: reading `/media/mounted_iso/dists/hardy/Release.gpg': Input/output error
cp: reading `/media/mounted_iso/dists/hardy/restricted/binary-i386/Packages': Input/output error
cp: reading `/media/mounted_iso/dists/hardy/restricted/binary-i386/Packages.gz': Input/output error
cp: reading `/media/mounted_iso/dists/hardy/restricted/binary-i386/Release': Input/output error
cp: reading `/media/mounted_iso/install/mt86plus': Input/output error
cp: reading `/media/mounted_iso/install/README.sbm': Input/output error
cp: reading `/media/mounted_iso/install/sbm.bin': Input/output error
cp: reading `/media/mounted_iso/pics/blue-lowerleft.png': Input/output error
cp: reading `/media/mounted_iso/pics/blue-lowerright.png': Input/output error
cp: reading `/media/mounted_iso/pics/blue-upperleft.png': Input/output error
cp: reading `/media/mounted_iso/pics/blue-upperright.png': Input/output error
cp: reading `/media/mounted_iso/pics/debian.jpg': Input/output error
cp: reading `/media/mounted_iso/pics/logo-50.jpg': Input/output error
cp: reading `/media/mounted_iso/pics/red-lowerleft.png': Input/output error
cp: reading `/media/mounted_iso/pics/red-lowerright.png': Input/output error
cp: reading `/media/mounted_iso/pics/red-upperleft.png': Input/output error
cp: reading `/media/mounted_iso/pics/red-upperright.png': Input/output error
cp: reading `/media/mounted_iso/pool/main/b/b43-fwcutter/b43-fwcutter_011-1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/b/bpalogin/bpalogin_2.0.2-11_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/b/build-essential/build-essential_11.3ubuntu1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/d/dpkg/dpkg-dev_1.14.16.6ubuntu4_all.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/f/fakeroot/fakeroot_1.9ubuntu1.1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/g/gcc-4.2/g++-4.2_4.2.4-1ubuntu4_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/g/gcc-4.2/libstdc++6-4.2-dev_4.2.4-1ubuntu4_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/g/gcc-defaults/g++_4.2.3-1ubuntu6_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/g/glibc/libc6-dev_2.7-10ubuntu4_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/i/isdnutils/capiutils_3.12.20071127-0ubuntu1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/i/isdnutils/ipppd_3.12.20071127-0ubuntu1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/i/isdnutils/isdnutils-base_3.12.20071127-0ubuntu1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/i/isdnutils/isdnutils-xtools_3.12.20071127-0ubuntu1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/i/isdnutils/libcapi20-3_3.12.20071127-0ubuntu1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/i/isdnutils/libcapi20-dev_3.12.20071127-0ubuntu1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/i/isdnutils/pppdcapiplugin_3.12.20071127-0ubuntu1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/l/linux/linux-libc-dev_2.6.24-24.56_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/l/linux-atm/libatm1_2.4.1-17.1build1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/l/linux-wlan-ng/linux-wlan-ng_0.2.8+svn1839+dfsg-2ubuntu4_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/l/localechooser/localechooser-data_1.42ubuntu5_all.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/l/lupin/lupin-support_0.20_all.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/m/mouseemu/mouseemu_0.15-8ubuntu3_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/n/ndisgtk/ndisgtk_0.8.3-1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/n/ndiswrapper/ndiswrapper-common_1.50-1ubuntu1_all.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/n/ndiswrapper/ndiswrapper-utils-1.9_1.50-1ubuntu1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/o/oem-config/oem-config_1.37.2_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/o/oem-config/oem-config-gtk_1.37.2_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/p/patch/patch_2.5.9-4_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/p/pptp-linux/pptp-linux_1.7.0-2ubuntu2_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/s/setserial/setserial_2.17-44_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/main/t/timedate/libtimedate-perl_1.1600-9_all.deb': Input/output error
cp: reading `/media/mounted_iso/pool/restricted/d/drdsl/drdsl_1.2.0-1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/restricted/l/linux-meta/avm-fritz-firmware_2.6.24.24.26_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/restricted/l/linux-restricted-modules-2.6.24/avm-fritz-firmware-2.6.24-24_3.11+2.6.24.18-24.1_i386.deb': Input/output error
cp: reading `/media/mounted_iso/pool/restricted/s/sl-modem/sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu4_i386.deb': Input/output error
cp: reading `/media/mounted_iso/preseed/cli.seed': Input/output error
cp: reading `/media/mounted_iso/preseed/ltsp.seed': Input/output error
cp: reading `/media/mounted_iso/preseed/ubuntu.seed': Input/output error
or when i use the gui to do the mounting and copying of the contents, this the error i get

Code:
isoinfo: Short read on old image
so, its frusterating, and im at a loss cause im doing it as a sudo user, and also as root. thanks for any ideas or help.
 
Old 11-08-2009, 12:57 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Whats up bro?
Hoo-Rah! heh?

could the iso be corrupted?
 
Old 11-08-2009, 04:09 PM   #3
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 28
I guess, i'd have to check, guess I needed someone elses outside view.
 
Old 11-08-2009, 04:12 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
what are you tryin to do anyhow?

Did you ever get the grub multiboot usb goin?
 
Old 11-11-2009, 06:24 AM   #5
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 28
No, I didn't I got distracted and started a new project, then a new project. But I will get back at it. I'm trying to unpackage the contents of the iso for a pxe server project.
 
Old 11-11-2009, 06:41 AM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
what about rsync?
did you try using rsync?

I dont know much about pxe though...

are you in a X desktop when doing this?

isomaster can mount and copy iso too, without being root.
 
Old 11-11-2009, 08:09 AM   #7
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 28
Using both command line and GUI when trying to unpack it. It first happened on my server and I couldn't copy and paste the error, but now I realize I could have redirected the error and then emailed it to myself but even on a GUI I couldn't get it to work.
What do you mean use rsync? I thought it was just a backup program? I'm trying make a pxe server cause a "client" has a laptop that doesn't have a functioning DVD drive and my flashsticks don't work for some reason, says the os is missing. So I found it can boot off the network. It's an old hp laptop, I can't remember the model or the hardware, but I'm sure it's x86.
 
Old 11-11-2009, 08:23 AM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
your flashsticks are fat32 syslinux or ext2/3 with grub?
if grub, try editing menu.lst so usb boots as first hd, (hd0,0)

I know pmagic has a good pxe setup, as does Slax

did you read this too?

http://syslinux.zytor.com/wiki/index.php/PXELINUX

and, IF you could boot off USB, would that work best?
did you try plop bootmanager?

OH
Happy Veterans's Day Predatorian
Thank you for your Service bro and stay out of trouble
 
Old 11-11-2009, 10:21 AM   #9
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 28
yeah, if i could boot off the flashstick that would be the best idea right now just cause its faster, but i would like to get this PXE server going on my VM. im currently in the airport, so im trying to get my server updated, and get a NON-corrupt iso of the alternate installer for ubuntu.
for that PXELinux, so i need to download a package like when i download syslinux?
 
Old 11-12-2009, 01:16 PM   #10
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 28
Howdy, yea it was a corrupt copy of the cd. Niw I got the pxe server running, but ubuntu says I need a properly configured kickstart file. I'm not sure if I need to start a new thread, but I just need a pointer or direction to what I need to know how to configure a ks.cfg file for ubuntu server 9.04. Thanks peeps. And thanks linus76, I'll get back to the multiboot grub flash stick. .
 
  


Reply



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
Copy a directory without contents zefram Linux - Software 2 04-28-2009 05:06 PM
copy io error on Selinux + iso mounted Ammad Linux - General 3 09-10-2008 03:40 AM
Installation from a mounted ISO, doesn't copy files... GamerX Slackware - Installation 1 11-13-2006 11:41 AM
RHEL CDs: made iso, mounted iso, exported dir - still asks for CD :( guest Linux - Newbie 1 04-08-2005 12:37 PM
view contents in mounted partition macshark Linux - General 3 01-20-2003 10:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration