Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

  1. #1
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    Official Ubuntu Server compressed image file (when extracted and flashed to a drive) boots in UEFI and BIOS mode

    In Kinetic Kudu, to be released as 22.10, Ubuntu Server is distributed as a compressed image file. When extracted to a drive, it is an installed system that can boot PC computers both in UEFI mode and BIOS mode.

    This is great, because it makes it very easy to make portable servers as well as desktops with Ubuntu Desktop, Ubuntu community flavours and of course Ubuntu systems with lightweight desktop environments or window managers.



    You can get the Ubuntu Server compressed image via

    kinetic-preinstalled-server-amd64.img.xz

    or
    Code:
    zsync http://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/pending/kinetic-preinstalled-server-amd64.img.xz.zsync
    When downloaded (and checked with sha256sum) you can flash it to an internal or external drive with mkusb-dus
    Code:
    dus kinetic-preinstalled-server-amd64.img.xz


    User: ubuntu
    Password: ubuntu (and you are prompted to change it directly after the first login)
    Last edited by sudodus; May 18th, 2022 at 02:46 PM. Reason: info about user and password; ... Ubuntu systems with lightweight desktop envronments or window managers; tarball --> compressed image

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    There is also the discussion with Ubuntu developers at this link

  3. #3
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    I played with the Ubuntu Server amd64 compressed image from yesterday
    Code:
    -rw------- 1 sudodus sudodus 863993716 maj 20 03:24 kinetic-preinstalled-server-amd64.img.xz
    extracted it to a USB pendrive, booted into it, let the root partition expand with some margin to fill a 32 GB drive

    logged in with the default

    user name: ubuntu
    original password: ubuntu (for the preinstalled server image)
    and changed to
    new password: changeme (for the 'Lubuntized' image)

    This Ubuntu Server runs in text mode as usual, and ssh is activated by default.

    Then I made 'Lubuntu',
    Code:
    sudo apt update
    sudo apt full-upgrade
    sudo apt install lubuntu-desktop
    Lubuntu made like this works both in UEFI mode and BIOS mode, just like the original Ubuntu Server. The boot structure seems stable. I made a new compressed image
    Code:
    -rw-r--r-- 1 root root 1705181816 maj 21 07:12 dd_unb_lubuntu-kinetic_31GB_22-05-21.img.xz
    As you notice, the size is twice that of the compressed server image, but smaller than the corresponding Lubuntu iso file
    Code:
    -rw------- 1 sudodus sudodus 2646388736 maj 20 17:21 kinetic-desktop-amd64.iso
    See the attached screenshot.

    If you think it is a good idea, I can upload the 'Lubuntized' compressed image file and make it available publicly. But I think most people will prefer to download the official Ubuntu Server amd64 compressed image and tweak the system themselves.

    If you want to use the whole drive (typical case with an external high-end USB pendrive or {SSD + adapter to USB}) for a portable installed system, this is easier and more likely to succeed compared to installing from an iso file.
    Attached Images Attached Images
    Last edited by sudodus; May 21st, 2022 at 08:13 AM.

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    Today I found a Jammy preinstalled server too (so not only Kinetic). You can find it in the following directory

    cdimage.ubuntu.com/ubuntu-server/jammy/daily-preinstalled/current/

    where there is also a SHASUM for it.

    This might be a real alternative for people who have problems with the subiquity installer and/or are missing the Ubuntu mini.iso but it grabs the whole drive (there is no 'install alongside').

    Enjoy



    This preinstalled image of an established LTS version is rather stable, but it is provided for testing purposes. Sometimes the proposed repositories will contain code for testing, in other words, code that is not tested yet, so it may cause problems.

    If you want to use such a system made from the Jammy preinstalled server image regularly (not only for testing), you should inactivate the proposed repositories (delete the line(s) or put # at the left end of the line to make it/them a comment).

    Code:
    deb http://archive.ubuntu.com/ubuntu/ jammy-proposed main restricted
    --->
    # deb http://archive.ubuntu.com/ubuntu/ jammy-proposed main restricted
    in the file /etc/apt/sources.list.d/proposed.list

    You can check for all proposed repositories with the following commands
    Code:
    ubuntu@ubuntu:~$ find /etc/apt/ -type f -path '*source*' -exec grep --color -H proposed {} \;
    /etc/apt/sources.list.d/proposed.list:deb http://archive.ubuntu.com/ubuntu/ jammy-proposed main restricted
    
    ubuntu@ubuntu:~$ cat /etc/apt/sources.list.d/proposed.list 
    deb http://archive.ubuntu.com/ubuntu/ jammy-proposed main restricted
    ubuntu@ubuntu:~$
    In this case we find only one file with one line (pointing to two proposed repositories: main and restricted).
    Last edited by sudodus; June 15th, 2023 at 09:40 PM. Reason: inactivate proposed repositories for regular system

  5. #5
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    Quote Originally Posted by sudodus View Post
    Today I found a Jammy preinstalled server too (so not only Kinetic). You can find it in the following directory

    cdimage.ubuntu.com/ubuntu-server/jammy/daily-preinstalled/current/

    where there is also a SHASUM for it.

    This might be a real alternative for people who have problems with the subiquity installer and/or are missing the Ubuntu mini.iso but it grabs the whole drive (there is no 'install alongside').

    Enjoy
    Nice find sudodus, thanks for the heads up on " grabs the whole drive" i would think anyone installing a server only would have already built a partition for the install, and again maybe not.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  6. #6
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    My question is this:

    Once this server image is put on a drive is it the installed OS or does it come with an installer to be used to put Ubuntu server on another drive?

    I am trying to understand the point of this image. I suspect it is another of the software experiments that Canonical has played with over the years. In the past I experimented with personal_X86.img (Snappy Ubuntu Desktop Next) and amd64-all-snap.image.xz. Both were attempts to produce an immutable Ubuntu desktop based on snap packages and using Mir and Unity 8. They worked after a fashion. All they needed were some snap applications to install.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  7. #7
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    @ grahammechanical,

    Once this server image is put on a drive it is the installed OS. There is no installer involved, only extraction from the compressed image file to the device, /dev/sdx (some tools, for example mkusb, can do it 'directly', otherwise you extract to a file in step one and clone from the file in step two. This is like installing an operating system into a Raspberry Pi.

    A developer writes that it is provided because the group of developers want it. Obviously it makes the development and testing easier. It is there, and some users like us might find it useful too, because it is very easy to create a working system from this kind of compressed image file.

  8. #8
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    This sounds similar to: https://askubuntu.com/questions/1300...-bios-and-uefi
    Installing with image files sounds like the future to me.

  9. #9
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    @C.S.Cameron,

    Yes, I think so too. It should be a standard case to let the system install to the whole drive.

    Installing alongside on one drive will probably be a special case. It should be good enough with modern computers to use virtual machines, where a whole virtual drive can be used, or machines with more than one drive (for example a fast USB 3 SSD).
    Last edited by sudodus; June 15th, 2022 at 03:48 PM.

  10. #10
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu Server amd64 compressed image (when extracted) boots in UEFI and BIOS mode

    I see several sites that provide VBox images of Ubuntu.
    I have converted Full installed Ubuntu Image files, (.img), to VBox, (.vdi), and it worked OK.
    .vdi to .img also works.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •