[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apparent failure to mount /root during boot of netboot image

On Friday 21 November 2008 15.52:25 tomas@tuxteam.de wrote:
> The directories are not "made", they just "appear" there by mounting a
> file system. Seems this part fails. This happens in mountroot. Try
> breaking at "bottom" (that's just after mountroot) and have a look what
> is mounted. Your rootfs should be mounted at root. It seems it isn't,
> for whatever reason. You might try to mount manually and see whether it
> complains.

Ok, I booted with break=bottom, and no file system was mounted other than the 

(initramfs) mount                                
rootfs on / type rootfs (rw)                     
none on /sys type sysfs (rw,nosuid,nodev,noexec) 
none on /proc type proc (rw,nosuid,nodev,noexec) 
udev on /dev type tmpfs (rw,size=10240k,mode=755) on /root/live/image type nfs 

I was able to manually mount the filesystem, but only after manually loading 
(ie. modprobe) the loop and squashfs modules:

(initramfs) mount -o loop /root/live/image/filesystem.squashfs /root
mount: cannot setup loop device: No such file or directory

(modprobe loop, modprobe squashfs)

(initramfs) mount -o loop /root/live/image/filesystem.squashfs /root/

Any ideas why this didn't happen automatically?


Reply to: