Compare commits

...

7 commits

Author SHA1 Message Date
Tobias Powalowski
cd2a81e803 fix titile 2024-08-14 17:30:27 +02:00
Tobias Powalowski
cb7c8c3186 update homepage 2024-08-14 17:27:05 +02:00
Tobias Powalowski
761c54877f shorten script 2024-08-14 16:45:56 +02:00
Tobias Powalowski
e8ecb3ce7b remove /tmp check 2024-08-14 16:45:09 +02:00
Tobias Powalowski
084d863d8f functionalize post_installation 2024-08-14 10:59:39 +02:00
Tobias Powalowski
ad7038ae95 simplify echos 2024-08-14 10:57:10 +02:00
Tobias Powalowski
78ae6e2cbb fix wording 2024-08-14 10:39:30 +02:00
3 changed files with 44 additions and 31 deletions

View file

@ -8,8 +8,6 @@ _DESTDIR="${1}"
_usage() {
echo -e "\e[1m\e[36mArchboot\e[m \e[1m- Quickinst Installer\e[m"
echo -e "\e[1m------------------------------\e[m"
echo -e "Usage: \e[1mquickinst <destdir>\e[m"
echo ""
echo "This script is for users, who would rather partition/mkfs/mount"
echo "their target media manually, than go through the routines in"
echo "the setup script."
@ -19,8 +17,9 @@ _usage() {
echo -e "Configure mirror: \e[1m/etc/pacman.d/mirrorlist\e[m"
fi
echo -e "Configure packages to install: \e[1m/etc/archboot/defaults\e[m"
echo -e "Mount all your filesystems: \e[1m<destdir>\e[m."
echo -e "Run: \e[1mquickinst <destdir>\e[m"
echo -e "Mount all your filesystems: \e[1m<destdir>\e[m"
echo ""
echo -e "Usage: \e[1mquickinst <destdir>\e[m"
exit 0
}
@ -54,19 +53,34 @@ _install_packages() {
${_PACMAN} -S ${_PACKAGES}
}
# start script
_post_installation() {
echo -e "
\e[1mPackage installation complete.\e[m
Please install a \e[1mbootloader\e[m. Edit the appropriate config file for
your loader. Please use \e[1m${_VMLINUZ}\e[m as kernel image.
Chroot into your system to install it:
\e[1m# mount -o bind /dev ${_DESTDIR}/dev\e[m
\e[1m# mount -t proc none ${_DESTDIR}/proc\e[m
\e[1m# mount -t sysfs none ${_DESTDIR}/sys\e[m
\e[1m# chroot ${_DESTDIR} /bin/bash\e[m
Next step, initramfs setup:
Edit your \e[1m/etc/mkinitcpio.conf\e[m to fit your needs. After that run:
\e[1m# mkinitcpio -p ${_KERNELPKG}\e[m
Then \e[1mexit\e[m your chroot shell, edit \e[1m${_DESTDIR}/etc/fstab\e[m and \e[1mreboot\e[m!"
}
if [[ -z "${1}" ]]; then
_usage
fi
! [[ -d /tmp ]] && mkdir /tmp
if [[ -e "${_LOCAL_DB}" ]]; then
_local_pacman_conf
else
_PACMAN_CONF=""
fi
if ! _prepare_pacman; then
echo -e "Pacman preparation \e[91mFAILED\e[m."
exit 1
@ -79,23 +93,7 @@ if ! _install_packages; then
fi
_locale_gen
_chroot_umount
echo
echo -e "\e[1mPackage installation complete.\e[m"
echo
echo -e "Please install a \e[1mbootloader\e[m. Edit the appropriate config file for"
echo -e "your loader. Please use \e[1m${_VMLINUZ}\e[m as kernel image."
echo -e "Chroot into your system to install it:"
echo -e " \e[1m# mount -o bind /dev ${_DESTDIR}/dev\e[m"
echo -e " \e[1m# mount -t proc none ${_DESTDIR}/proc\e[m"
echo -e " \e[1m# mount -t sysfs none ${_DESTDIR}/sys\e[m"
echo -e " \e[1m# chroot ${_DESTDIR} /bin/bash\e[m"
echo
echo "Next step, initramfs setup:"
echo -e "Edit your \e[1m/etc/mkinitcpio.conf\e[m to fit your needs. After that run:"
echo -e " \e[1m# mkinitcpio -p ${_KERNELPKG}\e[m"
echo
echo -e "Then \e[1mexit\e[m your chroot shell, edit \e[1m${_DESTDIR}/etc/fstab\e[m and \e[1mreboot\e[m! "
_post_installation
exit 0
# vim: set ts=4 sw=4 et:

View file

@ -44,7 +44,7 @@ _create_container() {
}
_network_check() {
_TITLE="Archboot ${_RUNNING_ARCH} | ${_RUNNING_KERNEL} | Basic Setup | Network Check"
_TITLE="archboot.com | ${_RUNNING_ARCH} | ${_RUNNING_KERNEL} | Basic Setup | Network Check"
# wait 20 seconds for network link
_COUNT=0
while true; do

View file

@ -17,7 +17,7 @@
<h1>Archboot Home | <a href="https://archboot.com/gallery.html">Gallery</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=Z7GXKW4MKHK7C"><img src="donate.png" alt="Donate"></a></h1>
<h2>2024 Fundraise: 0% <progress max="100" value="48">0%</progress> 100%</h2>
<p><strong>&copy; 2006 - 2024 | <a href=mailto:tpowa@archlinux.org>Tobias Powalowski</a></strong> | Arch Linux Developer <strong><a href="https://archlinux.org/people/developers/#tpowa">tpowa</a></strong><br>
<strong>Last update: 02.08.2024 08:13</strong></p>
<strong>Last update: 14.08.2024 16:26</strong></p>
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#introduction" id="toc-introduction"><strong><span class="toc-section-number">1.</span> Introduction</strong></a></li>
@ -39,7 +39,8 @@
<li><a href="#cli-manage-archboot" id="toc-manage-archboot"><span class="toc-section-number">3.8</span> For Experts: CLI Manage Environment</a></li>
<li><a href="#tools-for-backup-and-copying-of-an-existing-system" id="toc-tools-for-backup-and-copying-of-an-existing-system"><span class="toc-section-number">3.9</span> Tools For Backup And Copying Of An Existing System</a></li>
<li><a href="#restoring-an-usb-device-to-fat32-state" id="toc-restoring-an-usb-device-to-fat32-state"><span class="toc-section-number">3.10</span> Restoring An USB Device To FAT32 State</a></li>
<li><a href="#system-configuration" id="toc-system-configuration"><span class="toc-section-number">3.11</span> System Configuration On Installed System</a></li>
<li><a href="#clean-blockdevice" id="toc-clean-blockdevice"><span class="toc-section-number">3.11</span> Clean Blockdevice</a></li>
<li><a href="#system-configuration" id="toc-system-configuration"><span class="toc-section-number">3.12</span> System Configuration On Installed System</a></li>
</ul></li>
<li><strong><a href="#faq-known-issues-and-limitations" id="toc-faq-known-issues-and-limitations"><span class="toc-section-number">4.</span> FAQ / Known Issues / Limitations</a></strong></li>
<li><strong><a href="#archiso" id="toc-archiso"><span class="toc-section-number">5.</span> Comparison To Archiso Image</a></strong></li>
@ -620,7 +621,21 @@
</tr>
</tbody>
</table>
<h3 data-number="3.11" id="system-configuration"><span class="header-section-number">3.11</span> System Configuration On Installed System</h3>
<h3 data-number="3.11" id="clean-blockdevice"><span class="header-section-number">3.11</span> Clean Blockdevice</h3>
<p>You can use <strong>clean-blockdevice.sh</strong> for cleaning partition table and filesystem signatures of any blockdevice.</p>
<table>
<thead>
<tr class="header">
<th>Attention: This will render all data on your device inaccessible!</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><code># clean-blockdevice.sh &lt;device(s)&gt;</code></td>
</tr>
</tbody>
</table>
<h3 data-number="3.12" id="system-configuration"><span class="header-section-number">3.12</span> System Configuration On Installed System</h3>
<p>You can also run <strong>archboot-setup.sh</strong> for <strong>system configuration</strong> on an installed system.</p>
<p><a href="#package-installation" title="Installation"><strong>Install</strong></a> your corresponding archboot package for getting the <strong>archboot-setup.sh</strong> script.</p>
<h2 data-number="4." id="faq-known-issues-and-limitations"><span class="header-section-number">4.</span> <strong>FAQ / Known Issues / Limitations</strong></h2>
@ -815,7 +830,7 @@ The calculated size to boot the image follows the formula:<br>
</tr>
<tr class="odd">
<td>ROOTFS packages</td>
<td class="MyYes">225</td>
<td class="MyYes">226</td>
<td class="MyNo">419</td>
</tr>
<tr class="even">