From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: status of grub netboot in GRUB2
Date: Sun, 05 Sep 2010 12:26:48 +0200 [thread overview]
Message-ID: <4C837068.4050204@gmail.com> (raw)
In-Reply-To: <COL116-W63FC04AC32315B7868B7F7A38F0@phx.gbl>
[-- Attachment #1: Type: text/plain, Size: 2022 bytes --]
On 09/05/2010 03:46 AM, John Lumby wrote:
> Ian Turner wrote:
>
>
>> What happens when you load GRUB from media and then load the pxe module?
>>
> Well, I don't yet know, as I've not been able to build a bootable floppy image.
> This is 1.98, installed with --prefix=/usr/grub2 to avoid
> clashing with my production grub1 and I try this
>
> /usr/grub2/sbin/grub-install --root-directory=/mnt/dkt fd0
>
> where I created a device map:
>
> cat /mnt/dkt/boot/device.map
> (fd0) /dev/sdc
>
> but the grub_install fails and a bash -x of it reveals, near the end,
>
> /usr/grub2/sbin/grub-setup --directory=/mnt/dkt/boot/grub --device-map=/mnt/dkt/boot/grub/device.map fd0
> Invalid device `fd0'.
>
Well your problem is obvious:
/mnt/dkt/boot/device.map != /mnt/dkt/boot/grub/device.map
And also it's not recommended to specify GRUB device on command line. Just remove all device.map and do:
/usr/grub2/sbin/grub-install --root-directory=/mnt/dkt /dev/sdc
> I copied my grub_install command exactly (other than the explicit path of the script) from the one shown in
>
> http://www.gnu.org/software/grub/manual/html_node/Installing-GRUB-using-grub_002dinstall.html#Installing-GRUB-using-grub_002dinstall
>
> In particular the device name of fd0.
>
> Also the bash -x trace shows that elsewhere in the grub_install script, it did use my devicemap and did map fd0 to /dev/sdc (and in fact built a lot of files on the diskette). But not bootable!
>
> Can anyone help me build the bootable floppy? Or does it have to be a CD? Or is there some other way I can try out your suggestion?
>
>
>> Do you get access to the PXE filesystem?
>> I think you can even specify the tftp server to use by ...
>>
> John
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2010-09-05 11:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-01 15:12 status of grub netboot in GRUB2 John Lumby
2010-09-02 20:42 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-05 1:46 ` John Lumby
2010-09-05 10:26 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-09-05 19:19 John Lumby
2010-09-01 20:40 Turner, Ian
2010-09-02 20:59 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-31 19:05 John Lumby
2010-08-31 19:16 ` Lennart Sorensen
2010-08-31 19:20 ` Turner, Ian
2010-08-31 19:16 ` Turner, Ian
2010-08-31 19:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-31 20:26 ` Lennart Sorensen
2010-09-02 4:38 ` Manoel Rebelo Abraches
2010-09-02 20:37 ` Vladimir 'φ-coder/phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C837068.4050204@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.