Advertisement
jpenguin

Untitled

Oct 31st, 2014
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. # This was done in a paralells virtual machine. Most of the install was done via ssh on the host computers terminal. It uses the experimental F2FS filesystem
  2.  
  3. boot GRML
  4. press 'q'
  5. service ssh restart; passwd; ifconfig
  6. apt-get update; apt-get install f2fs-tools elinks
  7. cfdisk /dev/sda
  8. 1 partition- 500M 8300
  9. 2 partition- 2G 8200
  10. 3 partition- 20G 8300
  11. 4 partition 40G 8300
  12.  
  13. mkfs.ext2 /dev/sda1
  14. mkswap /dev/sda2
  15. swapon /dev/sda2
  16. mkfs.f2fs /dev/sda3
  17. mkfs.ext4 /dev/sda4
  18. mkdir /mnt/funtoo
  19. mount -t f2fs /dev/sda3 /mnt/funtoo
  20. mkdir /mnt/funtoo/boot
  21. mount /dev/sda1 /mnt/funtoo/boot
  22. mkdir /mnt/funtoo/home
  23. mount -o noatime /dev/sda4 /mnt/funtoo/home
  24. cd /mnt/funtoo/
  25. elinks build.funtoo.org
  26. #save stage3 for your arch
  27. tar xpfv stage3-latest.tar.xz
  28. cp /etc/resolv.conf etc
  29. cd /mnt/funtoo
  30. mount -t proc none proc
  31. mount --rbind /sys sys
  32. mount --rbind /dev dev
  33. env -i HOME=/root TERM=$TERM; chroot . bash -l
  34. export PS1="(chroot) $PS1"
  35. emerge --sync
  36. nano /etc/fstab
  37. /dev/sda1 /boot ext2 noauto,noatime 1 2
  38. /dev/sda2 none swap sw 0 0
  39. /dev/sda3 / f2fs acl,active_logs=6,background_gc_on,user_xattr 0 1
  40. /dev/sda4 /home ext4 noatime 0 1
  41. #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
  42.  
  43. nproc
  44. nano /etc/make.conf
  45. CFLAGS="-mtune=generic -O2 -pipe"
  46. CXXFLAGS="-mtune=generic -O2 -pipe"
  47. MAKEOPTS="-j3"
  48.  
  49. emerge -auDN @world
  50. emerge --depclean
  51. mkdir /etc/portage/sets
  52. emerge -av sys-kernel/gentoo-sources sys-kernel/genkernel f2fs-tools
  53. cd /usr/src/linux; make menuconfig
  54. Flessystems->Misscellaneous->F2FS
  55. echo 'f2fs' >> /etc/conf.d/modules
  56. genkernel all
  57. emerge grub boot-update
  58. grub-install --no-floppy /dev/sda
  59. boot-update
  60. genkernel initramfs
  61. rc-update add dhcpcd default
  62. passwd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement