On Mon, Aug 29, 2016 at 9:02 PM, Phillip Shin <shin.phil...@gmail.com> wrote: > Hi, > > I've been trying to install a Solaris 8 image using QEMU on a CentOS > machine this past week using mainly Artyom's blog ( > http://tyom.blogspot.com/2009/12/solaris-under-qemu-how-to.html) and > neozeed's blog ( > http://virtuallyfun.superglobalmegacorp.com/2010/10/03/formatting-disks-for-solaris/#comments), > but others here and there as well. > I've tried 2 different ISOs, from https://archive.org/details/sol-8-u7-ia > and https://winworldpc.com/product/sun-solaris/8 as I don't have access to > an official image. I got ss5.bin from Artyom's blog. I've cloned and > compiled the latest QEMU from git as per Artyom's blog's instruction. > > Everything seems to run fine up until I'm at the ok prompt and try to run > boot disk2:d -vs I get the following message: > Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@2,0:d File and > args: -vs > Bad magic number in disk label > Can't open disk label package > > Can't open boot device > > The following is the commands I used and the output the commands produced: > $ qemu-img create -f qcow2 36GB.disk 36G > Formatting '36GB.disk', fmt=qcow2 size=38654705664 encryption=off > cluster_size=65536 lazy_refcounts=off refcount_bits=16 > $ qemu-system-sparc -bios ss5.bin -nographic -L . -hda 36GB.disk -m 256 -M > SS-5 -cdrom sol-8-u7-install-ia.iso
Looks like you are trying to install Solaris for Intel (ia) machines on a sun4m machine. For Intel Solaris you'd rather need qemu-system-x86_64. Artyom -- Regards, Artyom Tarasenko SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu