bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building GRUB2: error while generating info doc


From: Dr. Dov Bulka
Subject: Re: Building GRUB2: error while generating info doc
Date: Wed, 4 Nov 2009 10:54:54 -0800 (PST)

Is there another place where I can find information on how to use Grub2? I'm familiar with Grub Legacy but things have changed in a significant way.
What I'm really after is using Grub2 to boot from a floppy. In Grub Legacy I used the following recipe:

% fdformat /dev/fd0
% mkfs -t msdos /dev/fd0
% mkdir -p /floppy
% mount -t msdos /dev/fd0 /floppy
% mkdir -p /floppy/boot/grub

% cp /usr/local/lib/grub/i386-pc/stage* /floppy/boot/grub

% grub

grub> root (fd0)
grub> setup (fd0)
grub> quit



How do I adapt this procedure to work on Grub2? I did not find a "stage1" nor "stage2" files in /usr/local/lib/grub/i386-pc/ and, from what I read, the "root" command has been replaced, so the sequence of steps above must be modified, but how?

Thanks!

Dov





Dov Bulka, Ph.D.
Broker-In-Charge
Dove Real Estate Corporation
$$$ Save Thousands $$$ List Your House for 3.9%
http://www.DoveRealEstate.biz

--- On Wed, 11/4/09, Felix Zielcke <address@hidden> wrote:

From: Felix Zielcke <address@hidden>
Subject: Re: Building GRUB2: error while generating info doc
To: "Dr. Dov Bulka" <address@hidden>
Cc: address@hidden
Date: Wednesday, November 4, 2009, 12:33 PM

Am Mittwoch, den 04.11.2009, 09:22 -0800 schrieb Dr. Dov Bulka:
>
> Okay. Looks like I did not get any manual docs because "makeinfo"
> failed.
>
> I have GNU makeinfo installed version 4.8. The OS is Linux RedHat
> 2.6.18-8.el5.
>
>
> I "cd" to the docs directory and issue "makeinfo grub.texi". I'm
> getting a bunch of errors (see below). What do I need to do to correct
> the errors?
>
> address@hidden docs]# makeinfo grub.texi
[...]
> makeinfo: Removing output file `/usr/grub-1.97/docs/grub.info' due to
> errors; use --force to preserve.
> address@hidden docs]#
>
The Makefile uses makeinfo --no-split --force.
With my makeinfo 4.13 the output is similar.

Well if you really want to fix it feel free to do send a patch but then
you need to lern Texinfo.

--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]