Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
* The "mount" command failed with error: [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Thu Aug 13, 2009 4:49 pm    Post subject: * The "mount" command failed with error: [solved] Reply with quote

I was trying to update world and I was following the following link

https://forums.gentoo.org/viewtopic-t-712898.html
Quick fix for e2fsprogs, com_err, and ss blockers

Now my machine will not boot and I get the following error:
Code:

* The "mount" command failed with error:
error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
*Since this is a critical task, startup cannot continue.


I'm not sure how to proceed with the system recovery?

Any tips?
_________________
Without diversity there can be no evolution:)


Last edited by cwc on Mon Aug 17, 2009 10:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Ahenobarbi
Retired Dev
Retired Dev


Joined: 02 Apr 2009
Posts: 345
Location: Warsaw, PL

PostPosted: Thu Aug 13, 2009 5:21 pm    Post subject: Reply with quote

Boot from some liveCD ( SysrescueCd?), chroot ( like when installing ( Gentoo handbook)). Then use revdep-rebuild from app-portage/gentoolkit.

---
I noticed yu have problem with revdep-rebuild . to Get mount working it should be enough to
Code:

emerge -av1 sys-apps/util-linux
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Thu Aug 13, 2009 9:32 pm    Post subject: Reply with quote

Ahenobarbi wrote:
Boot from some liveCD ( SysrescueCd?), chroot ( like when installing ( Gentoo handbook)). Then use revdep-rebuild from app-portage/gentoolkit.

---
I noticed yu have problem with revdep-rebuild . to Get mount working it should be enough to
Code:

emerge -av1 sys-apps/util-linux


I booted the liveCD and tried to mount my bad OS

# mount -t proc none /mnt/gentoo/proc

This did not work.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Aug 13, 2009 9:58 pm    Post subject: Reply with quote

try the sysrescCd
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Thu Aug 13, 2009 10:25 pm    Post subject: Reply with quote

Mike Hunt wrote:
try the sysrescCd

i used that one also i just need to figure out how to mount the bad os.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Aug 13, 2009 11:33 pm    Post subject: Reply with quote

cwc wrote:
Mike Hunt wrote:
try the sysrescCd

i used that one also i just need to figure out how to mount the bad os.


some of the fs's have an option of force
e.g.

mount -t ext3 -o force /dev/sda4 /some/mount/point

is the FS hosed, or what's wrong with it?
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Aug 13, 2009 11:39 pm    Post subject: Reply with quote

you didn't by any chance forget to re-emerge the e2fs stuff after removing it, did you?

Code:

laptop02 ~ # equery belongs libblkid.so.1
[ Searching for file(s) libblkid.so.1 in *... ]
sys-libs/e2fsprogs-libs-1.41.3-r1 (/lib64/libblkid.so.1 -> libblkid.so.1.0)



feck, i can't find the site. *somewhere* there was a collection of prebuilt binaries on one of the devs' sites. wondering if perhaps pulling that down might get you into a usable state.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Fri Aug 14, 2009 12:24 am    Post subject: Reply with quote

cach0rr0 wrote:
cwc wrote:
Mike Hunt wrote:
try the sysrescCd

i used that one also i just need to figure out how to mount the bad os.


some of the fs's have an option of force
e.g.

mount -t ext3 -o force /dev/sda4 /some/mount/point

is the FS hosed, or what's wrong with it?


I'm not sure. I'm off for a few days so I won't have a chance to work on it.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Fri Aug 14, 2009 12:25 am    Post subject: Reply with quote

cach0rr0 wrote:
you didn't by any chance forget to re-emerge the e2fs stuff after removing it, did you?

Code:

laptop02 ~ # equery belongs libblkid.so.1
[ Searching for file(s) libblkid.so.1 in *... ]
sys-libs/e2fsprogs-libs-1.41.3-r1 (/lib64/libblkid.so.1 -> libblkid.so.1.0)



feck, i can't find the site. *somewhere* there was a collection of prebuilt binaries on one of the devs' sites. wondering if perhaps pulling that down might get you into a usable state.


I don't thing I re-emerged the e2fs stuff :(
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Aug 14, 2009 12:32 am    Post subject: Reply with quote

cach0rr0 wrote:
feck, i can't find the site. *somewhere* there was a collection of prebuilt binaries on one of the devs' sites. wondering if perhaps pulling that down might get you into a usable state.


I think you're looking for tinderbox
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Fri Aug 14, 2009 12:33 am    Post subject: Reply with quote

Mike Hunt wrote:

I think you're looking for tinderbox


yeahhhhhhhhhhhhhhh, that's the one, cheers dude
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Aug 14, 2009 1:44 am    Post subject: Reply with quote

In fact the /default/linux directory is the one to search. P
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Mon Aug 17, 2009 11:20 am    Post subject: I got myh system back up and running. Reply with quote

1. Booted from the System Rescue CD, mounted the hardrive and became chroot
2. Got an ip and got some /lib files from files from tinderbox.dev.gentoo.org to get started
(this helped a bit)
3. I then emerged sys-libs/e2fsprogs as chroot and got my system back up.

I still have a lot of repair work to do to get emerge world to work.

http://tinderbox.dev.gentoo.org/
http://www.sysresccd.org/Main_Page

Thanks for all the help.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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