<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Courier New";
        mso-fareast-language:DE-CH;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></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="DE-CH" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi list<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m trying to setup a Ubuntu Linux with fai-cd. <o:p></o:p></p>
<p class="MsoNormal"><span lang="FR-CH">To configure my faiserver I used the wiki page from wiki.fai-project.org to do the right changes for ubuntu.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CH"><o:p> </o:p></span></p>
<p class="MsoNormal">I also have implemented the script UBUNTU/05-initramfs mentioned by Robert Markula in another thread of this list.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"><snip><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">error=0 ; trap "error=$((error|1))" ERR<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"># Apt-Pinning for initramfs-tools<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">fcopy -v /etc/apt/preferences.d/initramfs.pref<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"># Remove the FAI apt source<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">$ROOTCMD rm /etc/apt/sources.list.d/fai.list<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"># Refresh the sources<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">$ROOTCMD apt-get update<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"># Downgrade to initramfs-tools from the Ubuntu repository<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">echo "* Downgrade initramfs-tools"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">$ROOTCMD apt-get -y --force-yes install initramfs-tools<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"># Install all packages that have been removed<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"># by the FAI-specific initramfs-tools package<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"># e.g. console-setup<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">echo "* Install ubuntu-minimal"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">$ROOTCMD apt-get -y install ubuntu-minimal<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"># Print the version of the now installed initramfs-tools (optional)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">echo "* Version of initramfs-tools:"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">$ROOTCMD dpkg -s initramfs-tools<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH">exit $error<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.7pt;background:white"><span lang="FR-CH" style="font-size:10.5pt;font-family:Courier;color:black;mso-fareast-language:DE-CH"></snip><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-CH">The installation process is completed, but I get an error from mv : inter-device move failed : /tmp/rebootCD to /target/tmp/rebootCD : unable to remove target : read-only file system<o:p></o:p></span></p>
<p class="MsoNormal">Thus, the reboot has to be done by reseting the machine, which is ok but not so nice…
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anybody already seen this error message or an idea what could cause this error?<o:p></o:p></p>
<p class="MsoNormal">I don’t understand why /target should be suddenly unwriteable as everything in setup process seems to work.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards<o:p></o:p></p>
<p class="MsoNormal">Fabian<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:DE-CH">--
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:DE-CH">Fabian Hartmann                         wlan-partner.com AG<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:DE-CH">Dipl. Inf. Ing. FH                      Hardturmstrasse 127, 8005 Zürich<o:p></o:p></span></p>
<p class="MsoNormal"><u><span style="font-size:10.0pt;font-family:"Courier New";color:blue;mso-fareast-language:DE-CH"><a href="mailto:fabian.hartmann@wlan-partner.com">fabian.hartmann@wlan-partner.com</a></span></u><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:DE-CH">       
 Tel: +41 55 214 18 43 <o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>