You are not logged in.

#1 2016-06-12 03:14:03

jess
Member
Registered: 2016-06-11
Posts: 10

[SOLVED]Problems with installing Arch

I've been trying to install Arch on my Mac since yesterday, and this is like the 5th attempt.... sad

Now I'm following the official beginners' guide but it fails. Now I have these options

Arch
EFI Default Loader

when starting up my computer but when I go into Arch, it gives me this:

:: running early hook [undev]
starting version 230
:: running hook [udev]
:: Triggering uevents...
ERROR: device '' not found. Skipping fsck.
ERROR: Unable to find root device ''.
       Type 'exit' to try and continue booting
sh: can't access tty; job control turned off
[rootfs   ]#

The guide referred to this page briefly saying this:

When successful, create a boot entry as described in systemd-boot#Configuration (replacing $esp with /boot), or adapt the examples in /usr/share/systemd/bootctl/. 

so I followed, but I was not sure if I should do all of the things written on that page. Here's the conf files "/boot/loader/loader.conf" and "/boot/loader/entries/arch.conf" that I made in the process:

/boot/loader/loader.conf

default  arch
timeout  4
editor   0

/boot/loader/entries/arch.conf

title          Arch Linux
linux          /vmlinuz-linux
initrd         /initramfs-linux.img

I omited the option from /boot/loader/entries/arch.conf since there was a really complicated numbers

options        root=PARTUUID=14420948-2cea-4de7-b042-40f67c618660 rw

on the example and I didn't know what that meant, but was it necessary?

I skipped the rest of stuff on systemd-boot#Configuration and went back to the beginners' guide. Were there other thing I had to follow on systemd-boot#Configuration?

Here's my partition:

/dev/sda1   /mnt/boot    512Mb  fat32 
/dev/sda2   /mnt            19.5Gb  ext4
/dev/sda3                        8Gb  linux-swap
/dev/sda4   /mnt/home    85Gb  ext4

Last edited by jess (2016-06-12 06:37:20)

Offline

#2 2016-06-12 03:22:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED]Problems with installing Arch

You need the options line, complicated or not.

Offline

#3 2016-06-12 03:30:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]Problems with installing Arch

Lesson 1.  Don't use outdated third party "tutorials".  I think you learned that in your first thread.

Lesson 2.  Don't skip important steps simply because you don't understand them.  Hopefully you will learn that from this thread.

Lesson 3.  We can help you understand things like this that seem complicated, but only if you ask.  Posting a thread asking for help understanding what a PARTUUID is and how to determine yours would be productive.  Posting a thread asking why your are failing will generally not go in productive directions.  This lesson will need to be learned before you'll have very productive exchanges here.

EDIT: I mean the third point only as some constructive criticism mainly aimed at your thread title.  I expected much worse upon seeing the title.  But your post does contain good objective information.  Try to stick with that in your titles too.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2016-06-12 03:31:13

jess
Member
Registered: 2016-06-11
Posts: 10

Re: [SOLVED]Problems with installing Arch

Scimmia wrote:

You need the options line, complicated or not.

Is it okay to type that complicated string on the options part of the example as is?

Offline

#5 2016-06-12 03:34:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]Problems with installing Arch

No, do not use it as is.  You need your PARTUUID.  That stands for partition universally unique identifier.  It's universally unique, so you can't use someone else's.  It identifies your root partition.

In many cases you could also use a block device name, but UUIDs are much more reliable.

Your root partition's UUID is in your fstab, and can also be obtained from `lsblk -f`

EDIT: that page does specify that this is a PARTUUID not a filesystem UUID, so I may be mistaken about lsblk giving the right value.  But that wiki page also has a big colored box with the following:

wiki wrote:

Tip: You can find the PARTUUID for your Root partition with the command blkid -s PARTUUID -o value /dev/sdxY, where 'x' is the device letter and 'Y' is the partition number. This is required only for your Root partition, not esp.

EDIT 2: lsblk -f does seem to give the same output, so either command should give you what you need.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2016-06-12 03:53:05

jess
Member
Registered: 2016-06-11
Posts: 10

Re: [SOLVED]Problems with installing Arch

Trilby wrote:

Lesson 1.  Don't use outdated third party "tutorials".  I think you learned that in your first thread.

Lesson 2.  Don't skip important steps simply because you don't understand them.  Hopefully you will learn that from this thread.

Lesson 3.  We can help you understand things like this that seem complicated, but only if you ask.  Posting a thread asking for help understanding what a PARTUUID is and how to determine yours would be productive.  Posting a thread asking why your are failing will generally not go in productive directions.  This lesson will need to be learned before you'll have very productive exchanges here.

It said it's optional. Here:

options – command line options to pass to the EFI program or Kernel Boot Parameters. Optional, but you will need at least initrd=efipath and root=dev if booting Linux.

Sorry I'm not a native speaker, and it might be have been weird-sounding in the first place to write "why am I failing" as a question title... I didn't have a clue what was wrong with this. Of course I'd like to know what the terms I don't understand refer to and I'll appreciate your helps with it, but it seemed it would take me forever to just get Arch running if I asked those questions one by one. Sorry if I annoyed you guys. sad

I looked up partuuid and now it seems I can look it up my own by lsblk -f.

Thanks, I didn't notice that partuuid was something worth attention until you pointed out.

Should I go though these parts on the systemd-boot article as well?:

LVM root installations, Encrypted Root Installations, btrfs subvolume root installations, and EFI Shells or other EFI apps?

They don't have step numbers to follow, so to a novice like me, they kind of look like side notes, and that confuses me.

Last edited by jess (2016-06-12 03:53:50)

Offline

#7 2016-06-12 04:04:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]Problems with installing Arch

Emphasis added:

wiki wrote:

options – command line options to pass to the EFI program or Kernel Boot Parameters. Optional, but you will need at least initrd=efipath and root=dev if booting Linux.

You are booting linux.  So you will need at least the initrd=* and root=* for options.

Sorry I'm not a native speaker...

We are happy to help you understand.   The wiki has been translated into several languages.  You can check whether your language is one of them.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2016-06-12 05:13:23

tmp-meteque
Member
Registered: 2015-12-11
Posts: 30

Re: [SOLVED]Problems with installing Arch

Trilby wrote:

that page does specify that this is a PARTUUID not a filesystem UUID

Systemd-boot works with UUIDs too.


jess wrote:

Should I go though these parts on the systemd-boot article as well?:

LVM root installations, Encrypted Root Installations, btrfs subvolume root installations, and EFI Shells or other EFI apps?

They don't have step numbers to follow, so to a novice like me, they kind of look like side notes, and that confuses me.

You don't have to go to all of that if you're not using them, your system is a standard root installation.


IBM Lenovo T430

Offline

#9 2016-06-12 05:56:40

jess
Member
Registered: 2016-06-11
Posts: 10

Re: [SOLVED]Problems with installing Arch

This time, it seems I finally got to install Arch now. smile Thanks guys!   It turned out that I didn't have to use my UUID, and it seems I managed to just get away with "options root=/dev/sdxY rw".

Last edited by jess (2016-06-12 06:03:05)

Offline

Board footer

Powered by FluxBB