[NBLUG/talk] Need help with booting Linux system
Scott Doty
scott at corp.sonic.net
Thu Mar 17 00:01:28 PDT 2011
On 03/16/2011 04:58 PM, Todd Cary wrote:
> Scott -
>
> Yup...I was not paying attention to the link syntax - I do know better
> :-).
>
> On the advice of others in the Centos forum, I did the following:
>
> rpm -Uvh --replacepkgs --replacefiles kernel-2.6.9-100.EL.i686.rpm
> redhat-logos-1.1.26-1.centos4.4.noarch.rpm grub-0.95-3.8.i386.rpm
>
> So now I have the following in the /boot/ directory:
>
> drwxr-xr-x 5 root root 9216 Mar 9 10:31 .
> drwxr-xr-x 24 root root 4096 Jan 24 08:34 ..
> -rw-r--r-- 1 root root 51676 Feb 17 22:41 config-2.6.9-100.EL
> drwxr-xr-x 2 root root 1024 Mar 9 10:31 grub
> -rw-r--r-- 1 root root 444812 May 5 2007 grub-0.95-3.8.i386.rpm
> -rw-r--r-- 1 root root 1343054 Mar 9 10:29
> initrd-2.6.9-100.EL.img
> -rw-r--r-- 1 root root 13409764 Feb 18 06:25
> kernel-2.6.9-100.EL.i686.rpm
> drwx------ 2 root root 12288 Jan 12 2007 lost+found
> -rw-r--r-- 1 root root 9371 Aug 12 2006 message
> -rw-r--r-- 1 root root 9371 Aug 12 2006 message.ja
> -rw-r--r-- 1 root root 7919724 Aug 13 2006
> redhat-logos-1.1.26-1.centos4.4.noarch.rpm
> -rw-r--r-- 1 root root 67797 Feb 17 22:41
> symvers-2.6.9-100.EL.gz
> -rw-r--r-- 1 root root 770652 Feb 17 22:41
> System.map-2.6.9-100.EL
> drwx------ 2 root root 9216 Mar 9 10:03 .Trash-root
> -rw-r--r-- 1 root root 1538264 Feb 17 22:41 vmlinuz-2.6.9-100.EL
>
> I am not sure of what to have the symbolic link for vmlinuz point to;
> vmlinuz-2.6.9-100???
>
That looks correct. but check grub.conf to make sure the kernel file
you're trying to boot is the correct one.
Also, remember that it will look a little funny, if you have a separate
/boot partition -- the filenames will be in the "root" directory, like this:
title Fedora (2.6.35.10-74.fc14.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.35.10-74.fc14.x86_64 ro
root=UUID=69effc7d-ef6e-4982-9bdc-2f3bea9e056e rhgb quiet
SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us selinux=0
initrd /initramfs-2.6.35.10-74.fc14.x86_64.img
It's the kernel line I'm referring to, it will be "/vmlinuz-..." instead
of "/boot/vmlinuz-..." -- but _only_ if /boot is a separate partition.
Quick question -- if it _doesn't_ boot, can you afford for this system
to be down until it can be fixed?
-Scott
More information about the talk
mailing list