You are not logged in.

#1 2013-12-15 16:28:33

brkc
Member
Registered: 2013-12-15
Posts: 2

quickarch: minimal script to complete a chrooted Arch Linux install

I reinstall Arch Linux a lot. And in my haste to finish, I sometimes forget to set random things during the installation. When I'm going through this process, I'm really just looking forward to rebooting, then logging in to my user account with sudo privileges, so I can start building my system from scratch. So I looked into somewhat automating it. Or, at least, a prompt installation so I won't have to try to remember absolutely everything. But the Archlinux Ultimate Install script was a little too "ultimate" for me. So I created my own. See the README below converted from the GitHub repository itself.

quickarch

This script automates the tedium that comes after chrooting your Arch Linux installation. This includes:

  • adding users

  • enabling sudo

  • installing GRUB

  • setting your

    • locale-specific information

    • hostname

    • passwords

  • and anything else you might forget to do before your mass package install!

It does not guide you through partitioning, pacstrap, or anything else you might want to do before chrooting.

When and how to run it:

arch-chroot /mnt/arch
curl -L tinyurl.com/quickarch > quickarch
bash quickarch

How it looks:

editor?
1) vim
2) vi
3) nano
#? 3
<editing locale.gen>
Generating locales...
  en_US.UTF-8
  en_US.ISO-8859-1
Generation complete.
locale?
1) en_US.UTF-8
2) en_US
#? 1
localtime? (tab-tab) America/New_York
clock?
1) utc
2) localtime
#? 1
hostname? archlinux
want dhcp? y
want wifi? y
what device for grub? /dev/sda
for root...
Enter new UNIX password:
Retype new UNIX password:
username? brkc
Enter new UNIX password:
want sudo for brkc? y
more users? n

Last edited by brkc (2013-12-15 16:49:27)

Offline

#2 2013-12-15 16:47:06

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: quickarch: minimal script to complete a chrooted Arch Linux install

Hi brkc, and welcome to the forum. I have moved your thread to the Community Contributions section.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2013-12-15 16:57:54

brkc
Member
Registered: 2013-12-15
Posts: 2

Re: quickarch: minimal script to complete a chrooted Arch Linux install

Sorry! I overlooked this forum. Thanks for the welcome!

Offline

Board footer

Powered by FluxBB