You are not logged in.
Pages: 1
Hi everybody,
im am new to Arch Linux and got a problem. I use the Nvidia proprietary driver and changed the resolution in the grub file (/etc/default/grub) for the grub menu and updated grub (grub-mkconfig -o /boot/grub/grub.cfg). The problem is that i can choose arch in the grub menu but the system freezes at the output "Loading initial ramdisk" now. So I booted the System with a Live-CD and tried to edit the grub.cfg in the /boot/ directory but the directory is empty now.
I hope you can help me with that. I am using EFI.
Thank you in advance for your help,
Marcus
Last edited by Marcus_78 (2013-10-03 21:22:16)
Offline
Are you using a separate partition for /boot? Is it properly mounted?
Offline
Is /boot a separate partition? Some details about your setup would help.
Not a Sysadmin issue, moving to NC...
Offline
No, I don't use a separate partition for /boot.
Sorry for posting in the wrong category.
Offline
Well is / properly mounted e.g. at /mnt? And are you looking in /mnt/boot?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
So I booted the System with a Live-CD and tried to edit the grub.cfg in the /boot/ directory but the directory is empty now.
You are probably looking at the /boot directory of the Live-CD instead of the /boot directory of your installation. See post #5 by cfr.
Offline
Sometimes I get this error, and I fix it like this: take out the LiveCD and try letting grub boot up on timeout, meaning don't explicitly select an OS, don't press or click anything, just let it auto boot.
Last edited by derekArch (2013-10-04 21:34:00)
Offline
Marcus_78 wrote:So I booted the System with a Live-CD and tried to edit the grub.cfg in the /boot/ directory but the directory is empty now.
You are probably looking at the /boot directory of the Live-CD instead of the /boot directory of your installation. See post #5 by cfr.
teateawhy is probably correct. Insert your Arch Live CD/USB again,
mkdir -p /mnt/boot
mount /dev/sdX /mnt
mount /dev/sdY /mnt/boot
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck
grub-mkconfig -o /boot/grub/grub.cfg
You can edit the grub.cfg as you want to before the grub-mkconfig.
Last edited by dabholkarsa (2013-10-05 15:28:25)
Keep It Simple, Stupid
Offline
mount /dev/sdX /mnt/boot
mount /dev/sdY /mnt
Correct me if i am wrong, but you have to mount in the correct order, see
https://wiki.archlinux.org/index.php/Be … partitions
Offline
dabholkarsa wrote:mount /dev/sdX /mnt/boot
mount /dev/sdY /mntCorrect me if i am wrong, but you have to mount in the correct order, see
https://wiki.archlinux.org/index.php/Be … partitions
Yup, sorry! Corrected my mistake!
Keep It Simple, Stupid
Offline
You can edit the grub.cfg as you want to before the grub-mkconfig.
Strictly speaking, this is true. You can. It is just pointless since grub-mkconfig will overwrite your edits. You want to edit /etc/default/grub and/or /etc/grub.d/* if you are going to use grub-mkconfig.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1