DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: linux install

  1. #1
    Join Date
    Jul 2001
    Posts
    45
    Hi friends,

    I was able to borrow Oracle 8.1.7 for linux. I was going to
    install it on my linux server but I can't mount the cdrom. I
    think the cdrom device was not configured on my server.
    My friend was the one who installed the linux O.S. as I don't
    have any background on it yet and i can't contact him lately.

    Any help on how to add the cdrom device on my server
    will be highly appreciated. Please tell me what's the command
    or its utility configurator.

    Thank you in advance.




  2. #2
    Join Date
    Aug 2001
    Posts
    64

    Talking

    check if cdrom is detected during boot:
    dmesg | more
    output looks like:
    Detected SCSI removable disk sdc at scsi0, channel 0, id 5, lun 0
    Vendor: PLEXTOR Model: CD-ROM PX-12TS Rev: 1.03
    Type: CD-ROM ANSI SCSI revision: 02
    Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
    scsi : detected 1 SCSI cdrom 3 SCSI disks total.

    in this case you would mount it as: mount -t iso9660 -r /dev/sdc0 /mnt/cdrom

    if it's not detected: you need to create the driver for it using mknod command. Here's the link on the howto: http://www.linux.com/howto/CDROM-HOWTO/x279.html#AEN342

    Let me kknow how it turns out.

  3. #3
    Join Date
    Jul 2001
    Posts
    45
    Hi tekion,

    I followed your advise, and found out that my cdrom is
    not detected during boot. I checked the link you gave me
    and got the following (my cdrom is SONY):
    =======================================
    Principal author: Ken Pizzini (ken@halcyon.com)
    Multiple drive support: no
    Loadable module support: yes
    Reading audio frames: no
    Auto-probing: no
    Device file: /dev/sonycd535, major 24
    Configuration file: sonycd535.h
    Kernel config option: Sony CDU535 CDROM support
    Documentation file: sonycd535

    This driver accepts a kernel command line of the form:

    sonycd535=

    where is the base address of the controller (e.g. 0x320). Alternatively you can set the address in the file sonycd535.h and compile it in.

    The device file can be created using:

    # mknod /dev/sonycd535 b 24 0

    =======================================

    What am I going to do here?
    I tried :

    # mknod /dev/sonycd535 b 24 0
    # mount /dev/sonycd535

    and it did not work....
    Please help



  4. #4
    Join Date
    Aug 2001
    Posts
    64
    now that you have created the device for your cdrom, you must create a directory where you can mount it, check if you have this directory /mnt/cdrom, it usually comes with the install. But in this case I doubt it. If you don't have it, create it using mkdir. first cd into /mnt then do "mkdir cdrom". After this, mount it using "mount /dev/sonycd535 /mnt/cdrom". If this works, then for future ref you can link the cdrom device name to an easier name you can remember, like "ln -s /dev/sonycd535 /dev/cdrom" and the next time you mount it, you just used "mount /dev/cdrom /mnt/cdrom"

    good luck, let me know how it turns out.

  5. #5
    Join Date
    Jul 2001
    Posts
    45
    I already have /mnt/cdrom.
    I issued the ff:

    # mount /dev/sonycd535 /mnt/cdrom
    error message:
    Did not find a Sony CDU-535 drive
    mount: the kernel does not recognize /dev/sonycd535 as a
    block device (maybe `insmod driver'?)

    Do I need to config other things like:

    kernel command line of the form:

    sonycd535=

    where is the base address of the controller (e.g. 0x320). Alternatively you can set the address in the file sonycd535.h and compile it in.


  6. #6
    Join Date
    Aug 2001
    Posts
    64
    Ok, maybe we are missing your specific cd drivers for the kernel. I think you may have to recompile the kernel and make sure you select the module for your cdrom. I think you should look into howto recompile your kernel. I don't want to tell you the wrong option, I myself have to do it several times just to get everything I wanted. but here's the general step:
    1.first and foremost make sure you cp /boot/vmlinuz to /boot/vmlinuz.old (just in case you screw up and wipe out the kernel you can always boot from your old one).
    2. cd /usr/src/linux???
    3. bakup everything under this directory (optional)
    4. make menuconfig
    5. choose the options you wanted
    6. make dep
    7. make bzImage
    8. cd /usr/src/linux-2.4/arch/i386/boot
    9. cp bzImage /boot/vlinuz????
    10. edit lilo
    11. lilo -v
    12. reboot

    the above is just a general step, you may want to check out hte howto for this.

    good luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width