Hot answers tagged

507

I got this fixed by doing the following On your unity dash, type gnome-disks and launch the Disks application Select the disk or drive you want to format Press CTRL+F Click format. After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like ...


289

See this bug. Run this command to kill Nautilus (Files): killall nautilus


203

The problem you are describing was caused by a low-level device tool (like dd) writing blocks at the wrong size directly onto the device. To fix this, you need to re-write the device blocks to the appropriate size. This can be done with dd. Double check your output device before running the command sudo dd if=/dev/zero of=/dev/sdd bs=2048 count=32 Once ...


122

After the error message, try hitting Tab, type in live and hit Enter. This should get you to the Ubuntu desktop from where you can use the Install icon to go forward with the installation.


79

Press TAB when that happens (when you boot and the error message appears) and then you will be able to choose between options (live, live-install, ...). Type live, press ENTER and it will boot you into the live try from there you can install. I just did it last night. Some kind of systemUSB issue, no idea.


71

Make sure you have GParted installed. In a terminal window, run sudo apt install gparted Then open GParted as root (still in the terminal window): sudo gparted Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table... This will erase all the data from the stick, so be sure you don't have ...


70

Since there is no working answer yet, I post this: The problem is that the remaining space of your USB flash disk has become unallocated. To repair it, use diskpart (in windows): Open command line (cmd) and type diskpart. Allow the windows to run it. type list disk, and find the number of your USB flash disk. type select disk X, and type the number of the ...


50

In terminal: grep . /sys/bus/usb/devices/*/power/wakeup The result, for me, was to find out that all usb were disabled. So now, type: sudo su we have now root privillages. I have 8 usb ports (you do that for as many usb ports you have) ,so: echo enabled > /sys/bus/usb/devices/usb1/power/wakeup echo enabled > /sys/bus/usb/devices/usb2/power/...


47

Why this error? You probably forgot to tell mount where to mount your drive. Linux uses device files (/dev/sda, /dev/sdb1, etc.). And unlike Windows drives (C:, D:, etc.), you cannot access them directly (cd /dev/sdb1 will inevitably fail, telling you that it is not a directory but a file). If you want to open a drive with mount, you need to provide a ...


44

This is how i got it to work. When it gets the CD-ROM error, move the install USB stick from one port, to another USB port on your PC. Then retry. This worked. I don't know why. Not only that but I was reinstalling 14.04 later that night, and the CD-ROM error did not happen again. The 2nd install went without a hitch. Yes it worked for me also.


43

This is a known issue. As a workaround that does not require reinstalling unetbootin, you can run this command: sudo QT_X11_NO_MITSHM=1 unetbootin What the above command does is disable shared memory access for running this Qt based application, allowing it to work properly on GNOME. The PPA source for unetbootin in the accepted answer includes the ...


42

After booting from the Ubuntu live CD (tried 14.04 and 16.04) I was able to work around this problem by running update-grub chroot'ed to the grub partition. (Substitute /dev/sda1 below with whatever partition you installed grub on. All commands as root.) mkdir /mnt/chrootdir mount /dev/sda1 /mnt/chrootdir for dir in proc dev sys etc bin sbin var usr lib ...


41

There's much nicer solution with systemd now. You create a service which depends and is wanted by you media e.g.: /etc/systemd/system/your.service [Unit] Description=My flashdrive script trigger Requires=media-YourMediaLabel.mount After=media-YourMediaLabel.mount [Service] ExecStart=/home/you/bin/triggerScript.sh [Install] WantedBy=media-YourMediaLabel....


40

I came across this problem(isolinux.bin missing or corrupt) recently. The flash disk is made by dd, the iso file is of 12.04.3 64 bit. I fix this by change BIOS setting: change USB Flash Drive Emulation Type from 'auto' to 'hard drive'. Hope this helps.


40

If you want, you can even fix that in windows, run cmd as administrator then type diskpart list disk select disk 1 (make sure its the right one) clean (if it complains about permission, just type clean again) then just make new volume in disk management, right click on computer -> manage ->disk management


39

I tried all the ways in this thread and none worked (and seriously, the question is about specifically writing to an USB key, why would people propose copying the ISO to another partition instead ??). The solution that did the trick for me (assuming your USB drive is /dev/sdc): Run gparted Create a new partition table on sdc, type msdos Create a NTFS ...


39

Because this drive is going to be used on systems you do not control, or that are not Linux and don't otherwise support the Linux permissions scheme, you're a bit out of luck here. There's no real way to do the password protection you're looking for on a disk without specialized equipment, though, and that's usually not cost-effective as a solution (as ...


38

According to this bug report I solved it adding following lines vm.dirty_background_ratio = 5 vm.dirty_ratio = 10 into /etc/sysctl.conf and running sudo sysctl -p


38

Evidently I was wrong about being able to mount an iPhone on Ubuntu. You can perform this using the following steps on yakkety. Note, you would need the device to be jailbroken in order to load apps onto the device this way, but this method will suffice for getting media from the device. Option 1: Using a script If you want to save yourself some time, you ...


38

Here's what I found works: First, ignore all the web comments you've seen about /etc/udev/rules.d/51-android.rules. That file isn't needed. Second, skip mtp-tools. They aren't documented, and jmtpfs is far easier anyway. Install the jmtpfs package: sudo apt-get install jmtpfs Make a directory, any directory: sudo mkdir /media/myphone Connect the USB cable ...


38

For a more stable driver, try this: sudo apt install git dkms git clone https://github.com/aircrack-ng/rtl8812au.git cd rtl8812au sudo make dkms_install


37

Analysis of the problem Memory cards and USB pendrives have the same kind of hardware inside, so the same methods are relevant to both kinds of devices. The term 'drive' can refer to a USB pendrive as well as a memory card (and the memory card can be connected via a USB adapter or a built-in slot in the computer). Confusion: There is some data in the drive,...


37

Run command : sudo hp-setup -i and then follow the instruction for installation but first delete the printer that you added.


36

I think you are suffering the bug #1021375 You can workaround it by renaming the folder ~/.config/nautilus and then logout and log back in. mv ~/.config/nautilus ~/.config/nautilus-bak Logout. Login.


35

This is a known bug: https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1294877 There are several workarounds but the one that worked for me was to right click on the .iso in the file explorer and select 'Open With Disk Image Writer' and then 'restore' the ISO image to the selected USB device.


34

Edit your fstab via sudo nano /etc/fstab and add the line below UUID=0e281f8d-1117-451d-9b1b-b07405a631bc /media auto nosuid,nodev,nofail 0 0 Replace the UUID in my example above with the UUID of your partition sudo blkid /dev/sdb2 | awk -F'"' '{print $2}' Note, the entry in your fstab doesn't mount the drive if it's not present during startup.


34

My head hurts a little from all this, but hey turned out to be this bug. It's a shame to see the community take such a setback from the dismissal of Unity, and while they start over the giants like Microsoft and OS continue to progress down the road. killall nautilus Worked for me.


33

Actually, it's working! When you connect the N5X (screen unlocked) to your Linux box the N5X will default to USB charging (a security feature I think). The N5X will appear in your Linux file manager but won't show internal storage. If you pull down the notification shade on the N5X you should see it showing USB charging. If you select that you should be ...


Only top voted, non community-wiki answers of a minimum length are eligible