You are not logged in.

#1 2016-02-21 09:55:24

cer_nagas
Member
Registered: 2015-07-01
Posts: 25

Can't detect USB. Only /dev/sdb showned

Hi I plugged in USB but cannot mount or format or do anything with it.

sudo fdisk -l

Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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
Disklabel type: gpt
Disk identifier: F8AEA4D1-7606-40AC-AC43-190C568A9602

Device       Start       End   Sectors   Size Type
/dev/sda1     2048   2099199   2097152     1G EFI System
/dev/sda2  2099200   6293503   4194304     2G Linux swap
/dev/sda3  6293504 250069646 243776143 116.2G Linux root (x86-64)


Disk /dev/sdb: 64 MiB, 67108864 bytes, 131072 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

lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk 
├─sda1   8:1    0     1G  0 part /boot
├─sda2   8:2    0     2G  0 part [SWAP]
└─sda3   8:3    0 116.2G  0 part /
sdb      8:16   1    64M  0 disk 

df -h

Filesystem      Size  Used Avail Use% Mounted on
dev             2.9G     0  2.9G   0% /dev
run             2.9G  612K  2.9G   1% /run
/dev/sda3       115G   28G   82G  26% /
tmpfs           2.9G   96K  2.9G   1% /dev/shm
tmpfs           2.9G     0  2.9G   0% /sys/fs/cgroup
tmpfs           2.9G  8.0K  2.9G   1% /tmp
/dev/sda1      1022M   63M  960M   7% /boot
tmpfs           589M   16K  589M   1% /run/user/1000
overlaid        589M   16K  589M   1% /run/user/1000/cer-chromium

Offline

#2 2016-02-21 10:35:48

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can't detect USB. Only /dev/sdb showned

It doesn't seem to have a partition table.

You can still format the entire device without a partition table if you wish, it is even possible to embed GRUB into a btrfs filesystem and boot from such a device (EDIT: perhaps not with 64MiB though).

Or simply create a new partition table on the device.

Last edited by Head_on_a_Stick (2016-02-21 10:36:54)


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB