How to create boot loader for RHEL?

Asked By 0 points N/A Posted on -
qa-featured

I have a problem with a boot loader, my Linux OS is not booting, and I lost my Linux to access.

I found the problem that when I install Windows it killed my Linux OS, anyone can help me out?

SHARE
Answered By 0 points N/A #163171

How to create boot loader for RHEL?

qa-featured

Hi Salu,

Don’t worry too much; you can get your links back within few commands
just following this instruction below.

If the boot loader corrupted:

Start with startup disk, the first command will

# Linux rescue

Then…

# chroot /mnt/sys_image
# /sbin/grub-install /dev/hda
# exit
# exit

If the problem will continue next step will…

# e2label /dev/hda0 -X

if found /boot and its number , put the before /boot
number on the # root (hd0,X) command in the grub
prompt .

# grub
# root (hd0,X)
# setup (hd0)
# quit

I hope you have your Linux back now

Related Questions