You are not logged in.
Pages: 1
I have created an entry in /etc/grub.d/40_custom. I then ran grub-mkconfig -o /boot/grub/grub.cfg. The entries are there, but when I boot, they don't show up in the menu. Am I missing a step for adding a menuentry to grub?
Offline
I assume you've read through: https://wiki.archlinux.org/index.php/GR … b-mkconfig?
Are you sure it's (40_custom) properly formatted? You're not set up UEFI-GPT are you?
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
I have created an entry in /etc/grub.d/40_custom. I then ran grub-mkconfig -o /boot/grub/grub.cfg. The entries are there, but when I boot, they don't show up in the menu. Am I missing a step for adding a menuentry to grub?
Please post the 40_custom file. We can't tell whats wrong without looking at it first.
Offline
I assume you've read through: https://wiki.archlinux.org/index.php/GR … b-mkconfig?
Are you sure it's (40_custom) properly formatted? You're not set up UEFI-GPT are you?
I am. And it's a macbook, sorry I should have said that before. I just saw the mactel-boot program thought so I'm going to try that.
Offline
We're going to need more information if we're going to help you.
For a start, post the 40_custom file in code tags, as the.ridikulus.rat asked. Also, you are what? Two questions were asked that this might be a response to.
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
We're going to need more information if we're going to help you.
For a start, post the 40_custom file in code tags, as the.ridikulus.rat asked. Also, you are what? Two questions were asked that this might be a response to.
I have read the wiki. My answer was in response to your question about UEFI-GPT. I believe that I am setup using UEFI-GPT. I followed the instructions at https://wiki.archlinux.org/index.php/MacBook in order to setup dualboot. A few months ago I blew away the mac osx partition and everything works fine. I am trying to add my linux from scratch partition to my grub menu. I can get to the LFS partition fine from the grub shell, so I know my entry is fine. I think that my problem is updating grub image that's registered with the EFI boot record.
Here is my /etc/grub/40_custom file :
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Linux From Scratch" --class os {
insmod ext2
set root=(hda1,5)
linux /vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
boot
}I am unsure how to update the image that EFI is booting. I also might be misunderstanding how EFI works
Offline
I have created an entry in /etc/grub.d/40_custom. I then ran grub-mkconfig -o /boot/grub/grub.cfg.
I haven't dealt with a setup like yours, but, what you said you did in your first post is not what the wiki says to do: https://wiki.archlinux.org/index.php/Grub#Dual-booting
In particular:
or, for UEFI-GPT Mode:
# grub-mkconfig -o /boot/efi/EFI/GRUB/grub.cfg
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
I haven't dealt with a setup like yours, but, what you said you did in your first post is not what the wiki says to do: https://wiki.archlinux.org/index.php/Grub#Dual-booting
Thanks nullified,
I miss-read that the first time. I put my grub.cfg on to the efi partition and I ended up having to boot to the os x recovery and do this: https://wiki.archlinux.org/index.php/MacBook#GRUB.
Everything is working now!
Offline
okay,cool. mark the thread as solved if so. glad it works!
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
Pages: 1