[rhelv6-list] new kernel is installed but grub was not updated properly
Werner Maes
Werner.Maes at icts.kuleuven.be
Thu Jan 6 11:34:04 UTC 2011
It works If I use
ln -s /dev/sda1 /dev/root
in /etc/fstab:
UUID=f3b29a10-aed7-47d1-8410-5a2c3c2f4be4 / ext4 defaults 1 1
Why does the harddisk UUID appear in fstab?
Kind regards
Werner Maes
-----Original Message-----
From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Werner Maes
Sent: donderdag 6 januari 2011 9:50
To: 'rhelv6-list at redhat.com'
Subject: Re: [rhelv6-list] new kernel is installed but grub was not updated properly
awk '{ if ($2 == "/") print $1; }' /etc/fstab in kickstart postinstall returns UUID=7a645002-36c7-4e39-bc32-c7051beda688
with
ls -l /dev/disk/by-uuid
lrwxrwxrwx 1 root root 10 Jan 5 12:35 7a645002-36c7-4e39-bc32-c7051beda688 -> ../../sda1
if I use " ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root", it still does not work.
What am I doing wrong?
Werner
-----Original Message-----
From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of GOLLSCHEWSKY, Tim
Sent: dinsdag 4 januari 2011 11:59
To: 'Jack Neely'; 'rhelv6-list at redhat.com'
Subject: Re: [rhelv6-list] new kernel is installed but grub was not updated properly
> >
> > Indeed. This is an anaconda bug and there is a bugzilla for it:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=657257
> >
>
> I filed
>
> https://bugzilla.redhat.com/show_bug.cgi?id=625216
>
> during the RHEL 6 beta. Grubby would segfault. I think that these
> issues may be related. In any case, grubby was obviously changed...as
> it now doesn't segfault. But it looks like no one tested it from a
> %post.
>
> I could really, really use a fix here.
There is a workaround mentioned in bug 657257 which worked for me.
Put this in your postinstall before the yum update:
ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root
Regards.
Tim.
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system.
If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line.
_______________________________________________
rhelv6-list mailing list
rhelv6-list at redhat.com
https://www.redhat.com/mailman/listinfo/rhelv6-list
_______________________________________________
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