Issues related to applications and software problems
-
alfian23
- Posts: 7
- Joined: 2018/11/09 04:08:02
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.

- IMG-20181109-WA0015.jpg (71.22 KiB) Viewed 3334 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: 1250
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
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.
Remember - importing/building packages will likely "byte you in the butt" come update time, long after you'd forgotten you did that! Use repos whenever possible.
-
TrevorH
- Forum Moderator
- Posts: 30365
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
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).
-
alfian23
- Posts: 7
- Joined: 2018/11/09 04:08:02
Post
by alfian23 » 2018/11/09 09:34:31
when booting centos 6 there is an error message
-
Attachments
-

- IMG-20181108-WA0039.jpg (69.22 KiB) Viewed 3311 times
-
alfian23
- Posts: 7
- Joined: 2018/11/09 04:08:02
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 (33.28 KiB) Viewed 3294 times
-
TrevorH
- Forum Moderator
- Posts: 30365
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
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.
-
alfian23
- Posts: 7
- Joined: 2018/11/09 04:08:02
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 (36.1 KiB) Viewed 3277 times
-
TrevorH
- Forum Moderator
- Posts: 30365
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
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)?
-
alfian23
- Posts: 7
- Joined: 2018/11/09 04:08:02
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

-
TrevorH
- Forum Moderator
- Posts: 30365
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
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)