You are not logged in.
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
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:
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
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
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 0Changed 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
initrd=/intel-ucode.img initrd=/initramfs-linux.img
This line is wrong.
Jin, Jîyan, Azadî
Offline
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.imgLast edited by mczon (2016-11-01 15:06:06)
Offline