12

I want to burn Ubuntu Minimal CD ISO to an old, 1 GB USB thumbdrive. Regular ISO doesn't fit. I already tried Startup Disk Creator and Unetbootin but both failed. I tried installing GRUB and pointing it to boot like this:

insmod part_msdos
linux /linux
initrd /initrd.gz

but it doesn't work. I also tried dd but I ended up with not bootable drive.

Rufus worked on Windows with the same thumbdrive but I no longer use Windows.

What else can I do?

2 Answers 2

10

How to make an Ubuntu Minimal USB

It is possible to make an Ubuntu Minimal USB on either Ubuntu or Windows Subsystem for Linux in Windows 10 using dd. While the minimal iso image is handy, it isn't useful for installing on UEFI-based systems that you want to run in UEFI mode. The mini iso lacks the proper files for booting the computer in UEFI mode. Thus, the computer will boot in BIOS compatibility mode, and the installation will be in BIOS mode.

  1. Download the Ubuntu Mini CD iso file from these links:

    Download the file called mini.iso to your Downloads folder. You can download the mini.iso file to wherever on your computer that you want, but download it to your Downloads folder so that you can easily run the commands in the following steps without changing anything.

  2. Verify the md5 checksum of the Ubuntu mini CD iso file that you downloaded by running these commands:

    cd ~/Downloads/
    md5sum 'mini.iso'  
    

    If you are using Windows Subsystem for Linux download the Microsoft File Checksum Integrity Verifier tool from the official Microsoft Download Center. The Microsoft File Checksum Integrity Verifier tool is a command line utility that computes MD5 or SHA1 cryptographic hashes for files.

  3. Check that the results of the command match the MD5 checksum of the mini.iso file on the Ubuntu Documentation Installation Minimal CD webpage.

  4. Get a USB flash drive, 1GB or larger. Delete all the files from the USB flash drive. Mount the flash drive using the Disks disk utility.

  5. Check in the Disks disk utility to find out the device name of your USB flash drive. This is very important because if you use the wrong device name in step 6, you will overwrite your whole operating system instead of writing to the USB flash drive. So check the USB flash drive device name twice. It should be something like /dev/sd* where instead of the * character there is a lower case letter like a, b, c, etc. In the following step I am assuming that the device name is /dev/sdc, but the device name of your USB drive could be something else like /dev/sda or /dev/sdb so check the device name of your USB drive twice and make sure that you get it right in step 6!

  6. Open the terminal or Windows Subsystem for Linux version 2 and run the following commands:

    cd ~/Downloads/  
    sudo -i  
    dd if='mini.iso' of=/dev/sdc bs=4096  ## make sure that the device name of your USB drive is correct!
    

    The dd if='mini.iso' of=/dev/sdc bs=4096 command should take only a few seconds to complete on most computers because the mini.iso is a small file, less than 60MB. The result of running this command will be a bootable Ubuntu mini USB.

  7. Boot the computer from the Ubuntu mini live USB. The Ubuntu mini live USB should boot successfully and show a menu screen.

  8. If you select the Install option (the complete install, not the cli install) from the menu screen in Step 7, then you can select other options during the Ubuntu installation process to download all the packages that you need to perform a complete Ubuntu installation. Select the Ubuntu desktop package collection from the list of predefined collections of software in the Software selection screen in the Ubuntu mini CD installer. When you restart the system at the end of the installation, you will have a working Ubuntu desktop with the default desktop environment.

    enter image description here

5
  • I'm using an old and slow USB, yet dd shows something incredible: 35651584 de octeți (36 MB) copiați, 0,0666075 s, 535 MB/s. Doesn't look OK to me. 66 miliseconds?
    – Cornelius
    Oct 24, 2015 at 8:59
  • I also run sync after dd and it made it bootable. But when I try to start installation I get kernel panic.
    – Cornelius
    Oct 24, 2015 at 9:11
  • IIRC the dd command in the answer on my computer took about 0.5 seconds to complete. For purposes of comparison, using dd to write a full Ubuntu iso to a USB flash drive took about 9 seconds on my computer.
    – karel
    Oct 24, 2015 at 9:11
  • 2
    My Ubuntu minimal USB is bootable without running the sync command, only dd. I have successfully booted my Ubuntu minimal USB on a variety of different computers and also in VirtualBox. In addition I tested the Ubuntu minimal USB on a computer that is known to have problems booting Linux live USBs and it didn't boot on that computer. I didn't get any error message when I booted it on the problem computer, instead the computer ignored the Ubuntu minimal USB and continued booting into the default operating system.
    – karel
    Oct 24, 2015 at 9:16
  • Yep, I got a kernel panic as well. Used 18.04 mini.iso and dd and sync Aug 20, 2022 at 8:05
0

for install ubuntu you can use Universal USB programer . Universal USB help you to write ubuntu on usb and install it .

Universal USB Installer aka UUI is a Live Linux USB Creator that allows you to choose from a selection of Linux Distributions to put on your USB Flash Drive. The Universal USB Installer is easy to use. Simply choose a Live Linux Distribution, the ISO file, your Flash Drive and, Click Install.

Upon completion, you should have a ready to run bootable USB Flash Drive with your select operating system installed. Other features include; Persistence (if available) – note that casper persistence will only work with fat16 or fat32 formatted drives.

http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

Good Luck .

1
  • I have stumbled on that before and when running in Wine it shows all my HDD partitions but not my USB drive.
    – Cornelius
    Oct 24, 2015 at 8:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .