sakiir

Untitled

Feb 10th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. Arch Linux Installation #
  2. #########################
  3.  
  4. +-----------------+
  5. | Partitionnement |
  6. +-----------------+
  7.  
  8. cmd : fdisk /dev/sda
  9. taper 'o' // new DOS Partition
  10. taper 'n' // new partition 'p' pour primary
  11.  
  12. Creer 3 partitions:
  13. - +5G
  14. - +500M
  15. - +500M //swap partition (id : 82) en tapant 't'
  16.  
  17. Pour en finir taper 'w' (Write)
  18.  
  19. +-----------------+
  20. | Formatage |
  21. +-----------------+
  22.  
  23. lsblk /dev/sda
  24. mkfs.ext4 /dev/sda* // '*' Repeter pour toutes les partitions
  25.  
  26.  
  27. +--------------------+
  28. | Activation du SWAP |
  29. +--------------------+
  30.  
  31. mkswap /dev/sda* // '*' la bonne partition
  32. swapon /dev/sda*
  33.  
  34. +--------------------+
  35. | Root Partition |
  36. +--------------------+
  37.  
  38. mount /dev/sdaR /mnt // 'R' nom de la partition root
  39.  
  40. +--------------------------+
  41. | Montage des partitions |
  42. +--------------------------+
  43.  
  44. mkdir –p /mnt/home
  45. mount /dev/sdaH /mnt/home // 'H' nom de la partition home
  46.  
  47. +-----------+
  48. | Mirroirs |
  49. +-----------+
  50.  
  51. nano /etc/pacman.d/mirrorlist
  52.  
  53. +--------------------------+
  54. | Base Installation |
  55. +--------------------------+
  56.  
  57. pacstrap -i /mnt base base-devel
  58.  
  59. +---------+
  60. | fstab |
  61. +---------+
  62.  
  63. genfstab -U -p /mnt >> /mnt/etc/fstab
  64. nano /mnt/etc/fstab
  65.  
  66. +------------------------+
  67. | Chroot du sytème |
  68. +------------------------+
  69.  
  70. arch-chroot /mnt /bin/bash
  71.  
  72. +------------------------+
  73. | Langue et clavier |
  74. +------------------------+
  75.  
  76. nano /et/locale.gen
  77. -> Décommenter En_US.UTF-8 UTF-8
  78. locale-gen
  79. echo LANG=en_US.UTF-8 > /etc/locale.conf
  80. export LANG=en_US.UTF-8
  81.  
  82. +----------+
  83. | Timezone |
  84. +----------+
  85.  
  86. Look here for timezones : /usr/share/zoneinfo/Zone/Subzone
  87. ln -s /usr/share/zoneinfo/%Zone%/%SubZone% /etc/localtime
  88. hwclock –systohc --utc
  89.  
  90.  
  91. +------------------+
  92. | Finalisation |
  93. +------------------+
  94.  
  95. passwd // Definition du mot de passe root
  96. pacman –S grub // Installation de grub
  97. grub-install –target=i386-pc –recheck /dev/sda // Installation de grub
  98. grub-mkconfig –o /boot/grub/grub.cfg // Generation du fichier grub.cfg
  99.  
  100. exit
  101. reboot
Advertisement
Add Comment
Please, Sign In to add comment