Link to home
Start Free TrialLog in
Avatar of jsctechy
jsctechyFlag for United States of America

asked on

please append a correct root= boot option HELP! cant boot up linux server!

help!
i have a server that im trying to boot up, but lots of things were done wrong prior to me trying to fix it.
in a nutshell, the server crashed because the power supply went bad.
a tech then started pulling out hard drives during troubleshooting, and i think it broke the raid array (onboard raid controller, its an HP server, cisco branding)
i was able to reinstall grub, and i get to the grub screen where it asks me to choose an OS, but no matter which one i choose, i get the following error-

VFS: cannot open root device "LABEL=/" or 00:00
please append a correct root= boot option
kernel panic: vfs: unable to mount root fs on 00:00

when i reinstalled grub i saw that there were 2 separate hard drives (HDA and HDB). not sure if this should be SDA and SDB, or vice versa?
any ideas? need to get this up and running!!!
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

I would boot off a live CD such as Knoppix and see what state the system is in (cat /proc/partitions is a good starting point)
Which linux distribution?
Usually root=/dev/sda1 or /dev/sda3 ...
Avatar of jsctechy

ASKER

here is the output of cat /proc/partitions

note- sda and sdb used to be setup in a raid 1 configuration.
im not a linux guy but this seems like its being presented as 2 separate drives, instead of 1 logical drive- am i right?

User generated image
im not sure of the linux distribtion but i was told its red hat,
this is actually a Cisco Unified Communications Manager server/appliance (its running on a re-branded hp dl320 server)
Yes, it is DM mirror.

Use centos 5.11 minimal ISO
Boot in rescue mode
It offers to mount filesystems. If it succeeds - bingo - you have name of root.
If not come back with screenshot.
Do you mean the centos netinstall image ? (It's about 15mb)

After typing "rescue mode" it brings me to a screen asking "what type of media contains the rescue image"
i was able to boot into knoppix- not sure if im able to do anything with this!
No. CD 1 or DVD1
sda1/sdb1through $sda6/sdb6 look like they could be mirror pairs (identical sizes). That's just my observation though
Yes, odds are high recovery disk will pick up DM mirror...
It keeps asking me "what type of media contains the rescue image?" And then lists
Local CD-ROM
Hard drive
Nfs image
Ftp
Http

If I choose local CD-ROM it says that the CD-ROM doesn't contain a valid rescue image
found the rescue disk this time (i was using ilo and it wasnt working while using ilo image over network i ahd to create a DVD and put it in)
anyway-
when it attempts to look for linux installations it says that none are found
"you dont have any linux partitions. press return to get a shell. the system will reboot automatically when you exit from the shell"
i was able to boot up to a knoppix livecd and i was able to mount partitions and browse through them, would this help at all?
problem is that you need to restore DMRAID configuration.
in present situation you can boot off from one half of mirror (you need to edit /etc/fstab to contain devices and not GUIDs)
Then you need to go long ways to re-estabilish DM mirror back.

At least that way you get back to service quickly.
any idea how i would edit the /etc/fstab to do so? :)
FYI im a windows guy trying to help a colleague out!
to be honest- im not sure how much i care about the raid array at the moment, if i can get this up and running on 1 drive, i have no problem doing so until we can get upgraded hardware in the environment
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
need to boot into the centos recovery image?
Yessir! That is the only linux that mounts your partitions.
it states that i dont have any linux partitions when i try to boot up with that DVD, not sure why,
ive used rescatux to rebuild the grub and it succeeds, it was able to recognize the linux OS on the partitions
i even have the grub list with all the operating systems when i start the server up

i can browse the files via grub command line as well.
Try older kernels? Maybe something wass missed with last upgrade.