Jump to content

Unlock in root mmm?


Mandriva-user
 Share

Recommended Posts

I lock on root,went to root all the way up to mnt and my dvd is on cdrom 2 and it is lock.

So I try rename to DVD-ROM it couldn`t rename is there other way to unlock CDrom2 and rename it to DVD-rom,because I like to rename it so on my desktop will be not confused with CDROM and CDROM2 so I will know which is dvd or cd-rom.

Thank you for your cooperation .

 

Mandrake-user :cry:

 

PS: I try from cdrom2 to rename it to DVD-ROM.

Link to comment
Share on other sites

from what i can understand you want to mount your DVD drive to /mnt/dvd (or something like it)? if that is so, just edit your /etc/fstab and change the instance of /mnt/cdrom2 to /mnt/dvd. save the file and execute

# mount -a

.

 

note that you may want to issue

# umount /mnt/cdrom2

first before doing the steps above.

 

ciao!

Link to comment
Share on other sites

ramfree17

 

My dvd is mnt under mnt/cdrom2 but I like to rename it to mnt/dvd is it possible

 

Mandrake-user

Link to comment
Share on other sites

ramfree17

 

My dvd is mnt  under mnt/cdrom2 but I like to rename it to mnt/dvd is it possible

 

Mandrake-user

 

yup, thats whay i thought. ok, do it this way. do the umount thing first, then

# mv /mnt/dvd

and then do the first part of my earlier post. that should do what you want to do. :#:

 

ciao!

Link to comment
Share on other sites

Mandrake-user,

 

What this means is..

 

/etc/fstab has entry for where to mount. Such as /mnt/cdrom2. If you want to mount at /mnt/dvd, then you must change /etc/fstab first!

 

1. Make a new folder /mnt/dvd.

 

2. Unmount /mnt/cdrom

 

umount /mnt/cdrom

 

3. Edit /etc/fstab. Find entry and change to /mnt/dvd.

 

4. Now remount..

 

mount -a

 

Basically what ramfree17 said, but I added step numbers :P

Link to comment
Share on other sites

cannonfodder

 

What this means is..  

 

/etc/fstab has entry for where to mount. Such as /mnt/cdrom2. If you want to mount at /mnt/dvd, then you must change /etc/fstab first!  

 

1. Make a new folder /mnt/dvd.  

 

2. Unmount /mnt/cdrom  

 

umount /mnt/cdrom  

 

3. Edit /etc/fstab. Find entry and change to /mnt/dvd.  

 

4. Now remount..  

 

mount -a  

 

Basically what ramfree17 said, but I added step numbers  :P

 

Well I will try later and let you know. :wink:

 

Ciao

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...