02 February 2020

How to make USB bootable to upgrade OS from Debian.iso

Terminal way and step in Debian or Linux
All this code will be copy from #su (super user)


root@ahroihan:~# df
Filesystem     1K-blocks      Used Available Use% Mounted on
/dev/sda1      100657584  10373212  85148144  11% /
udev               10240         0     10240   0% /dev
tmpfs             620560      8880    611680   2% /run
tmpfs            1551392       100   1551292   1% /dev/shm
tmpfs               5120         4      5116   1% /run/lock
tmpfs            1551392         0   1551392   0% /sys/fs/cgroup
tmpfs             310280         8    310272   1% /run/user/1000
/dev/sda2      102398276 101617764    780512 100% /media/ahroihan/544A14DA4A14BB26
/dev/sda3       36965372   3937392  33027980  11% /media/ahroihan/0CA23C10A23C012E
/dev/sda5       66802684  64743796   2058888  97% /media/ahroihan/3254339D54336331
/dev/sdc1       15406360         8  15406352   1% /mnt/usb-SanDisk_Cruzer_Blade_4C531001370601123524-0:0-part1

root@ahroihan:~# umount /mnt/usb-SanDisk_Cruzer_Blade_4C531001370601123524-0:0-part1

root@ahroihan:~# dmesg
......
[ 7272.919879] sd 10:0:0:0: Attached scsi generic sg2 type 0
[ 7272.923542] sd 10:0:0:0: [sdc] 30842880 512-byte logical blocks: (15.7 GB/14.7 GiB)
[ 7272.925153] sd 10:0:0:0: [sdc] Write Protect is off
[ 7272.925163] sd 10:0:0:0: [sdc] Mode Sense: 43 00 00 00
[ 7272.926152] sd 10:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 7272.938436]  sdc: sdc1
[ 7272.943791] sd 10:0:0:0: [sdc] Attached SCSI removable disk
[ 7357.568240] mmc0: card aaaa removed
[ 7386.689721] FAT-fs (sdc1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

root@ahroihan:~# dd if=/home/ahroihan/Downloads/debian-9.5.0-i386-DVD-1.iso of=/dev/sdc1
......
7358400+0 records in
7358400+0 records out
3767500800 bytes (3.8 GB) copied, 1335.22 s, 2.8 MB/s

root@ahroihan:~#


Share:

0 komentar:

Post a Comment

Blog Archive