New answers tagged disk
This is how you add another virtual hard disk to a VM in VirtualBox. Go into the VirtualBox Manager and make sure both VMs are shut down Right-click on the VM in question and pick Settings Go into the Storage category Select the controller on which you want to connect the virtual hard disk Click the "Add attachment" button and select "Add hard disk" from ...
See if it's in /dev/disk/by-id/ which contains links to devices and partitions including brand and serial number. For example /dev/disk/by-id/ata-WDC_WD15EARS-00MVWB0_WD-WMAZA1856149-part1. If knowing the /dev/sdX name is important, you can get it with readlink. $ readlink -f /dev/disk/by-id/ata-WDC_WD15EARS-00MVWB0_WD-WMAZA1856149 /dev/sdi
Retrieve the drive serial number with smartctl -i /dev/sdX? Or use the scsi_id --whitelisted --replace-whitespace /dev/sdX command which is used by udev to generate the /dev/disk/by-id/ symlinks. Be careful when you have FC multipathing as you can (should) find the same disk/LUN on multiple paths.
Since from the screenshot it would appear that you're able to see the CDROM device I'd drop to a terminal and run this command to find out the path that the CDROM device is being mounted at. As others have said most of the distros are using /media as some form of the mount point for removable media. I'm on Fedora 19 but this method should work the same for ...
What is your host OS? When you run ElementaryOS guest, click Device menu, then Install guest additions, which should download the ISO (maybe it already did). Either way, that ISO gets mounted to /media or /mnt. Sorry for adding an answer, I can't comment for now, low reputation.
Thanks to @Mat: # mkdir -p /mnt/ram # mount -t ramfs -o size=20m ramfs /mnt/ram
Use this command: ls -l /sys/block/sd* | sed 's/.*\(sd.*\) -.*\(ata.*\)\/h.*/\2 => \1/' On my system this produces the output: ata1 => sda ata2 => sdb ata3 => sdc ata4 => sdd ata7 => sde ata8 => sdf This will work even if all disks have the same drive model (between those 6 disks there are only two different models). Note that ...
Turns out doing the mapping was easier than I realized. dmesg | grep ata2 | head gives the kernel's mapping of the drive during the boot process. Or you could just go for ata2.00 right away. [ 2.448300] ata2: SATA max UDMA/133 abar m1024@0xfeb0b000 port 0xfeb0b180 irq 19 [ 2.940139] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ ...
Top 50 recent answers are included