Setup Ubuntu Core 16 for RPi 3 without SSO

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I need to get Ubuntu running on RPi not to do any sort of snap development or use, but running some regular server.



Is there a way to get past the SSO setup and get back to plain old apt? Maybe by editing the image before flashing it onto the SD?



Regular Ubuntu Server only has official (bug-free) images fir RPi 2. For various reasons, I'm very frustrated with Raspbian.










share|improve this question

























    up vote
    1
    down vote

    favorite












    I need to get Ubuntu running on RPi not to do any sort of snap development or use, but running some regular server.



    Is there a way to get past the SSO setup and get back to plain old apt? Maybe by editing the image before flashing it onto the SD?



    Regular Ubuntu Server only has official (bug-free) images fir RPi 2. For various reasons, I'm very frustrated with Raspbian.










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I need to get Ubuntu running on RPi not to do any sort of snap development or use, but running some regular server.



      Is there a way to get past the SSO setup and get back to plain old apt? Maybe by editing the image before flashing it onto the SD?



      Regular Ubuntu Server only has official (bug-free) images fir RPi 2. For various reasons, I'm very frustrated with Raspbian.










      share|improve this question













      I need to get Ubuntu running on RPi not to do any sort of snap development or use, but running some regular server.



      Is there a way to get past the SSO setup and get back to plain old apt? Maybe by editing the image before flashing it onto the SD?



      Regular Ubuntu Server only has official (bug-free) images fir RPi 2. For various reasons, I'm very frustrated with Raspbian.







      ubuntu-core raspberrypi






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 18 at 16:02









      Oxwivi

      4,05742116181




      4,05742116181




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          I successfully modified Ubuntu Server 16.04's RPi 2 image to boot on 3 using instructions on the official Raspberry Pi page on Ubuntu Wiki. Instructions were general directions without specific commands, following is the compilation of commands I used:



          $ sudo losetup -P /dev/loop0 ubuntu-16.04.4-preinstalled-server-armhf+raspi2.img
          $ sudo mount /dev/loop0p2 /mnt/
          $ sudo mount /dev/loop0p1 /mnt/boot/

          ## .img is mounted on /mnt/

          $ sudoedit /mnt/boot/config.txt
          ## find and edit the following lines
          ...
          kernel=uboot.bin
          device_tree_address=0x02000000
          ...
          ## change to the following; note the changed kernel and commented device_tree_address
          ...
          kernel=vmlinuz
          initramfs initrd.img followkernel
          #device_tree_address=0x02000000
          ...
          $ sudo cp -r /mnt/lib/firmware/4.4.0-1085-raspi2/device-tree/bcm2710-rpi-3-b.dtb,overlays/ /mnt/boot/

          ## all changes are done, now to unbind the .img

          $ sudo umount /mnt/boot && sudo umount /mnt
          $ sudo losetup -D

          ## flash the SD card

          dd if=/path/to/.img of=/dev/path/to/sd-card conv=fsync status=progress





          share|improve this answer





























            up vote
            0
            down vote













            No. You cannot use Ubuntu Core images without SSO, nor can you use apt to manage them. You would need to install an Ubuntu Server image ARM build for the Raspberry Pi 3.



            There is an arm64 ISO available, but not a preinstalled image for Raspberry Pi 3, it seems.






            share|improve this answer




















            • Yes, I know, hence the question if there's any possible way.
              – Oxwivi
              Mar 21 at 17:10










            • If the rpi2 images boot you could use them, but it'd be 32-bit instead of 64-bit of course. But no, you can't use snappy ubuntu core without SSO. It's not a traditional Linux install at that point and doesn't really use local users. It requires SSO to grab your SSH public key, and sync down so you can ssh into the device and use it.
              – dobey
              Mar 21 at 19:26










            • I sucessfully used that image, do you know how to get the WiFi started?
              – Oxwivi
              Mar 24 at 13:16










            • Also, please @ my name, I didn't receive notification of your last comment.
              – Oxwivi
              Mar 24 at 13:19










            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017028%2fsetup-ubuntu-core-16-for-rpi-3-without-sso%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            I successfully modified Ubuntu Server 16.04's RPi 2 image to boot on 3 using instructions on the official Raspberry Pi page on Ubuntu Wiki. Instructions were general directions without specific commands, following is the compilation of commands I used:



            $ sudo losetup -P /dev/loop0 ubuntu-16.04.4-preinstalled-server-armhf+raspi2.img
            $ sudo mount /dev/loop0p2 /mnt/
            $ sudo mount /dev/loop0p1 /mnt/boot/

            ## .img is mounted on /mnt/

            $ sudoedit /mnt/boot/config.txt
            ## find and edit the following lines
            ...
            kernel=uboot.bin
            device_tree_address=0x02000000
            ...
            ## change to the following; note the changed kernel and commented device_tree_address
            ...
            kernel=vmlinuz
            initramfs initrd.img followkernel
            #device_tree_address=0x02000000
            ...
            $ sudo cp -r /mnt/lib/firmware/4.4.0-1085-raspi2/device-tree/bcm2710-rpi-3-b.dtb,overlays/ /mnt/boot/

            ## all changes are done, now to unbind the .img

            $ sudo umount /mnt/boot && sudo umount /mnt
            $ sudo losetup -D

            ## flash the SD card

            dd if=/path/to/.img of=/dev/path/to/sd-card conv=fsync status=progress





            share|improve this answer


























              up vote
              1
              down vote



              accepted










              I successfully modified Ubuntu Server 16.04's RPi 2 image to boot on 3 using instructions on the official Raspberry Pi page on Ubuntu Wiki. Instructions were general directions without specific commands, following is the compilation of commands I used:



              $ sudo losetup -P /dev/loop0 ubuntu-16.04.4-preinstalled-server-armhf+raspi2.img
              $ sudo mount /dev/loop0p2 /mnt/
              $ sudo mount /dev/loop0p1 /mnt/boot/

              ## .img is mounted on /mnt/

              $ sudoedit /mnt/boot/config.txt
              ## find and edit the following lines
              ...
              kernel=uboot.bin
              device_tree_address=0x02000000
              ...
              ## change to the following; note the changed kernel and commented device_tree_address
              ...
              kernel=vmlinuz
              initramfs initrd.img followkernel
              #device_tree_address=0x02000000
              ...
              $ sudo cp -r /mnt/lib/firmware/4.4.0-1085-raspi2/device-tree/bcm2710-rpi-3-b.dtb,overlays/ /mnt/boot/

              ## all changes are done, now to unbind the .img

              $ sudo umount /mnt/boot && sudo umount /mnt
              $ sudo losetup -D

              ## flash the SD card

              dd if=/path/to/.img of=/dev/path/to/sd-card conv=fsync status=progress





              share|improve this answer
























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                I successfully modified Ubuntu Server 16.04's RPi 2 image to boot on 3 using instructions on the official Raspberry Pi page on Ubuntu Wiki. Instructions were general directions without specific commands, following is the compilation of commands I used:



                $ sudo losetup -P /dev/loop0 ubuntu-16.04.4-preinstalled-server-armhf+raspi2.img
                $ sudo mount /dev/loop0p2 /mnt/
                $ sudo mount /dev/loop0p1 /mnt/boot/

                ## .img is mounted on /mnt/

                $ sudoedit /mnt/boot/config.txt
                ## find and edit the following lines
                ...
                kernel=uboot.bin
                device_tree_address=0x02000000
                ...
                ## change to the following; note the changed kernel and commented device_tree_address
                ...
                kernel=vmlinuz
                initramfs initrd.img followkernel
                #device_tree_address=0x02000000
                ...
                $ sudo cp -r /mnt/lib/firmware/4.4.0-1085-raspi2/device-tree/bcm2710-rpi-3-b.dtb,overlays/ /mnt/boot/

                ## all changes are done, now to unbind the .img

                $ sudo umount /mnt/boot && sudo umount /mnt
                $ sudo losetup -D

                ## flash the SD card

                dd if=/path/to/.img of=/dev/path/to/sd-card conv=fsync status=progress





                share|improve this answer














                I successfully modified Ubuntu Server 16.04's RPi 2 image to boot on 3 using instructions on the official Raspberry Pi page on Ubuntu Wiki. Instructions were general directions without specific commands, following is the compilation of commands I used:



                $ sudo losetup -P /dev/loop0 ubuntu-16.04.4-preinstalled-server-armhf+raspi2.img
                $ sudo mount /dev/loop0p2 /mnt/
                $ sudo mount /dev/loop0p1 /mnt/boot/

                ## .img is mounted on /mnt/

                $ sudoedit /mnt/boot/config.txt
                ## find and edit the following lines
                ...
                kernel=uboot.bin
                device_tree_address=0x02000000
                ...
                ## change to the following; note the changed kernel and commented device_tree_address
                ...
                kernel=vmlinuz
                initramfs initrd.img followkernel
                #device_tree_address=0x02000000
                ...
                $ sudo cp -r /mnt/lib/firmware/4.4.0-1085-raspi2/device-tree/bcm2710-rpi-3-b.dtb,overlays/ /mnt/boot/

                ## all changes are done, now to unbind the .img

                $ sudo umount /mnt/boot && sudo umount /mnt
                $ sudo losetup -D

                ## flash the SD card

                dd if=/path/to/.img of=/dev/path/to/sd-card conv=fsync status=progress






                share|improve this answer














                share|improve this answer



                share|improve this answer








                answered Mar 24 at 13:20


























                community wiki





                Oxwivi























                    up vote
                    0
                    down vote













                    No. You cannot use Ubuntu Core images without SSO, nor can you use apt to manage them. You would need to install an Ubuntu Server image ARM build for the Raspberry Pi 3.



                    There is an arm64 ISO available, but not a preinstalled image for Raspberry Pi 3, it seems.






                    share|improve this answer




















                    • Yes, I know, hence the question if there's any possible way.
                      – Oxwivi
                      Mar 21 at 17:10










                    • If the rpi2 images boot you could use them, but it'd be 32-bit instead of 64-bit of course. But no, you can't use snappy ubuntu core without SSO. It's not a traditional Linux install at that point and doesn't really use local users. It requires SSO to grab your SSH public key, and sync down so you can ssh into the device and use it.
                      – dobey
                      Mar 21 at 19:26










                    • I sucessfully used that image, do you know how to get the WiFi started?
                      – Oxwivi
                      Mar 24 at 13:16










                    • Also, please @ my name, I didn't receive notification of your last comment.
                      – Oxwivi
                      Mar 24 at 13:19














                    up vote
                    0
                    down vote













                    No. You cannot use Ubuntu Core images without SSO, nor can you use apt to manage them. You would need to install an Ubuntu Server image ARM build for the Raspberry Pi 3.



                    There is an arm64 ISO available, but not a preinstalled image for Raspberry Pi 3, it seems.






                    share|improve this answer




















                    • Yes, I know, hence the question if there's any possible way.
                      – Oxwivi
                      Mar 21 at 17:10










                    • If the rpi2 images boot you could use them, but it'd be 32-bit instead of 64-bit of course. But no, you can't use snappy ubuntu core without SSO. It's not a traditional Linux install at that point and doesn't really use local users. It requires SSO to grab your SSH public key, and sync down so you can ssh into the device and use it.
                      – dobey
                      Mar 21 at 19:26










                    • I sucessfully used that image, do you know how to get the WiFi started?
                      – Oxwivi
                      Mar 24 at 13:16










                    • Also, please @ my name, I didn't receive notification of your last comment.
                      – Oxwivi
                      Mar 24 at 13:19












                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    No. You cannot use Ubuntu Core images without SSO, nor can you use apt to manage them. You would need to install an Ubuntu Server image ARM build for the Raspberry Pi 3.



                    There is an arm64 ISO available, but not a preinstalled image for Raspberry Pi 3, it seems.






                    share|improve this answer












                    No. You cannot use Ubuntu Core images without SSO, nor can you use apt to manage them. You would need to install an Ubuntu Server image ARM build for the Raspberry Pi 3.



                    There is an arm64 ISO available, but not a preinstalled image for Raspberry Pi 3, it seems.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 18 at 17:30









                    dobey

                    32k33585




                    32k33585











                    • Yes, I know, hence the question if there's any possible way.
                      – Oxwivi
                      Mar 21 at 17:10










                    • If the rpi2 images boot you could use them, but it'd be 32-bit instead of 64-bit of course. But no, you can't use snappy ubuntu core without SSO. It's not a traditional Linux install at that point and doesn't really use local users. It requires SSO to grab your SSH public key, and sync down so you can ssh into the device and use it.
                      – dobey
                      Mar 21 at 19:26










                    • I sucessfully used that image, do you know how to get the WiFi started?
                      – Oxwivi
                      Mar 24 at 13:16










                    • Also, please @ my name, I didn't receive notification of your last comment.
                      – Oxwivi
                      Mar 24 at 13:19
















                    • Yes, I know, hence the question if there's any possible way.
                      – Oxwivi
                      Mar 21 at 17:10










                    • If the rpi2 images boot you could use them, but it'd be 32-bit instead of 64-bit of course. But no, you can't use snappy ubuntu core without SSO. It's not a traditional Linux install at that point and doesn't really use local users. It requires SSO to grab your SSH public key, and sync down so you can ssh into the device and use it.
                      – dobey
                      Mar 21 at 19:26










                    • I sucessfully used that image, do you know how to get the WiFi started?
                      – Oxwivi
                      Mar 24 at 13:16










                    • Also, please @ my name, I didn't receive notification of your last comment.
                      – Oxwivi
                      Mar 24 at 13:19















                    Yes, I know, hence the question if there's any possible way.
                    – Oxwivi
                    Mar 21 at 17:10




                    Yes, I know, hence the question if there's any possible way.
                    – Oxwivi
                    Mar 21 at 17:10












                    If the rpi2 images boot you could use them, but it'd be 32-bit instead of 64-bit of course. But no, you can't use snappy ubuntu core without SSO. It's not a traditional Linux install at that point and doesn't really use local users. It requires SSO to grab your SSH public key, and sync down so you can ssh into the device and use it.
                    – dobey
                    Mar 21 at 19:26




                    If the rpi2 images boot you could use them, but it'd be 32-bit instead of 64-bit of course. But no, you can't use snappy ubuntu core without SSO. It's not a traditional Linux install at that point and doesn't really use local users. It requires SSO to grab your SSH public key, and sync down so you can ssh into the device and use it.
                    – dobey
                    Mar 21 at 19:26












                    I sucessfully used that image, do you know how to get the WiFi started?
                    – Oxwivi
                    Mar 24 at 13:16




                    I sucessfully used that image, do you know how to get the WiFi started?
                    – Oxwivi
                    Mar 24 at 13:16












                    Also, please @ my name, I didn't receive notification of your last comment.
                    – Oxwivi
                    Mar 24 at 13:19




                    Also, please @ my name, I didn't receive notification of your last comment.
                    – Oxwivi
                    Mar 24 at 13:19

















                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017028%2fsetup-ubuntu-core-16-for-rpi-3-without-sso%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

                    `kcmshell` modules relation with `/usr/share/applications`

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491