Interested in adding a new page to the Community Help Wiki - Virtualization

Hello all,

I’ve been doing some research in this topic on running Ubuntu as a guest inside a Hyper-V virtual machine. This work stemmed from me migrating a Linux Mint system from a VirtualBox guest to Hyper-V, which required a fair amount of research, tinkering and I think ultimately some discovery as well. While this may be a third-party derivative of Ubuntu, I think a lot of my work applies nicely to the Ubuntu project and I’m hoping I can share some of what I’ve learned with the broader community.

I’m at the point now where I’ve achieved my original goal (running an Ubuntu-based distro in Hyper-V with all desktop UI enhancements functional.) I’m beginning to pull my thoughts together, constructing something resembling a series of steps and will attempt a “first pass” at applying these steps to a fresh installation to verify what I’ve learned. At the same time, I’m hoping I could have a wiki page to start inserting this information into and iterate on as I refine these steps and procedures.

Some searching has led me to the Ubuntu Community Help Wiki, and specifically this virtualisation category, and this distinct page. Those seemed like good jumping points for me to create a dedicated HyperV page where I was thinking I’d start with a brief introduction of what it is, why a (potential) Ubuntu user may be interested in it, and what options are available (WSL, Quick Create images, and a manual install with the aforementioned steps.) Since I didn’t have access right away, additional searching led me to the WikiGuide page, where I was prompted to join the ubuntu-wiki-editors Launchpad team. I did this some time ago, and also dropped them a short message explaining why I wanted to join.

In the meantime, additional searching led me down quite the rabbit hole of how many different documentation sources the Ubuntu project has! :grinning_face_with_smiling_eyes: Despite this, I felt confident that the previous pages were a good fit for future contributions. Just now though, I came back to this Discourse category and noticed this recent post of someone else who was interested in contributing. This led me to learn that the wiki. and help. sites are being merged into a new wiki (awesome!) I’d be interested in helping migrate the other virtualisation pages as well. I attempted to log in with my Ubuntu One account, but was met with this error:

The error message reads:

Auto-creation of a local account failed:

The database is currently locked to new entries and other modifications, probably for routine database maintenance, after which it will be back to normal.

The system administrator who locked it offered this explanation: The primary database server is running in read-only mode.

Regardless though, from my reading the last topic, I may not be able to create pages anyway.

Would someone please confirm if I’m going down the right path and this is where I should contribute, and if so, could I have some assistance with getting going?

Thanks in advance.

1 Like

@shanecrowley and @ian-weisser can you comment here please.

@slfhstd thank you for wanting to contribute to the community. Hopefully, we can get something sorted out.

2 Likes

Hey @slfhstd . Thanks for showing interest in contributing to the new wiki. This definitely seems like an interesting topic that could be a good fit for the wiki.

I just logged in myself to the wiki now and it seems there is indeed a database error. This happened a few days ago, and may have been linked with a broader infrastructure issue. We thought it was fixed but it seems to be causing problems again :cry:.

This is why the wiki is still marked as “under development” — it’s a work-in-progress. It hasn’t been officially launched and there are a few rough edges.

Unfortunately, many of us who are able to investigate the database issue are currently on company-wide annual leave. We should be able to look into it early next week and get it up and running again. At that point, I will update you here ASAP.

In terms of who can edit and create pages, anyone with an Ubuntu One account can edit. If you are an Ubuntu member, you are able to also create pages right away. Otherwise, you need to meet some basic criteria to get the ability to create pages; namely, 10 or more edits and an account that is 4 days old from the first edit.

However, in a case like this, I, or someone else with create page rights, would be happy to create pages so you can start editing/migrating.

2 Likes

Thanks for getting back to me @shanecrowley and @rubi1200. I totally understand that there are some rough edges right now. I know Canonical was under a DDoS attack lately, not sure if that’s the specific issue here but my sympathies are with you all regardless. I still have plenty of organizing to do on my end and will wait patiently to hear back.

1 Like

Thanks for your patience @slfhstd .

Hopefully we can get it up and running soon. It’s great to hear you’re making progress in pulling the information together.

Once I’m back to work next week, I’ll keep you updated. When the wiki is editable again, I’m happy to work with you in any way I can to support you in getting your efforts published.

Talk soon.

(edit: login and editing seems to work again as of Fri 7 Aug)

5 Likes

Note that login and editing seems to have been operational on the wiki for the last few days and I have not noticed any issues since the hiccup reported above.

1 Like

This post has carried away into an afternoon of formulating the plan to integrate the VM changes into the wiki. Apologies in advanced if this has gone way too far, and thanks for going over it when you get a chance.

New pages

