Sponsored Content
Operating Systems BSD Bootable usb-stick, need help, sos Post 302969685 by 1in10 on Friday 25th of March 2016 09:38:00 PM
Old 03-25-2016
Bootable usb-stick, need help, sos

I would probably set all my rubber points here to get some real help for creating a boot device on a usb-stick. There is no CD-drive on this machine, thats why I need to use a usb-stick. And scrumming in a CD-drive to fuddle around in the fstab or something like that is out of reach.
My wisdom so far told me to type the following code to shovel the iso to the usb-stick, but under bsd it does not.
Code:
dd if=/your/path/to/distro.iso of=/dev/sdX bs=16k

the bsd root terminal tells me

Code:
dd: /dev/sdx: Operation not supported

no matter if upper or lower case the x, no other explanation naming the device sdc1, sdb1.
Another commandline like

Code:
cp /path/to/distro.iso /dev/sdc1

gives me no result either. The usb-stick is formatted, but even typing in the root terminal

Code:
mkfs.ext3 -I /dev/sdc1

it tells me

Code:
command not found

I am using ghostbsd.
Any hints are highly appreciated. Thanks in advance. to correct my error I typed
Code:
fdisk -BI /dev/da0

to make it work on a non-BSD system I would furthermore type
Code:
newfs_msdosfs /dev/da0s1

but I get the message
Code:
fdisk: Failed to write MBR. Try to use gpart(8)

Doing so,
Code:
gpart -BI /dev/da0

I spend the weekend and more time reading and testing all ways to format that usb-stick, so may there is someone who can give me a clue and to get the iso on that same usb-drive. The only information about the usb-drive with Gsmartcontrol about the usb-drive and gpart in the root terminal I can get is the following, one shows me the entire 8GB, command line tells the following
Code:
 gpart show da0 =>     64  8292651  da0  GPT  (7.5G) [CORRUPT]        64     1268    1  ms-basic-data  (634K)      1332     5760    2  efi  (2.8M)      7092  8285620    3  ms-basic-data  (4.0G)   8292712        3       - free -  (1.5K)

some other attempts to wipe out the partition or slice
Code:
gpart destroy da0  Device busy

May someone can help, thanks in advance.

Last edited by 1in10; 03-26-2016 at 12:48 AM.. Reason: some progress
 

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
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy