LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   My knoppix on pendrive can't see other drives (https://www.linuxquestions.org/questions/linux-newbie-8/my-knoppix-on-pendrive-cant-see-other-drives-4175547125/)

EduPorteņo 07-03-2015 06:04 AM

My knoppix on pendrive can't see other drives
 
I was using for months knoppix 7.4.2 with persistence on a pendrive as my main OS. Two days ago it had a fall from the table to the floor. Now it still works but I can't read nor write any drive othe than the pendrive.

PcmanFM, mc, gedit and vlc can't see them neither.
Any ideas?
Thanks.

michaelk 07-03-2015 08:40 AM

What are the other drives?

The only thing that fell to the floor was the knoppix pen drive? Nothing happened to the actual computer that the pen drive is plugged into?

The fall should not of damaged the drive itself.

jefro 07-03-2015 02:40 PM

The USB fell or the computer?

EduPorteņo 07-03-2015 02:56 PM

I'm using an Exo netbook. Partitions of the hard disk that knoppix can't see:
The partition where Windows resides.
The partition where Ubuntu resides.
A third partition.

Ubuntu's df says that they are:
/dev/sda2
/dev/sda6
/dev/sda7

My machine is:
lspci
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 3 (rev 02)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02)

EduPorteņo 07-03-2015 03:00 PM

Quote:

Originally Posted by jefro (Post 5386829)
The USB fell or the computer?

Only the USB.

michaelk 07-03-2015 03:25 PM

Post the output of the mount command (without any options)

EduPorteņo 07-03-2015 05:28 PM

Quote:

Originally Posted by michaelk (Post 5386845)
Post the output of the mount command (without any options)

Output of mount:
Code:

mount
rootfs on / type rootfs (rw,size=508156k,nr_inodes=127039)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/sdb1 on /mnt-system type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=850,iocharset=utf8,shortname=winnt,errors=remount-ro)
tmpfs on /ramdisk type tmpfs (rw,relatime,size=2097152k,mode=755)
/dev/cloop0 on /KNOPPIX type iso9660 (ro,relatime)
/dev/cloop1 on /KNOPPIX1 type iso9660 (ro,relatime)
/dev/mapper/KNOPPIX-DATA on /KNOPPIX-DATA type reiserfs (rw,relatime)
unionfs on /UNIONFS type aufs (rw,relatime,si=c1ac785b,noplink)
unionfs on /usr type aufs (rw,relatime,si=c1ac785b,noplink)
unionfs on /home type aufs (rw,relatime,si=c1ac785b,noplink)
tmpfs on /run type tmpfs (rw,relatime,size=20480k)
tmpfs on /UNIONFS/var/run type tmpfs (rw,relatime,size=20480k)
tmpfs on /UNIONFS/var/lock type tmpfs (rw,relatime,size=10240k)
tmpfs on /UNIONFS/var/log type tmpfs (rw,relatime,size=102400k)
tmpfs on /tmp type tmpfs (rw,relatime,size=2097152k)
udev on /dev type devtmpfs (rw,relatime,size=20480k,nr_inodes=127041,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime,size=2097152k)
devpts on /dev/pts type devpts (rw,relatime,mode=1777)
none on /sys/fs/cgroup type tmpfs (rw,relatime,size=4k,mode=755)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)


michaelk 07-03-2015 06:02 PM

Sorry. lsblk command is really what I wanted. If nothing changed then not sure why knoppix will not automatically mount the drives.

EduPorteņo 07-03-2015 06:51 PM

Quote:

Originally Posted by michaelk (Post 5386890)
Sorry. lsblk command is really what I wanted. If nothing changed then not sure why knoppix will not automatically mount the drives.

Output of lsblk:
Code:

lsblk
lsblk: dm-0: failed to get device path
lsblk: dm-0: failed to get device path
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0 149.1G  0 disk
├─sda1  8:1    0  100M  0 part
├─sda2  8:2    0  49.9G  0 part
├─sda4  8:4    0    1K  0 part
├─sda5  8:5    0  976M  0 part
├─sda6  8:6    0  50.4G  0 part
└─sda7  8:7    0  47.7G  0 part
sdb      8:16  1  29.3G  0 disk
├─sdb1  8:17  1  4.4G  0 part /mnt-system
└─sdb2  8:18  1    25G  0 part
zram0  252:0    0 745.6M  0 disk [SWAP]
cloop0 240:0    0  9.6G  1 disk /KNOPPIX
cloop1 240:1    0 275.9M  1 disk /KNOPPIX1


EduPorteņo 07-12-2015 07:41 AM

The problem is now solved: As my data couldn't be copied to any device I uploaded them to Drive, prepared a fresh Knoppix pendrive and the restored my data to it.
I guess that the reason was not the fall: When the pendrive fell to the floor all my eight pendrives were on the table because I was relabeling them to USB_1, USB_2 and so. Maybe Knoppix doesn't like its drive to be renamed.

Thanks to @michaelk and @jefro.

Shadow_7 07-12-2015 07:57 AM

relabeling them with paper and ink? or changing the partition information?

The only thing the fall might have done would be to change some data bits which could do unpredictable things. But if you changed the root filesystem label, systemd when the /etc/fstab is missing or wrong will mount the / partition as READ-ONLY. Which will prevent other things from happening. Like mounting a RW partition to it, or logging. You should have still been able to see the partitions though.

$ cat /proc/partitions

EduPorteņo 07-12-2015 08:24 AM

Quote:

Originally Posted by Shadow_7 (Post 5390409)
relabeling them with paper and ink? or changing the partition information?

On Ubuntu 14.04 I used the mlabel command to change labels. When some problem arose I used gparted or disks.


All times are GMT -5. The time now is 05:54 PM.