VMware
1 2 3 4 5 ... 23 Previous Next 342 Replies Last post: Jun 2, 2009 3:35 PM by AlbertChurba   Go to original post

Re: SATA Support Clear as Mud!?

30. Dec 19, 2007 2:02 AM in response to: pdewild
Click to view pdewild's profile Lurker 7 posts since
Oct 14, 2007

Alrighty, fixed the script with some very minor issues (capitals ID instead of normal id, and fixed the quotation, although this is probably not that important)...

Try it if you will! See attached file... Install-options like Reinhard described, so:

1. Install ESX, should work just fine (keep in mind, let /boot be /dev/sda1, and / be /dev/sda2!)
2. At the reboot, use some Linux live-CD (I use an Ubuntu one, doesn't really matter)
3. Get the script on the Live-Linux distribution, ie. via SCP
4. Run the script
5. Reboot into your new ESX 3.5!

Great! Thanks again Reinhard!

Attachments:

Re: SATA Support Clear as Mud!?

31. Dec 20, 2007 8:19 AM in response to: The-Kevster
Click to view jlee@pbu.edu's profile Novice 16 posts since
Feb 7, 2006

To add to the list, I tried installing 3.5 on a spare desktop system and it worked great, I'm currently running 2 VMs on it (it only has 1gb RAM right now). Here are the Specs:

-Gigabyte GA-K8N51GMF-9 Motherboard (NVidia Chipset)

-AMD Athlon 64 x2 3800+ Processor (Dual Core 2ghz)

-1gb DDR RAM

-1 Seagate 120gb SATA Drive plugged into motherboard SATA Controller (have not tested any RAID setups)

-Using Integrated Nvidia 6100 Graphics

I of course don't expect this to be a supported config and I'd never use it in production but it does give me a cheap system for testing. Much easier than scrambling to find a SCSI/RAID card and SCSI drives. Thanks guys!

Jay


Re: SATA Support Clear as Mud!?

32. Dec 30, 2007 6:12 PM in response to: mcwill
Click to view naris's profile Enthusiast VMware Employees 29 posts since
Nov 15, 2006
I was able to get a VM created and booted on an old desktop circa 2004 with the following motherboard:
MSI 915P/G Neo2
  • Intel ICH6 SATA controller (one HDD attached)
  • Broadcom 5751

I didn't do a whole lot of testing to say whether this setup worked well or not.

Re: SATA Support Clear as Mud!?

33. Jan 3, 2008 8:09 AM in response to: pdewild
Click to view myxiplx's profile Enthusiast 113 posts since
Apr 4, 2006
Many thanks for that script folks. That's got ESX 3.5 running on a Sun x2200 box too :-)

Re: SATA Support Clear as Mud!?

34. Jan 5, 2008 9:02 AM in response to: myxiplx
Click to view doctorttt's profile Enthusiast 93 posts since
Sep 15, 2007

Hi guys, I'm new to this. Can someone please assist? I'm experiencing the same problem as everyone else in here.

2. At the reboot, use some Linux live-CD (I use an Ubuntu one, doesn't really matter)

What is a Linux Live CD? What does it do? I'm on ubuntu's site, but I don't know which one to download


3. Get the script on the Live-Linux distribution, ie. via SCP

What does this mean? Does it mean after running the linux live-CD, it will prompt me for the script?

Re: SATA Support Clear as Mud!?

35. Jan 5, 2008 10:37 AM in response to: doctorttt
Click to view rpartmann's profile Expert 224 posts since
Feb 8, 2007

Hi,

1.) a linux live CD is a linux system which boots completely from a bootable cd. The cd can do as much as the tools on the cd can do. ;-)

for example:

http://www.knopper.net/knoppix/index-en.html

http://live.debian.net/debian-cd/4.0_r0-rc1/i386/iso-cd/

https://help.ubuntu.com/community/LiveCD

2.) scp .. securecopy for help: man scp

And many other free books/infos http://www.linux.org/docs/online_books.html

nano howto: install esx and try a reboot. If a startup into your esx installation fails, boot your system with any live cd which supports your hardware. Copy my script from above, with corrections from pdewild, ( enable_ml115_sata_esx3.5_v0.2a.txt ) on a usb stick and mount the stick within your linux live environment or set up the network of your linux live system and use under windows winscp to transfer the script to the linux live system.

Every script must be "executable": chmod a+x scriptname.ext and run it with ./scriptname.ext

hope that helps you to move on, r.


Re: SATA Support Clear as Mud!?

36. Jan 5, 2008 11:55 AM in response to: rpartmann
Click to view doctorttt's profile Enthusiast 93 posts since
Sep 15, 2007

Thank you so much, partman. You're a great help.

Re: SATA Support Clear as Mud!?

37. Jan 5, 2008 1:32 PM in response to: rpartmann
Click to view doctorttt's profile Enthusiast 93 posts since
Sep 15, 2007
Hi. I just loaded Ubuntu and have no clue what to do from here. I have the script in the USB stick and connected it to the PC. In Ubuntu, where do I go to do scp? Is it the terminal screen? I looked at the scp command syntax, and I have no clue what my username@address is. Can someone help?

Re: SATA Support Clear as Mud!?

38. Jan 5, 2008 2:38 PM in response to: doctorttt
Click to view doctorttt's profile Enthusiast 93 posts since
Sep 15, 2007

