Create a bootable USB flash media drive for Ubuntu server

1. Get iso file:

wget https://releases.ubuntu.com/24.04.1/ubuntu-24.04.1-live-server-amd64.iso

2. Find out the name of your USB drive with the lsblk command:

lsblk

3. Format the flash drive:

sudo dd if=/dev/zero of=/dev/sdc bs=1M status=progress && sync

4. Write the iso file to it:

sudo dd if=ubuntu-24.04.1-live-server-amd64.iso of=/dev/sdc bs=1M status=progress && sync

Alternatively:

sudo dd if=ubuntu-24.04.1-live-server-amd64.iso of=/dev/sdc bs=1M status=progress oflag=sync

Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.