Some basic Debian grub2 package questions
Felix Zielcke
fzielcke at z-51.de
Tue Aug 18 19:36:11 UTC 2009
Am Dienstag, den 18.08.2009, 21:29 +0200 schrieb adrian15 adrian15:
> 2009/8/18 Felix Zielcke <fzielcke at z-51.de>:
> >> #2
> >> Building floppies and cdroms for different architectures than x86. I
> >> know that grub-pc is x86-based only, or at least, I think so.
> >> So is there any easy way to build ppc cdrom images or the grub-mkimage
> >> command is only x86 based?
> >>
> >> Is there maybe some Debian ppc packages that I am unaware of?
> >
> > on powerpc grub-mkelfimage is used.
> > grub-ieee1275 is the powerpc OpenFirmware package which also has
> > grub-mkrescue.
> But what I mean... is if I am going to be able to build binary files
> for ppc, ieee1275 and so on from a supergrub source package if I am
> using an x86 system as my main machine?
> What I mean by binary files is grub-cdrom-rescue.iso and
> grub-floppy-rescue.img images SGD equivalents which are called
> sgd_cdrom.iso and sgd_floppy.img if I recall them ok.
>
> adrian15
grub-mkelfimage is the same for all arches and so also included in x86
grub-common. But I just noticed grub-mkrescue on powerpc still uses
grub-mkimage which doestn't exist on powerpc.
So you can create a powerpc iso on x86 if you use the module files from
grub-ieee1275 [powerpc]
The only problem you have is you can't build depend on this, so the
Debian buildds won't support building this.
More information about the Pkg-grub-devel
mailing list