Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't boot, can't rescue: libcom_err.so.2 error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
panyo
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2004
Posts: 86

PostPosted: Thu Jul 07, 2005 9:57 pm    Post subject: Can't boot, can't rescue: libcom_err.so.2 error Reply with quote

Question:
Can I interrup the boot process so I can skip the volume checking? Or is there some other way I can mount my filesystem rw so I can make the symlink I think will let me boot so I can do a proper fix later?
Can I boot from a USB device? Any other ideas?

I have considered the obvious options. Here is a detailed history of my problem so you can see
why they do not solve my problem:

Many people have posted allong the following lines regarding the recently broken
libcom_err.so.2:
https://forums.gentoo.org/viewtopic-t-348311-postdays-0-postorder-asc-highlight-libcomerr-start-25.html
I followed the instructions in a post in that thread:

Quote:
Code:
/etc/portage/package.mask:

>=app-crypt/mit-krb5-1.4.0



Then, unmerge the packages causing problems:


Code:
emerge -C mit-krb5 ss com_err


and my errors while booted stopped.

Then the nightmare begins:
Dissertation due three days ago. The computer crashed at 3:00 am this morning.
When I re-started, the boot process froze at e2sfck trying to (optionaly) check the file system because of
no libcom_err.so.2.

Thank you to the developers who fixed a former nightmare bug. I use a dvorak keyboard. If I had such a crash in the past, in the boot process my keyboard produced jumbled output with some keycodes entirely missing. Now I am at least able to issue the root password in QWERTY.

The problem: the system is mounted read-only. I can do nothing to repair it, though I was able to rescue some critcal data to an external USB drive.
Why other's soltutions don't work for me:
I am using a powerbook Pismo. My root filesytem is on a media bay drive-- that means I cannot rescue it with a CD. Was the bootable CD problem ever solved for powerPC anyway?

I have two other root file systems hanging around from previous instalations. One is a partition on the internal hard drive. I believe my two macos partions are hfs+ (machine is at home at the moment and I rarely use the mac side). If they are not, I can install yaboot on one and solve the problem by booting from it with one of the alternative root partitions.

I would rather not completely backup, re-format my hard drive and start over, which would solve the problem but would be a big pain at this crucial time.

Question:
Can I interrup the boot process so I can skip the volume checking? Or is there some other way I can mount my filesystem rw so I can make the symlink I think will let me boot so I can do a proper fix later?
Can I boot from a USB device? Any other ideas?

Thanks, and I hope this will be of help to others who get stuck in the boot process in the future .
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Jul 07, 2005 10:51 pm    Post subject: Reply with quote

What message do you get, when you boot? Do you get the one where you can press Control-D to continue boot or type to root password to get into a shell?

If you get a prompt, but the filesystem is still in ro mode, then try to do a:
Code:
fsck -C -a -T /
mount / -o rw,remount
revdep-rebuild --soname 'libcom_err.so.2'


cheers

SteveB
Back to top
View user's profile Send private message
panyo
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2004
Posts: 86

PostPosted: Fri Jul 08, 2005 5:30 am    Post subject: Reply with quote

Thank you! That did the trick. The first line did not work because fsck is what is broken. But the rest seems to have solved my problem. e2fsprogs is being re-emerged now.

The message I had was that fsck needs libcom_err.so.2. That stops me and gives me the Control-D option.

steveb wrote:
What message do you get, when you boot? Do you get the one where you can press Control-D to continue boot or type to root password to get into a shell?

If you get a prompt, but the filesystem is still in ro mode, then try to do a:
Code:
fsck -C -a -T /
mount / -o rw,remount
revdep-rebuild --soname 'libcom_err.so.2'


cheers

SteveB
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Fri Jul 08, 2005 4:22 pm    Post subject: Reply with quote

panyo wrote:
Thank you! That did the trick. The first line did not work because fsck is what is broken. But the rest seems to have solved my problem. e2fsprogs is being re-emerged now.

The message I had was that fsck needs libcom_err.so.2. That stops me and gives me the Control-D option.
Cool :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum