LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-05-2018, 11:39 PM   #1
gregors
Member
 
Registered: Mar 2018
Posts: 39

Rep: Reputation: Disabled
Question Problems with old system since Slackware installation


Hi there!

Recently I installed Slackware 14.2.

Since then my old Debian system refuses to mount my data collection and when I try to mount it by hand I get an "libblkid.so.1 not found" error message.

My old system didn't change the last few weeks and since I do backups from time to time I thought of just restoring the whole /lib directory. That might solve the mount problem but I'd like to know the reason why my old system can't find that library.

AFAIR the only "severe" change I did was to toggle the boot flag of one of the partitions of one hard disk (without changing anything else). Can that be the reason for the strange mount behaviour?

TIA

Gregor
 
Old 11-06-2018, 01:09 AM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 2,098

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
What is the command are you using to try and mount the drive?
 
Old 11-06-2018, 01:16 AM   #3
gregors
Member
 
Registered: Mar 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen View Post
What is the command are you using to try and mount the drive?
mount /dev/sdd1 /home/gszaktilla/dokumente/datensammlung

Regards,

Gregor
 
Old 11-06-2018, 01:36 AM   #4
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,435

Rep: Reputation: Disabled
Could you have accidentally removed it while installing or using Slackware? I think the other possibility is that something did indeed change in your Debian install.
 
Old 11-06-2018, 01:47 AM   #5
gregors
Member
 
Registered: Mar 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
Could you have accidentally removed it while installing or using Slackware? I think the other possibility is that something did indeed change in your Debian install.
I don't think so. The /lib directory still is there (lib32 and lib64, too) and it still contains a bunch of lib files. So far only that libblk* file seems to have vanished.

Regards,

Gregor
 
Old 11-06-2018, 04:08 AM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,485

Rep: Reputation: 50
I think that file is a symbolic link to another file actually.
 
Old 11-06-2018, 06:12 AM   #7
gregors
Member
 
Registered: Mar 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by satinet View Post
I think that file is a symbolic link to another file actually.
You're right, but the file it points to (libblkid.so.1.1.0) has vanished, too.

Regards,

Gregor
 
Old 11-06-2018, 08:46 AM   #8
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,435

Rep: Reputation: Disabled
I think the solution would be to find what package that file belongs to in Debian and then see why its not installed or missing files. I don't know Debian to advise more than that, but the file belongs to the util-linux in Slackware.
 
Old 11-06-2018, 09:12 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,595

Rep: Reputation: Disabled
Try "apt install libblkid1"

How to find it.
 
Old 11-06-2018, 09:54 AM   #10
mralk3
Senior Member
 
Registered: May 2015
Location: Utah, USA
Distribution: Slackware 14.2 || Slackware-current && CentOS
Posts: 1,322

Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
Quote:
Originally Posted by Didier Spaier View Post
Try "apt install libblkid1"

How to find it.
You may want to use:
Code:
apt-get install --reinstall libblkid1
This may work with apt, but I am certain it works with apt-get.

NOTE:. apt-get may reinstall all related dependencies. It might be a good idea to reinstall that package while in runlevel 3.

Last edited by mralk3; 11-06-2018 at 10:04 AM.
 
Old 11-06-2018, 10:53 AM   #11
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,142
Blog Entries: 1

Rep: Reputation: Disabled
At least post /etc/fstab of Debian, and output of 'lsblk -fs' also run on Debian. Yo may have better luck with 'udisksctl mount -b /dev/sdd1'.
 
Old 11-06-2018, 11:09 AM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,595

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
At least post /etc/fstab of Debian, and output of 'lsblk -fs' also run on Debian.
lsblk depends on libblkid, so if libblkid.so.1.1.0 is missing, lsblk won't work.
 
Old 11-06-2018, 11:49 AM   #13
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,142
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
lsblk depends on libblkid, so if libblkid.so.1.1.0 is missing, lsblk won't work.
I don't believe it is problem with missing library. Libraries don't disappear just like that. I found this trick
Code:
# ldd /sbin/mount
linux-vdso.so.1 (0x00007ffdb1775000)
libmount.so.1 => /lib64/libmount.so.1 (0x00007f60c2ba4000)
libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f60c2b54000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f60c2b4b000)
librt.so.1 => /lib64/librt.so.1 (0x00007f60c2b41000)
libc.so.6 => /lib64/libc.so.6 (0x00007f60c295e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f60c2c3d000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f60c293d000)
 
Old 11-06-2018, 12:01 PM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,595

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
Libraries don't disappear just like that.
But that's what the OP stated in post #7:
Quote:
Originally Posted by gregors View Post
You're right, but the file it points to (libblkid.so.1.1.0) has vanished, too.
 
Old 11-06-2018, 02:21 PM   #15
gregors
Member
 
Registered: Mar 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
Libraries don't disappear just like that.
Well, I don't believe that there is effect without cause :-)

What I can see is that the effect is there. It would be great if I knew the cause.

BTW:
Code:
gszaktilla@mimi:~$ cat /tmp/tmp.txt 
        linux-vdso.so.1 =>  (0x00007ffdf0dfd000)
        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f9051398000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f9051178000)
        libsepol.so.1 => /lib/x86_64-linux-gnu/libsepol.so.1 (0x00007f9050f38000)
        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f9050d10000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9050983000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f905077e000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f905057a000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f90515bf000)
gszaktilla@mimi:~$


Regards,

Gregor
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] First (real) Slackware installation - Looking for file system advice smith517 Slackware 24 01-24-2013 12:29 AM
System loading grub instead of LILO after slackware 13.37 installation LowNEpic Slackware 6 08-11-2011 03:40 AM
Slackware Operating System installation Question conductor Linux - Newbie 4 02-22-2005 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration