| 1045 | | |
| 1046 | | |
| 1047 | | // Create a fdisk config file for the selected partition |
| 1048 | | QFile file( "/tmp/fdiskconfig" ); |
| 1049 | | if ( file.open( IO_WriteOnly ) ) { |
| 1050 | | QTextStream stream( &file ); |
| 1051 | | stream << "p\t" << tmp << "\t165\t" << PartitionStartBlk[PartNum] << "\t" << PartitionTotalBlk[PartNum]; |
| 1052 | | file.close(); |
| 1053 | | } |
| 1054 | | |
| 1055 | | // QMessageBox::warning( this, "PCBSD Installer", "running fdisk", "Retry", "Quit", 0, 0, 1 ); |
| 1056 | | |
| | 1045 | // Now run the FormatPartition.sh script to set this partition type to 165(FBSD) |