By not detected do you mean the device file /dev/sda1 is not created or you don't have an icon for it.
From a cli (console or whatever)
ls -l /dev/sda*
what does it say ????
Hi,
I am new to linux. I just installed Knoppix on to my laptop, and I'm having a problem: when I plug in an external flash hard drive, it is not detected under Hard Disk Partition (sda1).
When I run Knoppix via the boot-cd, everything works fine.
Any ideas on what is going wrong?
Thanks!![]()
By not detected do you mean the device file /dev/sda1 is not created or you don't have an icon for it.
From a cli (console or whatever)
ls -l /dev/sda*
what does it say ????
take a look in /etc/fstab.
Chances are that there will be a hash in front of the line for sda1.
as root
remove the #
run
mount -a
and all should be fine.
I have the same problem. I have used this USB drives:
- USB 1.0 Flash disk 64 Mb
- USB 2.0 Flash disk 128 mb
- USB 1.0 IDE enclosure
- USB 2.0 IDE enclosure
The USB 1.0 Flash disk 64 Mb and USB 2.0 IDE enclosure works fine with the LiveCD, but don't get recognized in the HD Installed Version. The oher two drives I wasn't unable to get working in any circumstance. I try to mount using the command line to no result
Add this line to /etc/fstab for usb support:
none /proc/bus/usb usbdevfs defaults 0 0
For my thumbdrive I have in fstab:
/dev/sda1 /mnt/sda1 vfat noauto,users,exec,umask=000,uid=markus,gid=markus 0 0
You can change vfat to auto, and markus to your login, or just remove uid and gid if you don't want to get ownership for new files:
/dev/sda1 /mnt/sda1 auto noauto,users,exec,umask=000 0 0
And as root do:
mkdir /mnt/sda1
For more than one device do: dmesg |grep sda
or: cat /var/log/syslog |grep sda
and add the devices to fstab and mountpoins to /mnt/
Hi Markus--Originally Posted by Markus
I found this thread and tried using 'mount /dev/sda1' to mount my USB thumb drive after Knoppix was already up and running, and it states that sda1 is not a valid block device. My guess is that when it's not detected at boot, the block device is not created. Maybe this is a clue to how to get it to hot-plug after boot.... What program or script detects USB drive and creates sda1 as a block device so that fstab can be used to mount it? With that piece of information, the solution to hot-plugging USB thumb drives seems like it may be close at hand....
Thanks!
C ya,
Dutch
You could try mounting with "mount /dev/sda1 /mnt/sda1" or "mount /mnt/sda1" to give it a mountpoint.I found this thread and tried using 'mount /dev/sda1' to mount my USB thumb drive
Sorry, don't know the script. I get it hotplugged and didn't do much anything for it.What program or script detects USB drive and creates sda1 as a block device so that fstab can be used to mount it?
When I do lsmod without plugging the thumbdrive in i get a.o.t. usb-uhci and usbcore.
But when I plug it in I also get usb-storage.
You could try "modprobe usb-storage" and plug it in or vice versa, but try mounting with the mountpoint first.
Markus--Originally Posted by Markus
I tried it, but unfortunately it still claims sda1 is not a valid block device.
Modprobe runs with no error, but it still doesn't mount as sda1 is still not a valid block device. I guess that figuring out how to make sda1 a valid block device after booting is the key. Thanks for your help!Originally Posted by Markus
C ya,
Dutch
Have you tried "mount /dev/sda to whatever"? I.e. leaving off the 1.
Champagnemojo--Originally Posted by champagnemojo
I'll try that and see what happens....
Thanks!
C ya,
Dutch

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00
Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99
Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00
Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$94.95
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99