The commands I've issued a
Code:
sudo mkdir /media/USBSSD sudo mount -t auto /dev/sda1 /media/USBSSD sudo chmod 777 /media/USBSSD sudo mkdir /media/USBSSD/share
How can I set it up so that other users can write to it?
sudo mkdir /media/USBSSD sudo mount -t auto /dev/sda1 /media/USBSSD sudo chmod 777 /media/USBSSD sudo mkdir /media/USBSSD/share
sudo pacman -S plex-media-server-plexpass
sudo pacman -U https://downloads.plex.tv/plex-media-server/0.9.11.17.986-269b82b/plexmediaserver-0.9.11.17.986-269b82b.x86_64.rpm
error: failed retrieving file 'plexmediaserver-0.9.11.17.986-269b82b.x86_64.rpm.sig' from downloads.plex.tv : the requested URL returned error: 404 warning: failed to download https://downloads.plex.tv/plex-media-server/0.9.11.17.986-269b82b/plexmediaserver-0.9.11.17.986-269b82b.x86_64.rpm.sig loading packages... error: '/var/cache/pacman/pkg/plexmediaserver-0.9.11.17.986-269b82b.x86_64.rpm' : package missing required signature.
sudo ./file.sh
./file.sh
sudo chmod 777 ./file.sh
chmod 777
sudo chmod 777
root@delarocha-> mount /dev/sr0 /media/cd mount: /dev/sr0 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. root@delarocha-> umount /dev/sr0 umount: /dev/sr0: not mounted root@delarocha-> umount /media/cd umount: /media/cd: not mounted root@delarocha-> umount /media/cdrom umount: /media/cdrom: not mounted
root@delarocha-> dmesg | tail [ 1536.299777] sr 1:0:0:0: [sr0] [ 1536.299804] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 1536.299809] sr 1:0:0:0: [sr0] [ 1536.299814] Sense Key : Illegal Request [current] [ 1536.299820] sr 1:0:0:0: [sr0] [ 1536.299824] Add. Sense: Logical block address out of range [ 1536.299829] sr 1:0:0:0: [sr0] CDB: [ 1536.299832] Read(10): 28 00 00 00 00 00 00 00 01 00 [ 1536.299846] end_request: I/O error, dev sr0, sector 0 [ 1536.299915] EXT4-fs (sr0): unable to read superblock
web@delarocha-> dd if=/dev/sr0 of=~/Downloads/xubuntu-14.04.1-desktop-amd64.iso 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000377316 s, 0.0 kB/s
web@delarocha-> dd if=/dev/sr0 of=~/Videos/The\ Hobbit/The\ Hobbit\ The\ Desolation\ of\ Smaug.mp4 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000377179 s, 0.0 kB/s
Linux delarocha 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux
sr0 11:0 1 2K 0 rom
# /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> /dev/mapper/delarocha-root / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=5bbedec0-6e3d-4185-91e0-292a72585908 /boot ext2 defaults 0 2 /dev/mapper/delarocha-swap_1 none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
michael [ ~ ]$ sudo fdisk -l [sudo] password for michael: Disk /dev/sda: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x38431b10 Device Boot Start End Blocks Id System /dev/sda1 2048 1464322047 732160000 7 HPFS/NTFS/exFAT /dev/sda2 1464322048 2930272255 732975104 7 HPFS/NTFS/exFAT Disk /dev/sdb: 256.1 GB, 256060514304 bytes 255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000656a3 Device Boot Start End Blocks Id System /dev/sdb1 2048 33560575 16779264 82 Linux swap / Solaris /dev/sdb2 * 33560576 75505663 20972544 83 Linux /dev/sdb3 75505664 500117503 212305920 83 Linux Disk /dev/sdc: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000da346 Device Boot Start End Blocks Id System /dev/sdc1 * 2048 499711 248832 83 Linux /dev/sdc2 501758 1465147391 732322817 5 Extended /dev/sdc5 501760 1465147391 732322816 8e Linux LVM michael [ ~ ]$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdc5 ubuntu1-vg lvm2 a-- 698.39g 0 michael [ ~ ]$ sudo lvdisplay /dev/ubuntu1-vg --- Logical volume --- LV Path /dev/ubuntu1-vg/root LV Name root VG Name ubuntu1-vg LV UUID StErnb-Mtop-NaEy-faw4-wNk0-bY5I-6ARBmI LV Write Access read/write LV Creation host, time ubuntu1, 2014-08-12 18:45:21 +0900 LV Status NOT available LV Size 694.39 GiB Current LE 177765 Segments 1 Allocation inherit Read ahead sectors auto --- Logical volume --- LV Path /dev/ubuntu1-vg/swap_1 LV Name swap_1 VG Name ubuntu1-vg LV UUID 62DxMC-qLAo-6cU9-kA5H-kNoL-7B4t-1ZCQcK LV Write Access read/write LV Creation host, time ubuntu1, 2014-08-12 18:45:21 +0900 LV Status NOT available LV Size 4.00 GiB Current LE 1024 Segments 1 Allocation inherit Read ahead sectors auto michael [ ~ ]$ mount /dev/ubuntu1-vg/root /mnt mount: only root can do that michael [ ~ ]$ sudo mount /dev/ubuntu1-vg/root /mnt mount: special device /dev/ubuntu1-vg/root does not exist