Selected from Linux Selected from PHP
- Ubuntu 17.10 Install google's mod pagespeed for apache - PHP-Ubuntu-Youtube-dl simple script for converting and downloading youtube video or mp3
- Ubuntu SSH tunnel via proxy - PHP while loop with every row with a different color
- Install GoAccess Apache Log Analyzer Tool on Ubuntu 17.10 - PHP use while loop in function
- SSHFS and map folder with a proxy - PHP List Files And Folders As links
- How to connect to SSH server with a proxy - PHP Extract Text From String
➥ fdisk a new partition and format ext4
Added by sonik on 02-05-2017 and keywords: [ Print Article ]
Проверяваме какви дискове имаме:

disk -l

Ще видим нещо от сорта на:

Device     Boot    Start      End  Sectors Size Id Type
/dev/sda1  *        2048 37748735 37746688  18G 83 Linux
/dev/sda2       37750782 41940991  4190210   2G  5 Extended
/dev/sda5       37750784 41940991  4190208   2G 82 Linux swap / Solaris

Избираме диска

fdisk /dev/sdb

Вътре пишем всичко на нов ред n - нов - p - праймери - ентер - ентер - w -> write and quit

n p enter enter enter w

Бързо форматиране

mkfs -t ext4 /dev/sdb1

Ако нещо не помним как се маунтва

mount /dev/sdb1 /media/storage1

@All rights reserved with Copyright 2018 by Sonik_Blast [ Site Map ] [ RSS ] [ YouTube Mp3 Downloader and converter ]