LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Grub Boot issue

[ILUG] Grub Boot issue

Niall O Broin niall at linux.ie
Tue Feb 8 01:10:00 GMT 2005


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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell