1 2 3 4 5 Previous Next 342 Replies Latest reply on Jun 2, 2009 3:35 PM by AlbertChurba Go to original post
      • 30. Re: SATA Support Clear as Mud!?
        pdewild Lurker

         

        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!

         

         

        • 31. Re: SATA Support Clear as Mud!?
          jlee@pbu.edu Novice

           

          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

           

           

           

           

           

           

           

           

           

          • 32. Re: SATA Support Clear as Mud!?
            Enthusiast

            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.

            • 33. Re: SATA Support Clear as Mud!?
              myxiplx Enthusiast

              Many thanks for that script folks.  That's got ESX 3.5 running on a Sun x2200 box too

              • 34. Re: SATA Support Clear as Mud!?
                doctorttt Enthusiast

                 

                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?

                 

                 

                • 35. Re: SATA Support Clear as Mud!?
                  rpartmann Expert
                  vExpert

                   

                  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,  ( ) 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.

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                  • 36. Re: SATA Support Clear as Mud!?
                    doctorttt Enthusiast

                     

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

                     

                     

                    • 37. Re: SATA Support Clear as Mud!?
                      doctorttt Enthusiast

                      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?

                      • 38. Re: SATA Support Clear as Mud!?
                        doctorttt Enthusiast

                         

                        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??

                         

                         

                        • 39. Re: SATA Support Clear as Mud!?
                          rpartmann Expert
                          vExpert

                           

                          hi,

                           

                           

                          wenn you run

                           

                           

                           

                           

                          chmod a+x script.sh

                           

                           

                          /code[code]

                           

                           

                          ls -al vmnetconf.sh

                           

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

                           

                           

                           

                          /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]

                           

                           

                          ls -al vmnetconf.sh

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

                           

                           

                          /code

                           

                           

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

                           

                           

                           

                           

                          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.

                           

                           

                           

                           

                          cp /sourcepath/script.sh /root

                           

                           

                          /code

                           

                           

                          kind regards,

                           

                           

                          rpartmann

                           

                           

                           

                           

                           

                           

                           

                           

                          • 40. Re: SATA Support Clear as Mud!?
                            rpartmann Expert
                            vExpert

                             

                            ok,

                             

                             

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

                             

                             

                            sorry,

                             

                             

                            rpartmann.

                             

                             

                            • 41. Re: SATA Support Clear as Mud!?
                              doctorttt Enthusiast

                               

                              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. 

                               

                               

                               

                               

                               

                               

                               

                               

                              • 42. Re: SATA Support Clear as Mud!?
                                Jack Ryan Novice

                                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.

                                • 43. Re: SATA Support Clear as Mud!?
                                  myxiplx Enthusiast

                                  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.

                                  • 44. Re: SATA Support Clear as Mud!?
                                    rpartmann Expert
                                    vExpert

                                     

                                    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.

                                     

                                     

                                    1 2 3 4 5 Previous Next