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


 
Thread Tools Search this Thread
Operating Systems AIX won't mount /usr...won't boot fully
# 8  
Old 10-09-2008
would you be so kind as to help with the syntax of the fsck command so I don't screw something up anymore. i'm going to ibm's site to look myself, but would really appreciate any comments.
regards!!!
# 9  
Old 10-09-2008
ok...ran fsck, as in, fsck /dev/hd4, where my /usr was. No error detected. type exit from maintenace mode and receive:

/etc/getrootfs[586]: /usr/bin/ksh: not found
.
.
.

seems like the os was overwritten or wiped somehow.
# 10  
Old 10-09-2008
Ah okay, sorry, haven't recognized that at first.

So here you go:

- Enter the SMS menu
- Select "Start Maintenance Mode for System Recovery"
- Select "Access a Root Volume Group"
- Select one the VG which has the hdisks in it which looks like your rootvg, I guess hdisk0 and 1 if you have hopefully a mirrored rootvg Smilie
- Select "Access this Volume Group and start a shell before mounting file systems"
- then do following, using jfs or jfs2:
Code:
logform -V jfs2 /dev/hd8
fsck -y -V jfs2 /dev/hd1
fsck -y -V jfs2 /dev/hd2
fsck -y -V jfs2 /dev/hd3
fsck -y -V jfs2 /dev/hd4
fsck -y -V jfs2 /dev/hd9var
fsck -y -V jfs2 /dev/hd10opt
exit

Then have a reboot and hope it's working. Right from the AIX Sys Admin II: Problem Determination.

Last edited by zaxxon; 10-10-2008 at 01:07 AM.. Reason: typo, jfs2 not jds2 :)
# 11  
Old 10-09-2008
in maintenance mode, with the filesystem not mounted type:
fsck -y /dev/hd2
# 12  
Old 10-09-2008
What was the command you used to "clean up" the file you put there...

If you did something like rm -r * or something similar you may have removed more than the one file you wanted to. In which case you will need to rebuild /usr from a mksysb or rebuild the full system.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash script won't run because hardware won't produce display

Can anyone offer any advice on how to modify the script below to work on a new system we have, that has no graphics capability? We admin the system through a serial RAS device. I've tried running the below script through the RAS and through an ssh -X session. It failed with something like "GTK... (3 Replies)
Discussion started by: yelirt5
3 Replies

2. Red Hat

Samba won't mount after reboot...please help

I am able to mount samba but it just won't mount when i reboot system what is stopping it from mounting after reboot? I mounted before reboot but right after reboot...i ran mount # mount /dev/mapper/vg_sda2-lv_root on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs... (0 Replies)
Discussion started by: nokia3310
0 Replies

3. UNIX for Dummies Questions & Answers

New kernel won't boot

I compiled new kernel in linux 10.04 called linux-2.6.26.8-xenomai, it runs alongside the other kernel, but when I want to boot it I get an error message saying: Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/sda5 does not exist. After making the modules and headers I made the... (4 Replies)
Discussion started by: mdop
4 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. Ubuntu

External Hard drive won't mount

i have a Simple Tech hard drive that i use between two computers. it is formatted to ntfs. i have a dell desktop with Ubuntu 7.10 and Ubuntu 8.04 and Windows XP Home. and i have a laptop with Ubuntu 7.10 and Ubuntu 8.04. the laptop recognizes the hard drive on both 8.04 and 7.10 but my desktop... (9 Replies)
Discussion started by: Texasone
9 Replies

6. Solaris

Ultra 60 won't boot

I just was given an Ultra 60 that I'm trying to get started so that I can re-load the system with Solaris 10. I can't seem to get the system to boot past the initial memory check. I've tried to do an Stop-A to get to the eeprom, but can't do that. My next step is to try to send a break from the... (0 Replies)
Discussion started by: zosojohnny
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. UNIX for Advanced & Expert Users

CVSWeb won't recognise mount points

Hi guys, The data store behind our CVS server is on a windows box for reasons best known to my predecessors. Therefore the CVSROOT is a cifs mount point, actually it's /mnt/CVS but that's by the by. The problem I have is that CVSWeb fails to recognise mount points as directories, and tells... (0 Replies)
Discussion started by: AdamRoper
0 Replies

9. 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

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