Showing posts with label vmware. Show all posts
Showing posts with label vmware. Show all posts

Saturday, October 31, 2009

Upgrade 9.04 to 9.10 headlessly

I did those steps from SSH (although not recommended).

1. apt-get update -> all repos updated
2. apt-get dist-upgrade -> somehow not necessary
3. do-dist-upgrade - the magic begins here
Respond to the questions according to the customizations you've done on your system.
In my case I've chosen to keep my locally installed versions.
At the end DO NOT REBOOT the system (do not answer Y at the final question).
4. Edit the /boot/grub/menu.lst and check if the serial console lines are still present. If not add them by hand before the beginning of "AUTOMAGIC KERNEL" section.
5. Now it would be safe to reboot... Good luck.

If you want to upgrade to grub2 (as I did) do the following:
1. apt-get install grub2
2. Edit the /etc/defaults/grub to something as:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="3"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=serial

GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,38400n8"
GRUB_SERIAL_COMMAND="serial --speed=38400 --unit=0 --word=8 --parity=no --stop=1"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"

The bolded lines are my modifications for the file.

3. Run /usr/sbin/update-grub as advised.

Friday, October 30, 2009

Finally SnowLeopard in VMWare



It works witn VMWare 7 in Ubuntu 9.10.
I had quite a trouble to get it right. The main differences are:
1. The name of operating guest system should be changed into "darwin10-64"
2. the VMWare tools iso images should be upgraded to Fusion 3 or the one you can find on the net (see the InsanelyMac forums).

http://sourceforge.net/projects/vmsvga2/files/is offering both a better video driver and usable sound with Ensoniq emulation,http://www.blogger.com/img/blank.gif
There is a bug - I do nyt know if in VMWare or drivers - but the screen shots/Grab are not working.

UPDATE
I have seen a lot of traffic to this post therefore I've decided to make some pointers to the online resources I've used to instal SL:
http://www.insanelymac.com/forum/index.php?s=04c227f5f2d9c93200da72285f51054d&showtopic=172474
Below there is also my VMX config in case that you need a reference config:
#!/usr/bin/vmware
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "7"
maxvcpus = "4"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "1024"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "SnowLeopard.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.startConnected = "FALSE"
floppy0.fileName = ""
floppy0.autodetect = "TRUE"
ethernet0.present = "TRUE"
ethernet0.virtualDev = "e1000"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
roamingVM.exitBehavior = "go"
displayName = "SnowLeopard"
nvram = "SnowLeopard.nvram"
virtualHW.productCompatibility = "hosted"
extendedConfigFile = "SnowLeopard.vmxf"
ethernet0.generatedAddress = "00:0c:29:15:c1:82"
uuid.location = "56 4d 39 e8 53 4d 0a 31-e0 84 32 c9 3d b0 d6 39"
uuid.bios = "56 4d 4b c4 53 dd 96 1e-cd 9d 44 09 57 15 c1 82"
cleanShutdown = "TRUE"
replay.supported = "TRUE"
replay.filename = ""
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
sound.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmci0.pciSlotNumber = "36"
vmotion.checkpointFBSize = "16777216"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "1461043586"
guestOS = "darwin10-64"
ich7m.present = "TRUE"
keyboard.vusb.enable = "TRUE"
mouse.vusb.enable = "TRUE"
monitor.virtual_exec = "hardware"
monitor.virtual_mmu = "software"

ide1:0.startConnected = "TRUE"
usb:0.present = "TRUE"
usb:1.present = "TRUE"
usb:1.deviceType = "hub"
usb:0.deviceType = "mouse"
tools.syncTime = "FALSE"
tools.remindInstall = "FALSE"

isolation.tools.hgfs.disable = "FALSE"
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "/home/nilu/Public"
sharedFolder0.guestName = "Public"
sharedFolder0.expiration = "never"
sharedFolder.maxNum = "1"
ide1:0.autodetect = "TRUE"
usb.autoConnect.device0 = "path:2/4 autoclean:1"
svga.autodetect = "TRUE"
svga.maxWidth = "1024"
svga.maxHeight = "768"
svga.vramSize = "134217728"
mks.enable3d = "FALSE"
smc.present = "FALSE"
usb.autoConnect.device1 = "path:7/1 autoclean:1"
usb.autoConnect.device2 = "path:6/2 autoclean:1"
checkpoint.vmState = ""