Přidal jsem dle toho návodu do /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# / was on /dev/sda1 during installation
UUID=b4540ef2-5e18-4c0c-ab7e-dac518045e76 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=11a0637d-04d9-41e5-8757-3ea033d8465d none swap sw 0 0
/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4167B_6393AFE3EB0A /mnt/ata-HL-DT-ST_DVDRAM_GSA-4167B_6393AFE3EB0A auto nosuid,nodev,nofail,x-gvfs-show,noauto 0 0
/dev/sr0 /media/cdrom udf,iso9660 user,noauto,exec,utf8 0 0
ale stále to dělá totéž, hlásí to chybu žejednotka sr0 je pouze pro čtení. Už nevím, co s tím.