nash losetup

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

 



Dear Sir,
    I use nash in initrd to setup loop back device in initrd. The image is in CD-ROM. The CD-ROM is already mounted in nash, too. The error message is
 
losetup: failed to open /sysroot/venus.img: 30
 
Here is my linuxrc
 
echo Mounting root filesystem
mount -o defaults --ro -t iso9660 /dev/hdc /sysroot
echo Mounting OK
echo Setting loopback device
losetup /dev/loop1 /sysroot/venus.img
echo Mounting Loopback
file system
mount -o defaults --ro -t ext3 /dev/loop1 /imageroot
pivot_root /imageroot /imageroot/mnt
umount /initrd/proc
Would you please tell me how to solve this problem?
Thanks,
Theewara

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux