Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
Hi everyone. I am a relatively new user. I want to find/detect my CD-ROM drive in Linux Debian 10, possibly I need non free firmware to make it work. I get the messages below with few commands that I tired.
Code:
root@debian:~# lsblk -io NAME,TYPE,SIZE,MOUNTPOINT,FSTYPE,MODEL
NAME TYPE SIZE MOUNTPOINT FSTYPE MODEL
sda disk 149,1G WDC_WD1600BEVS-6
|-sda1 part 487M /boot ext2
|-sda2 part 1K
`-sda5 part 148,6G crypto
`-sda5_crypt crypt 148,6G LVM2_m
|-debian--vg-root lvm 147,6G / ext4
`-debian--vg-swap_1
lvm 976M [SWAP] swap
root@debian:~# cat /proc/sys/dev/cdrom/info
cat: /proc/sys/dev/cdrom/info: Arquivo ou diretório inexistente
root@debian:~# blkid
/dev/sda1: UUID="d7d03b1b-d63f-482c-9c6b-dd216a104bb2" TYPE="ext2" PARTUUID="a7c8731e-01"
/dev/sda5: UUID="667bf251-d8f0-4390-9c24-030c251209b5" TYPE="crypto_LUKS" PARTUUID="a7c8731e-05"
/dev/mapper/sda5_crypt: UUID="SNOAOV-dpzp-JkKe-sGpi-TBzg-FndR-3kDcP5" TYPE="LVM2_member"
/dev/mapper/debian--vg-root: UUID="94c27b6a-100a-4b11-90aa-35ac7931badb" TYPE="ext4"
/dev/mapper/debian--vg-swap_1: UUID="cd473679-a23a-4754-930b-6a62fb8c9423" TYPE="swap"
root@debian:~# mount /dev/sr0
mount: /media/cdrom0: special device /dev/sr0 does not exist.
I would appreciate some help to solve this.
Thanks in advance.
Last edited by Cibernauta; 03-08-2021 at 08:54 AM.
Reason: Spelling mistakes
Examine your bootlog (try dmesg) and see if the hardware is detected.
Is it set to recognize it in the BIOS? (on some hardware it can be turned off there.)
As far as I can understand dmesg does not detect it, but it is turned on in the BIOS, BIOS can boot from CD. I installed Debian 10 through a minimum CD net install for 32-bits using an external CD-ROM drive due to the present reason. As long as I remember the drive was then recognized during the install but the firmware was non free, possibly.
What HDD controller info you see in 'lspci -k' output, no need to post all of it, just controllers part, like this example output from my computer:
Code:
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
Subsystem: Super Micro Computer Inc 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
Kernel driver in use: ahci
0b:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
Subsystem: Super Micro Computer Inc ASM1062 Serial ATA Controller
Kernel driver in use: ahci
Laptops have some parts on a daughterboard. Also Knoppix had a boot parameter to get some drives working. So either you need to get daughterboard working or the parameter for unique drive.
You also should look in /dev and see if there is a /dev/cdrom there; If so then the device is seen and configured. /dev/sr0 is (usually) the physical device, linked to by /dev/cdrom, but if a disk is not in there is no way to mount it. With a disk it should give you a /dev/cdrom0 to mount.
For you as a user, you likely cannot use it unless you are a member of the cdrom group. The command "groups" will tell you which groups your user belongs to.
Also, you mostly cannot do anything with the cdrom unless a disk is in the drive.
I could not solve this problem. As my installation was giving me too many problems and made the computer running slow I tried a lightweight distro (Parrot Linux Home) which is also based in Debian and has some nice programs installed. I have no problems anymore with CD/DVD drive (the same I was using) and the computer runs faster. It was possible to boot from CDs in BIOS, that was not the problem. I imagine it has to do about Debian Policies in terms of non free firmware and software.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.