目前分類:Linux (2)

瀏覽方式: 標題列表 簡短摘要

the librt.so.1 share liberary missing after update or remove some ubuntu application, the below is a way to rescuse ubuntu boot up failure issue.

1.Boot from installation medium(live cd)

2.Mount your problematic Ubuntu root filesystem with file manager by clicking on the drive icon in the Devices section

mount in Caja

If unsure which partition to mount then check it with Disks (gnome-disks) utility and mount it from here:

mount from Disks

4. go to download the missing liberaries by here (debian packet searchig website) or http://http.us.debian.org/debian/pool/main/g/glibc/

#mkdir ~/tmp; cd ~/tmp
#wget http://http.us.debian.org/debian/pool/main/g/glibc/libc6_2.31-13+deb11u3_i386.deb    or
#wget http://http.us.debian.org/debian/pool/main/g/glibc/libc6_2.31-13+deb11u5_i386.deb
#wget http://ftp.us.debian.org/debian/pool/main/g/glibc/libc6_2.31-13+deb11u3_amd64.deb  or
#wget http://http.us.debian.org/debian/pool/main/g/glibc/libc6_2.31-13+deb11u5_amd64.deb
#dpkg -x libc6_2.31-13+deb11u3_amd64.deb /media/to/your/topdir of problemic rootfs/

Check that above operation do not have errors and then reboot.

 


文章標籤

horace papa 發表在 痞客邦 留言(0) 人氣()

Example1

/ {
    #address-cells = <0x1>; //在 root node下使用1个u32来代表address, root node use 1 u32 to present address. 
    #size-cells = <0x0>; // 在root node下使用0个u32来代表size, root node have 0 to present address length.
    ...
    ...
    memory {        // memory device
        ...
        reg = <0x90000000>;
            // 0x90000000是存取memory的address // 0x90000000 is a u32 address, no address length 
        ...
    };
    ...
    ...
}

Example2

/ {
    #address-cells = <0x1>; //在root node下使用1个u32来代表address。// address format is one u32 
    #size-cells = <0x1>; //在root node下使用1个u32来代表size。 // the address is one u32 length.
    ...
    ...
    memory { // memory device
        ...
        reg = <0x90000000 0x800000>;
            // 0x90000000 是存取 memory 的 address //0x90000000
            // 0x800000 是 memory 的 size。
        ...
    };
    ...
    ...
}

Example3

/ {
    #address-cells = <0x2>; // 在root node下使用2个u32来代表address。
    #size-cells = <0x1>; // 在root node下使用1个u32来代表size。
    ...
    ...
    memory { // memory device
        ...
        reg = <0x90000000 00000000 0x800000>;
            // 0x90000000 00000000 是存取memory的address
            // 0x800000 是memory的size。
        ...
    };
    ...
    ...
}

 


Example4

/ {
    #address-cells = <0x2>; // 在root node下使用2个u32来代表address。
    #size-cells = <0x2>; // 在root node下使用2个u32来代表size。
    ...
    ...
    memory { // memory device
        ...
        reg = <0x90000000 00000000 0x800000 00000000>;
            // 0x90000000 00000000 是存取memory的address
            // 0x800000 00000000 是memory的size。
        ...
    };
    ...
    ...
}
reference:https://www.cnblogs.com/youchihwang/p/7050846.html

horace papa 發表在 痞客邦 留言(0) 人氣()