Using a USB cannot increase the RAM in such a manner as to ONLY increase the swap file, plus the read/write times are decreased by the USB 480mb transfer limitations. If you want to experience an increase in performance use 'zRam'. This adds a special file to your existing system and increases the system's virtual memory. With a bootable Ubuntu USB stick, you can: Install or upgrade Ubuntu. Test out the Ubuntu.
In the world of USB computer peripherals, almost everyone uses some sort of USB devices in their computer. These days there are USB webcams, USB hard drives, USB stick also known as PenDrive etc. Almost every device has a USB version of it. So if you’re using Linux, listing what USB device is connected to your system might be necessary at some point.
There are many programs and many ways to list USB devices on Linux.
In this article, I will show you how to list USB devices on Linux. I am using Ubuntu 18.04 Bionic Beaver for the demonstration, but these commands are available on every Linux distribution. So let’s get started.
Listing USB Devices using lsusb Command
The widely used lsusb command can be used to list all the connected USB devices in Linux.
As you can see from the output of the lsusb command in the screenshot below, all the connected USB device is listed. The Bus ID, Device ID, USB ID, and a title is displayed in the output of lsusb command.
As you can see in the marked section of the screenshot below, Realtek Semiconductor Corp. with ID 0bda:57cb, this is my USB Webcam.
You can’t tell that it’s a Webcam by looking at the output of lsusb command, Can you? Nope! So how do I know this? It’s because I checked the output of the lsusb command before and after connecting the USB Webcam and once I compared the outputs, the newly added row is the USB device I connected. Plain! But there are ways to find out what the USB device is.
You can use the dmesg command to find out more information about the connected USB devices. The last connected USB device is the easiest to find with dmesg command. It is more widely used for debugging purpose. You will shortly see why.
You run dmesg command as follows:
As you can see in the yellow marked box in the screenshot below, these are information about the USB device I connected last, which was my USB Webcam. You can see in one of the blue marked box, the USB device I connected is a HD UVC WebCam and its ID is 0bda:57cb.
By now you may have found out that the output of dmesg command is system log messages. Well yes, it is.
You can also search for a specific USB device by its ID in the dmesg system log.
Run the following command to open the output of dmesg command with less text pager:
You should see the following window:
Now to search for a string, press / key on your keyboard. Delcam crispin rapidshare library. And you should the a / appear on the bottom of terminal window as marked in the screenshot below.
Now type in the USB device ID. For example, earlier when I listed the connected USB devices with lsusb command, one of the USB device had ID 0bda:57cb
Type in the USB Device ID and press <Enter>. As you can see in the marked section of the screenshot below, the search string is marked white.
You may press <Up> and <Down> arrow keys to navigate up and down and read through it. Lego marvel superheroes 2 download. You should find a lot of information about that USB device as you can see in the marked section of the screenshot below.
Listing USB devices with usb-devices Command
You can run the following command to list all the connected USB devices of your system:
As you can see in the screenshot below, all the connected USB devices are listed. we can find out pretty much the same information as before with usb-devices command.
Listing Block USB Devices
If you want to list all the USB block storage devices, that is all the USB storage devices, then you can use the lsblk or fdisk command to do so.
Listing USB block storage devices with lsblk:
As you can see in the screenshot below, all the available block storage devices (including the USB block storage devices) are listed.
You can get almost the same information as lsblk command with blkid command. But you have to run it as root as follows:
You can also use fdisk command to list all the USB block storage devices as follows:
As you can see in the screenshot below, the connected block storage devices (including the USB devices) are listed.
Ubuntu Linux Usb Boot
That’s how you list all the USB devices on Linux. Thanks for reading this article.
This is a step by step tutorial shows you how to install the real Ubuntu OS on USB stick to create a ‘Windows To Go’ style USB drive. Tested with Ubuntu 14.04
Requirements:
Before getting started, you need to prepare something:
A 8GB+ USB Drive.
A Ubuntu Live CD/DVD/USB. In the case below, I created a bootable Ubuntu Live USB from the .iso image.
A computer with an operating system installed.
And always backup your data on the USB flash drive!
To get started:
In my case I have a newly bought 16GB USB stick, a 4GB old USB stick, and a laptop multi-boot with Ubuntu based systems.
1. I don’t have a Ubuntu CD/DVD, so I decided to burn the Ubuntu .iso image into the old USB stick. To do so:
Download Ubuntu image: releases.ubuntu.com
Download UNetbootin: unetbootin.sourceforge.net. For Ubuntu, install it from Software Center.
Plug in the USB stick.
Start UNetbootin, and burn the .iso image into USB
If you need more hints, follow this screenshot tutorial to create bootable Ubuntu Live USB
2. Plug in the bootable USB drive to your computer and boot into the Live Ubuntu system.
IMPORTANT: For Windows 8 pre-installed machine, you have to disable “fast startup” and “secure boot” features.
To disable “fast startup”, go to Control Panel > Hardware and Sound > Power Options > System Settings > Choose what the power buttons do and uncheck the Turn on fast startup box.
To disable “secure boot”, follow this screenshot tutorial.
3.Stylus bt bold font. Now you’re in the Ubuntu Live system. Plug in the 8GB+ USB stick. Then launch Gparted from the Unity Dash.
In the top-right drop-down box select the USB drive (16GB in my case), and you should see something like below:
I have two USB flash drives plugged in the computer, the Hard Disk is /dev/sda, 4GB Live USB is /dev/sdb, and the 16GB USB drive is /dev/sdc.
4. From the right-click context menu, un-mount partitions on the USB drive and then delete them.
Click the green check mark button to apply changes, finally you have an unallocated flash drive, like:
When done, close Gparted partition manager.
5. Click the desktop shortcut “Install Ubuntu” to bring up the Ubuntu installation wizard.
Follow the wizard until it asks you to choose where to install Ubuntu. Select the last option “Something else” and click Continue to bring up partition table.
6. In the partition table, scroll down and highlight the “free space” under the USB drive (/dev/sdc in the case) and click the plus sign to create below partitions one by one:
a FAT32 (or fat16) partition (required)
must be /dev/sdc1 (or sdX1)
mount point /NAME_HERE (/UDISK in the case)
set the memory size by yourself, it can be used for normal data storage.
leave others default.
a EXT4 partition for Ubuntu (required)
mount point “/” (without quotes)
memory size 5G+
leave others default.
a swap partition (optional).
You can skip this if RAM is large enough and you don’t need hibernation feature.
Linux Ubuntu Usb Drive
And very important is select install boot-loader to the USB flash drive (/dev/sdc in the case).
Ubuntu Linux Download To Usb
7. When everything’s done, click Install Now and confirm to format the partitions (Pay attention on which partitions to be formatted).
Installing Ubuntu On Usb Stick
Click continue and finish the wizard. Once the installation complete, restart your computer and boot with the ‘Ubuntu To Go’ USB drive and enjoy!