GRUB BASH like line editing is supported
GRUB BASH like line editing is supported
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.
Note :
After entering the rescue dvd centos I followed step by step
https://www.techbrown.com/repair-corrup ... -centos-6/
Thank You
Note :
After entering the rescue dvd centos I followed step by step
https://www.techbrown.com/repair-corrup ... -centos-6/
Thank You
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: GRUB BASH like line editing is supported
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
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).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: GRUB BASH like line editing is supported
when booting centos 6 there is an error message
- Attachments
-
- IMG-20181108-WA0039.jpg (69.22 KiB) Viewed 5215 times
Re: GRUB BASH like line editing is supported
TrevorH wrote: ↑2018/11/09 09:29:16Take 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 ?
Re: GRUB BASH like line editing is supported
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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: GRUB BASH like line editing is supported
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?
Re: GRUB BASH like line editing is supported
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)?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: GRUB BASH like line editing is supported
The command is exactly as I highlighted it
file -s /dev/sdb1
(looks like you forgot the file bit of it)
file -s /dev/sdb1
(looks like you forgot the file bit of it)
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke