Re: cli guru needed

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

 



On 08/02/2009 11:34 AM, 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

-thx


I have set up literally hundreds of CF cards for embedded systems.

My final approach was to give the VM the usb raw device as its disk drive and install directly to it.

All I had to do 'postinstall' was run mkinitrd and add the ide and scsi drivers to the command line, so it would boot in literally anything supported by the kernel.

I used the kvm VM for this because of its simplicity for me.  YMMV.

Pop in the CF card and watch it mount. Verify the drive id with df, then unmount it.

This example assumes that the CF card was mounted as /dev/sdbX.

# qemu-kvm -hda /dev/sdb -cdrom CentOS-5.2-x86_64-bin-DVD.iso -net nic -net user -m 1024 -kernel vmlinuz -initrd initrd.img -append "text ks=http://10.1.10.197/ks/ks";

For me, I can kickstart a small custom Fedora or Centos build in about 7 minutes, and pop it into an embedded device and boot it.

Hope this points you in the right direction.

Good luck!

--
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