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 - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 04-28-2006, 09:12 AM   #1
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
Is it possible to add files to an ISO?


The problem is that I have msdos6.2.iso for floppy, win98_install_cd.iso for cdrom and IMG.img for hda. I use it in qemu. But when I boot from within floppy or cdrom qemu can't see my hda. So I want to add files of win98 to the end of msdos iso, then make it my IMG.img, and eventually boot from it and install win98
Is there any way to do that?

Thanks.
 
Old 04-28-2006, 10:01 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
IIRC, you can mount it using the loopback interface (mount -o bind - see the man page) and edit the iso to your heart's content.

But you should be able to get Qemu to recognise the hda - how are you starting it up?
 
Old 04-28-2006, 10:06 AM   #3
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
Code:
kornerr@kornerr:~$ qemu -hda win98.img -fda msdos6.2_floppy.iso -cdrom _win98_install_cd.iso -boot d
The problem is that install cd has no command.com :/ so nothing works without it. That's why I need to find a workaround.

Also, I'll try to edit ISO.

Thanks.
 
Old 04-28-2006, 10:22 AM   #4
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
Well, I can remove files as root user. But msdos.iso is only of 1.4M! How to increase its size?

Thanks.
 
Old 04-28-2006, 10:44 AM   #5
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Mount the iso as you're doing now. Then copy all the files/directories from the iso mountpoint to a new directory. Add the extra files you need to this new directory. Then create a NEW iso from the new directory.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
add / remove applications with .iso seriesx4 Linux - Software 1 08-08-2005 05:45 PM
add software in a 50MB iso macubo Linux - Software 1 06-08-2005 05:34 PM
add software in the dsl iso macubo DamnSmallLinux 1 06-08-2005 01:15 AM
How can i add files 2 an iso image? Braveheart1980 Linux - Software 4 02-29-2004 06:30 PM
How may I add a file to an ISO image? geraldomanaus Linux - Newbie 6 04-24-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:20 PM.

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