[opensuse] OpenSUSE Hyper-V 'An error occurred during initrd creation'
I am having a problem installing OpenSUSE on a Hyper-V VM an was hoping someone could help me with this issue. I install from the cd as usual but when it gets to 86% it gives me this error: An error occurred during initrd creation error disk: 'hd0,2' not found It then tells me grub failed to install. I tested this same install on a physical machine from the same physical CD and it worked fine so I thought this must be a compatibility issue with Hyper-V. I read online and discovered I apparently has to install the drivers for the Hyper-v machine for this to install correctly. I checked and these are already in the repositories and selected by default. (The package is called hyper-v). I did however, try to install them manually, it told me they installed correctly but when I continued with the install the same error occurred. I decided to configure the machine on SUSEStudio and download the pre-made .vhd for Hyper-V I installed a VM with this .vhd file and it booted up fine. I can reboot the server at this point and every time it boots fine :) But.... if Iog-in then try to reboot (even if I log straight back out without making any changes) I get the following error after the GRUB boot screen has finished: waiting for device /dev/disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1 to appear: ..............................Could not find /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1. Want me to fall back to /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1? (Y/n) I even tried installing the hyper-v integration tools and drivers again before I rebooted but this makes no difference. I have installed ubuntu, fedora and CentOS on Hyper-V as I read this issue affected any Linux system but they all work fine, OpenSUSE has the same errors every time I try to install on versions 12.3, 12.2, 12.1, 11.4. I even tried a copy of SLES 11.4 I was given with the exact same errors! Has anyone else come across this issue? I have spent more than a day trying to find a solution to this online! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Mon, 18 Mar 2013 18:53:57 -0000 "Paul Groves" <p-groves@hotmail.co.uk> пишет:
I am having a problem installing OpenSUSE on a Hyper-V VM an was hoping someone could help me with this issue.
I install from the cd as usual but when it gets to 86% it gives me this error:
An error occurred during initrd creation error disk: 'hd0,2' not found
Output of "grub2-install --debug --force /dev/sda2" would be interesting (I presume this is /dev/sda2, replace with correct partition)
It then tells me grub failed to install. I tested this same install on a physical machine from the same physical CD and it worked fine so I thought this must be a compatibility issue with Hyper-V.
I read online and discovered I apparently has to install the drivers for the Hyper-v machine for this to install correctly. I checked and these are already in the repositories and selected by default. (The package is called hyper-v). I did however, try to install them manually, it told me they installed correctly but when I continued with the install the same error occurred.
I decided to configure the machine on SUSEStudio and download the pre-made .vhd for Hyper-V
I installed a VM with this .vhd file and it booted up fine. I can reboot the server at this point and every time it boots fine :)
But.... if Iog-in then try to reboot (even if I log straight back out without making any changes) I get the following error after the GRUB boot screen has finished:
waiting for device /dev/disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1 to appear: ..............................Could not find /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1. Want me to fall back to /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1? (Y/n)
Boot with shell=1 kernel parameter, answer "n" to this question. You will be left in initrd shell; what devices *are* available at this point?
I even tried installing the hyper-v integration tools and drivers again before I rebooted but this makes no difference.
I have installed ubuntu, fedora and CentOS on Hyper-V as I read this issue affected any Linux system but they all work fine, OpenSUSE has the same errors every time I try to install on versions 12.3, 12.2, 12.1, 11.4. I even tried a copy of SLES 11.4 I was given with the exact same errors!
Has anyone else come across this issue? I have spent more than a day trying to find a solution to this online!
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I cannot go to the command line at both points as the machine is completely frozen. This happens each time I replicate the error. (Just tried again). Paul Groves On 19 Mar 2013, at 02:57, "Andrey Borzenkov" <arvidjaar@gmail.com> wrote:
В Mon, 18 Mar 2013 18:53:57 -0000 "Paul Groves" <p-groves@hotmail.co.uk> пишет:
I am having a problem installing OpenSUSE on a Hyper-V VM an was hoping someone could help me with this issue.
I install from the cd as usual but when it gets to 86% it gives me this error:
An error occurred during initrd creation error disk: 'hd0,2' not found
Output of "grub2-install --debug --force /dev/sda2"
would be interesting (I presume this is /dev/sda2, replace with correct partition)
It then tells me grub failed to install. I tested this same install on a physical machine from the same physical CD and it worked fine so I thought this must be a compatibility issue with Hyper-V.
I read online and discovered I apparently has to install the drivers for the Hyper-v machine for this to install correctly. I checked and these are already in the repositories and selected by default. (The package is called hyper-v). I did however, try to install them manually, it told me they installed correctly but when I continued with the install the same error occurred.
I decided to configure the machine on SUSEStudio and download the pre-made .vhd for Hyper-V
I installed a VM with this .vhd file and it booted up fine. I can reboot the server at this point and every time it boots fine :)
But.... if Iog-in then try to reboot (even if I log straight back out without making any changes) I get the following error after the GRUB boot screen has finished:
waiting for device /dev/disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1 to appear: ..............................Could not find /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1. Want me to fall back to /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1? (Y/n)
Boot with shell=1 kernel parameter, answer "n" to this question. You will be left in initrd shell; what devices *are* available at this point?
I even tried installing the hyper-v integration tools and drivers again before I rebooted but this makes no difference.
I have installed ubuntu, fedora and CentOS on Hyper-V as I read this issue affected any Linux system but they all work fine, OpenSUSE has the same errors every time I try to install on versions 12.3, 12.2, 12.1, 11.4. I even tried a copy of SLES 11.4 I was given with the exact same errors!
Has anyone else come across this issue? I have spent more than a day trying to find a solution to this online!
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Ok I have found out that if I install grub to the MBR instead of the root partition then OpenSUSE 11.4, 12.1 and 12.2 all install without errors but at boot they boot into emergency mode only. This has no effect with 12.3 an I still get the error at 86% upon installation. An error occurred during initrd creation error disk: 'hd0,2' not found Paul Groves On 19 Mar 2013, at 16:59, "Paul Groves" <p-groves@hotmail.co.uk> wrote:
I cannot go to the command line at both points as the machine is completely frozen. This happens each time I replicate the error. (Just tried again).
Paul Groves
On 19 Mar 2013, at 02:57, "Andrey Borzenkov" <arvidjaar@gmail.com> wrote:
В Mon, 18 Mar 2013 18:53:57 -0000 "Paul Groves" <p-groves@hotmail.co.uk> пишет:
I am having a problem installing OpenSUSE on a Hyper-V VM an was hoping someone could help me with this issue.
I install from the cd as usual but when it gets to 86% it gives me this error:
An error occurred during initrd creation error disk: 'hd0,2' not found
Output of "grub2-install --debug --force /dev/sda2"
would be interesting (I presume this is /dev/sda2, replace with correct partition)
It then tells me grub failed to install. I tested this same install on a physical machine from the same physical CD and it worked fine so I thought this must be a compatibility issue with Hyper-V.
I read online and discovered I apparently has to install the drivers for the Hyper-v machine for this to install correctly. I checked and these are already in the repositories and selected by default. (The package is called hyper-v). I did however, try to install them manually, it told me they installed correctly but when I continued with the install the same error occurred.
I decided to configure the machine on SUSEStudio and download the pre-made .vhd for Hyper-V
I installed a VM with this .vhd file and it booted up fine. I can reboot the server at this point and every time it boots fine :)
But.... if Iog-in then try to reboot (even if I log straight back out without making any changes) I get the following error after the GRUB boot screen has finished:
waiting for device /dev/disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1 to appear: ..............................Could not find /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1. Want me to fall back to /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1? (Y/n)
Boot with shell=1 kernel parameter, answer "n" to this question. You will be left in initrd shell; what devices *are* available at this point?
I even tried installing the hyper-v integration tools and drivers again before I rebooted but this makes no difference.
I have installed ubuntu, fedora and CentOS on Hyper-V as I read this issue affected any Linux system but they all work fine, OpenSUSE has the same errors every time I try to install on versions 12.3, 12.2, 12.1, 11.4. I even tried a copy of SLES 11.4 I was given with the exact same errors!
Has anyone else come across this issue? I have spent more than a day trying to find a solution to this online!
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi All, I have attached below the full error details from OpenSUSE 12.3 x86_64 (64-bit) when installing on Hyper-V R2 on Windows Server 2008 R2 x64. Can anyone make sense of this and if possible, can anyone explain what this error means? I am new to all of this and was hoping to experiment with OpenSUSE as a server (but obviously haven't gotten very far yet :P). What baffles me is that ubuntu, Fedora and CentOS all install fine... Does anyone understand why this could be? -----An error occurred during initrd creation----- Kernel image: /boot/vmlinuz-3.7.10-1.1-desktop Initrd image: /boot/initrd-3.7.10-1.1-desktop Root device: /dev/disk/by-id/scsi-14d53465420202020316d649b43c4c740ab596834b8e2babf-part2 (/dev/sda2) (mounted on / as ext4) Kernel Modules: thermal_sys thermal processor fan hv_vmbus hv_storvsc hv_netvsc ata_piix ata_generic scsi_dh scsi_dh_alua acsi_sh_hp_sw scsi_dh_emc Features: acpi fv_guest block Perl-Bootloader: 2013-03-18 18:44:12 <3> pbl-1547.2 Core::RunCommand.1642: Error: Command 'usr/sbin/grub2-install --target=i386-pc --force --skip-fs-probe "(hd0,2)" > /var/log/YaST2/y2log_bootloader 2>&1' failed with code 256 and output: /usr/sbin/grub2-bios-setup: error: disk 'hd0,2 not found. There was and error generating the initrd (1) -----Original Message----- From: Paul Groves Sent: Wednesday, March 20, 2013 5:02 PM To: Andrey Borzenkov Cc: opensuse@opensuse.org Subject: Re: [opensuse] OpenSUSE Hyper-V 'An error occurred during initrd creation' Ok I have found out that if I install grub to the MBR instead of the root partition then OpenSUSE 11.4, 12.1 and 12.2 all install without errors but at boot they boot into emergency mode only. This has no effect with 12.3 an I still get the error at 86% upon installation. An error occurred during initrd creation error disk: 'hd0,2' not found Paul Groves On 19 Mar 2013, at 16:59, "Paul Groves" <p-groves@hotmail.co.uk> wrote:
I cannot go to the command line at both points as the machine is completely frozen. This happens each time I replicate the error. (Just tried again).
Paul Groves
On 19 Mar 2013, at 02:57, "Andrey Borzenkov" <arvidjaar@gmail.com> wrote:
В Mon, 18 Mar 2013 18:53:57 -0000 "Paul Groves" <p-groves@hotmail.co.uk> пишет:
I am having a problem installing OpenSUSE on a Hyper-V VM an was hoping someone could help me with this issue.
I install from the cd as usual but when it gets to 86% it gives me this error:
An error occurred during initrd creation error disk: 'hd0,2' not found
Output of "grub2-install --debug --force /dev/sda2"
would be interesting (I presume this is /dev/sda2, replace with correct partition)
It then tells me grub failed to install. I tested this same install on a physical machine from the same physical CD and it worked fine so I thought this must be a compatibility issue with Hyper-V.
I read online and discovered I apparently has to install the drivers for the Hyper-v machine for this to install correctly. I checked and these are already in the repositories and selected by default. (The package is called hyper-v). I did however, try to install them manually, it told me they installed correctly but when I continued with the install the same error occurred.
I decided to configure the machine on SUSEStudio and download the pre-made .vhd for Hyper-V
I installed a VM with this .vhd file and it booted up fine. I can reboot the server at this point and every time it boots fine :)
But.... if Iog-in then try to reboot (even if I log straight back out without making any changes) I get the following error after the GRUB boot screen has finished:
waiting for device /dev/disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1 to appear: ..............................Could not find /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1. Want me to fall back to /dev-disk/by-id/scsi-14d5346542020202000000000000000000000000000000000-part1? (Y/n)
Boot with shell=1 kernel parameter, answer "n" to this question. You will be left in initrd shell; what devices *are* available at this point?
I even tried installing the hyper-v integration tools and drivers again before I rebooted but this makes no difference.
I have installed ubuntu, fedora and CentOS on Hyper-V as I read this issue affected any Linux system but they all work fine, OpenSUSE has the same errors every time I try to install on versions 12.3, 12.2, 12.1, 11.4. I even tried a copy of SLES 11.4 I was given with the exact same errors!
Has anyone else come across this issue? I have spent more than a day trying to find a solution to this online!
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrey Borzenkov
-
Paul Groves