Grub2 supports ufs, but does not support disk slice (called partitions containing partitions in grub) as from features and todo list in grub2 wiki. The good news is that grub2 realizes this and working on it. Solaris (and bsd) slicing in legacy grub is from ( http://cvs.opensolaris.org/source/xref/on/usr/src/grub/grub-0.95/stage2/disk_io.c).
So if choosing grub2+ufsboot, either wait for official grub2, or integerate slicing code of grub-0.95 into current grub2. In current stage, a temporary option could be: waiting for grub2 to be ready for disk slicing and network boot, instead working on the system initialization and boot code, put the compiled kernel in partitions and fs(such as ext) that grub can access and boot it (but do we have the kernel ready :). When grub2 is ready, sort out the boot part. Btw, grub2 next release with network support is around Mid May as from grub2 plan in wiki. In long term, I vote grub2+netboot and nfs root, which is elegant. Most codes are from (http://cvs.opensolaris.org/source/xref/on/usr/src/stand/lib), but probably require the promif in src/psm Just my comments and hope that it helps. Noah On 1/5/06, Joerg Schilling <schilling at fokus.fraunhofer.de> wrote: > Tom Riddle <tom.riddle at sun.com> wrote: > > > An update after discussions with the newboot team. SPARC platforms and > PPC/ODW are fairly similar with the OBP/OF piece in place. The newboot move > to SPARC is on the roadmap, but they have no immediate plans to > implement. This leaves with 2 choices. > > > > The quickest path with the least amount of code change would be > leveraging ufsboot as a binary to copy in krtld/unix/genunix and go. So use > OF directly or GRUB2 to load a PPC based ufsboot. A more elegant way would > be to integrate ufsboot/netboot into GRUB2. Some of the 2.5.1 code may be > useful here but we have to verify. But this is not where newboot is going > longterm. > > > > What problem do you see? > > I thought that we already have a ufs implementation for GRUB. What problem > is present with GRUB2? > > I would expect to use something very close to the multiboot source for > Solaris x86 > in case that the interface to GRUB2 did not change. > > We also have an anhanced krtld that includes ufs support for x86 and for > the > rest we will use the same code for Sparc to interface to IEEE-1275 instead > of > using ACPI. > > J?rg > > -- > EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 > Berlin > js at cs.tu-berlin.de (uni) > schilling at fokus.fraunhofer.de (work) Blog: > http://schily.blogspot.com/ > URL: http://cdrecord.berlios.de/old/private/ > ftp://ftp.berlios.de/pub/schily > _______________________________________________ > powerpc-discuss mailing list > powerpc-discuss at opensolaris.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/powerpc-discuss/attachments/20060105/bebf0bed/attachment.html>
