[rhelv6-list] new kernel is installed but grub was not updated properly

Werner Maes Werner.Maes at icts.kuleuven.be
Fri Jan 7 13:04:18 UTC 2011


Anyway

This patch works for me (it is more general that the proposed solution-

echo "patch rhel6"
mp=$(grep -w "/" /etc/fstab | sed -e 's/ .*//')
if echo "$mp" | grep "^UUID="
then
    uuid=$(echo "$mp" |sed 's/UUID=//')
    rootdisk=$(blkid -U $uuid)
    ln -vs $rootdisk /dev/root
fi

kind regards

werner maes

-----Original Message-----
From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Kinzel, David
Sent: donderdag 6 januari 2011 5:25
To: Connie Sieh; rhelv6-list at redhat.com
Subject: Re: [rhelv6-list] new kernel is installed but grub was not updated properly

>> On 6 January 2011 11:34, Werner Maes
><Werner.Maes at icts.kuleuven.be> wrote:
>>
>>>
>>> in /etc/fstab:
>>> UUID=f3b29a10-aed7-47d1-8410-5a2c3c2f4be4 /                 
>      ext4
>>>  defaults        1 1
>>> Why does the harddisk UUID appear in  fstab?
>>>
>>>
>> Because the older LABEL=... is unreliable (especially when you have
>
>Why is the older LABEL= unreliable other than virtualised guests?
>

If you had local disks attached direct to VMs, and had LABEL=/ all over the place, for instance.

>> virtualised guests) and the even old /dev/sda1 (or whatever)
>is even more
>> unreliable.
>>
>> jch
>>
>
>-C Sieh
>
>_______________________________________________
>rhelv6-list mailing list
>rhelv6-list at redhat.com
>https://www.redhat.com/mailman/listinfo/rhelv6-list
>

This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only.  Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited.  If you receive this email in error, please contact the sender and delete this communication and any copies immediately.  Thank you.
http://www.encana.com


_______________________________________________
rhelv6-list mailing list
rhelv6-list at redhat.com
https://www.redhat.com/mailman/listinfo/rhelv6-list




More information about the rhelv6-list mailing list