<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <blockquote type="cite"
      cite="mid:acf27675-45ee-f9e0-2f44-a83bb32571ac@enterpriseforever.com">2019.
      08. 22. 11:55 keltezéssel, Kiss Attila írta: <br>
      <blockquote type="cite" style="color: #000000;">A telepítőnek nem
        sikerült létrehoznia a partíciós táblát a lemezen SAMSUNG
        HD161GJ. <br>
==========================================================================================
        Create a new partition table (type: msdos) on „/dev/sda”
==========================================================================================
==========================================================================================
        Job: Create new partition table on device „/dev/sda”
==========================================================================================
==========================================================================================
        Command: sfdisk /dev/sda </blockquote>
    </blockquote>
    <p>Miért nem tud semmilyen partícióstáblát csinálni a calamares a
      manuális partícionálás választásakor?</p>
    <p>Nyomozás a calamares forrásában. A lang/calamares_hu.ts -ben
      találat a "A telepítőnek nem sikerült létrehoznia a partíciós
      táblát a lemezen" stringre:<br>
    </p>
    <p>
      <blockquote type="cite">    <message><br>
                <location
        filename="../src/modules/partition/jobs/CreatePartitionTableJob.cpp"
        line="82"/><br>
                <source>The installer failed to create a partition
        table on %1.</source><br>
                <translation>A telepítőnek nem sikerült
        létrehoznia a partíciós táblát a lemezen %1.</translation><br>
            </message><br>
      </blockquote>
      Ez a /src/modules/partition/jobs/CreatePartitionTableJob.cpp
      82.sorába illesztődik be.</p>
    <p>Ez pedig a scr/modules/partition/jobs/CreatePartitionjob.cpp ezen
      funkciójában lelhető:</p>
    <p>
      <blockquote type="cite">Calamares::JobResult<br>
        CreatePartitionTableJob::exec()<br>
        {<br>
            Report report( nullptr );<br>
            QString message = tr( "The installer failed to create a
        partition table on %1." ).arg( m_device->name() );<br>
        <br>
            PartitionTable* table = m_device->partitionTable();<br>
            cDebug() << "Creating new partition table of type"
        << table->typeName()<br>
                     << ", uncommitted yet:";<br>
        <br>
            if ( Logger::logLevelEnabled( Logger::LOGDEBUG ) )<br>
            {<br>
                for ( auto it = PartitionIterator::begin( table );<br>
                    it != PartitionIterator::end( table ); ++it )<br>
                    cDebug() << it;<br>
        <br>
                QProcess lsblk;<br>
                lsblk.setProgram( "lsblk" );<br>
                lsblk.setProcessChannelMode( QProcess::MergedChannels );<br>
                lsblk.start();<br>
                lsblk.waitForFinished();<br>
                cDebug() << "lsblk:\n" <<
        lsblk.readAllStandardOutput();<br>
        <br>
                QProcess mount;<br>
                mount.setProgram( "mount" );<br>
                mount.setProcessChannelMode( QProcess::MergedChannels );<br>
                mount.start();<br>
                mount.waitForFinished();<br>
                cDebug() << "mount:\n" <<
        mount.readAllStandardOutput();<br>
            }<br>
        <br>
            CreatePartitionTableOperation op(*m_device, table);<br>
            op.setStatus(Operation::StatusRunning);<br>
        <br>
            if (op.execute(report))<br>
                return Calamares::JobResult::ok();<br>
        <br>
            return Calamares::JobResult::error(message,
        report.toText());<br>
        }<br>
      </blockquote>
      Okos C programnyelvhez jól értő segítsége kellene ennek
      kinyomozásába.<br>
    </p>
    <p>Talán debuggolási logot engedélyeztetni kellene?</p>
    <p><br>
    </p>
  </body>
</html>