Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
- boot GRML
- press 'q'
- service ssh restart; passwd; ifconfig
- apt-get update; apt-get install f2fs-tools elinks
- cfdisk /dev/sda
- 1 partition- 500M 8300
- 2 partition- 2G 8200
- 3 partition- 20G 8300
- 4 partition 40G 8300
- mkfs.ext2 /dev/sda1
- mkswap /dev/sda2
- swapon /dev/sda2
- mkfs.f2fs /dev/sda3
- mkfs.ext4 /dev/sda4
- mkdir /mnt/funtoo
- mount -t f2fs /dev/sda3 /mnt/funtoo
- mkdir /mnt/funtoo/boot
- mount /dev/sda1 /mnt/funtoo/boot
- mkdir /mnt/funtoo/home
- mount -o noatime /dev/sda4 /mnt/funtoo/home
- cd /mnt/funtoo/
- elinks build.funtoo.org
- #save stage3 for your arch
- tar xpfv stage3-latest.tar.xz
- cp /etc/resolv.conf etc
- cd /mnt/funtoo
- mount -t proc none proc
- mount --rbind /sys sys
- mount --rbind /dev dev
- env -i HOME=/root TERM=$TERM; chroot . bash -l
- export PS1="(chroot) $PS1"
- emerge --sync
- nano /etc/fstab
- /dev/sda1 /boot ext2 noauto,noatime 1 2
- /dev/sda2 none swap sw 0 0
- /dev/sda3 / f2fs acl,active_logs=6,background_gc_on,user_xattr 0 1
- /dev/sda4 /home ext4 noatime 0 1
- #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
- nproc
- nano /etc/make.conf
- CFLAGS="-mtune=generic -O2 -pipe"
- CXXFLAGS="-mtune=generic -O2 -pipe"
- MAKEOPTS="-j3"
- emerge -auDN @world
- emerge --depclean
- mkdir /etc/portage/sets
- emerge -av sys-kernel/gentoo-sources sys-kernel/genkernel f2fs-tools
- cd /usr/src/linux; make menuconfig
- Flessystems->Misscellaneous->F2FS
- echo 'f2fs' >> /etc/conf.d/modules
- genkernel all
- emerge grub boot-update
- grub-install --no-floppy /dev/sda
- boot-update
- genkernel initramfs
- rc-update add dhcpcd default
- passwd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement