EzDev.org

cd interview questions

Top 15 cd interview questions

4373 Jobs openings for cd


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 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 '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

/media/aruprakshit/FA686DE4686DA05D/Rubyscript/gmail.rb

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)

Ripped mp3 files show wrong track lengths

I have seen this problem both when using Banshee and Sound Juicer. I'm using Ubuntu 12.04 on a Thinkpad 14". I'm not sure about the make of my internal CD drive, but would be glad to provide you with that information if someone tells me how to. I have not had access to an external CD drive so that I could tell if the problem is my internal CD drive.

Anyway, the problem: The mp3 files I have ripped show wrong lengths. For example when I ripped Peacebone by Animal Collective, which's length is 5:13, the file was 25 minutes long, according to my phone and banshee. The players skip to the next song before playing the whole 25 minutes. However, I'm not comfortable not knowing if I'm listening to the whole thing or the real length of the song.

This far the problem has disappeared on a second rip, although the file lengths are still occasionally a few seconds longer than they're supposed to be.


Source: (StackOverflow)

Is there a way to burn Ubuntu on a CD ROM? [duplicate]

This question already has an answer here:

I was trying to install Ubuntu on an older laptop which doesn't have a DVD ROM or a USB boot capabilities. Is there an option to burn the image files to a Cd ROM? I am pretty sure that the size of the image file may be slightly larger to fit on a CD ROM. Is there a way to split the image files and use two CD Roms instead?


Source: (StackOverflow)

How to install Windows 7 inside Virtualbox of Ubuntu?

I have already dual systems : Windows 7 and Ubuntu installed on my laptop. The Windows 7 had been installed when I bought this laptop, and I don't have a CD.

I just installed VitrualBox under Ubuntu, hoping that I could install another Windows in this virtual machine, so that I could run some applications of Windows even under Ubuntu.

But it seems that I need a CD or ISO of Windows to boot inside this virtual machine. Otherwise, there is an error: FATAL: No bootable medium found! System halted. My question is where I could find a CD or ISO?

At the moment, I am downloading ISO from this page, but do not know if it will work. By the way, I am not sure if I should pick the 32-bit or 64-bit? As my CPU is 64-bit but my Ubuntu is i386.

Could anyone help? Thank you very much.


Source: (StackOverflow)

Is it possible to install without a CD or USB drive? [duplicate]

This question already has an answer here:

I've got a friend who wants to try Ubuntu on his netbook, but doesn't have a USB drive he can use, and of course the netbook doesn't have a CD drive. Is it possible for him to install Ubuntu?


Source: (StackOverflow)

How can I rip an audio CD to an ISO image?

It seems I have found directions for using brasero to rip a CD to .iso file, but according to that, brasero is three(3) kinds of broken.

  1. recording image as cdrdao does not work, even after reinstalling both brasero and cdrdao. Brasero closes (crashes?) with assertion error.
  2. same with trying to rip to a .cue file.
  3. There is no option for ripping to a .iso file.

What gives? I mean, what should I do? I really want .cue and .iso files, but I don't know what to think about cdrdao. Thanks.

Update: This is an audio CD. Do those make good .iso files?


Source: (StackOverflow)

How can I run an executable from a CD when it doesn't have the executable bit set?

A textbook I'm using came with a CD containing a few supplementary applications. To my pleasant surprise, it appears to include an installer for Linux.

The readme file on the CD provides the following installation instructions:

PC: Linux

  1. Double-click on the folder 'LINUX'
  2. Double-click on the file 'INSTALL.BIN'
  3. Follow instructions on screen.

But doing this just produces the following error message:

Could not display "/media/BDH DE/linux/install.bin". The file is of an unknown type

Attempting to run the installer via the command line results in a permissions error:

ak@aux:~$ ls /media/BDH\ DE/
linux  os x  readme.txt  windows xp  windows xp - no java
ak@aux:~$ ls -l /media/BDH\ DE/linux/
total 41177
-rw-r--r-- 1 ak ak 42164549 2005-07-26 03:39 install.bin
ak@aux:~$ /media/BDH\ DE/linux/install.bin
bash: /media/BDH DE/linux/install.bin: Permission denied

While, to my disappointment, the message fails to inform me of what permissions I am lacking, a quick glance at the output of ls reveals that the installer has not been marked executable.

How do I run it?


The type of the file is:

ak@aux:~$ file /media/BDH\ DE/linux/install.bin
src/bdh-de/install.bin: POSIX shell script text executable

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)

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.

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)

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)

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)

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)