[Grml] grub-install fails
Michael Prokop
mika at grml.org
Tue May 9 15:58:13 CEST 2006
* Martin Yazdzik <yazdzik at nyct.net> [20060509 15:15]:
> On Tuesday 09 May 2006 08:21, HXC wrote:
> > I get the following error when I try to issue a "grub-install /dev/hda":
> > //dev/root: Not found or not a block device.
> > /Grml resides on hda3 and is formatted with xfs. How can I proceed to
> > install grub? Thanks in advance for you help!
> Tony Wolf went through this with me about a week ago.
> There is some problem, to wit, after apt-get install grub the necessary files
> to install grub to mbr are not present in /boot.
> I used a simple cheat, which was to use a live cd and run grub install from
> there, using my grml partition as root, in other words, install grub to mbr,
> pointing toward the /hddx were grml is.
> In your case, this ought to be, from a live cd,
> grub install
> root (hd0,2)
> install /dev/hda
> Doing this from within grml does not seem to work.
Yes, as grub uses files from within /boot which aren't available
via /boot in the Debian package of grub.
Assuming /dev/sda1 is your grml harddisk system:
mount /mnt/sda1
mkdir /mnt/sda1/boot/grub
cp /lib/grub/i386-pc/stage[12] /mnt/sda1/boot/grub/
grub install
root (hd0,0)
setup (hd0)
And adjusting /boot/grub/menu.lst (on the harddisk system of course ;))
should work.
regards,
-mika-
--
You like grml? Help us! http://grml.org/donations/
Already on the grml-user-map? http://www.frappr.com/grmlusers
Grml Solutions http://solutions.grml.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.mur.at/pipermail/grml/attachments/20060509/4960f973/attachment-0001.pgp
More information about the Grml
mailing list