Re-install Fedora Core 6

Alan Cox alan at lxorguk.ukuu.org.uk
Thu May 10 12:29:07 UTC 2007


On Thu, 10 May 2007 09:49:41 +0100
"Darren Foster" <darren at darrenfoster.co.uk> wrote:

> Hi All,
> 
>  
> 
> My grub is truelly knackered and I cant reinstall it for love nor money. 

There are a few things you can try.

>From the rescue command line you can use the chroot command to go into
the actual running environment itself which if I remember offhand is
at /mnt/sysimage (df will tell you)

chroot /mnt/sysimage /bin/sh

At that point you are mostly running off the disk which means you can do

/sbin/ifup eth0

to get your network working (assuming its ethernet on eth0)

and then use yum/rpm to update stuff in particular you can download the
grub package and do

	rpm -e --nodeps grub
	rpm --install grub

and ditto for a kernel rpm package matching your system

(or for rescuing data if you have another linux box as a target

	rsync -e ssh -avz /home root at remote.box:/somewhere/

)




More information about the fedora-list mailing list