diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-26 03:23:39 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-26 03:23:39 +0300 |
commit | 374252a55c14f92aaed73b3917ed783bf2762911 (patch) | |
tree | 5117e1db656639a01d392da07cae6b1a2150cd55 /src/docs/Making-your-system-bootable.html | |
parent | a25685ba1f185ad4c2bb858a8e2472dfc17d7c26 (diff) | |
download | website-374252a55c14f92aaed73b3917ed783bf2762911.tar.gz |
docs: update
Diffstat (limited to 'src/docs/Making-your-system-bootable.html')
-rw-r--r-- | src/docs/Making-your-system-bootable.html | 70 |
1 files changed, 12 insertions, 58 deletions
diff --git a/src/docs/Making-your-system-bootable.html b/src/docs/Making-your-system-bootable.html index 58714a3..2e3a759 100644 --- a/src/docs/Making-your-system-bootable.html +++ b/src/docs/Making-your-system-bootable.html @@ -7,7 +7,8 @@ under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free -Documentation License." --> +Documentation License." + --> <!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> @@ -21,8 +22,8 @@ Documentation License." --> <link href="index.html" rel="start" title="Top"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> <link href="Installation.html" rel="up" title="Installation"> -<link href="Post_002dinstallation.html" rel="next" title="Post-installation"> -<link href="Kernel.html" rel="prev" title="Kernel"> +<link href="Bootloader.html" rel="next" title="Bootloader"> +<link href="Building-the-kernel.html" rel="prev" title="Building the kernel"> <style type="text/css"> <!-- a.summary-letter {text-decoration: none} @@ -57,61 +58,14 @@ Next: <a href="Post_002dinstallation.html" accesskey="n" rel="next">Post-install init-scripts and a bootloader. The init daemon is already provided by busybox, but you can optionally change it. </p> - - -<span id="Installing-a-bootloader"></span><h4 class="subsection">1.5.1 Installing a bootloader</h4> - -<p>In the main repository, there is efibootmgr and grub to serve as bootloaders. -efibootmgr can be used as a standalone bootloader, or can be used to install -grub in a UEFI environment. efibootmgr is needed unless you are using a device -without UEFI support (or you really want to use BIOS for a reason). -</p> -<p>GRUB BIOS installation -</p> -<div class="example"> -<pre class="example">$ cpt b grub && cpt i grub -$ grub-install --target=i386-pc /dev/sdX -$ grub-mkconfig -o /boot/grub/grub.cfg -</pre></div> - -<p>GRUB UEFI installation -</p> -<div class="example"> -<pre class="example">$ cpt b efibootmgr && cpt i efibootmgr -$ cpt b grub && cpt i grub - -$ grub-install --target=x86_64-efi \ - --efi-directory=esp \ - --bootloader-id=CarbsLinux - -$ grub-mkconfig -o /boot/grub/grub.cfg -</pre></div> - - - -<span id="Installing-init-scripts"></span><h4 class="subsection">1.5.2 Installing init scripts</h4> - -<p>Only thing left to do is installing the init-scripts, and now you are almost -ready to boot your system! -</p> -<div class="example"> -<pre class="example">$ cpt b carbs-init && cpt i carbs-init -</pre></div> - - - -<span id="Generating-fstab"></span><h4 class="subsection">1.5.3 Generating fstab</h4> - -<p>You can now manually edit your fstab entry, or you can use the genfstab tool. -If you want to use the tool, exit the chroot and run the following: -</p> -<div class="example"> -<pre class="example">$ wget https://github.com/cemkeylan/genfstab/raw/master/genfstab -$ chmod +x genfstab -$ ./genfstab -U /mnt >> /mnt/etc/fstab -</pre></div> - - +<table class="menu" border="0" cellspacing="0"> +<tr><td align="left" valign="top">• <a href="Bootloader.html" accesskey="1">Bootloader</a></td><td> </td><td align="left" valign="top">Install a bootloader for your system +</td></tr> +<tr><td align="left" valign="top">• <a href="Init-scripts.html" accesskey="2">Init scripts</a></td><td> </td><td align="left" valign="top">Install init scripts for your system +</td></tr> +<tr><td align="left" valign="top">• <a href="Fstab.html" accesskey="3">Fstab</a></td><td> </td><td align="left" valign="top">Generating fstab +</td></tr> +</table> |