Skip navigation.
Home
Now Shipping Version 7.0

Lost my sda1, 2,3 etc... drives in /dev


Posts: 25

I've somehow managed to loose all of my sda devices. None show up in /dev at present. Therefore I can't mount my memory stick at all. I'm running Mepis 3.3.2. Is there any hope of regaining the sda devices?

drlizau's picture

sure thing

1. did this happen after reboot?
did you reboot with or without the memory stick in place?

fstab gets partly rewritten after a reboot.
there are two sections, static and dynamic.

(don't complain folks, 'cos this really a useful feature when a hard drive dies)

2. reboot machine with memory stick in place
as root
open /etc/fstab
find the /dev/sda lines and copy and paste them above the dynamic entries line
save and they will be accessible after each reboot

Or
hand make the desired entries
you can just type in a mount command as root and you can mount the device

Wow, that worked! I can now

Wow, that worked! I can now manually mount via the command:

mount /dev/sda1 -t vfat /mnt/flash

What I'd like to do from here is get hot (auto) mounting and (auto) unmounting going. I used Synaptic to install 'usbmount', but it didn't do anything that helped me here.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.