cli guru needed

Patrick O'Callaghan pocallaghan at gmail.com
Mon Aug 3 00:33:45 UTC 2009


On Sun, 2009-08-02 at 15:10 -0700, Bazooka Joe wrote:
> On Sun, Aug 2, 2009 at 10:41 AM, Patrick
> O'Callaghan<pocallaghan at gmail.com> wrote:
> > On Sun, 2009-08-02 at 10:34 -0700, Bazooka Joe wrote:
> >> Is there a way to combine these 2 commands to cut my time in half?
> >>
> >> VBoxManage internalcommands  converttoraw file.vdi file.raw
> >> then I have to run
> >> dd if=file.raw of=/dev/sdb
> >
> > Assuming the second line is correct (i.e. you really want to copy
> > file.raw bit-for-bit to a physical device), why not do it directly:
> >
> > VBoxManage internalcommands  converttoraw file.vdi /dev/sdb
> >
> 
> 
> Looks like VBoxManage won't write to a directory, darn.

/dev/sdb is not a directory. Unless your setup is *very* nonstandard,
it's a device, in fact a disk drive. In the worst case the app might
want to seek on it, but there's no reason it shouldn't be able to do
that.

BTW I don't see a convertoraw option in my copy of VBoxManage. Are you
quite sure of what you're doing?

poc




More information about the fedora-list mailing list