Unix/Linux Go Back    


BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

Bootable usb-stick, need help, sos

BSD


Tags
bootabe usb.drive, bootable usb-stick under bsd, solved

Reply    
 
Thread Tools Search this Thread Display Modes
    #8  
Old Unix and Linux 01-20-2017
1in10's Unix or Linux Image
1in10 1in10 is offline
Registered User
 
Join Date: Jun 2014
Last Activity: 27 February 2017, 5:15 AM EST
Location: Brazil
Posts: 118
Thanks: 36
Thanked 4 Times in 4 Posts
gpart

okay, so I hang on to my version of antix (that offers unetbootin) making a bootable usb-stick, because gpart is dragging me down. And just adding this, I coud go for the commandline like
Code:
dd if=/your/path/distro.iso of=/dev/sdb1 bs=64K

.
That is putting fun back into your distro.
Sure, unetbootin uses all of the media. But thanks, anyway.

It's been more than eight years I have been using CD or DVD media at all, and since I took off the CD-Drive I am really lazy to put it back, just to burn once in a while a CD.

Last edited by rbatte1; 01-20-2017 at 07:03 AM.. Reason: CD or DVD usage
Sponsored Links
    #9  
Old Unix and Linux 3 Weeks Ago
1in10's Unix or Linux Image
1in10 1in10 is offline
Registered User
 
Join Date: Jun 2014
Last Activity: 27 February 2017, 5:15 AM EST
Location: Brazil
Posts: 118
Thanks: 36
Thanked 4 Times in 4 Posts
SOLVED at least it works for me.

I may should say this topic can be set as solved under the condition that it works for me.
It is about a usb-stick with an iso-image on it, Made on a linux machine putting a linux-distro on in, bootable device, to test the distro. I did not like it, disarded it, went back to gparted, formatting it as msdos fat32. This worked well, linux tells me, full space available.
The point is, this device goes from a linux to a BSD and rarely to a Windows machine. That is why I needed the msdos fat32 format. While linux says that everything is okay, BSD mumbles correctly, that there still is a boot partition on the drive.

Once again it works for me this way, not claiming the solution for encrypted partitions or slicing and dicing. So this is a particular solution, but probably helpful for others, who are not using encrypted slices or something just made for ufs. Although there is a slice1.


Code:
# clean the whole partition
gpart destroy -F da0

# set a mbr on the same
gpart create -s mbr da0

# fill the partition
gpart add -t \!12 da0

# format ins msdos style (fat32)
newfs_msdos -F32 /dev/da0s1

Resuming, some things take time. Damn thing.

This would or could work for make it bootable for ufs or BSD, I did not try yet


Code:
# clean it all
gpart destroy -F da0

# set a blank BSD partition 
gpart create -s bsd da0

# set the whole partition for usage of FFS(2)
gpart add -t freebsd-ufs da0

# format it (ffs(2))
newfs -U /dev/da0p1

This is an approach for flash drives


Code:
# Think twice about the name of your device
# clearing the MBR
dd if=/dev/zero of=/dev/da0 bs=2m count=0

# formatting it
newfs /dev/da0

# test test test
mount -t ufs /dev/da0 /mnt

# note da0 may, or may NOT be the correct device - check messages

Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to use USB Stick in UNIXware? BernP SCO 1 06-30-2015 02:39 PM
Mount USB stick ccc SCO 1 08-29-2010 09:39 AM
Ubuntu on USB stick? rbansal2 Ubuntu 3 05-16-2010 08:15 AM
Mount USB stick... Dax01 Filesystems, Disks and Memory 2 08-07-2009 11:07 AM
bootable USB Stick || Fedora 8 ahmed_nasr2001 Linux 0 03-23-2008 04:32 PM



All times are GMT -4. The time now is 06:09 AM.