Re: best way to make dvd appear to me a .iso file to the FS

2013-10-01 Thread Fernando Apesteguía
El 01/10/2013 03:46, Aryeh Friedman aryeh.fried...@gmail.com escribió:

 bhyveload(8) only let's you use .ISO's for install media and I want to
make
 it so I can just insert a DVD (/dev/cd0) and bhyve can read it as if it
was
 a just a normal file and not a device... short of copying it to the hard
 drive is there any other solution anyone can think of?

You could use mkisofs/growisofs to create such file from the mounted CD/DVD.

 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: best way to make dvd appear to me a .iso file to the FS

2013-10-01 Thread Alexander Yerenkow
Iso creating is probably necessary in general case, since some media
contain bootable part of cd, which are not seen as files but required  to
boot.
Of course passthrough of cd/dvd/bd device is interesting, but I think for
most usages of bhyve as virt platform correct work with iso is enough.

Regards, Alexander Yerenkow
01.10.2013 9:05 пользователь Fernando Apesteguía 
fernando.apesteg...@gmail.com написал:

 El 01/10/2013 03:46, Aryeh Friedman aryeh.fried...@gmail.com escribió:
 
  bhyveload(8) only let's you use .ISO's for install media and I want to
 make
  it so I can just insert a DVD (/dev/cd0) and bhyve can read it as if it
 was
  a just a normal file and not a device... short of copying it to the hard
  drive is there any other solution anyone can think of?

 You could use mkisofs/growisofs to create such file from the mounted
 CD/DVD.

  ___
  freebsd-hackers@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
  To unsubscribe, send any mail to 
 freebsd-hackers-unsubscr...@freebsd.org
 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: best way to make dvd appear to me a .iso file to the FS

2013-09-30 Thread Kurt Lidl

On 9/30/13 9:46 PM, Aryeh Friedman wrote:

bhyveload(8) only let's you use .ISO's for install media and I want to make
it so I can just insert a DVD (/dev/cd0) and bhyve can read it as if it was
a just a normal file and not a device... short of copying it to the hard
drive is there any other solution anyone can think of?


Well, you can create a zvol to hold the bootable UFS filesystem,
and just mount the cd-image, and extract the /usr/freebsd-dist/*
tarfiles directly into the freshly created filesystem...

-Kurt


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: best way to make dvd appear to me a .iso file to the FS

2013-09-30 Thread Aryeh Friedman
That solution works only for a FreeBSD install disk.  I am looking for a
more general solution, for an install CD/DVD for any x86-compatible OS.
(Currently bhyve cannot handle other OS's besides FreeBSD, but they are
planning to add support for other OS's.)

(I am one of the developers of PetiteCloud, a forthcoming front end for
bhyve.  See the virtualization list for details.)


On Mon, Sep 30, 2013 at 9:55 PM, Kurt Lidl l...@pix.net wrote:

 On 9/30/13 9:46 PM, Aryeh Friedman wrote:

 bhyveload(8) only let's you use .ISO's for install media and I want to
 make
 it so I can just insert a DVD (/dev/cd0) and bhyve can read it as if it
 was
 a just a normal file and not a device... short of copying it to the hard
 drive is there any other solution anyone can think of?


 Well, you can create a zvol to hold the bootable UFS filesystem,
 and just mount the cd-image, and extract the /usr/freebsd-dist/*
 tarfiles directly into the freshly created filesystem...

 -Kurt



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org