Le 06/01/2013 21:05, Gene Czarcinski a écrit :
> I assume you have a "grub partition" (or its equivalent) with a
> grub.cfg file having menuentry definitions [pointing to the different
> grub.cfg file for each system ... that seems to work well (at least
> for me). Currently, os-prober does not support btrfs.
I don't have any specific "grub" partition, every Linux install has its
own grub install in its own /boot BTRFS subvolume.
But I of course have only one grub actually installed in the disk MBR,
the one that corresponds to the distro I use most (and for which I redid
« grub-install /dev/sda » last).
As this grub doesn't auto-detect the other distros, I simply chain from
there the other distro's grub.cfg, by having crafted once for all a :
"/etc/grub.d/40_custom" that contains, i.e. :
#!/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 "DebMint Loader (Chained)" {
configfile (hd0,2)/LMDE/@boot/grub/grub.cfg
}
menuentry "Mint 13 Loader (Chained)" {
configfile (hd0,2)/MINT/@boot/grub/grub.cfg
}
menuentry "Bodhi Loader (Chained)" {
configfile (hd0,2)/BODHI/@boot/grub/grub.cfg
}
That's all folks ;-))
--
Swâmi Petaramesh <[email protected]> http://petaramesh.org PGP 9076E32E
Ne cherchez pas : Je ne suis pas sur Facebook.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html