Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


install_gentoo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install_gentoo [2014/12/21 13:44] – [Install tools] admininstall_gentoo [2015/08/04 20:11] – [Install stage] admin
Line 114: Line 114:
   * Check and set date:<code># date   * Check and set date:<code># date
 Thu Dec 18 19:56:19 UTC 2014 Thu Dec 18 19:56:19 UTC 2014
-# date [MMDDhhmm[[CC]YY][.ss]]</code>+# date [MMDDhhmm[[CC]YY][.ss]] 
 + 
 +#or 
 +ntpdate ntp1.polaire.nl</code>
   * Download stage3 tarballs, go to releases/amd64/autobuilds/ on a mirror nearby:<code># cd /mnt/gentoo/root   * Download stage3 tarballs, go to releases/amd64/autobuilds/ on a mirror nearby:<code># cd /mnt/gentoo/root
 # links http://www.gentoo.org/main/en/mirrors.xml # links http://www.gentoo.org/main/en/mirrors.xml
Line 237: Line 240:
 # vi /etc/default/grub # vi /etc/default/grub
 # Append parameters to the linux kernel command line # Append parameters to the linux kernel command line
-GRUB_CMDLINE_LINUX="rootfstype=btrfs init=/usr/lib/systemd/systemd"+GRUB_CMDLINE_LINUX="rootfstype=btrfs rootflags=device=/dev/sda3,device=/dev/sdb2,subvol=root init=/usr/lib/systemd/systemd"
  
 </code> </code>
-  * Install grub2 on disks:<code>grub2-install /dev/sda +  * Install grub2 on disks:<code>grub2-install /dev/sda 
-grub2-install /dev/sdb</code> +grub2-install /dev/sdb</code> 
-  * Generate config:<code>grub2-mkconfig -o /boot/grub/grub.cfg</code>+  * Generate config:<code>grub2-mkconfig -o /boot/grub/grub.cfg</code>
  
 ====Reboot system==== ====Reboot system====
install_gentoo.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1