Create a Category:Virtualisation, similar to the old wiki

  • Do we standardize on en_GB spelling of virtualisation? You can see both on the category page, and I myself flip between them…
  • All new pages are in this category

Create a central Virtualisation page, similar to the old wiki

  • Want to create an overarching division of guest/host as Ubuntu can fill both roles and it’s important to distinguish between the two
  • Insert some brief descriptions of a few different options, leave red links for future pages that may be worth importing from the old wiki

Create a HyperV page

  • No direct reference to the old wiki, although the VirtualBox page has a good deal of structure and meat to it that may be worth emulating
  • Would this be a good time to consider making one of those fancy Infoboxes for showing information about the specific virtualization software in a box to the side of the page?
  • Start with brief description of what Hyper-V is, why a user may want to use it as their virt. solution
    • Add subsection explaining why Windows-on-hardware users may want/need to use it specifically (MS Windows security design, virtualization is required for OS security, cannot run any other Type 1 hypervisor in this case.)
  • Most of Canonical’s server docs page on Hyper-V can just about be copied. Major difference is it can/should be adjusted for a more individual/desktop user perspective.
    • Lots of good information on that page that can be shared between these two, though. Probably worth watching it and updating this page manually whenever the upstream is changed.
  • After introducing Hyper-V, maybe leave a link to the Server doc’s section on installing Hyper-V on Windows since there’s a good deal of overlap in the end-user versions of Windows
  • Next sections can be dedicated to the different methods of installing Ubuntu in Hyper-V.
  • This could almost become a page of “how to run Ubuntu on Windows”
    • It would be pertinent to first ask the user if they would consider using the Windows Subsystem for Linux and get an Ubuntu system running directly on their own host first, as a half-way point between full virtualisation.
    • Next option would be the Quick Create images, as described in the Server Docs.
    • Option following that would be the more traditional method of installing from an image (differed from the Server Docs by referencing more end-user distros of Ubuntu)
    • Worth mentioning at this point that there will be inter-wiki linking and references as much as possible, more on that in a bit
  • Finally, the section on specific steps that need to be taken to make a running system fully Enhanced Session-capable
    • Eventually derive this process into a deb/apt package to automate most of the work for the user, and perhaps reduce the need for maintenance on the image build automation script of Canonical’s
    • Have some kind of validation that the running system is correctly configured either way for running within Hyper-V, maybe a bash script
    • Plenty of references to sources around the ‘net, links to Microsoft Docs Hyper-V article, any useful notes I can provide, and discovered quirks/problems
  • Possible section on Secure Boot: from the Server docs above, it seems like SB can be left enabled. If migrating, need to manually enable (or is there a need at all?) Enabling SB in a separate page?

Existing pages

Main Page

  • Append the Virtualisation (page? category?) to the Platforms & hardware pages list
  • Append (Desktop in Virtual Machine link → the above) to Desktop environment pages list
  • Would it be too gready to add yet another link in the Use-cases list?
  • Sidebar link?? (Virtualisation/Ubuntu in VM(Virtual Machine))

Getting Started

  • Great structure overall and a good starting point for someone who wants to use Ubuntu
  • The table is a nice, quick comparison - worth moving near the top of the page?
  • Hyperlink different methods to either their respective pages or sections on this page, like a Table of Contents
  • Worth leaving in a short blurb about each one regardless, retaining the page links?
  • Update Virtual Machine page link
  • Consider elevating WSL above Virtual Machine as a first line of consideration for Windows users who have the ability, may be considering Ubuntu and want a quick way to get started (or would it be unfair to other users?)

More to come. Thanks again for getting through all of that.

2 Likes

Whoa, thanks!

Lots of good suggestions in here. I’ll go through tomorrow in detail and respond to each of them.

2 Likes

Using :right_arrow_curving_left: for replies below…

:right_arrow_curving_left: What to do next

I hope that’s helpful and I didn’t misunderstand you on any point.
Thanks for your thoughtful approach.

Please feel free to just get started editing the wiki. If you are not an Ubuntu member, you will likely need to make 10 edits and your first edit will need to be 4 days old before you can start creating pages. Some pages, like the main page, will also be protected until you meet those criteria. With the work you have planned, however, it won’t take long for you to get 10 edits :smiley: .

In the meantime, if you need a specific page to be created for you to edit, you can make a request in the page below. I will be keeping an eye on it.

https://wiki.ubuntu.com/Ubuntu_Wiki_talk:Requests

There are some editing guidelines outlined here, although we will need to improve these over time:

https://wiki.ubuntu.com/Help:Editing


Let me know if you need anything else.

3 Likes

@slfhstd — the new wiki is now launched at its primary URL of https://wiki.ubuntu.com.

I have updated the links in my main reply above to reflect that.

1 Like