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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel