You are not logged in.

#1 2016-10-31 17:39:10

mczon
Member
Registered: 2016-10-29
Posts: 10

[Solved] Error message after installing arch linux

Could use some help deciphering an error message to find out what I did wrong when installing arch linux.

I have tried to install arch linux and when I reboot without my usb-drive I get the error that I have in the picture here.
Was unable to get ssh to work on it so had to take a picture instead, the row that is cut in the end ends with "unknown-block(0,0)".

Thanks for any help.

Write you later / mczon


If the message need more context, this is what I have done when trying to install arch linux


I have set my motherboard to use UEFI load and I am using GPT partition table.
I have set up three partitions on my main drive

  • sda1
    512MB EFI partition Fat32

  • sda2
    4G, swap, ext4

  • sda3
    900G+ Linux File System, ext4

  • sdb1
    2.7TLinux File system, ext4

Mounted:
sda1 on /mnt/boot
sda3 on /mnt
sdb1 on /mnt/home

I called genfstab and it looked good with these three in it.

I called 'swapon /dev/sda2'
and added sda2 by hand in the fstab file with 'UUID=<UUID> none swap defaults 0 0'


My bootloader I set up with:
esp/loader/entries/arch.conf
title          Arch Linux
linux          /vmlinuz-linux
initrd=/intel-ucode.img initrd=/initramfs-linux.img
options     root=/dev/sda3

I unmounted all partitions with umount -R /mnt
Rebooted and got the error that is in the picture

[EDIT:] Correct options in arch.conf

Last edited by mczon (2016-11-01 15:06:21)

Offline

#2 2016-10-31 17:43:46

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

Re: [Solved] Error message after installing arch linux

mczon wrote:

Mounted:
sda1 on /mnt/boot
sda3 on /mnt
sdb1 on /mnt/home

If you did it in that order, that'd definitely be a problem.  The second mount masked the first.  But that still doesn't quite add up.  Can you post the contents of /etc/fstab?

EDIT this is also a problem, and likely the direct cause:

mczon wrote:

sda2
4G, swap, ext4
...
options     root=/dev/sda2

You're specifying your swap partition as the root.


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

Offline

#3 2016-10-31 20:33:11

mczon
Member
Registered: 2016-10-29
Posts: 10

Re: [Solved] Error message after installing arch linux

I mounted them with sda3 /mnt first, then sda1 /mnt/boot and sdb1 /mnt/home, I just wrote them in order of partition name.

Typical, I hope I wrote wrong from memory, I am unable to start the server at all at the moment because I get that error whenever I try to boot, even from USB, trying to get around that at the moment.
I was debating a lot with myself to have swap or not since I have 16G memory so hopefully that is just a lack of memory. If so I apologize for for giving bad information, but hopefully I will be able to get into the server tonight and give good info.

Last edited by mczon (2016-10-31 20:54:21)

Offline

#4 2016-11-01 07:24:15

mczon
Member
Registered: 2016-10-29
Posts: 10

Re: [Solved] Error message after installing arch linux

Seems my memory was bad, options where root=/dev/sda3, my mistake sorry.

It became easier to verify what I have done now that I am in the computer again.

More configurations I have made:
/boot/loader/loader.conf

timeout 3
default arch
editor 0

Changed my options to use the PARTUUID of /dev/sda3 so it is now:
esp/loader/entries/arch.conf

title          Arch Linux
linux          /vmlinuz-linux
initrd=/intel-ucode.img initrd=/initramfs-linux.img
options     root=<PARTUUID>

But I still have the

Bert: Can't request iomem region <Long number>.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
...

Last edited by mczon (2016-11-01 07:24:58)

Offline

#5 2016-11-01 07:48:04

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [Solved] Error message after installing arch linux

mczon wrote:
initrd=/intel-ucode.img initrd=/initramfs-linux.img

This line is wrong.

See https://wiki.archlinux.org/index.php/Mi … stemd-boot


Jin, Jîyan, Azadî

Offline

#6 2016-11-01 15:04:50

mczon
Member
Registered: 2016-10-29
Posts: 10

Re: [Solved] Error message after installing arch linux

Thanks, now my Linux works. I jumped to far down when reading how to enable intel microcode updates.
Thanks a lot!

Solution was to write:

initrd  /intel-ucode.img
initrd  /initramfs-linux.img

Last edited by mczon (2016-11-01 15:06:06)

Offline

Board footer

Powered by FluxBB