Hi Gerard,

AstLinux Hyper-V support [1] needs a Board Type of "genx86_64-vm", so check by 
typing "cat /proc/cmdline" in the CLI and look for the string " 
astlinux=genx86_64-vm " as that is what you want.  If you only have the string 
" astlinux=genx86_64 " then that is the issue.

The (non-VM) Board Type of "genx86_64" may have been able to run Hyper-V at 
some point, you really need a Board Type of "genx86_64-vm".  The VM version has 
specific hv_netvsc and hv_utils modules that support Hyper-V virtual IO drivers.

Note, your upgrade did not change the board type, so you can test the above 
with the old astlinux-1.3.8 version.

Let us know if this is the issue, before any more diagnosis.

Lonnie

[1] https://doc.astlinux-project.org/userdoc:guest_vm_hyperv



> On Nov 4, 2023, at 3:27 PM, Gerard van Til <gerardvan...@gmail.com> wrote:
> 
> Thanks Michael and Lonnie (I already hoped to receive answers from both of 
> you :-)).
> 
> @Lonnie: unfortunately, I cannot access the GUI anymore, so we'll have to 
> deal with Linux commands
> I entered the commands you asked for, and because I have console-only access, 
> I'll have to send the answers as screenshot:
> 
> <image.png>
> 
> @Michael: "upgrade-run-image show" shows me that I upgraded from 1.3.8 to 
> 1.4.4.
> Current version is: astlinux-1.4.4
> Previous saved version is: astlinux-1.3.8
> 
> I did a revert using the second command Michael provided, and that worked: 
> the system is back again. Thanks!
> I created a snapshot of this machine before the revert, so we can investigate 
> further what happened if you want. But I guess I can reproduce this behaviour 
> by upgrading again.
> The (virtual) network adapter in this machine is a legacy one according to 
> Hyper-V: "Realtek PCIe GBE Family controller". Maybe that is related to the 
> issue?
> 
> Thanks both!
> Regards;
> Gerard
> 
> Op za 4 nov 2023 om 18:32 schreef Michael Keuter <li...@mksolutions.info>:
> 
> 
> > Am 04.11.2023 um 18:16 schrieb Lonnie Abelbeck <li...@lonnie.abelbeck.com>:
> > 
> >> 
> >> On Nov 4, 2023, at 11:12 AM, Gerard van Til <gerardvan...@gmail.com> wrote:
> >> 
> >> Goodafternoon,
> >> 
> >> I just upgraded my AstLinux using the UI, but after rebooting, my eth0 
> >> seems to be gone, so I have no internet access anymore. Luckily, this 
> >> AstLinux is running on a virtual machine under Windows Hyper-V, and I can 
> >> access it using the Hyper-V manager. I can login with the root user, and 
> >> should be able to enter commands. If anyone can help me with the Linux 
> >> commands to restore this box to its previous version before the upgrade, 
> >> that would be great!
> >> 
> >> Regards;
> >> Gerard / Netherlands
> > 
> > Hi Gerard,
> > 
> > First answering your last question, to revert back to the pervious version, 
> > simply:
> > 
> > System tab -> System Firmware Upgrade: [ Revert to Previous ] - { Firmware 
> > } - _x_ Confirm
> > 
> > System tab -> Reboot/Restart System: [ Now ] - { Reboot } - _x_ Confirm
> > 
> > 
> > Before you do that, let's try to understand the issue.
> > 
> > Are you at the latest AstLinux 1.5.1 ?
> > 
> > What is the output of:
> > --
> > lscpu | grep -i '^hypervisor vendor:' 
> > --
> > 
> > What is the output of:
> > --
> > lsmod
> > --
> > 
> > 
> > Sadly I have no way to test Hyper-V, so your help is appreciated.
> > 
> > Lonnie
> 
> If you cannot access the GUI, the same can be done from the command line:
> 
> Check installed versions:
> 
> --
> upgrade-run-image show
> --
> 
> Revert to former version:
> 
> --
> upgrade-run-image revert
> reboot
> --
> 
> Good luck
> 
> Michael
> 
> http://www.mksolutions.info
> 
> 
> 
> 
> 
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.



_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to