Sponsored Content
Operating Systems BSD Bootable usb-stick, need help, sos Post 302999858 by Trihexagonal on Wednesday 28th of June 2017 11:44:55 PM
Old 06-29-2017
You've managed to make something that is really quite simple very complicated.

To format a USB stick into FAT:

Code:
dd if=/dev/zero of=/dev/da0 bs=2m count=1
fdisk -BI /dev/da0
newfs_msdos /dev/da0s1

It's a good idea to do this any time you buy a new flash drive.

To create a bootable USB stick first CD into the directory the .img file you want to work with is in. (I have also used this method to make a bootable USB stick from a Kali and a Debian .iso file.)

Now use the following command:

Code:
dd if=./distro.img of=/dev/da0 bs=512k

That's all there is to it. You almost had it the first time but were not using BSD naming scheme on your GhostBSD box.

I realize this is an older thread but wanted to clear that up.
 

10 More Discussions You Might Find Interesting

1. Linux

bootable USB Stick || Fedora 8

Hello Everybody I am planning to install Fedora core 8 on an extra PC I have; what I wanna do is to boot from a USB stick then install Fedora from an ISO image I already have via FTP. Could any one tell me how to create bootable USB Stick for Fedora as I already found how to install from FTP... (0 Replies)
Discussion started by: ahmed_nasr2001
0 Replies

2. UNIX for Dummies Questions & Answers

Aix usb stick

I have a P-Series Machine running AIX 5.3, it has a USB Port on the front of the server, can I use a USB Stick on AIX platforms?? if so how..:rolleyes: (2 Replies)
Discussion started by: BEVAN
2 Replies

3. BSD

Detecting usb stick in freebsd

I inserted a 8GB usb stick in a number of machine with FreeBSD 7.1, but the medium was not detected: $ dmesg | grep MB usable memory = 4263022592 (4065 MB) avail memory = 4082540544 (3893 MB) pci0: <serial bus, SMBus> at device 31.3 (no driver attached) ad0: 238475MB <WDC WD2500BEVT-00ZCT0... (6 Replies)
Discussion started by: figaro
6 Replies

4. Filesystems, Disks and Memory

Mount USB stick...

Dummies questions, perfect for this. I cannot mount my idiotic usb stick on Slackware, I input the following on non-graphic mode as root: Mount -t vfat /dev/sdc1/usbstick usbstick is the folder i created for mounting my USB, the file system is FAT, and everytime I input that I get some kind... (2 Replies)
Discussion started by: Dax01
2 Replies

5. BSD

Mounting a USB stick in FreeBSD

When mounting a USB stick or pen drive on a FreeBSD machine I always issue the following command: mount -t msdosfs /dev/da0s1 /mnt Something I have always wondered is what the option msdosfs stands for and more importantly, why it is necessary. (7 Replies)
Discussion started by: figaro
7 Replies

6. Shell Programming and Scripting

1 usb stick -> 2 mounted devices

Hello, i am using a solaris thinclient that tries to connecting to a terminalserver. (RDP) Everything works fine, but the usb redirection. If i put in a usb stick i always get 2 usb-drives mounted. If i look in /tmp/SUNWut/mnt/<name of the host> i see 2 devices. One with the name of the... (2 Replies)
Discussion started by: anarcy
2 Replies

7. Ubuntu

Ubuntu on USB stick?

Hey Guys I have an Ubuntu CD and I was thinking of creating like a bootable hard drive with various OS so that I can just boot OSs with t drive and not require the CDs. I was just wondering is there a way I can do this, like have Ubuntu boot from a USB stick? If yes how is that possible(even if I... (3 Replies)
Discussion started by: rbansal2
3 Replies

8. SCO

Mount USB stick

hi Howto mount an USB stick under SCO 5.0.7? BTW ist it possible to mount USB stick in the command line using 'tools' at the Boot: prompt from OpenServer Release 5.0.7 installation CD? (1 Reply)
Discussion started by: ccc
1 Replies

9. Ubuntu

Installing UBUNTU on USB stick

I'd like to install the OS on my stick. I would like to be able to save my works there and install apps or customize the OS. What can I do Ps. At home I use an iMac, but in the school where I work there are only PC... Ty (2 Replies)
Discussion started by: Fabio_Puricelli
2 Replies

10. SCO

How to use USB Stick in UNIXware?

I am trying to use a USB (Pen?) drive on Unixware 7.1.4. The USB stick is in the machine and the machine recognises it when I enter usbprobe as follows: Path - Address Description ----------------------------- +++++++ BUS #2 0 - 1 - HUB "UHCI Root Hub" 1 - 2 - HID "Chicony Wireless Device"... (1 Reply)
Discussion started by: BernP
1 Replies
DEVFS.RULES(5)						      BSD File Formats Manual						    DEVFS.RULES(5)

NAME
devfs.rules -- devfs configuration information DESCRIPTION
The devfs.rules file provides an easy way to create and apply devfs(8) rules, even for devices that are not available at boot. For devices available at boot, see devfs.conf(5). The format of this file is simple. Empty lines and lines beginning with a hash sign ('#') are ignored. A line between brackets denotes the start of a ruleset. In the brackets should be the name of the ruleset and its number, separated by an equal sign. Other lines are rule specifications as documented in devfs(8), in the section Rule Specification. These lines are prepended with ``rule'' and are passed to devfs(8) by the startup scripts of the system. It is important to put path elements that contain glob(3) special charac- ters between quotes. Rulesets should have a unique name and number. All rules that follow a ruleset declaration belong to that ruleset, until a new ruleset is started. One custom ruleset has to be enabled in /etc/rc.conf, otherwise it will not be applied to the /dev file system by the default system startup process. For example, to enable a ``localrules'' ruleset for the /dev file system, you would have to use something like this in your rc.conf file: devfs_system_ruleset="localrules" FILES
/etc/defaults/devfs.rules Default devfs.rules configuration file. /etc/devfs.rules Local devfs.rules configuration file. Rulesets in here override those in /etc/defaults/devfs.rules with the same ruleset number, otherwise the two files are effectively merged. EXAMPLES
To make all the partitions of da(4) devices readable and writable by their owner and the ``usb'' group, the following rule may be used: [localrules=10] add path 'da*s*' mode 0660 group usb The first line declares and starts a new ruleset, with the name localrules and the number 10. To give usbconfig(8) and libusb(3) enabled applications permission to all usb devices for their owner and the ``usb'' group, a similar rule may be used: add path 'usb/*' mode 0660 group usb SEE ALSO
glob(3), devfs(5), devfs.conf(5), devfs(8) AUTHORS
This manual page was written by Roland Smith <rsmith@xs4all.nl>. BSD
February 21, 2010 BSD
All times are GMT -4. The time now is 11:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy