Liveblogging my arch installation

So my harddisk died a few days ago šŸ˜¦

I have been using a USB dongle to get online and try to get as much work done as possible, but the issue is that that having a laptop with a usb dongle hanging can lead to accidence that can ruin the performance of a ‘live system’. So instead I got the crazy idea of having my phone SD as the live system and enable it to run my laptop.

Since this is temporary and is a good excuse to learn more about linux, I finally made a transition to a more power user environment. So I am trying ArchLinux.

So far the IRC channel and Wiki have been pretty helpful but one issue I find, is that this is no regular installation but a more custom that I originally thought.

First surprise is that I was suggest against just making a live SD card, and instead do a traditional installation into the SD (no Live environment). The main reason because of the persistence issue. Persistence mode is a way to have the environment on read only. Which means that all the configuration will go away on reboot.

Another issue is because my setup is not that straightforward I need to guess which route should I go. So far I founded 3 different pages:

  • Installation Guide
  • Installing to a USB Key
  • Installing from another distro

So far it seems that each has their own method. I had to go with the third one, although I had my doubts regarding the way I was already advanced on the regular installation.

Thing that I find out is that this is very manual and rudimentary way to get a linux system up. Taken from a movie like inception I was told to use the chroot environment to emulate an arch system within the original host (Xubuntu). Since Xubuntu to a degree is emulated since is on a live environment, I was again asked to do a 2nd environment with mkinitcpio.

So the install was something like this:

  1. Boot from live USB
    1. Download ISO and mount -loop it into /mnt/
      1. chroot to the mounted environment
      2. install new stuff
      3. mount the target drives (SD card)
      4. mount it into the chroot enironment
        1. generate a new chroot with mkinitcpio to setup initial files such as:
          1. grub, keymaps, locale, hostname, etc.

Something to scratch your head, not to mentioned that I need to manually configure drivers for wifi and also drivers for display. Is time to boot, we’ll see how much we could interact.

Advertisements