Ninja Ubuntu Laptop Vanish: How Can I Remotely Undelete?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When you try to eject does it attempt to eject?
On both of machines the eject button doesn't operate in linux, I have to right-click on the cd on desktop to unmount then, right-click again & the option to eject is there.
When you try to eject does it attempt to eject?
On both of machines the eject button doesn't operate in linux, I have to right-click on the cd on desktop to unmount then, right-click again & the option to eject is there.
It does not do anything. It doesn't make a sound.
I tried sudo Wodim --eject cdrom and that failed:
Code:
o@o-HP-Compaq-6910p-GH715AW-ABA:~$ sudo wodim --eject cdrom
wodim: No write mode specified.
wodim: Assuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/cdrw
Using /dev/cdrom of unknown capabilities
Error trying to open /dev/cdrom exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/cdrom exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/cdrom exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/cdrom exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/cdrom exclusively (Device or resource busy)... giving up.
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
The CD line from mine is:
/dev/scd0
/media/cdrom0
udf,
iso9660 user,noauto 0 0
Below I was successful at trying
cat /etc/fstab
My CD floppy drive
is located at either or both of the following two
/dev/fd0
/media/floppy0
Other information includes
auto rw,user,noauto,exec,utf8 0 0
Code:
o@o-HP-Compaq-6910p-GH715AW-ABA:/$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=eb95dfd0-f3df-49c0-aa8f-cbdf43e43798 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=8083536d-0b5b-49a9-ae45-6e051330f7cf none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
Quote:
Originally Posted by lugoteehalt
Then perhaps try:
sudo umount /media/cdrom0 Or whatever is right for your thing. Note no n in umount.
mount on its own says what is mounted.
Code:
o@o-HP-Compaq-6910p-GH715AW-ABA:~$ sudo umount /dev/cdrw
[sudo] password for o:
o@o-HP-Compaq-6910p-GH715AW-ABA:~$
Last edited by JoeyArnold; 10-16-2011 at 11:40 AM.
o@o-HP-Compaq-6910p-GH715AW-ABA:~$ sudo umount /dev/cdrw
[sudo] password for o:
o@o-HP-Compaq-6910p-GH715AW-ABA:~$
It returned no error so it unmounted, now all you have to do is issue eject command.
But you cdrom is not in fstab, this is what mine looks like.
It's may be possible for you to just copy & paste to it.
Since mine & lugoteehalt show the exact same line.
It returned no error so it unmounted, now all you have to do is issue eject command.
But you cdrom is not in fstab, this is what mine looks like.
It's may be possible for you to just copy & paste to it.
Since mine & lugoteehalt show the exact same line.
# /etc/fstab: static file system information
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation
UUID=55e5045c-5519-412c-88ad-8cf51a311264 / ext3 errors=remoun$
# /home was on /dev/sda10 during installation
UUID=3f697af1-0bbf-43b0-b714-32185bd2a975 /home ext3 defaults $
# /tmp was on /dev/sda9 during installation
UUID=ab53a71b-a0cf-4a12-ac43-d8189456c163 /tmp ext3 defaults $
# /usr was on /dev/sda6 during installation
UUID=49a5fe6f-97e6-4bcf-91a7-2f7342a73eb4 /usr ext3 defaults $
# /var was on /dev/sda7 during installation
UUID=049d9b86-71f6-416d-9f45-fdd7b64aa3ca /var ext3 defaults $
# swap was on /dev/sda8 during installation
UUID=370af088-6830-4fcf-b557-009f553c1746 none swap sw $
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
File: /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=eb95dfd0-f3df-49c0-aa8f-cbdf43e43798 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=8083536d-0b5b-49a9-ae45-6e051330f7cf none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=eb95dfd0-f3df-49c0-aa8f-cbdf43e43798 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=8083536d-0b5b-49a9-ae45-6e051330f7cf none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell
You have to press Ctrl + X keys to exit & Y to save.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.