<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">2019. 08. 25. 8:48 keltezéssel, Kiss
Attila írta:<br>
</div>
<blockquote type="cite"
cite="mid:0102016cc788bfb4-6cd8e17b-8981-4440-a3c8-869b94c7c3cd-000000@eu-west-1.amazonses.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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> </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>Ez pedig a scr/modules/partition/jobs/CreatePartitionjob.cpp
ezen funkciójában lelhető:</p>
<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>Talán debuggolási logot engedélyeztetni kellene?</p>
<p><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@lists.ubk.hu">dev@lists.ubk.hu</a>
<a class="moz-txt-link-freetext" href="http://lists.ubk.hu/listinfo/dev">http://lists.ubk.hu/listinfo/dev</a>
</pre>
</blockquote>
<p>Csinálok egy calamares példányt a DCMAKE_BUILD_TYPE=Debug
opcióval, hátha mond valami többet.</p>
<p><br>
</p>
</body>
</html>