grub Gone

Taking care of your Linux box.

grub Gone

Postby nedian » Mon Mar 01, 2004 4:35 pm

hi
iam using red hat linux 9 and the problem is that somethin happen
with my file system or linux partition (may be due to abrupt shutdown)
n my grub bootloader is gone, what i can see is the command line interface with the grub prompt, like this
grub>

in which i have only limmited number of commands to run

Anyone can tell what is that n how can i acquire my grub boot loader again n start my linux normally

thanX


[/b]
nedian
Lance Naik
 
Posts: 16
Joined: Sat Feb 28, 2004 1:31 am
Yahoo Messenger: nedian81@yahoo.com

Postby farhantoqeer » Mon Mar 01, 2004 5:12 pm

A: Yes
Q: Is top-posting bad?
farhantoqeer
Major General
 
Posts: 917
Joined: Thu Jun 27, 2002 5:45 pm
Website: http://www.emergen.biz
Location: Karachi

problem remains

Postby nedian » Tue Mar 02, 2004 10:08 pm

i have done all that and sucessfully ran chroot and grub-install using rescue mode but the problem still remains, and i havnt got the grub
boot loader but still gettinng the grub prompt.

I want to make clear that i havnt installed winXP or any
other OS on linux or with linux , linux 9 is the only Os which isinstalled on the disk.

I think grub is installed and installation is not a problem because
if it werent so then i might not been able to get the grub prompt.
anyways , any suggestions??
nedian
Lance Naik
 
Posts: 16
Joined: Sat Feb 28, 2004 1:31 am
Yahoo Messenger: nedian81@yahoo.com

Postby farhantoqeer » Tue Mar 02, 2004 10:33 pm

may i have details about your hdd partition table?
A: Yes

Q: Is top-posting bad?
farhantoqeer
Major General
 
Posts: 917
Joined: Thu Jun 27, 2002 5:45 pm
Website: http://www.emergen.biz
Location: Karachi

Postby nedian » Wed Mar 03, 2004 1:11 am

disk /dev/hda= 20.0gb
cylinder of 16065*512=8225280 bytes

boot system
=== ======
/dev/hda1 * linux
/dev/hda2 linux
/dev/hda3 linux swap

That was some useful info from partition table.
my /boot directory also dosent exist in which kernel exists, this may also be the pbm, i dont know how to restore /boot dir
nedian
Lance Naik
 
Posts: 16
Joined: Sat Feb 28, 2004 1:31 am
Yahoo Messenger: nedian81@yahoo.com

Postby farhantoqeer » Wed Mar 03, 2004 9:59 am

:o i really dont know where your /boot is gone. and i am sure that somebody or might be you played with your partition table :). i have no idea about it until unless you have some hdd partition recovering tools.
A: Yes

Q: Is top-posting bad?
farhantoqeer
Major General
 
Posts: 917
Joined: Thu Jun 27, 2002 5:45 pm
Website: http://www.emergen.biz
Location: Karachi

Postby Qadri-409 » Mon May 17, 2004 1:08 pm

nedian wrote:disk /dev/hda= 20.0gb
cylinder of 16065*512=8225280 bytes

boot system
=== ======
/dev/hda1 * linux
/dev/hda2 linux
/dev/hda3 linux swap

That was some useful info from partition table.
my /boot directory also dosent exist in which kernel exists, this may also be the pbm, i dont know how to restore /boot dir


Dear Nedian
i think you should boot in to rescue mode from Bootable CD then
issue a command at shell #chroot /mnt/sysimage
then #grub-install
i think it may recover ur system
M Shahzad Qadri
Qadri-409
Battalion Havaldaar Major
 
Posts: 286
Joined: Sun May 09, 2004 4:16 pm
WLM: qadri409
Yahoo Messenger: shahzadqadri409
Location: Peshawar


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron