[BL] mounting CD drive

shel sisaac at netaxs.com
Sat Oct 30 07:54:56 EDT 2004


  
	The  /etc/rc   and  /etc/fstab  below can't find the CD-ROM drive to mount it, even though it has a disc in it.
 I even put a line just for that in  rc

Works fine from commnand line.

How do I make it work?

Thanks, Sheldon

==========
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin
swapon -a
e2fsck -pf /dev/hdb2 2>/dev/null 
mount -a
mount -t iso9660 -o ro /dev/hdd /cd/top
hostname BasicLinux
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 255.0.0.0 lo

insmod rtl8139

##_ACTIVATE_CD_DRIVE_##
insmod cdrom
insmod ide-cd
insmod isofs

####_ACTIVATE_PCMCIA_####
# /etc/pcmcia/start

###_ACTIVATE ETHERNET_###
ifconfig eth0 192.168.1.2

##_ACTIVATE_PPP_##
insmod slhc
insmod ppp

setterm -foreground white -bold on
cat /etc/issue

==========

/dev/hdb2   /       ext2   defaults  1  1
/dev/hdb1   swap    swap   defaults  0  0
/dev/fd0    /fd     msdos  noauto    0  0
none        /proc   proc   defaults  0  0
/dev/hdc  /cd/bot  iso9660 ro,noauto 0 0
/dev/hdd  /cd/top  iso9660 ro 0 0
/dev/hdb3  /hd/biglin  ext2 defaults 1 1
/dev/hda1  /hd/cee msdos rw,noauto 0 0
/dev/hda5  /hd/dee msdos rw,noauto 0 0
/dev/hdb5  /hd/eee msdos rw,noauto 0 0
/dev/hdb6  /hd/eff msdos rw,noauto 0 0



More information about the BasLinux mailing list