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: [email protected] [mailto:[email protected]] On
Behalf Of Kinzel, David
Sent: donderdag 6 januari 2011 5:25
To: Connie Sieh; [email protected]
Subject: Re: [rhelv6-list] new kernel is installed but grub was not updated
properly
>> On 6 January 2011 11:34, Werner Maes
><[email protected]> 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
>[email protected]
>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
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list
_______________________________________________
rhelv6-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list