Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Help Making an ISO image for Virtualbox

  1. #1
    Join Date
    Feb 2006
    Beans
    50
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Help Making an ISO image for Virtualbox

    Hello all,

    I installed Virtualbox and now wanted to install xp inside of that.

    I got virtual running and all but am having difficulty with the cdrom reading when trying to install xp on/in it.

    so i figured if i could mount an .iso of my cdrom it would avoid the issues i was having.

    so that in mind how do i create one?

    i googled "create an iso from a cd in linux" and got a bunch of cryptic posts. none of which help me because i don't understand their vague dialog.

    anyone care to help me out in creating one? i cant seem to figure out where ubuntu has my dvd and burner mounted.

    how do i figure out where it lists them? i right clicked them in my desktop and it showed them as ...
    Location: computer:///

    so what does that mean???

    i just wanted to make an iso and it would seem that i am clueless as to what i need to do.

    HELP PLEASE

    Thank you in advance

  2. #2
    Join Date
    Feb 2006
    Beans
    50
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Help Making an ISO image for Virtualbox

    dave@Redbuntu:~$ sudo umount /dev/cdrom1
    [sudo] password for dave:
    umount: /dev/cdrom1: not mounted
    dave@Redbuntu:~$ dd if=/dev/cdrom1 of=file.iso bs=1024
    dd: opening `/dev/cdrom1': No medium found
    dave@Redbuntu:~$ dd if=/dev/cdrom2 of=file.iso bs=1024
    dd: opening `/dev/cdrom2': No such file or directory
    dave@Redbuntu:~$
    dave@Redbuntu:~$ ls /dev/cdr*
    /dev/cdrom1 /dev/cdrw1
    dave@Redbuntu:~$


    My DVD is im guessing is the /dev/cdrom1 and not the cdrw1
    Last edited by GNUoob; November 6th, 2007 at 05:47 AM.

  3. #3
    Join Date
    Jun 2007
    Location
    Brisbane Australia
    Beans
    96
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Help Making an ISO image for Virtualbox

    My best bet,

    install mkisofs
    Code:
    sudo apt-get install mkisofs
    then, depending what your cdrom is called in /media/

    Code:
    mkisofs -o xp.iso /media/cdrom/
    this should spit out a file called xp.iso in you home folder. Now add that to your virtualbox disc images with the manager and you can mount it in your machines.
    edit: this assumes your cd is mounted, I think it has to be

  4. #4
    Join Date
    Oct 2006
    Location
    Canada
    Beans
    Hidden!
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Help Making an ISO image for Virtualbox

    I have 2 cdroms and when I had a similar problem with virtualbox I found that I was using the wrong cdrom. Picked the right one and everything went good.

    I don't know if thats your problem, but thought I'd throw it in.
    Registered Linux User #448551

  5. #5
    Join Date
    Feb 2006
    Beans
    50
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Help Making an ISO image for Virtualbox

    Quote Originally Posted by BennBuntu View Post
    My best bet,

    install mkisofs
    Code:
    sudo apt-get install mkisofs
    then, depending what your cdrom is called in /media/

    Code:
    mkisofs -o xp.iso /media/cdrom/
    this should spit out a file called xp.iso in you home folder. Now add that to your virtualbox disc images with the manager and you can mount it in your machines.
    edit: this assumes your cd is mounted, I think it has to be



    dave@Redbuntu:~$ sudo apt-get install mkisofs
    [sudo] password for dave:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    mkisofs is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
    dave@Redbuntu:~$ mkisofs -o xp.iso /media/cdrom0
    Setting input-charset to 'UTF-8' from locale.
    Unknown file type (unallocated) /media/cdrom0/.. - ignoring and continuing.
    Total translation table size: 0
    Total rockridge attributes bytes: 0
    Total directory bytes: 68
    Path table size(bytes): 10
    Max brk space used 0
    174 extents written (0 MB)
    dave@Redbuntu:~$


    thanks but its not working

  6. #6
    Join Date
    Feb 2006
    Beans
    50
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Help Making an ISO image for Virtualbox

    anyone?

  7. #7
    Join Date
    Aug 2006
    Location
    Australia
    Beans
    1,438

    Re: Help Making an ISO image for Virtualbox

    Code:
    sudo aptitude install gnomebaker
    That will install GnomeBaker, it's in your Applications --> Sound & Video --> CD/DVD writer GnomeBaker

    From there just copy a CD, and tell it to output to an iso.
    Super easy to do
    Work smart, not hard.

  8. #8
    Join Date
    Feb 2006
    Beans
    50
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Help Making an ISO image for Virtualbox


  9. #9
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: Help Making an ISO image for Virtualbox

    Quote Originally Posted by BennBuntu View Post
    My best bet,

    install mkisofs
    Code:
    sudo apt-get install mkisofs
    then, depending what your cdrom is called in /media/

    Code:
    mkisofs -o xp.iso /media/cdrom/
    this should spit out a file called xp.iso in you home folder. Now add that to your virtualbox disc images with the manager and you can mount it in your machines.
    edit: this assumes your cd is mounted, I think it has to be
    You need to unmount the cdrom first before you try to make the iso. Anbd just to be sure find out where your cdrom is.

    Do as follows in a terminal:

    Code:
    cat /etc/fstab
    and look for the entry for a cdrom something like /media/cdrom0
    if you have more than one cdrom drive find out by trial and errror which one you want.

    next unmount the cdrom
    Code:
    sudo umount /media/cdrom0
    then run the make iso command:

    Code:
    dd if=/dev/cdrom0 of=file.iso bs=1024/
    works every time for me
    No longer participating......

  10. #10
    Join Date
    Feb 2006
    Beans
    50
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Help Making an ISO image for Virtualbox

    http://gnuoob.googlepages.com/snapshot4.png

    that is what i get when i try what you said

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •