J G Miller wrote:
> On Friday, February 10th, 2012 at 06:44:52h +0100, J.O. Aho wrote:
>
>> depends on if your distributions make a difference between legacy grub
>> and grub 2.
>
> And under Debian it is also a good idea to run update-grub2 just to be
> certain that the grub.cfg file is recreated with the correct values.
In this case I wouldn't recommend it, as it's not sure the OP will have
everything correctly mounted when running the command, which could make some
files not accessible and make the install to fail.
> Having very recently done a grub re-install, I learnt that when grub
> is invoked in the boot up process (and as specified in the grub.cfg
> file) it needs access to /usr/share. So /usr/share has to be available
> and also if on a separate file system, it needs the correct UUID in
> grub.cfg, which is important to remember if one has been shuffling disks.
This is due a bad choice to install the theme wallpapers in
/usr/share/images/ but you can always modify the theme configuration to look
at it in the /boot slice instead, but then you need to see that your /boot
slice is big enough to hold the images too.
I think the grub2 project has been too influenced by Redhat who has decided
it's time to assume that /usr will be accessible at boot time.
> Did legacy grub require /usr/share? I think not. Another case of
> creeping featurism adding complicating dependencies.
Unless you specified that the splash image was located on /usr/share/images,
which you could specify.
> And on the subject of dependencies, especially stupid ones,
> if you want to install mdadm on Debian/Mint/Ubuntu in order
> to manage raid filesystems, it requires the installation of
> an MTA, postfix by default. Just how crazy is that?
I don't use debian based distributions, specially not *buntu.
If you want some dependency hell, take a look at glibc in RedHat based
distributions, it depends on gd, which in it's turn depends on X Windows
System (not the whole, but core parts).
It was a bit difficult when I was upgrading my RedHat 7.3 (the last good
version of community RedHat) with a up to date glibc, kernel 2.6 and libgnome2
(that was even more hellish, took me quite a lot of time and help from one of
the gnome2 developers to build things in the right order and many packages had
to be rebuilt after another package had been installed, to get all the
features needed).
I feel better with a distribution where I can choose which dependencies I want
to have, there are a few Source Mage for those of you who like debian, Gentoo
for the rest (LFS isn't a distribution, just an instruction how to build your
own installation).
--
//Aho