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/
total 6761
drwxrwxrwx 3 mymachine mymachine 2048 Jan 23 11:22 .
drwxrwxrwx 5 mymachine mymachine 2048 Jan 24 03:32 ..
-rw-r--r-- 1 mymachine mymachine 922342 Jan 17 11:47 initrd.gz
drwxrwxrwx 3 mymachine mymachine 4096 Jan 17 10:21 isolinux
-rw-rw-rw- 1 mymachine mymachine 5992432 Jan 15 10:32 vmlinuz
Is there a utility to add the /dev/sdb1 partition to grub.
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.