由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BUPT版 - Linux problem ?
相关主题
Bell Labs China Recruit AD(update version)MacPro 15 inch, unable to boot from both HD/CDROM
各位师哥师姐好。为啥外置USB光驱不能用来boot装系统?
so quite these days eh?为什么装不了系统啊?
How to reinstall Solaris 8 from CD?PBO变砖了
今天开始笔记本的wireless老是频繁断线"secure boot violation" when install ubuntu in a new Dell (转载)
found an opening online新机器总是显示no boot device,必须手动选hdd才能启动
装完机开机出现"reboot and select proper boot device..." (转载)Linux下CDROM引导装WindowsXP可以么?
弱问,没有CDROM怎么装Windows呢?What file to run first to install Linux
相关话题的讨论汇总
话题: linux话题: mingetty话题: try话题: lib话题: libc5
进入BUPT版参与讨论
1 (共1页)
f******t
发帖数: 61
1
i have posted this problem in Linux board before,
but no one replied to it. I try my luck here.
i upgraded libc5 to libc6(glibc2), but quitted it
in the halfway, and shutted down the computer. But
now i can't access Linux, since the mingetty needs
to call some routines of the shared libarry, so
mingetty couldn't be started, then i can't log in
the system!
this is my last try before reinstalling it!
m*******m
发帖数: 182
2
You may try boot from another difk or from CDROM, mount the
disk, and copy libc stuff.

【在 f******t 的大作中提到】
: i have posted this problem in Linux board before,
: but no one replied to it. I try my luck here.
: i upgraded libc5 to libc6(glibc2), but quitted it
: in the halfway, and shutted down the computer. But
: now i can't access Linux, since the mingetty needs
: to call some routines of the shared libarry, so
: mingetty couldn't be started, then i can't log in
: the system!
: this is my last try before reinstalling it!

f******t
发帖数: 61
3
yes, maybe it's feasible!
Can you tell me what libc is composed of ?
does it require installation, or just as you
said, copy the files.
i booted the system in rescue mode, but i
can't execute rpm command to install the
libc.

【在 m*******m 的大作中提到】
: You may try boot from another difk or from CDROM, mount the
: disk, and copy libc stuff.

m*******m
发帖数: 182
4
It consists of:
ld.so.2
ldconfig
libc.so.6
libcrypt.so.1
...
But what mingtty needs are /lib/libc.so.6 and /lib/ld-linux.so.2.
So, just copy these two for a quick fix.
Are you sure you have rpm in rescue mode? rpm is statically linked
(at least on my linux box). It shouldnt be a dynamic link problem.
You can get a copy of rpm to install.

【在 f******t 的大作中提到】
: yes, maybe it's feasible!
: Can you tell me what libc is composed of ?
: does it require installation, or just as you
: said, copy the files.
: i booted the system in rescue mode, but i
: can't execute rpm command to install the
: libc.

f******t
发帖数: 61
5
Nice! thank you. it's worth a try!

【在 m*******m 的大作中提到】
: It consists of:
: ld.so.2
: ldconfig
: libc.so.6
: libcrypt.so.1
: ...
: But what mingtty needs are /lib/libc.so.6 and /lib/ld-linux.so.2.
: So, just copy these two for a quick fix.
: Are you sure you have rpm in rescue mode? rpm is statically linked
: (at least on my linux box). It shouldnt be a dynamic link problem.

f******t
发帖数: 61
6
I have tried, but in the /usr/lib directory,
the libc.so.6 and ld-linux.so.2 is there.
The error is:
/usr/local/lib/libc.so.6: undefined symbol:_dl_initial_searchlist_
mingetty: error in loading shared library.
Then i try to replace the files in lib directory with
libc5 files, which i found under /usr/i486-linux-libc5/lib
But now error is:
INIT: can't execute command mingetty
and no other message!

【在 m*******m 的大作中提到】
: It consists of:
: ld.so.2
: ldconfig
: libc.so.6
: libcrypt.so.1
: ...
: But what mingtty needs are /lib/libc.so.6 and /lib/ld-linux.so.2.
: So, just copy these two for a quick fix.
: Are you sure you have rpm in rescue mode? rpm is statically linked
: (at least on my linux box). It shouldnt be a dynamic link problem.

m*******m
发帖数: 182
7
Do a "ldd -v /sbin/mingetty", and see what you need to
replace. It seems that you may need to replace mingetty
too.
mingetty cant run because it cant find the share libraries,
I think. Double check with ldd.

【在 f******t 的大作中提到】
: I have tried, but in the /usr/lib directory,
: the libc.so.6 and ld-linux.so.2 is there.
: The error is:
: /usr/local/lib/libc.so.6: undefined symbol:_dl_initial_searchlist_
: mingetty: error in loading shared library.
: Then i try to replace the files in lib directory with
: libc5 files, which i found under /usr/i486-linux-libc5/lib
: But now error is:
: INIT: can't execute command mingetty
: and no other message!

f******t
发帖数: 61
8
i forgot command "ldd", thanks!
i will try once again!

【在 m*******m 的大作中提到】
: Do a "ldd -v /sbin/mingetty", and see what you need to
: replace. It seems that you may need to replace mingetty
: too.
: mingetty cant run because it cant find the share libraries,
: I think. Double check with ldd.

1 (共1页)
进入BUPT版参与讨论
相关主题
What file to run first to install Linux今天开始笔记本的wireless老是频繁断线
"secure boot violation" when install ubuntu in a new Dellfound an opening online
knoppix, CDROM direct boot linux装完机开机出现"reboot and select proper boot device..." (转载)
Help: X40 install win2000?弱问,没有CDROM怎么装Windows呢?
Bell Labs China Recruit AD(update version)MacPro 15 inch, unable to boot from both HD/CDROM
各位师哥师姐好。为啥外置USB光驱不能用来boot装系统?
so quite these days eh?为什么装不了系统啊?
How to reinstall Solaris 8 from CD?PBO变砖了
相关话题的讨论汇总
话题: linux话题: mingetty话题: try话题: lib话题: libc5