Changes

Jump to: navigation, search

Rootfs over encrypted lvm

93 bytes added, 3 months ago
Bootloader Configuration
== Bootloader Configuration ==
 {{note|testing stock ego boot update & grub install.}} *Install grub in legacy mode:{{console|body=###i## grub-install --target=i386-pc /dev/sdc ###i## ego boot update}} *manually make efi directory:*remount /dev/sdc2 to /boot/efi:*install efi images:{{console|body=###i## mkdir /boot/efi###i## mount /dev/sdc2 etc/boot/efi###i## grub-install --target=x86_64-efi /boot/efi}} {{warning| below may be dangerous to your system}} ==== boot.conf ====An example <code>/etc/boot.conf</code> for better-initramfs:
<pre>
Now, run <code>ego boot update</code> to write the configuration files to <code>/boot/grub/grub.cfg</code>
==== Another Example ====
Configure the bootloader as described above, with correct kernel and initramfs images names. An example for grub2. You will be editing <code>/etc/boot.conf</code>:
kernel kernel[-v]
initrd initramfs[-v]
params += crypt_root=PARTLABEL=FUNTOO dolvm real_root=/dev/mapper/vg-root rootfstype=ext4 resume=swap:/dev/mapper/vg-swap quiet
}
</pre>
 
== GRUB ==
*Install grub in legacy mode:
{{console|body=
###i## grub-install --target=i386-pc /dev/sdc
###i## ego boot update}}
 
=== EFI from Legacy ===
*manually make efi directory:
*remount /dev/sdc2 to /boot/efi:
*install efi images:
{{console|body=
###i## mkdir /boot/efi
###i## mount /dev/sdc2 /boot/efi
###i## grub-install --target=x86_64-efi /boot/efi
}}
=== EFI from EFI ===
 
{{console|body=
###i##mount -o remount,rw /sys/firmware/efi/efivars
###i##grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sda
###i##ego boot update
}}
== Final steps ==
625
edits

Navigation menu