DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd January 2013
Ninguem Ninguem is offline
Shell Scout
 
Join Date: Jun 2011
Posts: 138
Thanked 0 Times in 0 Posts
Default Using Qemu for creating bootable usb when wireless is needed

Using Qemu for creating bootable usb when wireless is needed.
If your machine has a wireless driver that has to be built, you can attach a usb key to your machine and make it into a functioning system.
Code:
# chmod 777 /dev/daX
Because you are installing a new system, you want the normal user to have complete rights to the usb device.
Code:
$ qemu-system-i386 -cdrom /path/to/iso/or/device -hda /dev/dX -boot d
It can be time consuming but it works. I created a Debian key; and, of course, one should know that FreeBSD will also work.

What is it good for and what equipment can be used? A spare portable drive and older computers. I have not had much progress trying powerpc builds on i386.
__________________
No signature

Last edited by Ninguem; 26th January 2013 at 12:24 AM.
Reply With Quote
  #2   (View Single Post)  
Old 26th January 2013
Ninguem Ninguem is offline
Shell Scout
 
Join Date: Jun 2011
Posts: 138
Thanked 0 Times in 0 Posts
Default

Be sure to do the following before running Qemu.
Code:
# chmod 777 /path/to/usb
For some reason, this seems to be necessary for each boot.
If you have an older system such as I do and are using kqemu:
Code:
# kldload aio && kldload kqemu
It also helps if the kernel you are using has the hertz set at a higher frequency. Set this at 2000 or 2500 on the guest. If the guest is a Linux system, be sure that a kernel with the 1000Hz option is being used.
__________________
No signature
Reply With Quote
  #3   (View Single Post)  
Old 26th January 2013
Ninguem Ninguem is offline
Shell Scout
 
Join Date: Jun 2011
Posts: 138
Thanked 0 Times in 0 Posts
Default

If this is done on a Linux system:
1. Replace daX with sdX.
2. If you are going to use the kqemu kernel module, be sure to build it first. This tutorial is based on using FreeBSD as the host. The added information is here because this forum deals with the BSD systems along with mentioning other systems.
__________________
No signature
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble creating freeBSD bootable usb aenimansot FreeBSD Installation and Upgrading 1 11th September 2011 03:12 AM
How to Create a Bootable CD from an .iso file rtwingfield FreeBSD Installation and Upgrading 4 22nd June 2010 10:08 AM
Help creating a slice kly FreeBSD Installation and Upgrading 4 22nd May 2010 04:37 PM
Creating 2 slices Beastie FreeBSD Installation and Upgrading 7 23rd March 2009 12:22 AM
make iso bootable from USB stick ccc FreeBSD General 2 30th October 2008 02:28 AM


All times are GMT. The time now is 11:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick