Avatar of iamtunapo
iamtunapo
 asked on

Help with Centos, It won't boot up. Stuck at GUN GRUB Screen.

Help i just restarted my server centos linux 6 and not it stuck at a blackscreen which said :
GNU GRUB Version 1.98 + 20100804- 5Ubuntu2

Minimal BASH-Like line editing is supported.For the first word TAB list possible command completions.Anywhere else TAB list possible device or file completions.
LinuxApache Web ServerWeb Servers

Avatar of undefined
Last Comment
iamtunapo

8/22/2022 - Mon
Gerwin Jansen

Did you install updates including a kernel update? Can't test this for you but this looks just like your issue: http://beginlinux.com/server_training/serv_admin_m/grub
Darr247

Are you purposely leaving out some info?
It looks to me like you have a dual-boot system with Ubuntu.
iamtunapo

ASKER
i had did yum update and rebooted the server after that it wont come on just on the Gnu Grub screen. I have just followed the tutorial from http://beginlinux.com/server_training/serv_admin_m/grub but i just keep getting error saying no such file in directory is it possible to recover all files and database from this hard drive to a new hard drive?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
DigeratiDave

How about we see if you still have a recognized file system.
Type this at the grub> prompt:
grub>root

Hopefully you get a response like this:
(hd0,0): Filesystem type is ext2fs, partition type 0x83

If you receive a response, then try:
grub>find (hd0,0) /grub/grub.conf

*(replace (hd0,0) with your particular output.

Please post your finding.
Darr247

CentOS and Ubuntu use totally different versions of GRUB.

I'm clicking Unmonitor
<- over there, now.
iamtunapo

ASKER
when i tried root from the grub prompt i got (fd0): Filesystem type is fat, partition type 0xb
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
iamtunapo

ASKER
i am runing centos 6
iamtunapo

ASKER
i ran find (fd0) //grub/grub.conf and i got file not found
iamtunapo

ASKER
i was able to load a centos live cd to be able to retrive my files and database files but i could not locate my files / sites created with cpanel whm. i see the files in the hard drives but cant find my website datat stored on the hard drive. Please help
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Julian Parker

Boot of a live CD and see if you can see your data then copy it off that way, once you have the data best start again, you probably will anyway later on.
iamtunapo

ASKER
i cant find my site files in the hard drive thou
Julian Parker

You do have a weird setup though, the grub error you posted mentioned ubuntu but you say you use centos, I didnt read anything above about site files!

have you tried; find / -name "*sitefiles*"
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Julian Parker

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
iamtunapo

ASKER
i copied the the error message from the internet because its the same error just name difference. The hard drive is already mounted i was able to find my cpanel files and database files but not particularly my sites.

I tried navigating to /etc/fstab no directory like that on the hard drive or live cd
iamtunapo

ASKER
the home directory is empty
iamtunapo

ASKER
i ended up losing all files and starting over.
Your help has saved me hundreds of hours of internet surfing.
fblack61
iamtunapo

ASKER
Thanks