1753727 Members
4519 Online
108799 Solutions
New Discussion юеВ

/dev/root

 
SOLVED
Go to solution
Ivajlo Yanakiev
Respected Contributor

Re: /dev/root

Use Make_recovery
create tape and reinstall your system using this archive. It will let you recovery all mess
Darren Murray_1
Frequent Advisor

Re: /dev/root

Do you know why /usr wouldnt be mounting??

If I go into maintenance mode then I can I can mount all file systems and run all commands fine. I then run a init 3 and then I cant run the commands. Would /usr be remounted on the init 3 and fail??


Will I be able to run successfully a make_tape_recovery from maintenance mode as no other level works. Also when I restore wont I just be restoring the same problem??

Ivajlo Yanakiev
Respected Contributor

Re: /dev/root

NO you must make recovery from multi user mode.
Make_recovery make you bootable tape that you can use for installing OS and corect all problem.
You must stop auto recovery and you can make install not full recovery.
This mean that you can change any things.
All user data that are on root VG will be safe.
Use -A option for all VG
Read make_recovery man page.


Darren Murray_1
Frequent Advisor

Re: /dev/root

The problem is I cant get into multi user mode. When I try thats when I cannot run any commands.
Ivajlo Yanakiev
Respected Contributor

Re: /dev/root

sent
#mount
command
and
screen that you see on standart boot
Gerhard Roets
Esteemed Contributor

Re: /dev/root

Hi Darren

Can you please post the output of "dmesg"

Thanks
Gerhard
F Verschuren
Esteemed Contributor

Re: /dev/root

Looks like ether /usr is not mounted ore it is corupted. If it is corupted you can boot from the recoverCD So you can restore the missing programs. if it is not mounted:

mount /dev/vg00/lvol6 /usr

if it is not mounted first do a fsck
Kent Ostby
Honored Contributor

Re: /dev/root

The /dev/root issue occurs after you have booted once in -lm mode (most common cause).

The fix is very simple:

rm /etc/mnttab
mount -a

Now do bdf and it should look fine and will not re-occur after reboot.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Kent Ostby
Honored Contributor

Re: /dev/root

Okay .. with regards to the boot issue.

Boot to single user mode and type :

mount /usr

This may ask you to fsck the lvol.

So do that then redo the mount

Then do :

ll /dev/root

it should look like:

brw-r----- 1 bin sys 255 0xffffff Feb 23 1999 /dev/root

NOTE: The date may be different

Best regards,

Kent
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"