I've got Centos 6.8 running on a cloud VM so I don't have access to booting from the ISO to repair the server. On boot Centos goes straight to the grub> prompt.
I've done a bit of Googling & tried to set the root partition as my hard disk with the Linux OS on it it,
set root=(hd0,1)
Error 27: Unrecognized command
I'm not sure how to get the file system mounted let alone point it towards a kernel.
Any suggestions?
Centos 6.8 won't go past Grub prompt
Re: Centos 6.8 won't go past Grub prompt
CentOS 6 uses grub legacy not grub2.
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
-
- Posts: 3
- Joined: 2017/05/16 12:31:06
Re: Centos 6.8 won't go past Grub prompt
From
When I try to find kernel to load it doesn't list it,
I think I've accidentally deleted all of my kernels
Code: Select all
grub> root
(hd0,0): Filesystems type is extfs2, partition type 0x83
Code: Select all
grub> kernel /
Possible files are: boot dev proc sys var selinux .autofsck
-
- Posts: 3
- Joined: 2017/05/16 12:31:06
Re: Centos 6.8 won't go past Grub prompt
Is there a way to restore deleted kernels?
Re: Centos 6.8 won't go past Grub prompt
Pretty sure grub does filename completion so when you did 'kernel /' and it told you the possible files were boot dev etc then you should try 'kernel /boot/<tab><tab>' to get a list of the vmlinuz* files in /boot. The same will be true for the initramfs files there too.
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