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
Next revisionBoth sides next revision
install_gentoo [2014/12/21 13:44] – [Install tools] admininstall_gentoo [2014/12/21 13:49] – [Install bootloader] admin
Line 237: Line 237:
 # 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