On 7 Feb 2005, at 15:22, Darragh Bailey wrote:
> Currently have the following really annoying problem that I would
> appreciate any
> help with. The main problem is with installing the grub bootloader
> onto one of
> my disks, I've give the outline of the system configuration since it
> could
> hardly be described as standard.
No, it certainly could not :-)
> At the moment after attempting
> $ grub-install --root-directory=/boot /dev/hdf
>> it writes the directory
> /boot/boot/grub/ and puts the various files in there, which is not
> correct to be
> gin with.
It may not be what you want, but it is correct from grub's lights. When
you do grub-install it tries to install the grub files in /boot/grub.
However, if you're doing something unusual, and you tell grub where to
install the files with --root-directory, it puts the files under the
directory boot in THAT directory. So, if you say --root-directory=/boot
and boot puts its files in /boot/boot, it is only doing exactly what
you tell it to do.
To be honest, given your convoluted layout, I'd not be surprised that
grub-install doesn't work. It is simply a script around the grub shell,
and although it does its best, I guess it can't consider every
eventuality. In your situation, I think you need to learn a little more
about grub, and use the grub shell to do the installation exactly as
you want it.
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!