Re: Migration from VMWare to HP Blade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Nov 19, 2008 at 10:39 AM, Matthew Walster <matthew@xxxxxxxxxxx> wrote:
> 2008/11/19 Lanny Marcus <lmmailinglists@xxxxxxxxx>
>> I think you will find that in /boot/grub/grub.conf
>
> $ mount
> /dev/cciss/c0d0p2 on / type ext3 (rw,noatime)
> $ sudo cat /etc/grub/menu.list #symlinked to /etc/grub/grub.conf
> # 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/cciss/c0d0p2
> #          initrd /initrd-version.img
> #boot=/dev/cciss/c0d0
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS (2.6.18-92.1.17.el5)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.18-92.1.17.el5 ro root=/dev/cciss/c0d0p2
>         initrd /initrd-2.6.18-92.1.17.el5.img
> title CentOS (2.6.18-92.1.13.el5)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.18-92.1.13.el5 ro root=/dev/cciss/c0d0p2
>         initrd /initrd-2.6.18-92.1.13.el5.img
> title CentOS (2.6.18-53.el5)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.18-53.el5 ro root=LABEL=/1
>         initrd /initrd-2.6.18-53.el5.img
> $ uname -a
> Linux (HOSTNAME) 2.6.18-53.el5 #1 SMP Mon Nov 12 02:14:55 EST 2007 x86_64
> x86_64 x86_64 GNU/Linux
> And yes, I've tried altering the root= lines to match the working kernel,
> but that didn't work either, and it gets overwritten anyway after every
> kernel upgrade.
>>
>> Other, far more knowledgeable people on the list will, hopefully,
>> answer your questions.
>
> Thanks ;)

Matthew:  You're welcome. As Kai wrote earlier, you need to change the
line that says default=n to the "title" line for the kernel you want
to use (I think it defaults to 0, after a Kernel upgrade). Every time
you install a new kernel, it will change this file, so you may need to
go back and tweak it, after a kernel upgrade. Lanny
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux