OpenVZ Forum


Home » General » Support » [Fedora 9] switch root: mount failed: no such file or directory
Re: [Fedora 9] switch root: mount failed: no such file or directory [message #33473 is a reply to message #33469] Thu, 16 October 2008 02:09 Go to previous messageGo to previous message
kipu is currently offline  kipu
Messages: 4
Registered: October 2008
Junior Member
maratrus, thanks for your quick reply

maratrus wrote on Wed, 15 October 2008 11:31

Hello,

could you please check that ahci and ata_piix modules are in openvz initrd?


There is no ahci module.
That is a part of initrd file content:
echo "Loading ehci-hcd module"
modprobe -q ehci-hcd
echo "Loading ohci-hcd module"
modprobe -q ohci-hcd
echo "Loading uhci-hcd module"
modprobe -q uhci-hcd
mount -t usbfs /proc/bus/usb /proc/bus/usb
echo "Loading ext3 module"
modprobe -q ext3
echo "Loading scsi_mod module"
modprobe -q scsi_mod
echo "Loading libata module"
modprobe -q libata
echo "Loading ata_piix module"
modprobe -q ata_piix

maratrus wrote on Wed, 15 October 2008 11:31


I know that it's unfair but could you compare openvz and /boot/initrd-2.6.25-14.fc9.i686.img images. Do they have identical modules or if not what the difference?

# diff init ../initrd.fc9/init 
52a53,54
> echo "Loading sd_mod module"
> modprobe -q sd_mod
54a57,58
> echo "Loading ata_generic module"
> modprobe -q ata_generic
58a63,68
> echo "Loading pata_acpi module"
> modprobe -q pata_acpi
> echo Waiting for driver initialization.
> stabilized --hash --interval 250 /proc/scsi/scsi
> modprobe scsi_wait_scan
> rmmod scsi_wait_scan
64c74
< mount -t ext3 -o defaults,ro /dev/sda3 /sysroot
---
> mount /sysroot


I think problem is sd_mod module? What do you think?

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VMWare inside OpenVZ?
Next Topic: kernel-devel 2.6.24-ovz006.2.
Goto Forum:
  


Current Time: Sun Nov 17 00:54:25 GMT 2024

Total time taken to generate the page: 0.03856 seconds