Changeset 1885 in MondoRescue for branches/2.2.5/mindi/rootfs/sbin/find-and-mount-cdrom
- Timestamp:
- Mar 2, 2008, 12:38:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/rootfs/sbin/find-and-mount-cdrom
r1826 r1885 75 75 exit 0 76 76 fi 77 #mount /dev/fd0u1722 -t ext2 /mnt/floppy 78 [ "$1" = "--second-try" ] && exit 1; # don't try to mount floppy drive 77 [ "$1" = "--second-try" ] && exit 1; 79 78 if [ "`grep "using-cdstream yes" /tmp/mondo-restore.cfg`" ] ; then 80 79 LogIt "Because you are using cdstream, I won't try to mount CD." 81 80 exit 0 82 81 fi 83 mount /dev/fd0 -t ext2 -o ro /mnt/floppy 2> /dev/null84 if [ "$?" -eq "0" ] ; then85 umount /mnt/floppy 2> /dev/null86 exit 187 else88 LogIt "Please go to another PC, mount this CD and copy the data disk images" 189 LogIt "from the CD's /images directory to blank 1.44MB floppy disks. You should" 190 LogIt "use something like 'dd if=/mnt/cdrom/images/mindi-data-1.img of=/dev/fd0'" 191 LogIt "for the first data disk, mindi-data-2.img for the second, and so on." 192 LogIt "(If you are already booting from a floppy, please ignore this message.)" 193 exit 294 fi95 82 96 97 98 83 LogIt "Unable to find and mount your CD-ROM" 1 84 LogIt "You probably miss the correct driver to support your CD-ROM drive" 1 85 exit 2
Note:
See TracChangeset
for help on using the changeset viewer.