i am using redhat linux 4.0 unfortunatly i am deleted grub.conf. so i am able to login linux box. explian me how to cure this problem
Printable View
i am using redhat linux 4.0 unfortunatly i am deleted grub.conf. so i am able to login linux box. explian me how to cure this problem
boot up from RH installation CD/DVD and execute this code at boot: prompt
press Ctrl+D two times. Machine will reboot and GRUB will be back in bussiness...Code:linux rescue
chroot /mnt/sysimage
grub-install /dev/sda
casper
i done all above steps but--
linux rescue
chroot /mnt/sysimage
grub-install /dev/hda
after rebooting it will show only grub prompt
GRUB>
i able to go to any run levels
okkk ! i assume that you have only one HardDisk
prompt will change to 'grub>'Code:linux rescue
chroot /mnt/sysimage
grub
Code:grub> find /boot/grub/stage1
grub><type output of find command>
grub>setup(hd0)
quit
exit
exit
casper
I was having windows 2000 prof and Redhat Linux 7.2, I formated the c: drive with fat32 and installed windows xp prof. After which my Redhat Linux 7.2 stopped working. When I tried Linux Rescue, it didn't find any linux partition to mount it to /sys/image. When I am typing fdisk -l on the shell, it shows me the linux partition but perviously root was on /dev/hda8 and after installing windows xp its changed to /dev/hda9 and similarily boot also from /dev/hda5 to /dev/hda7.
Pls. anybody there to help me out to start my linux?
Hi alam !Quote:
Originally Posted by alam
Welcome to the LinuxForums !
start a New Thread and post the output of fdisk -l command in that.
casper