Ok, I was able to use Winscp and transferred the script to Ubuntu. However, when I tried to run the script chmod a+x command, nothing happened and no error message. Did I miss something??

Re: SATA Support Clear as Mud!?

39. Jan 5, 2008 3:11 PM in response to: doctorttt
Click to view rpartmann's profile Expert 224 posts since
Feb 8, 2007

hi,

wenn you run

[code]

chmod a+x script.sh

[/code][code]

root@atbws071:~ls -al vmnetconf.sh

-rwxr-xr-x 1 root root 2.7K Jan 4 2007 vmnetconf.sh

root@atbws071:~

[/code][code]

root@host:~ls -al script.sh

-rwxr-xr-x 1 root root 2.7K Jan 4 2007 script.sh

root@host:~

[/code][code]

cp /sourcepath/script.sh /root

[/code][code]

root@atbws071:~ls -al vmnetconf.sh
-rwxr-xr-x 1 root root 2.7K Jan 4 2007 vmnetconf.sh
root@atbws071:~

[/code]

there is no message when completed successfully. Try a ls -al, should look like ..

[code]

root@host:~ls -al script.sh
-rwxr-xr-x 1 root root 2.7K Jan 4 2007 script.sh
root@host:~

[/code]

then you can run the script with ./script.sh.

Copy this script before all that to /root.

[code]

cp /sourcepath/script.sh /root

[/code]

kind regards,

rpartmann


Re: SATA Support Clear as Mud!?

40. Jan 5, 2008 4:02 PM in response to: rpartmann
Click to view rpartmann's profile Expert 224 posts since
Feb 8, 2007

ok,

the layout & format sucks. didn´t look as expected.

sorry,

rpartmann.

Re: SATA Support Clear as Mud!?

41. Jan 5, 2008 6:53 PM in response to: rpartmann
Click to view doctorttt's profile Enthusiast 93 posts since
Sep 15, 2007

Thank you. However, I still have no clue what's going on.

I tried to run the script by using ./ scriptname.sh Then I just got tons of errors about file not found, command not found and etc. Ok, so I just copied each line and pasted + executed it individually. I then got the error in this line: echo "#!/bin/bash" >> /mnt/eroot/etc/init.d/rp-esxcfg-pciid-boot

The error said something about event not found for bin/bash. So, I skipped that line and continued to paste the rest of the script. Oh well...and then nothing worked obviously.


Re: SATA Support Clear as Mud!?

42. Jan 5, 2008 8:23 PM in response to: The-Kevster
Click to view Jack Ryan's profile Novice 24 posts since
Jun 8, 2006
I've been curious about SATA support with ESX 3.5 since it was released last month.

I got ESX 3.5 to install on a Dell Dimension E521 in our test lab. The computer has two Western Digital SATA hard drives (80GB and 300GB).
Nothing special configured. The hard drives are connected onto the motherboard, NO RAID card, NO RAID configured in the BIOS.
I simply inserted the ESX 3.5 then stepped through the setup screen. I installed the OS onto the 80GB then after reboot formatted the 300GB for the VM store.

I attached that install of ESX to our VirtualCenter. I am able to managed that server and clone virtual machines from another ESX server to it.

Re: SATA Support Clear as Mud!?

43. Jan 7, 2008 2:08 AM in response to: doctorttt
Click to view myxiplx's profile Enthusiast 113 posts since
Apr 4, 2006
Doctorttt, it sounds like you're hitting the same problem I did. I saved the text file from windows and then found that windows and Linux save text files very differently, and it causes problems for the script. To fix it I found another script that I could run on the Ubuntu live CD that stripped out the CRLF characters and replaced them with LF, and after that it ran perfectly. It seems each CRLF causes a "command not found" error.

Unfortunately I can't for the life of me find where I saved that script, so I've had to google for an alternative. I hope this works:
find . -name \*.sh -exec perl -i -n -e 's/\015//;print' {} \;


For me, fixing this using windows, the entire process was:

  • Download Ubuntu 7.10 and use the .ISO image to create the Ubuntu CD
  • Save pdewild's script to a USB stick
  • Install ESX
  • Boot the server using the Ubuntu CD
  • Insert the USB stick
  • Copy the script to the root using the file browser, renamed it "esx.sh"
  • Open a console and create a script to strip out CRLF characters:
    cd /
    echo "find . -name \*.sh -exec perl -i -n -e 's/\015//;print' {} \;" > fixscript.sh
  • Make both scripts executable:
    chmod +x esx.sh
    chmod +x fixscript.sh
  • Run the fix script:
    ./fixscript.sh
  • Run the esx script:
    ./esx.sh

I may have run all that using sudo (can't remember unfortunately), let me know if you have any more problems.

Re: SATA Support Clear as Mud!?

44. Jan 7, 2008 1:50 AM in response to: kriewald
Click to view rpartmann's profile Expert 224 posts since
Feb 8, 2007

Hi,

well you can install, good. I assume you get the message "root not found".

In this case boot with a linux live cd an do a "lspci -v -nn | less" and search for your sata controller.

I modified my script and in

line 39 echo "8086:037f 0000:0000 ata_piix.o" >> simple.map replace 037f with you PCI-ID of your SATA Controller.

line 66: echo " <device id=\"037f\">" >> ata_piix.xml you must enter your PCI id ( replace 037f ) which you got from lspci.

kind regards,

Reinhard

bwt: please post if you had success and your pciid please. ;-)

Attachments:

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities