How to write FreeBSD image to USB flash drive
I am trying to write FreeBSD-10.3-RELEASE-amd64-memstick.img
to a USB flash drive, in the hopes of installing FreeBSD on an x64 computer in my house. Here is the image: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3/
.
I have searched up how to write .img
files to a USB flash drive, with most sites saying to use Unetbootin, Startup Disk Creator, or the dd command. When I plugged in and selected the flash drive after using Unetbootin, I received the message "Missing operating system". With Disk Creator, I received a message telling me that Disk Creator couldn't write the image to the flash drive.
As for the dd command, I used this: dd if=FreeBSD-10.3-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=10240 conv=sync
, which I got from here and here. The command writes a bunch of garbage files to my flash drive, instead of the contents of the FreeBSD image (which I assume wouldn't be garbage files).
How should I go about writing FreeBSD to the flash drive and installing it to my computer, given that these options didn't work?
boot usb-flash-drive freebsd bootable-media
add a comment |
I am trying to write FreeBSD-10.3-RELEASE-amd64-memstick.img
to a USB flash drive, in the hopes of installing FreeBSD on an x64 computer in my house. Here is the image: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3/
.
I have searched up how to write .img
files to a USB flash drive, with most sites saying to use Unetbootin, Startup Disk Creator, or the dd command. When I plugged in and selected the flash drive after using Unetbootin, I received the message "Missing operating system". With Disk Creator, I received a message telling me that Disk Creator couldn't write the image to the flash drive.
As for the dd command, I used this: dd if=FreeBSD-10.3-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=10240 conv=sync
, which I got from here and here. The command writes a bunch of garbage files to my flash drive, instead of the contents of the FreeBSD image (which I assume wouldn't be garbage files).
How should I go about writing FreeBSD to the flash drive and installing it to my computer, given that these options didn't work?
boot usb-flash-drive freebsd bootable-media
add a comment |
I am trying to write FreeBSD-10.3-RELEASE-amd64-memstick.img
to a USB flash drive, in the hopes of installing FreeBSD on an x64 computer in my house. Here is the image: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3/
.
I have searched up how to write .img
files to a USB flash drive, with most sites saying to use Unetbootin, Startup Disk Creator, or the dd command. When I plugged in and selected the flash drive after using Unetbootin, I received the message "Missing operating system". With Disk Creator, I received a message telling me that Disk Creator couldn't write the image to the flash drive.
As for the dd command, I used this: dd if=FreeBSD-10.3-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=10240 conv=sync
, which I got from here and here. The command writes a bunch of garbage files to my flash drive, instead of the contents of the FreeBSD image (which I assume wouldn't be garbage files).
How should I go about writing FreeBSD to the flash drive and installing it to my computer, given that these options didn't work?
boot usb-flash-drive freebsd bootable-media
I am trying to write FreeBSD-10.3-RELEASE-amd64-memstick.img
to a USB flash drive, in the hopes of installing FreeBSD on an x64 computer in my house. Here is the image: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3/
.
I have searched up how to write .img
files to a USB flash drive, with most sites saying to use Unetbootin, Startup Disk Creator, or the dd command. When I plugged in and selected the flash drive after using Unetbootin, I received the message "Missing operating system". With Disk Creator, I received a message telling me that Disk Creator couldn't write the image to the flash drive.
As for the dd command, I used this: dd if=FreeBSD-10.3-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=10240 conv=sync
, which I got from here and here. The command writes a bunch of garbage files to my flash drive, instead of the contents of the FreeBSD image (which I assume wouldn't be garbage files).
How should I go about writing FreeBSD to the flash drive and installing it to my computer, given that these options didn't work?
boot usb-flash-drive freebsd bootable-media
boot usb-flash-drive freebsd bootable-media
asked May 11 '16 at 2:30
gnugnu
45228
45228
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Assuming you are using dd within FreeBSD or Linux:
1) umount /dev/sdb
If your USB stick is under /dev/sdb
2) dd if=FreeBSD-10.3-RELEASE-amd64-memstick.img of=/dev/sdb bs=10240
Please note the of=/dev/sdb
argument as you are supposed to write to the whole stick instead of its first partition.
3) Now reboot and choose the USB stick as the boot option.
Thanks for mentioning the part about sdb instead of sdb! For anybody using cygwin for this, make sure you started cygwin as administrator. you can find out what /dev/sdb or similar you should use withcat /proc/partitions
. To see if dd is making progress, appendstatus=progress
to the dd command.
– lucidbrot
Oct 17 '16 at 9:00
add a comment |
If you are trying to write the image to USB on Windows, try Rufus. Choose your USB drive under Device
, check Create a bootable disk using
and select DD Image
from the drop down, browse to the image file and hit Start
.
It is unclear from your description if your problem is solely with drive creation or with booting off a USB key that is likely good (the dd
version should be good judging by the command and assuming sdb
was the right device)
add a comment |
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1075424%2fhow-to-write-freebsd-image-to-usb-flash-drive%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Assuming you are using dd within FreeBSD or Linux:
1) umount /dev/sdb
If your USB stick is under /dev/sdb
2) dd if=FreeBSD-10.3-RELEASE-amd64-memstick.img of=/dev/sdb bs=10240
Please note the of=/dev/sdb
argument as you are supposed to write to the whole stick instead of its first partition.
3) Now reboot and choose the USB stick as the boot option.
Thanks for mentioning the part about sdb instead of sdb! For anybody using cygwin for this, make sure you started cygwin as administrator. you can find out what /dev/sdb or similar you should use withcat /proc/partitions
. To see if dd is making progress, appendstatus=progress
to the dd command.
– lucidbrot
Oct 17 '16 at 9:00
add a comment |
Assuming you are using dd within FreeBSD or Linux:
1) umount /dev/sdb
If your USB stick is under /dev/sdb
2) dd if=FreeBSD-10.3-RELEASE-amd64-memstick.img of=/dev/sdb bs=10240
Please note the of=/dev/sdb
argument as you are supposed to write to the whole stick instead of its first partition.
3) Now reboot and choose the USB stick as the boot option.
Thanks for mentioning the part about sdb instead of sdb! For anybody using cygwin for this, make sure you started cygwin as administrator. you can find out what /dev/sdb or similar you should use withcat /proc/partitions
. To see if dd is making progress, appendstatus=progress
to the dd command.
– lucidbrot
Oct 17 '16 at 9:00
add a comment |
Assuming you are using dd within FreeBSD or Linux:
1) umount /dev/sdb
If your USB stick is under /dev/sdb
2) dd if=FreeBSD-10.3-RELEASE-amd64-memstick.img of=/dev/sdb bs=10240
Please note the of=/dev/sdb
argument as you are supposed to write to the whole stick instead of its first partition.
3) Now reboot and choose the USB stick as the boot option.
Assuming you are using dd within FreeBSD or Linux:
1) umount /dev/sdb
If your USB stick is under /dev/sdb
2) dd if=FreeBSD-10.3-RELEASE-amd64-memstick.img of=/dev/sdb bs=10240
Please note the of=/dev/sdb
argument as you are supposed to write to the whole stick instead of its first partition.
3) Now reboot and choose the USB stick as the boot option.
edited May 11 '16 at 9:31
answered May 11 '16 at 8:36
hkdtamhkdtam
31128
31128
Thanks for mentioning the part about sdb instead of sdb! For anybody using cygwin for this, make sure you started cygwin as administrator. you can find out what /dev/sdb or similar you should use withcat /proc/partitions
. To see if dd is making progress, appendstatus=progress
to the dd command.
– lucidbrot
Oct 17 '16 at 9:00
add a comment |
Thanks for mentioning the part about sdb instead of sdb! For anybody using cygwin for this, make sure you started cygwin as administrator. you can find out what /dev/sdb or similar you should use withcat /proc/partitions
. To see if dd is making progress, appendstatus=progress
to the dd command.
– lucidbrot
Oct 17 '16 at 9:00
Thanks for mentioning the part about sdb instead of sdb! For anybody using cygwin for this, make sure you started cygwin as administrator. you can find out what /dev/sdb or similar you should use with
cat /proc/partitions
. To see if dd is making progress, append status=progress
to the dd command.– lucidbrot
Oct 17 '16 at 9:00
Thanks for mentioning the part about sdb instead of sdb! For anybody using cygwin for this, make sure you started cygwin as administrator. you can find out what /dev/sdb or similar you should use with
cat /proc/partitions
. To see if dd is making progress, append status=progress
to the dd command.– lucidbrot
Oct 17 '16 at 9:00
add a comment |
If you are trying to write the image to USB on Windows, try Rufus. Choose your USB drive under Device
, check Create a bootable disk using
and select DD Image
from the drop down, browse to the image file and hit Start
.
It is unclear from your description if your problem is solely with drive creation or with booting off a USB key that is likely good (the dd
version should be good judging by the command and assuming sdb
was the right device)
add a comment |
If you are trying to write the image to USB on Windows, try Rufus. Choose your USB drive under Device
, check Create a bootable disk using
and select DD Image
from the drop down, browse to the image file and hit Start
.
It is unclear from your description if your problem is solely with drive creation or with booting off a USB key that is likely good (the dd
version should be good judging by the command and assuming sdb
was the right device)
add a comment |
If you are trying to write the image to USB on Windows, try Rufus. Choose your USB drive under Device
, check Create a bootable disk using
and select DD Image
from the drop down, browse to the image file and hit Start
.
It is unclear from your description if your problem is solely with drive creation or with booting off a USB key that is likely good (the dd
version should be good judging by the command and assuming sdb
was the right device)
If you are trying to write the image to USB on Windows, try Rufus. Choose your USB drive under Device
, check Create a bootable disk using
and select DD Image
from the drop down, browse to the image file and hit Start
.
It is unclear from your description if your problem is solely with drive creation or with booting off a USB key that is likely good (the dd
version should be good judging by the command and assuming sdb
was the right device)
answered May 11 '16 at 5:16
waywardonewaywardone
612
612
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1075424%2fhow-to-write-freebsd-image-to-usb-flash-drive%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown