Advertisement
zezaocapoeira

guia_funtoo(rascunho)

Jun 3rd, 2015
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. # cfdisk /dev/sda
  2.  
  3. # mkfs.ext4 /dev/sda1
  4.  
  5. # mkfs.ext4 /dev/sda3
  6.  
  7. # mkswap /dev/sda2
  8.  
  9. # swapon /dev/sda2
  10.  
  11. # mkdir -p /mnt/funtoo
  12.  
  13. # mount /dev/sda1 /mnt/funtoo
  14.  
  15. # wget -c http://ftp.osuosl.org/pub/funtoo/funtoo-stable/x86-64bit/generic_64/stage3-latest.tar.xz
  16.  
  17. # tar -Jxpvf stage3-latest.tar.xz -C /mnt/funtoo
  18.  
  19. # cp -L /etc/resolv.conf /mnt/funtoo/etc/
  20.  
  21. # mount -t proc proc /mnt/funtoo/proc
  22.  
  23. # mount --rbind /sys /mnt/funtoo/sys
  24.  
  25. # mount --rbind /dev /mnt/funtoo/dev
  26.  
  27. # chroot /mnt/funtoo /bin/bash
  28.  
  29. # echo "pt_BR ISO-8859-1" >> /etc/locale.gen
  30.  
  31. # echo "pt_BR.UTF-8 UTF-8" >> /etc/locale.gen
  32.  
  33. # locale-gen
  34.  
  35.  
  36. # nano /etc/env.d/02locale
  37.  
  38. LANG="pt_BR.UTF-8"
  39. LC_COLLATE="C"
  40.  
  41.  
  42. ## configuração do make.conf ###
  43.  
  44. # emerge --sync
  45.  
  46. # env-update && source /etc/profile
  47.  
  48. # eselect profile show
  49.  
  50. # eselect profile list
  51.  
  52. # emerge -av vanilla-sources
  53.  
  54. # cd /usr/src/linux
  55.  
  56. # wget http://mirrors.slackware.com/slackware/slackware64-current/source/k/config-x86_64/config-huge-3.14.17.x64
  57.  
  58. # make menuconfig
  59.  
  60. # make all
  61.  
  62. # make modules_install
  63.  
  64. # cp arch/x86_64/boot/bzImage /boot/kernel-
  65.  
  66. # cd /boot/
  67.  
  68. # ln -s kernel????????? bzImage
  69.  
  70. # nano /etc/fstab
  71.  
  72. /dev/sda1 / ext4 noatime 0 1
  73. /dev/sda2 none swap sw 0 0
  74. /dev/sda3 /home ext4 noatime 0 2
  75. /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
  76.  
  77.  
  78. # nano /etc/conf.d/hostname
  79.  
  80. # nano -w /etc/conf.d/keymaps
  81.  
  82. keymap=”br-abnt2“
  83.  
  84. # nano -w /etc/conf.d/hwclock
  85.  
  86. clock="local"
  87.  
  88. # cp /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
  89.  
  90. # passwd
  91.  
  92. # emerge -av pciutils dhcpcd
  93.  
  94. # rc-update add dhcpcd default
  95.  
  96. # cd ..
  97.  
  98. # emerge -av boot-update
  99.  
  100. # grub-install /dev/sda
  101.  
  102. # boot-update
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement