I have recently started learning Linux 5.0 EE and i am trying to copy the contents to the CD but i am unable to do that.Iam using "mount -t " command.so can anyone suggest me how to use this command or is there any other command to do the same

Dani AI

Generated

Quick clarification based on the thread: appears to be mixing two different tasks. Mounting a disc (what was pointing toward) makes an already‑burned CD readable so you can copy its files to your hard disk. Writing files onto a blank CD is a separate operation and uses burning tools, not mount.

If the goal is to copy files off an inserted CD (read from disc)

  • Confirm the drive and that the disc is recognized (check lsblk or kernel messages).
  • Let the desktop automounter put the disc under /media or /run/media, or mount it manually, then copy with rsync -av or cp -a to preserve attributes.
  • Remember most pressed/burned CDs use an ISO9660 filesystem and are read‑only; you cannot modify that disc in place.

If the goal is to write files to a blank CD (burning)

  • Use a burn workflow: create an ISO image from the files, then write that ISO to the blank disc, or use a GUI burner such as Brasero/K3b.
  • Example tools: genisoimage (to make an ISO) and wodim (to burn). See the tool manuals for exact options and device probing.
  • For an integrated command-line alternative, xorriso can build and write in one step.

Troubleshooting notes

  • Ensure the disc is actually writable (CD‑R or CD‑RW) and the drive supports writing.
  • Unmount any automounted session before burning.
  • Use dmesg to spot hardware or driver errors, and check the burner’s capabilities with the burn tool’s probe options (see the man pages).
  • If copying still “does nothing,” check for permission issues (use sudo where appropriate) and verify that the correct device node is used by the burning tool.

Relevant references: genisoimage manual and wodim manual for examples and device options (genisoimage, wodim).

Recommended Answers

All 3 Replies

I take it you have tried this as a user with root privileges:

mount -t iso9660 -o ro /dev/cdrom /mnt

If so can you post the error?

I take it you have tried this as a user with root privileges:

mount -t iso9660 -o ro /dev/cdrom /mnt

If so can you post the error?

I am not using iso9660 this option and it is not showing any error..

so can you post your full command line and the response and I may have a few ideas.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.