[Fedora-livecd-list] cant find filesystem /dev/root
Lane Brooks
lbrooks at MIT.EDU
Fri Jan 18 14:53:16 UTC 2008
Lars Bjørndal wrote:
> Lane Brooks <lbrooks at MIT.EDU> writes:
>
>> I finally found a way around that I am posting to the list in case it
>> helps someone else. Things started working when I started building
>> initrd using the --with ata_generic --with libata options.
>
> Can you specify these options in the kickstart file while using
> revisor? How is the syntax?
Not that I am aware of. The way I do it is to mount the image after it
is done, use
mount --bind /sys <path_to_image_mount>/sys
to mount sys, update the fstab to point to my label:
LABEL=mylabel / ext3 defaults 0 0
then run chroot into the mounted image
chroot <path_to_image_mount>
and then run mkinitrd
/sbin/mkinitrd --with libata --with ata_generic
/boot/initrd-<kernel_ver>.img <kernel_ver>
I am not sure if there is a better way.
Lane
>
> Thanks!
>
> Lars
>> Lane Brooks wrote:
>>> I am using the latest image-creator tool from the git repo to create an
>>> custom fedora image based on fedora 8.
>>> When I try to boot either from the physical image or in qemu, I get
>>> the
>>> following error:
>>> mount: could not find filesystem '/dev/root'
>>> and then eventually switchroot fails and the system hangs. I have
>>> tried
>>> the original kernel and the latest released kernel. I have rebuilt
>>> initrd based on hda1, sda1, etc. in the /etc/fstab file and get the same
>>> problem. I have tried grub, extlinux, and even booting directly in
>>> qemu. No matter what I get this error.
>>> The only thing I have gotten to work is to download a vanilla kernel
>>> and
>>> build and install it manually. It seems as though the fedora kernel
>>> does not find the ide drives, although I cannot verify this because the
>>> text scrolls too quickly for me to see.
>>> Anyone know what the problem is? I am not sure if this is the best
>>> list
>>> to ask this question, so perhaps even suggesting a more appropriate list
>>> would be helpful too.
>>> Thanks,
>>> Lane Brooks
>
> --
> Fedora-livecd-list mailing list
> Fedora-livecd-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-livecd-list
More information about the Fedora-livecd-list
mailing list