Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Xen 6.2 and Ubuntu server beta2 14.04

  1. #11
    Join Date
    Aug 2011
    Beans
    3

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    Quote Originally Posted by bart6 View Post
    follow japje2 and ipolit suggestion and after exit exit do not choose finish installation from menu
    instead choose don't install grub and then complete installation
    I wanted to thank everyone here for all of the help. I was able to get 14.04 working successfully on Xenserver v6.2.

    I love it when the community comes to the aid of users such as myself. Thanks again everyone!

  2. #12
    Join Date
    Apr 2014
    Location
    United States
    Beans
    65
    Distro
    Ubuntu

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    subscribed - I may be trying this out next week.

  3. #13
    Join Date
    Apr 2014
    Beans
    1

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    This worked for me without having to install legacy grub:

    1) Modify /usr/lib/python2.4/site-packages/grub/GrubConf.py on the XenServer machine
    2) Line 428, change:
    if arg.strip() == "${saved_entry}":
    to
    if arg.strip() == "${saved_entry}" or arg.strip() == "${next_entry}":
    3) Boot your new VM that won't start, or create a new VM.

    I've only tested this once, but it worked for me. Hope that helps someone else too.

  4. #14
    Join Date
    Apr 2014
    Beans
    3

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    Quote Originally Posted by Steve_McMaster View Post
    This worked for me without having to install legacy grub:

    1) Modify /usr/lib/python2.4/site-packages/grub/GrubConf.py on the XenServer machine
    2) Line 428, change:

    to

    3) Boot your new VM that won't start, or create a new VM.

    I've only tested this once, but it worked for me. Hope that helps someone else too.

    I can confirm this solution works... BUT

    dont remove the line and then add the entire new line, that then gives a Syntax error regarding the block of code.

    Rather append the following
    Code:
    or arg.strip() == "${next_entry}"
    

    to the line 428
    Code:
    if arg.strip() == "${saved_entry}":
    


    to make it look like this:
    Code:
    if arg.strip() == "${saved_entry}" or arg.strip() == "${next_entry}":
    



    I have tested 4x 14.04 installations now, reboots, halts, etc and I can confirm the above fix works.

  5. #15
    Join Date
    Nov 2006
    Beans
    1

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    Quote Originally Posted by Steve_McMaster View Post
    This worked for me without having to install legacy grub:

    1) Modify /usr/lib/python2.4/site-packages/grub/GrubConf.py on the XenServer machine
    2) Line 428, change:
    Code:
    if arg.strip() == "${saved_entry}":
    to
    Code:
    if arg.strip() == "${saved_entry}" or arg.strip() == "${next_entry}":
    3) Boot your new VM that won't start, or create a new VM.

    I've only tested this once, but it worked for me. Hope that helps someone else too.
    Noticed that this has been patched in the Xenserver code base approximately 10 months ago:
    https://github.com/xenserver/xen-4.3...e484343e990423

    Would have expected it in the mainstream binaries (or patches) by now...

  6. #16
    Join Date
    May 2014
    Beans
    2

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    Hi! Thanks for all the information, it helped a lot. I added the ext2-/boot partition and now the server boots but I'm stuck with one final problem:

    When I boot my VM I cannot see any output in XenCenter console tab. All I see is a black screen with a white cursor in the upper left corner.

    Any idea what's the problem? I already tried to do this, but with no effects: http://support.citrix.com/article/CTX128753

  7. #17
    Join Date
    May 2014
    Beans
    2

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    Ok. Did the installation again, and now it works. The difference: First I installed it via VM --> Start/Shut down --> Start in Recovery Mode and did the Ubuntu installation as I do it on a normal server (using Expert Mode). Now I installed it using the installer that appeared after creating the VM.

    So, looks like there's some magic happening when installing it the direct way, but I love the expert mode and use it almost every time. Since I'm new to XenServer I'd like to know what's the difference. Any idea?

  8. #18
    Join Date
    Jun 2006
    Beans
    39
    Distro
    Edubuntu 8.10 Intrepid Ibex

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    Thank you Steve_McMaster. That worked perfectly.

  9. #19
    Join Date
    Sep 2008
    Beans
    1

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    I found the above didn't work for me- but I had just applied the XS62ESP1006 patch release- not sure if that should have any bearing. After an hour of cutting, pasting and rewriting in an attempt to get the suggested solution working, I eventually had success with the following:

    https://github.com/xenserver/xen-4.3...e484343e990423

    Which details the following
    Code:
    
    	                 if self.commands[com] is not None:
    	                     if arg.strip() == "${saved_entry}":
    	                         arg = "0"
                                 elif arg.strip() == "${next_entry}":
                                     arg = "0
                             setattr(self, self.commands[com], arg.strip()
    So in essence adding an elif rather than extending the existing command with an OR statement. I hope this helps some others.

  10. #20
    Join Date
    Aug 2014
    Beans
    1

    Re: Xen 6.2 and Ubuntu server beta2 14.04

    Yes, i manage to install Ubuntu 14.04 on my XenServer 6.2 SP1 Server successfully by

    Modify /usr/lib/python2.4/site-packages/grub/GrubConf.py on the XenServer machine
    from
    “if arg.strip() == "${saved_entry}":”
    to
    if arg.strip() == "${saved_entry}" or arg.strip() == "${next_entry}":
    Load the xs-tools.iso
    sudo mount /dev/xvdd /media/cdrom
    sudo dpkg -i /media/cdrom/Linux/xe-guest-utilities_6.2.0-1133_amd64.deb

    Successfully booted my Ubuntu 14.04 with Xen Tool installed on XenServer 6.2 SP1 Server

    Thanks everyone for helps.


Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •