You are not logged in.
Pages: 1
I'm installing Arch for the first time, and following the (excellent) Beginners' Guide. I am attempting to install GRUB for my UEFI motherboard (https://wiki.archlinux.org/index.php/Be … ide#GRUB_2). When I get to the point when I should run
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
I get the error:
cp: cannot create regular file /boot/grub/locale/en.mo: No such file or directory
I have followed the guide to the letter until this point. What's wrong?
Thanks everyone.
Last edited by AlecB (2013-02-03 05:28:38)
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
cp: cannot create regular file /boot/brub/locale/en.mo: No such file or directory
I have followed the guide to the letter until this point. What's wrong?
Typo.
Offline
Oops, that was an error in this post, not the code:) Thanks for pointing it out.
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
I don't use grub, so I can't be too much help.
Have you correctly generated your locale?
The file you are looking to copy does not look to be mission critical, you could always just ignore that line and continue...
Offline
I suppose he could create a directory for brub. Then it wouldn't be a typo.
I laugh, yet the joke is on me
Offline
Beginnersguide:
# pacman -S grub-bios
# grub-install --target=i386-pc --recheck /dev/sda
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
Grub2 page:
# modprobe dm-mod
# grub-install --target=i386-pc --recheck --debug /dev/sda
# mkdir -p /boot/grub/locale
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
No wonder he has no /boot/grub/locale
Offline
Verifying the existence of the directory /boot/grub/locale is appropriate but that is always created during the installation of the package for me. Those instructions are for english language so I hope that is the appropriate language. If not, you'll need to adjust accordingly. I guess next I'd check the source directory, /usr/share/locale/en\@quot/LC_MESSAGES for the grub.mo file. That is in my directory. If the sources exists for a copy command, and the target directory exists, it must be a permissions issue. Are you in the arch-chroot environment when doing this?
Last edited by Blasphemist (2013-02-03 16:15:28)
Simple and Open
Offline
I don't use grub, so I can't be too much help.
Have you correctly generated your locale?
The file you are looking to copy does not look to be mission critical, you could always just ignore that line and continue...
I think I'll try to continue without copying that file, and see what happens...
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
I ran the command
# mkdir -p /boot/grub/locale
and then
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
I assume it worked now (I don't get an error.) Someone should edit the Beginners' Guide from
# pacman -S grub-bios
# grub-install --target=i386-pc --recheck /dev/sda
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
To
# pacman -S grub-bios
# grub-install --target=i386-pc --recheck /dev/sda
# mkdir -p /boot/grub/locale
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Today's not my day... The very next line of code in the Beginners' Guide:
# efibootmgr -c -g -d /dev/sdX -p Y -w -L "Arch Linux (GRUB)" -l '\EFI\arch_grub\grubx64.efi'
gives error
invalid numeric value Y
What's wrong this time
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Please read the guide more carefully. A few lines above the mentioned code:
Note: In the above command, X and Y denote the drive and partition of the UEFISYS partition. For example, in /dev/sdc5, X is "c" and Y is "5".
Installing Arch is one thing. Configuring and using Arch is a completely different chapter. You will have to do a lot personal research (is reading untill your socks fall off)
if you want to get it done.
Offline
I wasn't booted in EFI before, so that was why I was having some of my problems. I am attempting to make a bootable usb drive, https://wiki.archlinux.org/index.php/Un … B_from_ISO
But the first line of code is a bit vague.
# mkdir -p /mnt/{usb,iso}
Is "usb" the name of my usb, the location of my of my usb, the partition of my usb, or what? And what exactly is "iso"?
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
The command is self-explanatory; creating two directories on /mnt
Read through the rest of the page and try and get a sense of the bigger picture.
Your questions to date suggest you need to spend more time familiarising yourself with the basics, and less time blindly trying to install Arch.
Offline
You're right. I guess I'll read the entire UEFI page.
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Pages: 1