#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Posts
    21
    Rep Power
    0

    apt-cdrom and cdrom mount point


    I have changed my cdrom mount point from /cdrom to /mnt/cdrom in my debian box.
    But this time apt started to cannot find /cdrom, but I definde /mnt/cdrom in /etc/fstab
    Then I learnt that I have to use such a param. with apt-cdrom to change the cdrom devices mount point
    $ apt-cdrom -d=/mnt/cdrom
    I used that but nothing changed, what should i do now...
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    190
    i donīt know what this apt-cdrom is, but one guess:
    -d could be --device, right? so you have to pass /dev/cdrom, not /cdrom.

    if this assumption is wrong, i have a workaround for you:

    rmdir /cdrom
    ln -s /mnt/cdrom /cdrom

    this makes a link "/cdrom" that points to the directory "/mnt/cdrom"
  4. #3
  5. No Profile Picture
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    The Emerald City
    Posts
    289
    Rep Power
    13
    Did you use the 'add' command when you ran apt-cdrom?

    Code:
    $ apt-cdrom -d=/mnt/cdrom add
    jaa
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Posts
    21
    Rep Power
    0

    thx so much


    thanks all
    $ apt-cdrom -d=/mnt/cdrom add
    command worked ;)
    also i didn't need to re-edit /etc/apt/sources.list to remove old cdrom sources =)
    thx debian too

IMN logo majestic logo threadwatch logo seochat tools logo