Linux on vmware won't boot due to corrupt library file!


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Linux on vmware won't boot due to corrupt library file!
# 1  
Old 06-15-2011
Linux on vmware won't boot due to corrupt library file!

We have an issue here:

The libc.so.6 file (link) is corrupted and it causes the system unbootable. It even doesn't boot to single user mode. How can we boot the system to fix the library file? Or is there any other solutions for this issue?


Here are some boot messages:
Code:
.................................
Unable to access resume device (/dev/VolGroup00/LogVol01)
/sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Kernel panic - not syncing: Attempted to kill init!


Thanks a lot in advance!
# 2  
Old 06-15-2011
vmware can use iso images as boot disks I believe, so you could try booting a virtual rescue CD on your virtual machine and access the filesystem from there.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 06-15-2011
Thank you!

This was what I thought: First to boot the vmware virtual server from CentOS Live CD, and then mount the disk and access to the file system to fix the corrupted file. But I don't know how to mount the virtual disk, and not sure if the filesystem on the virtual disk can be seen and accessed from the live OS.
# 4  
Old 06-15-2011
[edit] ah, you were trying to do it the other way? Yeah, when I was using vmware 5 years ago raw Linux-readable disk files were already being depreciated.
# 5  
Old 06-16-2011
Booting from the rescue mode can not access to the virtual system's virtual disk. At least I don't know how to do it. The corrupted file can not be fixed.

I am trying to install vmware-mount tool from vmware service console to mount the virtual disk. Lots of dependencies such as fuse, libxml need to install.

Is there any other 'easy' way to access to the virtual disk?

Thanks!
# 6  
Old 06-16-2011
What does fdisk -l show you in the rescue disk? What's in /sys/class/block? Does it mention any devices in dmesg? Linux must have been able to access the disk in the first place somehow to get installed in the first place...
This User Gave Thanks to Corona688 For This Post:
# 7  
Old 06-17-2011
Working now. Actually I didn't try hard yesterday to do it from rescue boot. I put too much time on vmware-mount. It's not easy to install it on Red Hat ES 3 which is too old.

It's LVM, so got error 'unknown filesystem type LVM2_member'. Solution: Find LV name by using lvmdiskscan and lvdisplay, then mount it with 'mount /dev/system/boot /mnt'. The boot disk is mounted and corrupted file is fixed. Now I start to like vmware.

Thank you again!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

File system full, won't complete boot

Hello, I have a very old hp rp2450 running 11i2 that I had to power off. When turning it back on it hangs with the following message. Would booting into SUM get me any further? I've never used SUM, so I'm asking before I go down that rabbit hole. Thanks for the help. # ## extra content... (1 Reply)
Discussion started by: calabaria
1 Replies

2. Linux

./configure problem for libsf library due to apparently missing libdb library.

Hello, ./configure script fails to configure libsf. Please check the following last few lines of configure script error. checking for db1/db.h... no checking for db.h... yes checking for dbopen in -ldb1... no configure: error: No libdb? No libsf. But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies

3. AIX

won't mount /usr...won't boot fully

Hello: NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies

4. UNIX for Dummies Questions & Answers

Linux won't boot

I'm trying to install Fedora 9 on a Dell OptiPlex GX300 machine. The instalation runs properly, but when the computer restarts after the instalation, it simply won't boot, like there's no OS installed. I tried diffrent Linux distributions, but nothing works. This are the partitions, maybe it's... (12 Replies)
Discussion started by: teis
12 Replies

5. Solaris

ultra 10 boot warning---corrupt label

Hi All, Any idea why i'm having this warning during boot: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1): corrupt label - wrong magic number This happens after I added another ide HD and reinstall it from solaris 10 to solaris 8. Thanks in advance. (7 Replies)
Discussion started by: itik
7 Replies

6. UNIX for Dummies Questions & Answers

Library won't load

Trying to run an X11 executable under Darwin, I keep getting: dyld: Library not loaded: /sw/lib/libglib-1.2.0.dylib Referenced from: /usr/X11R6/bin/wav2rsomac Reason: image not found Trace/BPT trap I can't figure out if this is an error in the way the program is running, or if the... (0 Replies)
Discussion started by: sansan
0 Replies

7. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies

8. AIX

server won't boot

Hi all , i was trying to upgrade firmware on machine 7028-6E4 and it failed . Now machine does not boot anymore , i can not get SMC menu either ... What are my options ? Thanks, Rahim (1 Reply)
Discussion started by: rahim
1 Replies

9. Linux

Help! Boot failure - corrupt superblock

Hi everyone, OK, I've made a monumental fsck-up of my linux installation AND I did not backup my data properly (idiot!), so I'm really up the proverbial without a paddle here. Basically the problem is I re-sized my /home partition (hda13) using Partition Magic 8.0, after doing so my mandrake... (0 Replies)
Discussion started by: alarmcall
0 Replies

10. Solaris

Solaris (9) won't boot!

Hi, I've just bought an Ultra 60 running solaris 9 (or so I've been led to believe). When I start up, it looks for a (presumably) domain/network to hook up to and the following messages are displayed: Boot device: net file and args: Network link setup failed Please check cable and try... (3 Replies)
Discussion started by: alarmcall
3 Replies
Login or Register to Ask a Question