Code: Select all
mint / # echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
Code: Select all
mint / # echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
sudo fsck -fvCy /dev/sda1
Code: Select all
mint@mint ~ $ sudo fsck -fvCy /dev/sda1
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
424383 inodes used (2.21%, out of 19218432)
5952 non-contiguous files (1.4%)
398 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 392971/360
48245870 blocks used (62.76%, out of 76871424)
0 bad blocks
2 large files
354332 regular files
37484 directories
57 character device files
25 block device files
0 fifos
173 links
32355 symbolic links (30841 fast symbolic links)
121 sockets
------------
424547 files
Code: Select all
sudo -i
mount /dev/sda1 /mnt
ls -lh /mnt/sbin/ldconfig.real
Code: Select all
mint@mint ~ $ sudo -i
mint ~ # mount /dev/sda1 /mnt
mint ~ # ls -lh /mnt/sbin/ldconfig.real
ls: cannot access '/mnt/sbin/ldconfig.real': No such file or directory
Code: Select all
mkdir junk
cd junk
apt-get download libc-bin
dpkg-deb -x libc-bin_2.23-0ubuntu10_amd64.deb .
cd sbin
cp -ai * /mnt/sbin
Code: Select all
mint ~ # mkdir junk
mint ~ # cd junk
mint junk # apt-get download libc-bin
E: Can't find a source to download version '2.23-0ubuntu9' of 'libc-bin:amd64'
mint junk # ls
Code: Select all
[bill@lv] ~/junk $ apt-get download libc-bin
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc-bin amd64 2.23-0ubuntu10 [641 kB]
Fetched 641 kB in 1s (558 kB/s)
[bill@lv] ~/junk $
apt policy libc-bin
showCode: Select all
mint junk # apt policy libc-bin
libc-bin:
Installed: 2.23-0ubuntu9
Candidate: 2.23-0ubuntu9
Version table:
*** 2.23-0ubuntu9 100
100 /var/lib/dpkg/status
2.23-0ubuntu3 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ls -lh /mnt/var/cache/apt/archives/libc-bin_2.23-0ubuntu10_amd64.deb
Code: Select all
libc-bin_2.19-0ubuntu6.10_amd64.deb
libc-bin_2.19-0ubuntu6.11_amd64.deb
libc-bin_2.19-0ubuntu6.13_amd64.deb
libc-bin_2.19-0ubuntu6.14_amd64.deb
libc-bin_2.19-0ubuntu6.3_amd64.deb
libc-bin_2.19-0ubuntu6.4_amd64.deb
libc-bin_2.19-0ubuntu6.5_amd64.deb
libc-bin_2.19-0ubuntu6.6_amd64.deb
libc-bin_2.19-0ubuntu6.7_amd64.deb
libc-bin_2.19-0ubuntu6.8_amd64.deb
libc-bin_2.19-0ubuntu6.9_amd64.deb
Yep, starting using the original installation CD now, Mint 17.
With the 2.19 version I then completed this successfully.WharfRat wrote: ⤴Fri Apr 20, 2018 12:00 am Works hereCode: Select all
[bill@lv] ~/junk $ apt-get download libc-bin Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc-bin amd64 2.23-0ubuntu10 [641 kB] Fetched 641 kB in 1s (558 kB/s) [bill@lv] ~/junk $
Now I was able to execute this:WharfRat wrote: ⤴Thu Apr 19, 2018 10:57 pm It seems that package was removed or something
A Hail Mary try:In the junk folder you'll see other folders e.g., user and etc.Code: Select all
mkdir junk cd junk apt-get download libc-bin dpkg-deb -x libc-bin_2.23-0ubuntu10_amd64.deb . cd sbin cp -ai * /mnt/sbin
Check if those files are missing e.g,, /mnt/etc/ld.so.conf and if they are copy them to their proper place using cp -ai.
UPDATE: You can stay in the junk folder and just cp -ai etc /mnt/etc and the same with the others
And then this:asinoro wrote: ⤴
Fri Apr 13, 2018 2:48 am
Follow this tutorial.
viewtopic.php?f=42&t=265557
When you enter your system run.
Code: Select all
sudo su
Code: Select all
grub-install /dev/sda
Code: Select all
update-grub
Code: Select all
update-initramfs -uk all
I modified the last command follow them again and from grub-install /dev/sda post the results of each command, to see the outcome. When it is finished reboot.
Without encountering the missing ldconfig file error, but still with the same result (kernel panic)After following the tutorial to get in your system from the live medium, try this.
https://community.linuxmint.com/tutorial/view/1783
If kernel panic appears again, when it boots keep down Shift or Esc key to load the grub advanced options and to choose to boot from other kernel.
Code: Select all
mint mint # mount --bind /dev /mnt/dev && mount --bind /sys /mnt/sys && mount --bind /proc /mnt/proc && chroot /mnt
Bus error
Check again and try one by one the commands like mount --bind /dev /mnt/deviegarcia wrote: ⤴Fri Apr 20, 2018 9:31 am This is new
Code: Select all
mint mint # mount --bind /dev /mnt/dev && mount --bind /sys /mnt/sys && mount --bind /proc /mnt/proc && chroot /mnt Bus error
Code: Select all
mint mint # mount /dev/sda1 /mnt
mint mint # mount --bind /dev /mnt/dev
mint mint # mount --bind /sys /mnt/sys
mint mint # mount --bind /proc /mnt/proc
mint mint # chroot /mnt
Bus error
mint mint #
Code: Select all
sudo -i
mount /dev/sda1 /mnt
mount -t proc none /mnt/proc
mount --rbind /sys /mnt/sys
mount --rbind /dev /mnt/dev
/usr/sbin/chroot /mnt /bin/bash
source /etc/profile
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
If you have any symbolic links in the
/boot
directory, delete them.