cd interview questions

Top 15 cd interview questions

Are there any Live CD versions of Ubuntu any more?

Is there a CD version that lets you boot without changing anything on the HD's? Everything I find is to big to fit a 700MB CD.

I have an old server that crashed and it only has a CD ROM. I've tried using the USB ports but no luck.

Source: (StackOverflow)

What's the difference between "cd ../" vs. "cd /.."?

What do these two commands mean?

cd ../
cd /..

I am ending up in two directories upwards the tree on the first command and in the root directory from the second command. Why does that happen?

Source: (StackOverflow)

How to rip CDs in FLAC format using Banshee?

By default Banshee rips CDs in Ogg Vorbis format. I prefer to rip my CDs in FLAC format. I can't find a setting anywhere to make Banshee rip to FLAC.

Is this possible? How do I do it?

Source: (StackOverflow)

Burning CD stuck at 100% Creating image checksum

Burning data CD using brasero get stuck at 100% and the dialog box only show Creating image checksum, empty progress bar, and a cancel button, and the disk is not spinning anymore in my cd writer. Simply click cancel will make the cd blank, i have try with some new an used CD-RW disc but stilk no luck. I'm on Raring.

Source: (StackOverflow)

Cannot view, use, or open CDs or DVDs in Ubuntu 12.04

I am fairly new to Ubuntu 12.04 and I have encountered a rather irritating problem. Whenever I insert a CD or DVD (whether it have data, music, movies, or nothing at all), nothing pops up saying "you have inserted a CD", "play with Rhythmbox?" etc. It doesn't show the CD in the launcher/dock or anything of the sort. This is especially peculiar because not only do I have a standard IDE built-in optical drive, but I have an external USB optical drive. Neither work. In addition, whenever I go to "Computer///" and I click (double click, right click, or even left click) on "CD/DVD Drive" nothing happens, when I right click and select "Open" nothing happens either [for either of the two drives (both are listed in Computer///)] And if I insert a blank disk and go to a disk burning program such as Brasero, and try to burn to the drive it detects no CDs or DVDs of any kind.

I'm rather stumped and can't seem to find a question similar to this. :(

Thanks for all your help in advance!! :) ~Preston

Output of sudo lshw

               description: DVD-RAM writer
               product: CD/DVDW TS-H652M
               vendor: TSSTcorp
               physical id: 0.0.0
               bus info: scsi@5:0.0.0
               logical name: /dev/cdrom
               logical name: /dev/cdrw
               logical name: /dev/dvd
               logical name: /dev/dvdrw
               logical name: /dev/sr0
               version: 0414
               capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
               configuration: ansiversion=5 status=nodisc

         description: DVD reader
         product: DVD Writer 300n
         vendor: HP
         physical id: 0.0.0
         bus info: scsi@4:0.0.0
         logical name: /dev/cdrom2
         logical name: /dev/cdrw2
         logical name: /dev/dvd2
         logical name: /dev/sr1
         version: 1.25
         serial: [
         capabilities: removable audio cd-r cd-rw dvd
         configuration: status=nodisc

Source: (StackOverflow)

Can you tell whether I have a hardware or software problem with a DVD-ROM drive?

Trying to copy the content of a DVD on a Asrock ION 330 running Maverick, i.e. with:

dd if=/dev/sr0 of=dvdcopy

...I get errors in /var/log/messages:

Jan 15 17:18:15 asrock kernel: [ 2616.445966] sr 1:0:0:0: [sr0] Unhandled sense code
Jan 15 17:18:15 asrock kernel: [ 2616.445975] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jan 15 17:18:15 asrock kernel: [ 2616.445984] sr 1:0:0:0: [sr0] Sense Key : Medium Error [current]
Jan 15 17:18:15 asrock kernel: [ 2616.445994] sr 1:0:0:0: [sr0] Add. Sense: Id CRC or ECC error
Jan 15 17:18:15 asrock kernel: [ 2616.446004] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 02 00 00 02 00

I'd tell it is a hardware problem, but it happens with various DVDs and on a second PC, also running Maverick... Both the PCs previously ran Lucid, same problems.

Edit: the DVD-ROMs are proven working on my brother's PC.

Edit #2: I'd like also hints about what to look for on Google.. thanks!

Source: (StackOverflow)

Does Ubuntu store data of external media/drives?

I keep confidential data (docs, spreadsheets, images, etc) on USB sticks or discs. I plug/insert them to access the data when I need, and put them back in a drawer when I'm done.

  1. Does Ubuntu store this data (in cache, or somewhere else)

If yes...

  1. Where?
  2. For how long?
  3. How to delete this from Ubuntu?
  4. How to stop Ubuntu storing this data in the first place?

p.s.: I'm already aware of the cache directory to store image thumbnails, but I'm asking now in terms of the entire file being stored. Thanks.

Source: (StackOverflow)

How to check if a cdrom is in the tray remotely (via ssh)?

I have a server running Ubuntu 10.04 (it's on the other side of the world and I haven't built up the wherewithal to upgrade it remotely yet) and I have been told that there is a CD in one of it's two CD drives. I want to rip an image of the cd and then download it to my local computer (I don't need help with either of these steps).

However, I cannot seem to confirm whether or not there actually is a CD in the drive as I was told. It did not automatically mount anywhere (which I'm thinking might just be a result of it being a headless server not running X, nautilus, or any of the other nice user friendly things).

There are two CD drives connected via SCSI:

austin@austinvpn:/proc/scsi$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: WDC WD400EB-75CP Rev: 06.0
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: Lite-On  Model: LTN486S 48x Max  Rev: YDS6
  Type:   CD-ROM                           ANSI  SCSI revision: 05
Host: scsi1 Channel: 00 Id: 01 Lun: 00
  Vendor: SAMSUNG  Model: CD-R/RW SW-248F  Rev: R602
  Type:   CD-ROM                           ANSI  SCSI revision: 05

However when I try mounting either of these devices (and every other device that could possibly be the cd-drive), it says no medium found:

austin@austinvpn:/proc/scsi$ sudo mount -t iso9660 /dev/scd1 /cdrom
mount: no medium found on /dev/sr1
austin@austinvpn:/proc/scsi$ sudo mount -t iso9660 /dev/scd0 /cdrom
mount: no medium found on /dev/sr0
austin@austinvpn:/proc/scsi$ sudo mount -t iso9660 /dev/cdrom /cdrom
mount: no medium found on /dev/sr1
austin@austinvpn:/proc/scsi$ sudo mount -t iso9660 /dev/cdrom1 /cdrom
mount: no medium found on /dev/sr0
austin@austinvpn:/proc/scsi$ sudo mount -t iso9660 /dev/cdrw /cdrom
mount: no medium found on /dev/sr1

Here are the contents of my /dev folder:

austin@austinvpn:/proc/scsi$ ls /dev
agpgart          loop6               ram6      tty10  tty38  tty8
austinvpn        loop7               ram7      tty11  tty39  tty9
block            lp0                 ram8      tty12  tty4   ttyS0
bsg              mapper              ram9      tty13  tty40  ttyS1
btrfs-control    mcelog              random    tty14  tty41  ttyS2
bus              mem                 rfkill    tty15  tty42  ttyS3
cdrom            net                 root      tty16  tty43  urandom
cdrom1           network_latency     rtc       tty17  tty44  usbmon0
cdrw             network_throughput  rtc0      tty18  tty45  usbmon1
char             null                scd0      tty19  tty46  usbmon2
console          oldmem              scd1      tty2   tty47  usbmon3
core             parport0            sda       tty20  tty48  usbmon4
cpu_dma_latency  pktcdvd             sda1      tty21  tty49  vcs
disk             port                sda2      tty22  tty5   vcs1
dri              ppp                 sda5      tty23  tty50  vcs2
ecryptfs         psaux               sg0       tty24  tty51  vcs3
fb0              ptmx                sg1       tty25  tty52  vcs4
fd               pts                 sg2       tty26  tty53  vcs5
full             ram0                shm       tty27  tty54  vcs6
fuse             ram1                snapshot  tty28  tty55  vcs7
hpet             ram10               snd       tty29  tty56  vcsa
input            ram11               sndstat   tty3   tty57  vcsa1
kmsg             ram12               sr0       tty30  tty58  vcsa2
log              ram13               sr1       tty31  tty59  vcsa3
loop0            ram14               stderr    tty32  tty6   vcsa4
loop1            ram15               stdin     tty33  tty60  vcsa5
loop2            ram2                stdout    tty34  tty61  vcsa6
loop3            ram3                tty       tty35  tty62  vcsa7
loop4            ram4                tty0      tty36  tty63  vga_arbiter
loop5            ram5                tty1      tty37  tty7   zero

And here is my fstab file:

austin@austinvpn:/proc/scsi$ 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
/dev/mapper/austinvpn-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=ed5520ae-c690-4ce6-881e-3598f299be06 /boot           ext2    defaults        0       2
/dev/mapper/austinvpn-swap_1 none            swap    sw              0       0

Am I missing something/doing something wrong, or is there just no CD in the drive or is the drive possibly broken? Is there any nice command to list devices with mountable media?

Thanks in advance for any help!

Source: (StackOverflow)

Why are there no alternate CDs? [duplicate]

This question already has an answer here:

In trying to download the latest release, I see there are no alternate CDs available. Previously I have needed them in order to install with a linux software raid root. Does the lack of alternate CDs mean that all of those features are within the others? or have they not been finished yet?

I ideally wanted a kubuntu alternate CD but I see there is not an ubuntu one either.


Source: (StackOverflow)

How can I disable the autostart of Brasero when I insert a blank CD/DVD?

When a blank media inserted, the burning tool automatically started. Is there a way to disable that feature?

Source: (StackOverflow)

How to 'cd' to a directory found with 'find'?

I have a file in gmai.rb in the below directory:

root@ubuntu:~# find / -name gmail.rb|more


But when i am trying to reach to the Rubyscript using cd getting error as:

$ cd Rubyscript
bash: cd: Rubyscript: No such file or directory

Can anyone help me by saying what the bad I did? :(

Source: (StackOverflow)

How can I cd to a directory without writing its name?

Sometimes it’s annoying to access a directory with the folder name. Say I have a directory named a b c d. Apart from using Tab, is there any way to access the folder without typing the name of the directory?

I know that Linux has a unique identifier every particular file. Can I use this to access the folder? I don’t know whether this can be actually done or how to do it.

I that think when Linux implements a filesystem, it compares two directory names’ uniqueness. So each directory must be unique in a space. But I think that it’s like a primary key in a database system. Is the primary key the name of the directory or is there some other unique identifier (perhaps some numbers stored “under the hood”)?

Try to think of this like a process. If you execute the command ps on a terminal, it outputs a process list with the name and number of each process. You have to call that process with the process number. Similarly, is there a number for a directory so that you could call the directory with its number instead of calling it with its name?

On further investigation, I have found that each directory has a unique inode. However, I have not so far found any built-in command to access a directory by its inode.

Source: (StackOverflow)

How do I banish the "You have just inserted an Audio CD." dialog forever?

Sometimes when I insert an audio CD I get a dialog that says "You have just inserted an Audio CD. Choose what application to launch." It doesn't show up for every CD... probably something like once for every 5 CD insertions.

Every single time I select "Do Nothing" and ensure that the "Always perform this action" checkbox is checked. I assume the point of the checkbox is to let me make the decision once and for all, but this dialog continues to reappear periodically.

Source: (StackOverflow)

How to verify that the ISO I downloaded is bootable before I burn it?

How can I check to make sure that the iso I downloaded is bootable, before I burn it?

Source: (StackOverflow)

How can I make a live CD/DVD from my harddisk installation?

How can I make a live CD/DVD from my harddisk installation?

In other words, I would like to create a boot CD from Ubuntu that is installed on my PC, because I want to include the updated packages in it.

Is it possible?

Source: (StackOverflow)