The Solaris build area does not have everything you need to build a
bootable ramdisk. There are components that are not yet open.
Your best bet is to start from an existing miniroot and unpack
to a directory
/boot/solaris/bin/root_archive unpack x86.miniroot /tmp/miniroot
replace binaries from your build area and rebuild the archive
with
/boot/solaris/bin/root_archive pack x86.miniroot /tmp/miniroot
Shudong
> Hi All,
>
> I have a solaris build area which I'd like to be able to create a
> ramdisk from. I basically tried the obvious:
>
> - create ramdisk using dd
> - create ufs by using newfs
> - loopback mount
> - copy proto/root_i386/* to ramdisk
> - copy multiboot to /boot
> - umount image
> - copy to /boot
> - modify grub
> - attempt to boot
>
> Unfortunately this doesn't seem to work. I get the following error:
>
> WARNING: add_spec: No major number for chs
>
> So clearly there is something that I'm doing wrong. I was wondering
> whether there are things that the build process (nightly) doesn't build
> that are required for boot.
>
> let me know if you have any ideas.
>
> thanks!
>
> peter
>
> _______________________________________________
> opensolaris-code mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code