You are not logged in.
Pages: 1
G'day mates! I've got a bit of trouble installing Arch, first to my laptop and then to a VM. The same trouble seems to haunt both attempts. Immediately after installation is finished, I reboot, and I select the first option in Grub, I'm greeted with a warning:
error: no such device: string-of-characters
Loading Linux core repo kernel...
error: no such partition...
Loading initial ramdisk...
error: you need to load the kernel first.
Press any key to continue...
after which it returns to the grub menu.
After a bit of online searching, it appeared that my fstab is not configured properly. So I booted up a live Arch install, mounted the / partition (sda1), and checked fstab. Sure enough, fstab is completely empty. This is a bit weird because I'm positive I ran
genfstab -U /mnt /mnt/etc/fstab
during installation.
So I reformatted swap, made sure that sda1 was mounted in /mnt, and reran genfstab. It appeared to execute correctly, but "cat /mnt/etc/fstab" once again revealed an empty fstab.
At this point I think it would be best to ask for help. I've checked the permissions of /mnt/etc/fstab; it is indeed -rw-r--r-- and owned by root. I've checked the arch iso (v. 2016.02.01) and the checksums are good too.
My entire installation script is at http://pastebin.com/XAavu1nz
Thanks for any help!
Fred
Last edited by Fred Barclay (2016-03-21 20:56:49)
Offline
Run genfstab without the redirect, is anything printed?
EDIT: wait, you didn't have a redirect. That's probably your problem. You need to redirect the output to /mnt/etc/fstab, not include it as another parameter.
Last edited by WorMzy (2016-03-21 17:26:06)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
So in the live system, just do
genfstab
?
EDIT: That only prints instructions on how to use genfstab.
Last edited by Fred Barclay (2016-03-21 17:26:06)
Offline
This is a bit weird because I'm positive I ran
genfstab -U /mnt /mnt/etc/fstab
during installation.
It should be genfstab -U /mnt >> /mnt/etc/fstab
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Offline
Your install script isn't writing to a file.
Online
Fred Barclay wrote:This is a bit weird because I'm positive I ran
genfstab -U /mnt /mnt/etc/fstab
during installation.
It should be genfstab -U /mnt >> /mnt/etc/fstab
Okay, just...
How on earth did I miss that!?!
Un segundo and I'll check it--but my notes say that I did run this (without the redirect) so I highly suspect this is the problem.
Grr...
Oh well, laugh instead of cry.
Last edited by Fred Barclay (2016-03-21 17:32:48)
Offline
No go--I still get the same error message at boot.
I did a complete reinstall just to be safe--details are at http://pastebin.com/XAavu1nz
Arch is still booting up with the same error message.
fstab is definitely populated correctly--I checked the uuids with "blkid."
However, I did notice some weird messages during installation--not sure if they're errors or not. I took a screenshot of one of 'em. (Sorry it's so small--it's the biggest windows VBox would give.)
https://i.imgur.com/7ndwsNb.png
Thanks!
Last edited by jasonwryan (2016-03-21 19:38:07)
Offline
Please don't post screenshots of text, paste the actual text. And read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_code
Offline
Sorry about that.
Offline
You should probably update your title, since the genfstab problem was a red herring and the problem is in something else, presumably grub.
Posting your grub.cfg might help, as well as the output of 'lsblk -f'.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
One of your problems is this line
grub-mkconfig -o /boot/grub
You should be writing to /boot/grub/grub.cfg
Offline
Subject renamed. (hopefully).
It's going to take some doing to get those files out of the vbox install (it's not like I can install vbox-guest-utils and share a folder). I'll be back!
Offline
One of your problems is this line
grub-mkconfig -o /boot/grub
You should be writing to /boot/grub/grub.cfg
No, I don't believe that would hurt, would it?
I'm really sorry guys--today is just one of "those days." I don't have my usual notes for installing Arch and apparently I'm incapable of reading a wiki correctly.
Last edited by Fred Barclay (2016-03-21 20:50:29)
Offline
And "grub-mkconfig -o /boot/grub" was to blame. Agh!
Thanks so much!
Offline
If you don't write to the correct place, how would grub know where to find the config file?
https://wiki.archlinux.org/index.php/GR … ation_file
Edit, sorry, you got it.
Last edited by dcdriving (2016-03-21 20:59:06)
Offline
Pages: 1