Can't add linux install to grub menu
Have grub and linux mint installed on /dev/sda. The OS in on /dev/sda1. Have another linux install on /dev/sdb1. I can mount it while booted into mint and I can see the contents of /boot.
Code:
> ll /media/lfs/boot/ The grub.cfg file warns not to manually edit and the syntax is very verbose so I'm not comfortable trying to manually add another menu item. |
For Mint update-grub should do it (use sudo). The actual function is provided by os-prober, which has syntax rules for recognising kernels. Whether it'll accept that, you'll only find out by trying.
If not, you'll have to build your own custom entry - see /etc/grub.d/40_custom. Plenty of how-to's online. |
Quote:
Code:
menuentry "Linux From Scratch" { Code:
Generating grub configuration file ... |
Actually that did add the custom menu entry and I was able to boot into the other installation.
It promptly kernel panic'd and died on me but that another issue. This issue is resolved. Thanks for the help. |
Add your initrd.
|
Quote:
There should be a way to mark a thread as 'DOUBLE SOLVED'. Forgot to mention that I also had to add /boot before my 'linux' and 'initrd' entries. Final menu entry looks like this. Code:
menuentry "Linux From Scratch" { |
All times are GMT -5. The time now is 03:31 PM. |