Gimme a few minutes, let me boot into my CentOS partition and see if I can help ya out.
I am trying to fix an install of CentOS 5.2 and it is turning out to be a nightmare. I have reinstalled it a few times and I keep getting the same thingI go through the install process every thing seems to be fine but then I try to boot up the machine I just get “ GRUB: “ so I assumed that for some reason grub didn’t install to the MBR so I put the install cd back in and load it up in “ linux rescue “ and issued the fallowing commands
When it reboots I get some grub interface. So I did some more reasearch and found that there is a menu.lst file, so I went back into linux rescue mode and found that that was missing, so I then went into VI and created this menu.lst file as per one that I found on the netCode:# chroot /mnt/sysimage # grub-install /dev/had # reboot
But when I rebooted the machine I still got to the same grub interface.Code:default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-92.1.1.el5) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.1.el5 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.1.el5.img title CentOS (2.6.18-92.el5) root (hd0,0) kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.el5.img![]()
Dose anyone know how I can fix this problem? did I miss a step? Im really hit a brick wall on this one![]()
Oh and I know that this isn’t remotely related to backtrack, but I find the response time and quality of answers on this forums to be better than others I have been to...
Cheers![]()
Gimme a few minutes, let me boot into my CentOS partition and see if I can help ya out.
A third party security audit is the IT equivalent of a colonoscopy. It's long, intrusive, very uncomfortable, and when it's done, you'll have seen things you really didn't want to see, and you'll never forget that you've had one.
Here's mine.
I'm dual booting XP and centOS.Code:# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,1) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/hda default=2 timeout=5 splashimage=(hd0,1)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-92.1.10.el5xen) root (hd0,1) kernel /xen.gz-2.6.18-92.1.10.el5 module /vmlinuz-2.6.18-92.1.10.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18-92.1.10.el5xen.img title CentOS (2.6.18-92.el5xen) root (hd0,1) kernel /xen.gz-2.6.18-92.el5 module /vmlinuz-2.6.18-92.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18-92.el5xen.img title Other rootnoverify (hd0,0) chainloader +1
A third party security audit is the IT equivalent of a colonoscopy. It's long, intrusive, very uncomfortable, and when it's done, you'll have seen things you really didn't want to see, and you'll never forget that you've had one.
That is simmlar to what i have, but the problem i am having is that i dont think that grub is even using the file![]()
There is an additional line at the bottom of each section in mine. Let me see what else I can dig up.
There is a grub.conf that appears to be a duplicate of menu.lst in /boot/grub. Have you looked at that?
menu.lst is a symbolic link to grub.conf, didn't notice that before.
A third party security audit is the IT equivalent of a colonoscopy. It's long, intrusive, very uncomfortable, and when it's done, you'll have seen things you really didn't want to see, and you'll never forget that you've had one.
A third party security audit is the IT equivalent of a colonoscopy. It's long, intrusive, very uncomfortable, and when it's done, you'll have seen things you really didn't want to see, and you'll never forget that you've had one.
ok so i changed " menu.lst " to " grub.conf " and made a sym link. i then changed root to /mnt/sysimage and ran "grub-install /dev/hda" and rebooted.
grub now loads fine. but i think there is an error in my grub.conf file.
i get the error
i then tried to boot up in the second option and got the fallowing errorCode:kernel /vmlinuz-2.6.18-92.1.1.el5 ro root=/dev/VolGroup00/LogVol00 ERROR 15: File not found
do you know how to find the location of the correct files and find what are the right kernalsCode:initrd /initrd-2.6.18-92.el5.img ERROR 15: File not found
Yeah, those files are supposed to be in /boot.
Here's what should be in /boot
Code:drwxr-xr-x 4 root root 1024 Sep 6 22:29 . drwxr-xr-x 25 root root 4096 Oct 16 20:55 .. -rw-r--r-- 1 root root 65292 Aug 5 09:11 config-2.6.18-92.1.10.el5xen -rw-r--r-- 1 root root 65287 Jun 10 20:21 config-2.6.18-92.el5xen drwxr-xr-x 2 root root 1024 Sep 6 22:29 grub -rw------- 1 root root 3112145 Sep 6 22:29 initrd-2.6.18-92.1.10.el5xen.img -rw------- 1 root root 3112059 Sep 6 19:39 initrd-2.6.18-92.el5xen.img drwx------ 2 root root 12288 Sep 6 15:32 lost+found -rw-r--r-- 1 root root 94600 Jan 8 2007 memtest86+-1.65 -rw-r--r-- 1 root root 80032 Nov 22 2007 message -rw-r--r-- 1 root root 93266 Aug 5 09:11 symvers-2.6.18-92.1.10.el5xen.gz -rw-r--r-- 1 root root 93281 Jun 10 20:21 symvers-2.6.18-92.el5xen.gz -rw-r--r-- 1 root root 908503 Aug 5 09:11 System.map-2.6.18-92.1.10.el5xen -rw-r--r-- 1 root root 908390 Jun 10 20:21 System.map-2.6.18-92.el5xen -rw-r--r-- 1 root root 2162426 Aug 5 09:11 vmlinuz-2.6.18-92.1.10.el5xen -rw-r--r-- 1 root root 2161376 Jun 10 20:21 vmlinuz-2.6.18-92.el5xen -rw-r--r-- 1 root root 328764 Aug 5 07:35 xen.gz-2.6.18-92.1.10.el5 -rw-r--r-- 1 root root 328755 Jun 10 18:42 xen.gz-2.6.18-92.el5 -rwxr-xr-x 1 root root 714720 Aug 5 09:56 xen-syms-2.6.18-92.1.10.el5 -rwxr-xr-x 1 root root 714716 Jun 10 21:07 xen-syms-2.6.18-92.el5
A third party security audit is the IT equivalent of a colonoscopy. It's long, intrusive, very uncomfortable, and when it's done, you'll have seen things you really didn't want to see, and you'll never forget that you've had one.