GRUB BASH like line editing is supported

Issues related to applications and software problems
alfian23
Posts: 7
Joined: 2018/11/09 04:08:02

GRUB BASH like line editing is supported

Post by alfian23 » 2018/11/09 04:30:14

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 117 times
Note :
After entering the rescue dvd centos I followed step by step
https://www.techbrown.com/repair-corrup ... -centos-6/


Thank You

lightman47
Posts: 738
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: GRUB BASH like line editing is supported

Post by lightman47 » 2018/11/09 09:16:50

What happened prior to your trying to repair the installation? Those messages are merely confirming what you suspected in the first place.
"The more I learn, the behinder I get"

User avatar
TrevorH
Forum Moderator
Posts: 23841
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: GRUB BASH like line editing is supported

Post by TrevorH » 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).
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

alfian23
Posts: 7
Joined: 2018/11/09 04:08:02

Re: GRUB BASH like line editing is supported

Post by alfian23 » 2018/11/09 09:34:31

when booting centos 6 there is an error message
Attachments
IMG-20181108-WA0039.jpg
IMG-20181108-WA0039.jpg (69.22 KiB) Viewed 94 times

alfian23
Posts: 7
Joined: 2018/11/09 04:08:02

Re: GRUB BASH like line editing is supported

Post by alfian23 » 2018/11/09 10:13:59

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 77 times

User avatar
TrevorH
Forum Moderator
Posts: 23841
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: GRUB BASH like line editing is supported

Post by TrevorH » 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.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

alfian23
Posts: 7
Joined: 2018/11/09 04:08:02

Re: GRUB BASH like line editing is supported

Post by alfian23 » 2018/11/09 11:02:39

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 60 times

User avatar
TrevorH
Forum Moderator
Posts: 23841
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: GRUB BASH like line editing is supported

Post by TrevorH » 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)?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

alfian23
Posts: 7
Joined: 2018/11/09 04:08:02

Re: GRUB BASH like line editing is supported

Post by alfian23 » 2018/11/09 13:05:06

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:

User avatar
TrevorH
Forum Moderator
Posts: 23841
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: GRUB BASH like line editing is supported

Post by TrevorH » 2018/11/09 14:03:38

The command is exactly as I highlighted it

file -s /dev/sdb1

(looks like you forgot the file bit of it)
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply