Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   FC14 problem "no root device found" (http://www.linux-archive.org/fedora-user/585400-fc14-problem-no-root-device-found.html)

Bruno Wolff III 10-09-2011 03:19 PM

FC14 problem "no root device found"
 
On Fri, Oct 07, 2011 at 20:25:50 +0200,
Gijs <info@bsnw.nl> wrote:
>
> I created a raid-1 device for the /boot partition. I copied my existing
> boot to /boot and my existing root to the LVM-volume that is ontop of a
> raid-5 device. I tried booting from it, but I just can't get it to mount
> the root right after it boots the kernel. I get the message "no root
> device found".
>
> I pretty much tried everything. I recreated the initrd because I thought
> it might have something to do with the raid device (which I didn't have
> before). But after inspecting the initrd contents of my original stock
> kernel, I found mdadm and other raid-related files. So I figured that
> shouldn't be the problem.
>
> I tried specifying the root partition in a number of ways. By UUID, by
> "/dev/mapper/raid--5--lvm-root", by "/dev/md-0", by "/dev/raid-5/root",
> by label "root". Nothing worked.
>
> Does anyone have any idea how to solve this?

Did you update fstab and mdadm.conf on the new system and rerun dracut?
(I usually use the kernel update script to rerun dracut so I don't
need to remember the options.)

The initramfs includes information about which devices to activate before
doing the root pivot. If you don't have the raid array for root in mdadm.conf
the array won't be started and hence won't be available to change to.

You might need to do something similar for lvm. I don't use it, so I don't
need to worry about it.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Gijs 10-12-2011 08:39 PM

FC14 problem "no root device found"
 
On 9-10-2011 17:19, Bruno Wolff III wrote:
> On Fri, Oct 07, 2011 at 20:25:50 +0200,
> Gijs<info@bsnw.nl> wrote:
>>
>> I created a raid-1 device for the /boot partition. I copied my existing
>> boot to /boot and my existing root to the LVM-volume that is ontop of a
>> raid-5 device. I tried booting from it, but I just can't get it to mount
>> the root right after it boots the kernel. I get the message "no root
>> device found".
>>
>> I pretty much tried everything. I recreated the initrd because I thought
>> it might have something to do with the raid device (which I didn't have
>> before). But after inspecting the initrd contents of my original stock
>> kernel, I found mdadm and other raid-related files. So I figured that
>> shouldn't be the problem.
>>
>> I tried specifying the root partition in a number of ways. By UUID, by
>> "/dev/mapper/raid--5--lvm-root", by "/dev/md-0", by "/dev/raid-5/root",
>> by label "root". Nothing worked.
>>
>> Does anyone have any idea how to solve this?
>
> Did you update fstab and mdadm.conf on the new system and rerun dracut?
> (I usually use the kernel update script to rerun dracut so I don't
> need to remember the options.)
>
> The initramfs includes information about which devices to activate before
> doing the root pivot. If you don't have the raid array for root in mdadm.conf
> the array won't be started and hence won't be available to change to.
>
> You might need to do something similar for lvm. I don't use it, so I don't
> need to worry about it.

I thought I updated the initrd, but I guess I used the wrong command. I
checked the command that the RPM of the kernel runs on installation, as
you suggested, and executed that command. Was able to get it booting
right away :) Thanks!
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


All times are GMT. The time now is 02:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.