Page 1 of 2

GRUB BASH like line editing is supported

Posted: 2018/11/09 04:30:14
by alfian23
hello everyone, I have a problem with my centos 6 server. when I boot, "minimal bash-like line editing is supported" information appears. in my opinion the indication is because of my error grub. then I tried to do a dvd centos rescue 6. when I followed the rescue dvd I found an error message "You don't have any Linux Partitions. Press Return to get a shell. The System will reboot automatically when you exit from the shell" . Please help because it's very important for me to solve this problem. :cry:
IMG-20181109-WA0015.jpg
IMG-20181109-WA0015.jpg (71.22 KiB) Viewed 5302 times
Note :
After entering the rescue dvd centos I followed step by step
https://www.techbrown.com/repair-corrup ... -centos-6/


Thank You

Re: GRUB BASH like line editing is supported

Posted: 2018/11/09 09:16:50
by lightman47
What happened prior to your trying to repair the installation? Those messages are merely confirming what you suspected in the first place.

Re: GRUB BASH like line editing is supported

Posted: 2018/11/09 09:29:16
by TrevorH
Take the other option that drops you to a shell without mounting your existing system so that you can look around and try to diagnose the problem. Immediately, based on that error, I'd say something serious has happened. Check the partitioning on your disk. Check that you haven't lost a disk. Run the commands pvs, vgs and lvs to see if any LVM info is present (might need to be lvm pvs, lvm vgs and lvm lvs in the rescue shell).

Re: GRUB BASH like line editing is supported

Posted: 2018/11/09 09:34:31
by alfian23
when booting centos 6 there is an error message

Re: GRUB BASH like line editing is supported

Posted: 2018/11/09 10:13:59
by alfian23
TrevorH wrote:
2018/11/09 09:29:16
Take the other option that drops you to a shell without mounting your existing system so that you can look around and try to diagnose the problem. Immediately, based on that error, I'd say something serious has happened. Check the partitioning on your disk. Check that you haven't lost a disk. Run the commands pvs, vgs and lvs to see if any LVM info is present (might need to be lvm pvs, lvm vgs and lvm lvs in the rescue shell).

what should i do mr trevor ?
IMG_20181109_164654.jpg
IMG_20181109_164654.jpg (33.28 KiB) Viewed 5262 times

Re: GRUB BASH like line editing is supported

Posted: 2018/11/09 10:22:12
by TrevorH
The fdisk output for /dev/sda has scrolled off the top of your screenshot and I suspect that is your boot disk and contains the things we need to look at.

Re: GRUB BASH like line editing is supported

Posted: 2018/11/09 11:02:39
by alfian23
TrevorH wrote:
2018/11/09 10:22:12
The fdisk output for /dev/sda has scrolled off the top of your screenshot and I suspect that is your boot disk and contains the things we need to look at.


dev / sda is a flashdisk that I have bootable dvd centos 6 to do rescue. hi mr. trevor, what do I do when I enter dev / sda?
IMG_20181109_175431.jpg
IMG_20181109_175431.jpg (36.1 KiB) Viewed 5245 times

Re: GRUB BASH like line editing is supported

Posted: 2018/11/09 11:13:38
by TrevorH
OK, so /dev/sdb is your real boot drive. What is the output from the command file -s /dev/sdb1 (repeat that for sdb2 and sdb5)?

Re: GRUB BASH like line editing is supported

Posted: 2018/11/09 13:05:06
by alfian23
TrevorH wrote:
2018/11/09 11:13:38
OK, so /dev/sdb is your real boot drive. What is the output from the command file -s /dev/sdb1 (repeat that for sdb2 and sdb5)?
I have followed your command but command not found "-s / dev / sdb1 and so on :shock:

Re: GRUB BASH like line editing is supported

Posted: 2018/11/09 14:03:38
by TrevorH
The command is exactly as I highlighted it

file -s /dev/sdb1

(looks like you forgot the file bit of it)