[NBLUG/talk] Need help with booting Linux system
William Tracy
afishionado at gmail.com
Thu Mar 17 21:51:12 PDT 2011
Are you saying that you already tried to repair it with package-cleanup,
and that didn't work for you?
I probably can't help you beyond what I've already suggested--again, I'm a
lot more familiar with Debian than CentOS.
William Tracy
Work: wtracy at cisco.com
Play: afishionado at gmail.com
Cell phone: (805) 704-0917
Internet phone: (707) 206-6441
On Thu, Mar 17, 2011 at 6:44 PM, Todd Cary <todd at aristesoftware.com> wrote:
> Bill -
>
> Though I have run the following command with the results in parts of this
> message . Do you think it would be advantageous to run your suggested rpm
> command?
>
> Todd
>
>
>
>
> On 3/17/2011 5:44 PM, William Tracy wrote:
>
>> A different possible approach: Supposedly this command will forcibly
>> reinstall a package from an rpm file, replacing any accidentally deleted
>> files:
>>
>> rpm -U --force <package.rpm>
>>
>> I found a forum post that suggests that the "yum-utils" package includes a
>> "package-cleanup" command that will do this without making you manually
>> track down the rpm files.
>>
>> YMMV; I'm more of a Debian guy. I happen to have a Red Hat system here at
>> work where I can pull up man pages, but I don't have root access to test
>> anything out (or install yum-utils).
>>
>>
>> William Tracy
>> Work: wtracy at cisco.com <mailto:wtracy at cisco.com>
>> Play: afishionado at gmail.com <mailto:afishionado at gmail.com>
>>
>> Cell phone: <%28805%29%20704-0917>(805) 704-0917
>> Internet phone: <%28707%29%20206-6441>(707) 206-6441
>>
>>
>> On Thu, Mar 17, 2011 at 12:57 PM, Todd Cary <todd at aristesoftware.com<mailto:
>> todd at aristesoftware.com>> wrote:
>>
>> Scott -
>>
>> Again thank you for the assistance, and my delays in
>> getting back is due to being "in the field" frequently.
>>
>> I can afford to have the server down for a period of time
>> since it is mainly for FTP, testing PHP and displaying
>> images for clients.
>>
>> Do I include the EL in the symbolic link as in
>> vmlinuz -> vmlinuz-2.6.9-100.EL
>>
>> Todd
>>
>> # 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,0)
>> # kernel /vmlinuz-version ro
>> root=/dev/VolGroup00/LogVol00
>> # initrd /initrd-version.img
>> #boot=/dev/hdc
>> default=0
>> timeout=5
>> splashimage=(hd0,0)/grub/splash.xpm.gz
>> hiddenmenu
>> title CentOS (2.6.9-100.EL)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.9-100.EL ro
>> root=/dev/VolGroup00/LogVol00 rhgb quiet
>> initrd /initrd-2.6.9-100.EL.img
>>
>> Todd
>>
>>
>> On 3/17/2011 12:01 AM, Scott Doty wrote:
>>
>> 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
>>
>>
>> _______________________________________________
>> talk mailing list
>> talk at nblug.org <mailto:talk at nblug.org>
>>
>> http://nblug.org/cgi-bin/mailman/listinfo/talk
>>
>>
>>
>> -- Ariste Software
>> Petaluma, CA 94952
>>
>> http://www.aristesoftware.com
>>
>>
>> _______________________________________________
>> talk mailing list
>> talk at nblug.org <mailto:talk at nblug.org>
>>
>> http://nblug.org/cgi-bin/mailman/listinfo/talk
>>
>>
>>
>> _______________________________________________
>> talk mailing list
>> talk at nblug.org
>> http://nblug.org/cgi-bin/mailman/listinfo/talk
>>
>
> --
> Ariste Software
> Petaluma, CA 94952
>
> http://www.aristesoftware.com
>
>
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/cgi-bin/mailman/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nblug.org/pipermail/talk/attachments/20110317/76c3b760/attachment.htm>
More information about the talk
mailing list