You are not logged in.
Hey! I am really new to arch linux and I'm up to step 2.12.1.2 GRUB in the Beginner's Guide
When I run
grub-mkconfig -o /boot/grub/grub.cfg
, I get this output:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
No volume groups found
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 164
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub.cfg.new file attached.done
Thanks, any help much appriciated. I've been on google, trying to find something similar, but most of other people's problems are different. Is this normal? Am I the only one? D:
Please no RT*M replies. If you think I should've tried harder then could you please point me to a good wiki that explains this?
Again thanks!
Last edited by gogobebe2 (2013-12-28 03:39:45)
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
Not sure about the lvm messages, but the Out of Memory error message has been extensively covered over the past weeks:
Have you seen this / is this the error? :
https://bbs.archlinux.org/viewtopic.php?pid=1359331
https://bbs.archlinux.org/viewtopic.php?pid=1358496
https://bbs.archlinux.org/viewtopic.php?pid=1358399
https://bbs.archlinux.org/viewtopic.php?pid=1358596
https://bbs.archlinux.org/viewtopic.php?pid=1361602
https://bbs.archlinux.org/viewtopic.php?pid=1360386
https://bbs.archlinux.org/viewtopic.php?pid=1359985
https://bugs.archlinux.org/task/38234
https://bugs.archlinux.org/task/38051Not saying you didn't search the forums or anything But if this is your issue then...
If the solution offered in those threads/bug reports doens't help, then please post back with updated output (if it has changed).
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
Ummm, are you 100% sure you searched the forum?
Offline
@WorMzy
At first I thought my post was removed for some reason. Then I realized this was another thread. Crazy. This grub thing is worse noise than /usr/bin update almost. Seems like it should / could be worthy of Arch Linux home page front page news since it affects everyone just saying.
Offline
This grub thing is worse noise than /usr/bin update almost. Seems like it should / could be worthy of Arch Linux home page front page news
Suggest it on the ML.
since it affects everyone just saying.
I'm using syslinux ;P
Offline
Thanks guys. I added
GRUB_DISABLE_SUBMENU=y
Now how do I check if the erros are still there?
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
I'm not sure what do you mean. Did you rerun 'grub-mkconfig -o /boot/grub/grub.cfg'?
Offline
@WorMzy
At first I thought my post was removed for some reason. Then I realized this was another thread. Crazy.
Hah, nah, I shamelessly stole your post from another topic.
Seems like it should / could be worthy of Arch Linux home page front page news since it affects everyone just saying.
Well, I wouldn't say it affects everyone.. if the numbers are to be believed, it only affects ~22% of Arch installs.
Last edited by WorMzy (2013-12-27 21:51:02)
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
Geesh all the cool kids are using Syslinux I better look into it some day
Offline
Ok I re-ran:
grub-mkconfig -o /boot/grub/grub.cfg
and this happened:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
No volume groups found
done
[Edit]: Time to search the forums hehe
Last edited by gogobebe2 (2013-12-27 21:56:08)
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
Ok I re-ran:
grub-mkconfig -o /boot/grub/grub.cfg
and this happened:
Generating grub configuration file ... Found linux image: /boot/vmlinuz-linux Found initrd image: /boot/initramfs-linux.img /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning. /run/lvm/lvmetad.socket: connect failed: No such file or directory /run/lvm/lvmetad.socket: connect failed: No such file or directory No volume groups found done
[Edit]: Time to search the forums hehe
And the $searchengine.
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
gogobebe2 wrote:Ok I re-ran:
grub-mkconfig -o /boot/grub/grub.cfg
and this happened:
Generating grub configuration file ... Found linux image: /boot/vmlinuz-linux Found initrd image: /boot/initramfs-linux.img /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning. /run/lvm/lvmetad.socket: connect failed: No such file or directory /run/lvm/lvmetad.socket: connect failed: No such file or directory No volume groups found done
[Edit]: Time to search the forums hehe
And the $searchengine.
Ok I read that link you gave me and he said:
The current error is non-critical as
arch-chroot /mnt grub-install --target=i386-pc --recheck /dev/$DEV
goes smoothly and I can boot from $DEV.
...
What does this do? I don't want to run something that I don't understand yet.
I've tried the systemctl start lvmetad.service / lvmetad
and I've tried removing os-prober. Still gives the same error.
I've just re-ran pacman -S os-prober and now I am off to google again
Last edited by gogobebe2 (2013-12-27 22:10:51)
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
I think that means that the grub.cfg is generated despite the lvmetad warnings, and you will be able to boot the system normally. Is this true on your system?
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
I think that means that the grub.cfg is generated despite the lvmetad warnings, and you will be able to boot the system normally. Is this true on your system?
Should I try and boot now and see if it works??
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
WorMzy wrote:I think that means that the grub.cfg is generated despite the lvmetad warnings, and you will be able to boot the system normally. Is this true on your system?
Should I try and boot now and see if it works??
It's the only way to tell...
Offline
gogobebe2,
First off, let me say, Welcome to Arch Linux. I had missed your signature before; having read that, I now see you are one of our younger members. I am always impressed when relatively young men and women take on the challenge that is Arch. In your first post in this thread, you had asked that we not provide RTFM type responses. Trust me, that won't dissuade us from telling you to RTFM
One of the things you will find out about Arch is that we do not lead newbies by the hand. As to whether you should "try and boot now and see if it works?" is going to elicit only one response -- TRY IT!. So what if it does not work -- you will have learned something valuable. It is not the end of the world if it fails, you just need to use a chroot environment from the install media and fix it. You can find that procedure in the wiki. We would be happy to walk you through that more than providing copy and paste solutions to your immediate problems.
No doubt you are a bright lad (lass?) who has the ability to do this -- reach for the brass ring and just do it. I can speak for the community and say we are happy to help when you get in trouble, but please take the opportunity and avail yourself of all the resources hereabout before you give up and ask a question that has already been answered. Soon, you will be contributing back You may also want to read the link in my signature.
Edit: As usual, Jasonwryan beat me to the punch; but I think I was typing longer
Edit2: By the way, the link in your signature links to an expired page
Last edited by ewaller (2013-12-28 02:11:23)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
gogobebe2 wrote:WorMzy wrote:I think that means that the grub.cfg is generated despite the lvmetad warnings, and you will be able to boot the system normally. Is this true on your system?
Should I try and boot now and see if it works??
It's the only way to tell...
Ok I've rebooted and... it stops at Verifting DMI Pool Data.
I then found this: Computer stops at Verifying DMI Pool Data
And one of the causes is: Boot devices not set properly and Corrupt boot files on the computer.
So back to the drawing board.
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
Is this a BIOS or UEFI system? I have to admit I am clueless as to UEFI.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
BIOS
I just switched it to boot from the hardrive instead of CD and then nothing happens and it just sits there saying verifying DMI Pool Data........
I'm going to re-install grub and delete all the config files and try again.
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
Have a look at the new title!!!!!!!!!!!!!
Last edited by gogobebe2 (2013-12-28 04:33:09)
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
For others with the same problem:
I un-installed grub and os-prober. Rebooted. Mounted the partitions again, issued:
systemctl start lvmetad
, chrooted back, re-installed grub, Made sure not to install os-prober (because I saw somewhere that someone with the same problem didn't and it worked for him/her), ran:
grub-mkconfig -o /boot/grub/grub.cfg
with no errors (YAY), did:
grub-install --target=i386-pc --recheck /dev/sda
, exited out of chroot, unmounted /mnt partitions and then rebooted.
Last edited by gogobebe2 (2013-12-28 03:48:41)
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
Have a look at the new title!!!!!!!!!!!!!
Way to go! You will do well here. (But you may want to be a little less celebratory next time )
Last edited by ewaller (2013-12-28 03:57:21)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Way to go! You will do well here.
Thanks and
But you may want to be a little less celebratory next time
Lol
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
Edit2: By the way, the link in your signature links to an expired page
Yeah I gave the website to someone named Oxide - he got the rank of Owner and I got the rank of Founder on the websitea - It is for a Minecraft server that I had made (It ws pretty succesful and rated the first on a website called planet minecraft in the whole of New Zealand. I earned $200 in profit from people donating for special ranks on the server like VIP and Elite-VIP )
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline
Hello, I've just come to say I've got everything working. Here's my setup:
http://www.enlightenment.org/ss/e-52bfd … 344378.png
Thanks for the help
I am a 15 year old who loves computer science. Specifically machine learning and Linux!
https://github.com/gogobebe2
More about me
Offline