Update 0_install_system.md

This commit is contained in:
Edouard DUPIN 2017-03-05 18:27:47 +01:00 committed by GitHub
parent c4570f276e
commit c0320047ae

View File

@ -20,22 +20,23 @@ Prepare the storage devices
--------------------------- ---------------------------
``` ```
fdisk /dev/sda fdisk /dev/sda
``` # help:
d ==> delete d ==> delete
p ==> print table p ==> print table
n ==> new (+128M to define 128 MO) n ==> new (+128M to define 128 MO)
a ==> set partition bootable (for sda1) a ==> set partition bootable (for sda1)
```
| Name | Boot | Size | Format | Mount | | Name | Boot | Size | Format | Mount |
| ---- | :---: | -----: | :--------: | ----- | | ---- | :---: | -----: | :--------: | ----- |
| sda1 | * | 128M | mkfs.ext2 | /boot | | sda1 | * | 128M | mkfs.fat | /boot |
| sda2 | | 8G | mkswap | | | sda2 | | 8G | mkswap | |
| sda3 | | 32G | mkfs.ext4 | / | | sda3 | | 32G | mkfs.ext4 | / |
| sda4 | | ALL | mkfs.ext4 | /home | | sda4 | | ALL | mkfs.ext4 | /home |
mkfs all... mkfs all...
``` ```
mkfs.ext4 /dev/sda1 mkfs.fat /dev/sda1
mkswap /dev/sda2 mkswap /dev/sda2
mkfs.ext4 /dev/sda3 mkfs.ext4 /dev/sda3
mkfs.ext4 /dev/sda4 mkfs.ext4 /dev/sda4
@ -90,6 +91,12 @@ install all package you want
User Configuration User Configuration
================== ==================
Change Root pasword
-------------------
```
passwd
```
Adding User Adding User
----------- -----------
``` ```
@ -99,6 +106,10 @@ Adding user to a group:
``` ```
usermod -a -G <wheel,audio,video,disk,storage> <username> usermod -a -G <wheel,audio,video,disk,storage> <username>
``` ```
Change pasword:
```
passwd <username>
```
Misc Misc
==== ====
@ -127,3 +138,5 @@ Edit /etc/systemd/logind.conf and enable:
``` ```
LidSwitchIgnoreInhibited=yes LidSwitchIgnoreInhibited=yes
``` ```
Restart computer....