Bootable GhostBSD USB-flashdrive (using Linux 'dd').

Questions about the installation of FreeBSD

Bootable GhostBSD USB-flashdrive (using Linux 'dd').

Postby scjet » Mon Dec 02, 2013 1:23 pm

According to the GhostBSD faq here:
http://ghostbsd.org -> HELP -> FAQ:
http://wiki.ghostbsd.org/index.php?title=FAQ#On_Linux
Code: Select all
sudo dd if=GhostBSD-3.5-amd64.img of=/dev/sdf bs=1m conv=sync

Except that I got an error:
Code: Select all
dd: invalid number ‘1m’
(-Linux don't like the small "m", for some strange reason it need to be "M" ) ?

Can someone please correct the above (homepage) GhostBSD "FAQ" wiki with one of the below corrections ?

first off, you may have to prepare you're usb flash drive, by removing any existing partitions (aka sdx1, or sdx2,...)
If you have "gparted" installed in your Linux then, from a "terminal", simply run:
sudo gparted -> Select your USB drive, (Example: /dev/sdx), then -> "Device " -> "Create Partition Table" (by default it'll create a standard mbr / MSDOS Partition Table):

Here's what does work, ( creating a bootable USB of GhostBSD, using Arch Linux):
Code: Select all
sudo dd if=GhostBSD-3.0-i386.img of=/dev/sdx bs=1M

Or,
Code: Select all
dd if=GhostBSD3.5-openbox-amd64.img of=/dev/sdx bs=1M conv=sync

Or,
Code: Select all
dd if=GhostBSD3.5-openbox-amd64.img of=/dev/sdx bs=64k conv=sync

[where "x" means whatever the "sd" -devicename of your usb flashdrive is]

Note: Can someone verify if this, in fact, is the case across different Linux distro's (aka Ubumtu, Redhat, ...)?
I verified this on Arch Linux, unfortunately, as we all know, Linux distro's are not "exactly" the same, + some of their "man" pages can be quite horrible. :roll:
Last edited by scjet on Fri Dec 06, 2013 1:44 pm, edited 1 time in total.
scjet
 
Posts: 4
Joined: Mon Dec 02, 2013 11:58 am

Bootable GhostBSD USB-flashdrive (using Linux 'dd').

 

Re: Bootable GhostBSD USB-flashdrive (using Linux 'dd').

Postby ericbsd » Tue Dec 03, 2013 10:31 am

Try this it has worked for some people.
Code: Select all
sudo dd if=GhostBSD-3.0-i386.img of=/dev/sdx bs=1M && sync
ericbsd
Site Admin
 
Posts: 404
Joined: Mon Nov 19, 2012 11:54 pm

Re: Bootable GhostBSD USB-flashdrive (using Linux 'dd').

Postby scjet » Thu Dec 05, 2013 6:36 am

ericbsd wrote:Try this it has worked for some people.
Code: Select all
sudo dd if=GhostBSD-3.0-i386.img of=/dev/sdx bs=1M && sync


The first method I tried was same as above, but with "bs=1M ; sync" -but it didn't work,
hence maybe your "&&" is better since according to some docs:
"...&& execute 2nd command only when first command executed successfully (status 0)"

Thx.
scjet
 
Posts: 4
Joined: Mon Dec 02, 2013 11:58 am

Re: Bootable GhostBSD USB-flashdrive (using Linux 'dd').

Postby ericbsd » Thu Dec 05, 2013 10:24 am

If that one don't work try
Code: Select all
sudo dd if=GhostBSD-3.0-i386.img of=/dev/sdx sz=1M && sync
ericbsd
Site Admin
 
Posts: 404
Joined: Mon Nov 19, 2012 11:54 pm

Re: Bootable GhostBSD USB-flashdrive (using Linux 'dd').

Postby scjet » Fri Dec 06, 2013 1:50 pm

Hi Eric, if you read my top post, you'll see I have it working fine, with any of the 3 examples of "dd" lines that I listed.

I'm just saying "bs=1m" is not a valid command in Linux (specifically Arch Linux).
You need to modify your "FAQ", or "Help" section I think -the part where it gives "dd" example instructions for creating a bootable USB .img of GhostBSD using Linux?
... it needs to be "...bs=1M...", and NOT "bs=1m" ? (case-sensitive here in Linux).

and Hey by the way, GhostBSD is looking very good these days -nice work !
:)

Thanks
Last edited by adripillo12 on Mon Dec 09, 2013 12:56 pm, edited 1 time in total.
Reason: Please do not use ????? and abbreviate words
scjet
 
Posts: 4
Joined: Mon Dec 02, 2013 11:58 am


Return to Installing GhostBSD

Who is online

Users browsing this forum: No registered users and 0 guests