[PC-BSD Commits] r7397 - pcbsd/current/SysInstaller
svn at pcbsd.org
svn at pcbsd.org
Wed Aug 18 09:06:24 PDT 2010
Author: kris
Date: 2010-08-18 09:06:24 -0700 (Wed, 18 Aug 2010)
New Revision: 7397
Modified:
pcbsd/current/SysInstaller/sys-diskwidget.cpp
pcbsd/current/SysInstaller/sysinstaller.ui
Log:
Update to SysInstaller, added support for choosing between GPT/MBR partitioning for dedicated disks, since some older BIOS's don't like GPT formatted disks
Modified: pcbsd/current/SysInstaller/sys-diskwidget.cpp
===================================================================
--- pcbsd/current/SysInstaller/sys-diskwidget.cpp 2010-08-18 15:45:01 UTC (rev 7396)
+++ pcbsd/current/SysInstaller/sys-diskwidget.cpp 2010-08-18 16:06:24 UTC (rev 7397)
@@ -552,6 +552,13 @@
else
tmpList << "bootManager=none";
+ // If this is a dedicated disk, mark if using MBR/GPT
+ if ( tmpSlice == "all" ) {
+ if ( checkDiskGPT->isChecked() )
+ tmpList << "partscheme=GPT";
+ else
+ tmpList << "partscheme=MBR";
+ }
// Check for any mirror for this device
for (int i=0; i < copyList.count(); ++i) {
Modified: pcbsd/current/SysInstaller/sysinstaller.ui
===================================================================
--- pcbsd/current/SysInstaller/sysinstaller.ui 2010-08-18 15:45:01 UTC (rev 7396)
+++ pcbsd/current/SysInstaller/sysinstaller.ui 2010-08-18 16:06:24 UTC (rev 7397)
@@ -4072,7 +4072,7 @@
</font>
</property>
<property name="styleSheet">
- <string notr="true">background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(217, 230, 235, 230), stop:1 rgba(255, 255, 255, 255));
+ <string notr="true">background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(217, 230, 235, 230), stop:1 rgba(255, 255, 255, 255));
color: rgb(116, 160, 180);</string>
</property>
<property name="text">
@@ -7796,7 +7796,7 @@
</font>
</property>
<property name="styleSheet">
- <string notr="true">background-color: rgb(250, 250, 250);</string>
+ <string notr="true">background-color: rgb(250, 250, 250);</string>
</property>
<item>
<property name="text">
@@ -8264,6 +8264,29 @@
</widget>
</item>
<item>
+ <spacer name="horizontalSpacer_41">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="checkDiskGPT">
+ <property name="toolTip">
+ <string>Enable this option if you with to use the GPT/EFI partition scheme for dedicated disks. Normally only needs to be enabled on 2TB+ disks. Warning: May not work with older BIOS/Motherboards. </string>
+ </property>
+ <property name="text">
+ <string>Partition with GPT for full disk install</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
More information about the Commits
mailing list