Re: cli guru needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 02 August 2009, Patrick O'Callaghan wrote:
>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@xxxxxxxxx> 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.

Another item that has blown on by is that /dev/sdb is the whole device.  One 
must have at least one mountable partition setup on the device, and the 
filesystem suitably initialized and mounted before the file can be written.  
There are some exceptions to that rule, generally involving either an .iso 
image, or 'dd' which can make an identical image on any writable device at 
least big enough to hold the image.  Otherwise you must name the partition on 
the device and mount it.  Example /dev/sdb3, mounted to /media/sdb3 for 
instance.
>
>BTW I don't see a convertoraw option in my copy of VBoxManage. Are you
>quite sure of what you're doing?
>
>poc


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
<https://www.nrahq.org/nrabonus/accept-membership.asp>

Where's the man could ease a heart
Like a satin gown?
		-- Dorothy Parker, "The Satin Dress"

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux