Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3
TwoSeven
1712 posts

Uber Geek
+1 received by user: 304

Subscriber

  #1662617 2-Nov-2016 12:46
Send private message

gzt: ^ That is hyper-v bare metal.

That one is different to adding the hyper-v role in windows server or adding the hyper-v role in windows desktop operating systems.


When you install the hyper-v role on a host os, it kind of also virtualises the host os to some degree in that the management os runs as a guest, but not quite the same as a proper vm.




Software Engineer
   (the practice of real science, engineering and management)
A.I.  (Automation rebranded)
Gender Neutral
   (a person who believes in equality and who does not believe in/use stereotypes. Examples such as gender, binary, nonbinary, male/female etc.)

 

 ...they/their/them...




gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #1662704 2-Nov-2016 14:10
Send private message

Good point. It's clear my comment is in error.

Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #1662709 2-Nov-2016 14:12
Send private message

Is that why my internet connection is dodgy?! 

 

VMWare is better then?




Lias
5655 posts

Uber Geek
+1 received by user: 3978

ID Verified
Trusted
Lifetime subscriber

  #1662738 2-Nov-2016 14:47
Send private message

TwoSeven:
gzt: ^ That is hyper-v bare metal.

That one is different to adding the hyper-v role in windows server or adding the hyper-v role in windows desktop operating systems.


When you install the hyper-v role on a host os, it kind of also virtualises the host os to some degree in that the management os runs as a guest, but not quite the same as a proper vm.

 

Yes I guess that you can argue that, but most of the people in this thread are not going to need to understand the distinction and it really does confuse the topic at hand :-)

 

.

 

.

 

.

 

.

 

.

 

While we are derailing with unneeded technical detail however, I run quite a lot of servers at work with boot to VHD, so I feel somewhat qualified to comment. It's completely below the hypervisor layer, you can go read the MS documentation but a tldr explanation is the bootloader in the EFI system partition mounts the VHD file, and presents it as another disk and then boots off it.

 

For an example configuration, imagine a machine with a single physical drive. The disk has the efi bootloader partition at the start, then the rest of it is a single NTFS partition. The NTFS partition on the first disk contains a VHD, and the bootloader is configured to boot from the VHD. When you are booted into windows, you'd see the following in disk manager:

 

Disk0 containing an EFI system partition (not mounted) and an NTFS partition mounted as D: (The physical disk)

 

Disk1 containing a single NTFS partition, mounted as C:, marked as the boot partition and containing the OS (the contents of the VHD)

 

 

 

 

 

 





I'm a geek, a gamer, a dad, a Quic user, and an IT Professional. I have a full rack home lab, size 15 feet, an epic beard and Asperger's. I'm a bit of a Cypherpunk, who believes information wants to be free and the Net interprets censorship as damage and routes around it. If you use my Quic signup you can also use the code R570394EKGIZ8 for free setup. Opinions are my own and not the views of my employer.


gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #1662789 2-Nov-2016 15:55
Send private message

Yep. I've never been responsible for virtual services. Just my own use in testing/development type use. Vhd native boot has been around since windows 7 and does not require a hypervisor installed.

gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #1662795 2-Nov-2016 16:00
Send private message

joker97:

Is that why my internet connection is dodgy?! 


VMWare is better then?


Depends what you mean by dodgy. On the virtual client network configuration side you can choose between NAT -, and 'Bridged' directly connected to the network with a unique ip address.

In VMware the default is NAT but it's easily changed. I don't recall for hyper-v but most likely similar. Bridged will get you less issues if that's the problem.

 
 
 

Shop now at Mighty Ape (affiliate link).

gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #1662812 2-Nov-2016 16:10
Send private message

Btw assumed you meant a virtual client side problem. If the problem is with your workstation, different answer : ).

TwoSeven
1712 posts

Uber Geek
+1 received by user: 304

Subscriber

  #1662844 2-Nov-2016 17:05
Send private message

Lias:

 

While we are derailing with unneeded technical detail however

 

 

 

 

Actually, I was trying to balance the post between the original question and those that might be reading at a later date (or re-reading when they have used said product a few times).

 

I dont appreciate the unessary put-down - I dont see that those kind of personal focused comments are needed in a technical post.





Software Engineer
   (the practice of real science, engineering and management)
A.I.  (Automation rebranded)
Gender Neutral
   (a person who believes in equality and who does not believe in/use stereotypes. Examples such as gender, binary, nonbinary, male/female etc.)

 

 ...they/their/them...


TwoSeven
1712 posts

Uber Geek
+1 received by user: 304

Subscriber

  #1662847 2-Nov-2016 17:17
Send private message

gzt:
joker97:

 

Is that why my internet connection is dodgy?! 

 

 

 

VMWare is better then?

 


Depends what you mean by dodgy. On the virtual client network configuration side you can choose between NAT -, and 'Bridged' directly connected to the network with a unique ip address.

In VMware the default is NAT but it's easily changed. I don't recall for hyper-v but most likely similar. Bridged will get you less issues if that's the problem.

 

 

 

In hyper-v you get several [switch] options for networking  -  private - this allows you to isolate everything on its own network.  This can be good for development and testing as one can run a dev network and a test network and have the VMs on them isolated from each other. The caveat is that the VMs do not have access to the host machine.   Internal networks are similar, except the VMs have access to the host machine,  it is possible to use NetNat to give access to the host machines LAN.   External networks basically virtualise/use your installed network cards.

 

In the VM there are two network card options - a generic network adaptor (I think this supports up to 10Gbe) and a legacy network adaptor (this emulates a DEC 2140 10/100TX card and is used for PXE boot for example, when using Windows Deployment Services).

 

In a server environment NetNat can be replaced by RRAS.

 

Last but not least, all of the networks can be configured with VLAN tagging.

 

 





Software Engineer
   (the practice of real science, engineering and management)
A.I.  (Automation rebranded)
Gender Neutral
   (a person who believes in equality and who does not believe in/use stereotypes. Examples such as gender, binary, nonbinary, male/female etc.)

 

 ...they/their/them...


Lias
5655 posts

Uber Geek
+1 received by user: 3978

ID Verified
Trusted
Lifetime subscriber

  #1662870 2-Nov-2016 17:52
Send private message

TwoSeven:

 

 

 

I dont appreciate the unessary put-down - I dont see that those kind of personal focused comments are needed in a technical post.

 

 

Wasn't intended to be a put down at all. Apologies if you took it that way.





I'm a geek, a gamer, a dad, a Quic user, and an IT Professional. I have a full rack home lab, size 15 feet, an epic beard and Asperger's. I'm a bit of a Cypherpunk, who believes information wants to be free and the Net interprets censorship as damage and routes around it. If you use my Quic signup you can also use the code R570394EKGIZ8 for free setup. Opinions are my own and not the views of my employer.


Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #1662897 2-Nov-2016 19:11
Send private message

gzt: Btw assumed you meant a virtual client side problem. If the problem is with your workstation, different answer : ).

 

No, problem with workstation. The wifi that it was connected to had a different name to the original wifi connection, and everything loads very slowly, some pages not loading; like broken DNS. So deleted the virtual network switch for now, and accidfentally deleted the server on hyper-v (don't remember creating one! ?) so now need to figure out what to do - will do some googling


 
 
 
 

Shop now on Samsung phones, tablets, TVs and more (affiliate link).
Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #1672990 17-Nov-2016 17:45
Send private message

Ok after fumbling around for a few weeks I have my virtual PC working! 

 

Because I used a legit key AND i use my virtual pc for testing, I have a high chance of breaking it.

 

What is the best way to back it up before I do anything to it?


Lias
5655 posts

Uber Geek
+1 received by user: 3978

ID Verified
Trusted
Lifetime subscriber

  #1673229 17-Nov-2016 23:08
Send private message

Either right click it in Hyper-V Manager and select checkpoint from the right click menu, or left click select it and chose Checkpoint from the lower portion of the Actions pane.





I'm a geek, a gamer, a dad, a Quic user, and an IT Professional. I have a full rack home lab, size 15 feet, an epic beard and Asperger's. I'm a bit of a Cypherpunk, who believes information wants to be free and the Net interprets censorship as damage and routes around it. If you use my Quic signup you can also use the code R570394EKGIZ8 for free setup. Opinions are my own and not the views of my employer.


Lias
5655 posts

Uber Geek
+1 received by user: 3978

ID Verified
Trusted
Lifetime subscriber

  #1673230 17-Nov-2016 23:10
Send private message

Also, if you like to automate things, or just like PowerShell in general, you might want to check out the Checkpoint-VM cmdlet





I'm a geek, a gamer, a dad, a Quic user, and an IT Professional. I have a full rack home lab, size 15 feet, an epic beard and Asperger's. I'm a bit of a Cypherpunk, who believes information wants to be free and the Net interprets censorship as damage and routes around it. If you use my Quic signup you can also use the code R570394EKGIZ8 for free setup. Opinions are my own and not the views of my employer.


Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #1673237 17-Nov-2016 23:32
Send private message

What if I just copied the vhd file would that work?


1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.