[gentoo-user] lost /boot recovery options?

2006-12-04 Thread James
Hello,

I somehow lost /boot on an amd64 (turion) laptop. I have an old copy 
of grub.conf, but no backup of the entire /boot dir. Since I do not
have another amd64 system, can I just copy over most of the 
(non arch dependant files) and recreate the arch dependant files?
The system is still booted up, so I need to make repairs before
rebooting again.

I've built a new kernel and copied it over to /boot. I've copied
over the /boot/grub/grub.conf file from an archive.

Once I copy of the non-arch_dependant files (not sure which ones
those are) do I need to run grub again?

Besides the kernel, are there any arch unique files I need to
recreate or copy from somewhere off the net?

Any ideas or guidance as to how to recover, without reinstallation
are most appreciated.


James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lost /boot recovery options?

2006-12-04 Thread Nangus Garba

is your boot file just not mounted?

Nangus

On 12/4/06, James [EMAIL PROTECTED] wrote:


Hello,

I somehow lost /boot on an amd64 (turion) laptop. I have an old copy
of grub.conf, but no backup of the entire /boot dir. Since I do not
have another amd64 system, can I just copy over most of the
(non arch dependant files) and recreate the arch dependant files?
The system is still booted up, so I need to make repairs before
rebooting again.

I've built a new kernel and copied it over to /boot. I've copied
over the /boot/grub/grub.conf file from an archive.

Once I copy of the non-arch_dependant files (not sure which ones
those are) do I need to run grub again?

Besides the kernel, are there any arch unique files I need to
recreate or copy from somewhere off the net?

Any ideas or guidance as to how to recover, without reinstallation
are most appreciated.


James



--
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] lost /boot recovery options?

2006-12-04 Thread Mick
On Monday 04 December 2006 15:14, Nangus Garba wrote:
 is your boot file just not mounted?

 Nangus

 On 12/4/06, James [EMAIL PROTECTED] wrote:
  Hello,
 
  I somehow lost /boot on an amd64 (turion) laptop. I have an old copy
  of grub.conf, but no backup of the entire /boot dir. Since I do not
  have another amd64 system, can I just copy over most of the
  (non arch dependant files) and recreate the arch dependant files?
  The system is still booted up, so I need to make repairs before
  rebooting again.
 
  I've built a new kernel and copied it over to /boot. I've copied
  over the /boot/grub/grub.conf file from an archive.
 
  Once I copy of the non-arch_dependant files (not sure which ones
  those are) do I need to run grub again?
 
  Besides the kernel, are there any arch unique files I need to
  recreate or copy from somewhere off the net?
 
  Any ideas or guidance as to how to recover, without reinstallation
  are most appreciated.

I am not sure how things differ on a 64bit system grub, but mounting /boot and 
calling grub on the command line as root and running:

grub root (hdX,Y)
grub setup (hdX)
grub quit

just as the guidebook says, should reinstall it all in your boot partition (on 
drive X).
-- 
Regards,
Mick


pgpfkexUDt8gp.pgp
Description: PGP signature


Re: [gentoo-user] lost /boot recovery options?

2006-12-04 Thread Neil Bothwick
On Mon, 4 Dec 2006 15:07:06 + (UTC), James wrote:

 I somehow lost /boot on an amd64 (turion) laptop. I have an old copy 
 of grub.conf, but no backup of the entire /boot dir. Since I do not
 have another amd64 system, can I just copy over most of the 
 (non arch dependant files) and recreate the arch dependant files?
 The system is still booted up, so I need to make repairs before
 rebooting again.

Re-install the kernel with cd /uusr/src/linux  make install.
Re-emerge GRUB
Install GRUB to the MBR again (this step may not be necessary, but it's
best to be safe).


-- 
Neil Bothwick

An expert is nothing more than an ordinary person away from home.


signature.asc
Description: PGP signature