How to write FreeBSD image to USB flash drive












4















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?










share|improve this question



























    4















    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?










    share|improve this question

























      4












      4








      4


      2






      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 11 '16 at 2:30









      gnugnu

      45228




      45228






















          2 Answers
          2






          active

          oldest

          votes


















          5














          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.






          share|improve this answer


























          • 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





















          0














          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)






          share|improve this answer
























            Your Answer








            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            5














            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.






            share|improve this answer


























            • 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


















            5














            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.






            share|improve this answer


























            • 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
















            5












            5








            5







            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.






            share|improve this answer















            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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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 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



















            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















            0














            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)






            share|improve this answer




























              0














              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)






              share|improve this answer


























                0












                0








                0







                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)






                share|improve this answer













                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)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 11 '16 at 5:16









                waywardonewaywardone

                612




                612






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa