<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.Code
        {mso-style-name:Code;
        mso-style-priority:1;
        font-family:"Courier New";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>shailendra
sodhi wrote:</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<p class=MsoNormal>I am attempting an upgrade from CentOS 5.3 to CentOS 5.4.
The system I am running has three  1 terabyte drives /sda/b/c configured
as soft raid0 with xfs file system and one solid state 32 GB drive (/sdd)with
linux(CentOS 5.3) on it.<br>
Now the problem is when I attempt an upgrade installer complains about
unreadable partition table on sda/b/c and ask for intialization, which is fine
since I can ignore the message but than it try to mount /dev/md0 soft raid
partition and fails the upgrade.<br>
<br>
Now before attempting an upgrade if I unmount the /dev/md0 and remove the entry
from fstab, installer dosen't complain about any thing and the upgrade is
successful.<br>
<br>
Now the company I work for ships the boxes with above configurations and I
don't want customers to playing around with fstab and than upgrade their boxes.
<br>
<br>
Any work around ....?? Apart from performing upgrade over net as it must be
thru DVD.<o:p></o:p></p>

</div>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>One way might
be to include a small pre-upgrade script on your DVD.  Ensure your customers
run the script as part of the upgrade procedure, then the script can configure
fstab and reboot.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>A more
complicated way might be to get the %pre section of kickstart to detect and mount
the partitions, and modify fstab from there.  You would have to do that
manually because i) anaconda’s partition detection and mounting code is not
available at that point (any anaconda devs reading – that would be a useful
thing to have) and ii) it doesn’t work for you anyway.  The thread <a
href="https://www.redhat.com/archives/kickstart-list/2009-August/msg00062.html"><span
style='font-size:12.0pt'>CentOS upgrade - access to chroot in %pre?</span></a> from
<a href="https://www.redhat.com/archives/kickstart-list/2009-August/thread.html">last
August</a> has some examples of possible techniques to do that.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Moray.<br>
"To err is human.  To purr, feline"</span><span
style='font-size:11.0pt;color:#1F497D'><o:p></o:p></span></p>

</div>

</body>

</html>