Difference between revisions of "USB OFFLINE: Ubuntu 22.04 Install OS Server"

From OnnoWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
  wipefs -a /dev/sdc
 
  wipefs -a /dev/sdc
  
Buat partisi
 
  
fdisk /dev/sdc
+
Tambahkan oflag=direct
n
 
q
 
  
 +
sudo dd if=ubuntu-server.iso of=/dev/sdc oflag=direct bs=1M status=progress
  
Tambahkan oflag=direct
+
* dd : Start the dd command to write DVD/CD iso image.
 
+
* if=ubuntu-server.iso : Path to input file.
sudo dd if=ubuntu-server.iso of=/dev/sdc1 oflag=direct bs=1048576
+
* of=/dev/sdc : Path to destination USB disk/stick.
sudo dd if=ubuntu-server.iso of=/dev/sdc1 oflag=direct bs=4M
+
* bs=1M : read and write up to BYTES bytes at a time. In this example, 1M at a time.
 +
* status=progress : Display progress bar while writing image to the USB
  
  
 
Instalasi
 
Instalasi
 
* Pastikan SSH terinstall
 
* Pastikan SSH terinstall

Latest revision as of 05:13, 18 June 2023

Download Ubuntu

https://ubuntu.com/download

Bersihkan fs

wipefs -a /dev/sdc


Tambahkan oflag=direct

sudo dd if=ubuntu-server.iso of=/dev/sdc oflag=direct bs=1M status=progress
  • dd : Start the dd command to write DVD/CD iso image.
  • if=ubuntu-server.iso : Path to input file.
  • of=/dev/sdc : Path to destination USB disk/stick.
  • bs=1M : read and write up to BYTES bytes at a time. In this example, 1M at a time.
  • status=progress : Display progress bar while writing image to the USB


Instalasi

  • Pastikan SSH terinstall