Linuxシステムディスク操作記録
文書ディレクトリ
1 ddでシステム起動盤を作成する
$ sudo fdisk -l #
# u /dev/sdb
$ sudo umount /dev/sdb* # U
# 'target is busy',
$ umount -l /dev/sdb*
$ sudo mkfs.vfat /dev/sdb* # FAT ,linux mkfs.ext4
# iso status=progress
$ sudo dd bs=4M if=/home/rivalak/Downloads/ubuntu-18.04.1-desktop-amd64.iso of=/dev/sdb status=progress
#
sync
2パーティション
3マウント・パーティション
3.1コマンドラインでの操作
$ mkdir ~/Workspace/adhoc
$ sudo mount /dev/sda ~/Workspace/adhoc
#
$ df -h
#
$ blkid # UUID
$ vim /etc/fstab #
3.2グラフィックインタフェースの操作
これにより、グラフィックインタフェースの下でディスクをフォーマットし、希望する名前を変更してマウントできます.
You could edit the/etc/fstab file in a text editor like such as gedit or subl, or you could just do this:
4 swapパーティションの設定
swapパーティションの作成