qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Boot from disk problem
@ 2011-11-25 15:23 Ignacio Geli
  2011-11-25 16:01 ` Andreas Färber
  0 siblings, 1 reply; 10+ messages in thread
From: Ignacio Geli @ 2011-11-25 15:23 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 2017 bytes --]

hi all.

Im trying to run a solaris 2.5.1 vm acording the instructions of i found 
in this blog:
http://tyom.blogspot.com/2009/12/solaris-under-qemu-how-to.html#uds-search-results

compile my qemu with:
git clone git://git.savannah.nongnu.org/qemu.git
cd qemu
./configure --target-list=sparc-softmmu
make
(version 0.13.50)

Ive downloaded the ss5.bin bios (sparc station 5)) I have the solaris 
disk and i can do the installation but can't get the disk to boot.

I can boot from the cd, mount and check the /etc/system file it has the 
"set scsi_options=0x58" option i set to make it work, still not working:

Here is the output:

/ok boot disk0:d
Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@0,0:d  File 
and args:
SunOS Release 5.5.1 Version Generic [UNIX(R) System V Release 4.0]
Copyright (c) 1983-1996, Sun Microsystems, Inc.
WARNING: 
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@1,0 
(sd1):
     corrupt label - bad geometry

     Label says 1310720 blocks, Drive says 883120 blocks
Cannot mount root on 
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@0,0:d fstype 
ufs
panic: vfs_mountroot: cannot mount root
rebooting...
Resetting ... /

maybe the disk is wrong
ive try several disk one following these instructions:
1) qemu-img create -f qcow2 file.qcow2 12G
2) Add -drive file=file.qcow2,unit=3 to your qemu startup
3) Boot single user
4) echo 
'disk_type="QEMU12.0G":ctlr=SCSI:ncyl=49152:acyl=0:pcyl=49152:nhead=16:nsect=32:rpm=7200' 
 >> /etc/format.dat
5) echo 
'partition="QEMU12.0G":disk="QEMU12.0G":ctlr=SCSI:2=0,25165824:0=0,20971520:6=40960,4194304' 
 >> /etc/format.dat
6) format -d c0t3d0 -t 'QEMU12.0G' then label, y, and quit
7) newfs /dev/dsk/c0t3d0s0 followed by y

another downloaded from:
http://gunkies.org/wiki/Installing_Solaris_2.4_on_Qemu_SPARC

any help will be welcome





-- 

ITECNIS SRL <http:/www.itecnis.com>
         Simplicity is the ultimate sophistication

         Ignacio Geli
         Implementación y Soporte



[-- Attachment #2.1: Type: text/html, Size: 4169 bytes --]

[-- Attachment #2.2: logo-mail2.jpg --]
[-- Type: image/jpeg, Size: 6391 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-12-05 14:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-25 15:23 [Qemu-devel] Boot from disk problem Ignacio Geli
2011-11-25 16:01 ` Andreas Färber
2011-11-25 18:24   ` Ignacio Geli
2011-11-26  8:01     ` Blue Swirl
2011-11-30 18:54       ` Ignacio Geli
2011-12-01 10:29       ` Artyom Tarasenko
2011-12-02 12:48         ` Ignacio Geli
2011-12-02 21:47           ` Artyom Tarasenko
2011-12-05 14:53             ` Ignacio Geli
2011-12-01  9:42   ` Artyom Tarasenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).