Sabayon Spinbase Installation on Hyper-V 2012R2

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Sabayon Spinbase Installation on Hyper-V 2012R2

Postby WolfgangG » Thu Oct 31, 2013 15:33

Hi,

the last day I have tried to install Sabayon Spinbase on a Windows Server 2012 R2 with Hyper-V.
The livesystem worked fine but the installation in a VM wasn't successful.
The reason : no hyper-v drivers in the installsystem.
Then I have modified initramfs and now I have a functional Sabayon under Hyper-V.
Please can you include the Hyper-V drivers in the installsystem?
There is another problem with anaconda. If you try to install a system in German, the installation fails because of
a problem with German "umlauts".

Thanks

Wolfgang
WolfgangG
Baby Hen
 
Posts: 6
Joined: Thu Oct 31, 2013 10:43

Re: Sabayon Spinbase Installation on Hyper-V 2012R2

Postby lxnay » Thu Oct 31, 2013 20:52

what changes did you have to do to the initramfs to get it working?
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Sabayon Spinbase Installation on Hyper-V 2012R2

Postby WolfgangG » Fri Nov 01, 2013 11:26

Hi,
We will make a short HowTo and put it here in the forum.

Greetings
Wolfgang
WolfgangG
Baby Hen
 
Posts: 6
Joined: Thu Oct 31, 2013 10:43

Re: Sabayon Spinbase Installation on Hyper-V 2012R2

Postby lxnay » Fri Nov 01, 2013 12:02

Ok, let me know, because I can integrate the changes to genkernel so that it will work out of the box, if possible.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Sabayon Spinbase Installation on Hyper-V 2012R2

Postby WolfgangG » Fri Nov 01, 2013 13:50

Ok, here it is.
The creation of a new VM in Hyper-V follows the Standards.
Then boot from iso Image and Installation.
Don't reboot!
Follow the instructions

# vgchange -ay # mounten lvm
# mkdir /mnt/sabayon
# mount /dev/mapper/vg_sabayon-lv_root /mnt/sabayon/
# mount /dev/sda1 /mnt/sabayon/boot/
# cd /tmp
# mkdir initrd
# cd initrd
# zcat /mnt/sabayon/boot/initramfs-genkernel-x86_64-3.10.0-sabayon | cpio -i -d -H newc
# mkdir lib/modules/3.10.0-sabayon/kernel/drivers/hv
# mkdir lib/modules/3.10.0-sabayon/kernel/drivers/net/hyperv
# find /lib/modules/ -type f -name "*hv*" | while read f; do cp $f `echo $f | cut -b2-200` ; done
# depmod -b .
# find . | cpio -H newc -o > /mnt/sabayon/boot/initramfs-genkernel-x86_64-3.10.0-sabayon # replace the original version
# reboot


That's it.


Greetings
Wolfgang
WolfgangG
Baby Hen
 
Posts: 6
Joined: Thu Oct 31, 2013 10:43

Re: Sabayon Spinbase Installation on Hyper-V 2012R2

Postby lxnay » Fri Nov 01, 2013 13:54

Could you please file a bug at bugs.sabayon.org then?
Please also state clearly the errors you get during boot without the hyperv drivers.
Are the drivers really needed to be found in the initramfs? Can't you just load them after the initramfs? (see "man modules-load.d").
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Sabayon Spinbase Installation on Hyper-V 2012R2

Postby WolfgangG » Fri Nov 01, 2013 14:04

I forgot,
I have used Sabayon 13.11 spinbase(64Bit)

Wolfgang
WolfgangG
Baby Hen
 
Posts: 6
Joined: Thu Oct 31, 2013 10:43

Re: Sabayon Spinbase Installation on Hyper-V 2012R2

Postby WolfgangG » Fri Nov 01, 2013 14:43

I will file a bug then.

The other way is to activate the hv* moduls in the kernel. That should solve the problem too.

Greetings Wolfgang
WolfgangG
Baby Hen
 
Posts: 6
Joined: Thu Oct 31, 2013 10:43


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron