How to restore all of /boot/?
Landreth, Kevin
klandreth at theplanet.com
Wed Aug 20 14:35:16 CDT 2008
Boot up the linux cd and use linux rescue
Make sure you mount boot into /mnt/sysimage/boot
Chroot into /mnt/sysimage (I think that is where it mounts it)
rpm -ql grub (files should be in /usr/share/grub/i386-redhat/)
mkdir /boot/grub && copy /usr/share/grub/i386-redhat/* /boot/grub/
then put a menu.lst in there, make a symlink to grub.conf from menu.lst
# grub
Root (hd0,0)
Setup (hd0)
Might help, I dunno
-----Original Message-----
From: linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] On Behalf Of Zembower, Kevin
Sent: Wednesday, August 20, 2008 2:05 PM
To: 'linux-poweredge at dell.com'
Subject: How to restore all of /boot/?
I think that my earlier problems (see thread starting at
http://lists.us.dell.com/pipermail/linux-poweredge/2008-August/037024.ht
ml), stem from not restoring all of the contents of /boot/. Doing a
grub-install installs all the files in /boot/grub/ but my other systems
show a lot of files in /boot/, such as:
[kevinz at t ~]$ cd /boot/
[kevinz at t boot]$ ls -la
total 11282
drwxr-xr-x 4 root root 1024 Dec 11 2007 .
drwxr-xr-x 25 root root 4096 Jul 8 14:36 ..
-rw-r--r-- 1 root root 72590 Nov 21 2007 config-2.6.22.14-72.fc6
-rw-r--r-- 1 root root 72589 Sep 27 2007 config-2.6.22.9-61.fc6
drwxr-xr-x 2 root root 1024 Dec 11 2007 grub
-rw------- 1 root root 2400348 Dec 11 2007 initrd-2.6.22.14-72.fc6.img
-rw------- 1 root root 2400278 Oct 9 2007 initrd-2.6.22.9-61.fc6.img
drwx------ 2 root root 12288 Jul 12 2007 lost+found
-rw-r--r-- 1 root root 1245924 Nov 21 2007 System.map-2.6.22.14-72.fc6
-rw-r--r-- 1 root root 1245724 Sep 27 2007 System.map-2.6.22.9-61.fc6
-rw-r--r-- 1 root root 2016152 Nov 21 2007 vmlinuz-2.6.22.14-72.fc6
-rw-r--r-- 1 root root 2015944 Sep 27 2007 vmlinuz-2.6.22.9-61.fc6
[kevinz at t boot]$
[This is from a Fedora Core 6 system. I'm restoring a CentOS 5 system.]
I didn't originally restore the boot partition to my other server, and
this problem has been going on so long that my backup tapes have rolled
over and the backup of this host's /boot/ are gone.
This seems like it should be an easy question, but it has me stumped.
Using the original CentOS 5.0 disks or some other media, what can I do
to restore all of the contents of /boot/?
Thanks again for all your help, suggestions and advice.
-Kevin
Kevin Zembower
Internet Services Group manager
Center for Communication Programs
Bloomberg School of Public Health
Johns Hopkins University
111 Market Place, Suite 310
Baltimore, Maryland 21202
410-659-6139
_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq
More information about the Linux-PowerEdge
mailing list