[opensuse-factory] openSUSE 13.1 cannot find /dev/root during boot up
Hello List Mates, After reinstalling openSUSE 13.1 for the "8th" time, I am now posting what I believe is a serious problem with "mkinitrd" . I have a openSUSE 13.1 installed on my entire primary SATA Western Digital Black 500 GB drive. The secondary SATA is a Western Digital Blue 500 GB drive with OSX Mavericks installed on the first partition. The second partition is Linux /Data backup. Over the last few months, I've had to disconnect the secondary drive when updating openSUSE 13.1 so that Grub2 didn't add additional entries for OS X 32-bit and 64-bit. When the last update had finished, I shut down the PC two days ago without a reboot. This shouldn’t have given any problems. The following day I restarted the PC, changed the BIOS setting from AHCI to IDE. I noticed that the start up was taking too long. I hit the "ESC" key to read that " /dev/root could not be found ". See: https://bugzilla.novell.com/show_bug.cgi?id=853914 I proceeded with the DVD Rescue and typed: # fdisk -l mount /dev/sda1 /mnt mount --bind /dev /mnt/dev chroot /mnt mount /proc mount /sys grub2-install /dev/sda grub2-mkconfig -o /boot/grub2/grub.cfg umount /sys is busy or in use. umount /proc is busy or in use. umount /mnt # shutdown -r now The last two "mount" commands with /proc and /sys showed a message that "the file or directory was missing". After "grub2-mkconfig -o /boot/grub2/grub.cfg" I got an error on line info ........ I should have written it down . At the end, the first two "umount" commands indicated that they are "busy or in use". ------------------------------------------------------------------------------------------------------- I rebooted with the Live openSUSE Rescue disk, started the Yast Boot Loader and noticed the: "Optional Kernel Command Line Parameter" and "Failsafe Kernel Command Line Parameters"fields were empty. Is it possible that "mkinitrd" was missing the ide and ahci control driver modules? And should I have changed or replaced the last two grub2 commands with: mkinitrd grub2-install /dev/sda -- Cheers! Roman -------------------------------------------- openSUSE -- Get it! Discover it! Share it! -------------------------------------------- http://linuxcounter.net/ #179293 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29.06.14 02:31 Roman Bysh wrote:
Over the last few months, I've had to disconnect the secondary drive when updating openSUSE 13.1 so that Grub2 didn't add additional entries for OS X 32-bit and 64-bit.
You could disable os-prober in /etc/default/grub, to avoid other OS'es being added.
The following day I restarted the PC, changed the BIOS setting from AHCI to IDE.
Why? Regards, Johannes - -- `Even if I could, I wouldn't. Scars can come in useful. I have one myself above my left knee which is a perfect map of the London Underground.´ (Albus Dumbledore, Harry Potter I) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlOvpU8ACgkQzi3gQ/xETbLDzgCfajS0+POQW8UxmHOp30TxSy31 EJ8AnRoT8jY0FXpWu7Ux6dZ+q6DFfsoH =UV1F -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 06/29/2014 01:34 AM, Johannes Kastl wrote:
On 29.06.14 02:31 Roman Bysh wrote:
Over the last few months, I've had to disconnect the secondary drive when updating openSUSE 13.1 so that Grub2 didn't add additional entries for OS X 32-bit and 64-bit.
You could disable os-prober in /etc/default/grub, to avoid other OS'es being added.
The following day I restarted the PC, changed the BIOS setting from AHCI to IDE.
Why?
Regards, Johannes -- `Even if I could, I wouldn't. Scars can come in useful. I have one myself above my left knee which is a perfect map of the London Underground.´ (Albus Dumbledore, Harry Potter I)
I was noticing that KInfocenter was showing the Western Digital drive "Vender name" as Unknown. I wanted to see if changing to IDE would make a difference on the detection. -- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Sat, 28 Jun 2014 20:31:27 -0400
Roman Bysh
Hello List Mates,
After reinstalling openSUSE 13.1 for the "8th" time, I am now posting what I believe is a serious problem with "mkinitrd" .
I have a openSUSE 13.1 installed on my entire primary SATA Western Digital Black 500 GB drive. The secondary SATA is a Western Digital Blue 500 GB drive with OSX Mavericks installed on the first partition. The second partition is Linux /Data backup.
Over the last few months, I've had to disconnect the secondary drive when updating openSUSE 13.1 so that Grub2 didn't add additional entries for OS X 32-bit and 64-bit.
IIRC 13.1 does not enable os-prober by default. So I'm not sure how it can happen?
When the last update had finished, I shut down the PC two days ago without a reboot. This shouldn’t have given any problems.
The following day I restarted the PC, changed the BIOS setting from AHCI to IDE. I noticed that the start up was taking too long.
I hit the "ESC" key to read that " /dev/root could not be found ".
Unless I'm completely mistaken, IDE and AHCI require different drivers. So where exactly is the bug?
See: https://bugzilla.novell.com/show_bug.cgi?id=853914
I proceeded with the DVD Rescue and typed:
# fdisk -l
mount /dev/sda1 /mnt
mount --bind /dev /mnt/dev
chroot /mnt
mount /proc
mount /sys
grub2-install /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
umount /sys is busy or in use.
umount /proc is busy or in use.
umount /mnt
# shutdown -r now
The last two "mount" commands with /proc and /sys showed a message that "the file or directory was missing".
After "grub2-mkconfig -o /boot/grub2/grub.cfg" I got an error on line info ........
I should have written it down .
At the end, the first two "umount" commands indicated that they are "busy or in use".
-------------------------------------------------------------------------------------------------------
I rebooted with the Live openSUSE Rescue disk, started the Yast Boot Loader and noticed the:
"Optional Kernel Command Line Parameter"
and
"Failsafe Kernel Command Line Parameters"fields were empty.
Is it possible that "mkinitrd" was missing the ide and ahci control driver modules?
And should I have changed or replaced the last two grub2 commands with:
mkinitrd
grub2-install /dev/sda
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 06/28/2014 08:31 PM, Roman Bysh wrote:
Hello List Mates,
After reinstalling openSUSE 13.1 for the "8th" time, I am now posting what I believe is a serious problem with "mkinitrd" .
I have a openSUSE 13.1 installed on my entire primary SATA Western Digital Black 500 GB drive. The secondary SATA is a Western Digital Blue 500 GB drive with OSX Mavericks installed on the first partition. The second partition is Linux /Data backup.
Over the last few months, I've had to disconnect the secondary drive when updating openSUSE 13.1 so that Grub2 didn't add additional entries for OS X 32-bit and 64-bit.
When the last update had finished, I shut down the PC two days ago without a reboot. This shouldn’t have given any problems.
The following day I restarted the PC, changed the BIOS setting from AHCI to IDE. I noticed that the start up was taking too long.
I hit the "ESC" key to read that " /dev/root could not be found ".
See: https://bugzilla.novell.com/show_bug.cgi?id=853914
I proceeded with the DVD Rescue and typed:
# fdisk -l
mount /dev/sda1 /mnt
mount --bind /dev /mnt/dev
chroot /mnt
mount /proc
mount /sys
grub2-install /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
umount /sys is busy or in use.
umount /proc is busy or in use.
umount /mnt
# shutdown -r now
The last two "mount" commands with /proc and /sys showed a message that "the file or directory was missing".
After "grub2-mkconfig -o /boot/grub2/grub.cfg" I got an error on line info ........
I should have written it down .
At the end, the first two "umount" commands indicated that they are "busy or in use".
-------------------------------------------------------------------------------------------------------
I rebooted with the Live openSUSE Rescue disk, started the Yast Boot Loader and noticed the:
"Optional Kernel Command Line Parameter"
and
"Failsafe Kernel Command Line Parameters"fields were empty.
Is it possible that "mkinitrd" was missing the ide and ahci control driver modules?
And should I have changed or replaced the last two grub2 commands with:
mkinitrd
grub2-install /dev/sda
I forgot to mention that I disconnected the second drive. Then I changed the BIOS setting from AHCI to IDE and rebooted with the primary drive only. This worked for several months without any problem. Then...two days ago it _couldn't_find_ /dev/root. Does any one know how to recover and/or debug this from Rescue mode? -- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2014-06-29 15:05 (GMT-0400) Roman Bysh composed:
Does any one know how to recover and/or debug this from Rescue mode?
Maybe. Start by providing more information: 1-partitioning details (with and without both HDs installed; more than simple fdisk -l output) 2-content of grub2.cfg (If there is a backup of the old one, provide newest and oldest) 3-BIOS date 4-lspci output -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Andrey Borzenkov
-
Felix Miata
-
Johannes Kastl
-
Roman Bysh