mirror of
https://github.com/hamonikr/systemback.git
synced 2025-12-23 22:17:46 -05:00
Add DEBUG message
This commit is contained in:
14
debug.log
14
debug.log
@@ -59,3 +59,17 @@ blacklist {
|
||||
|
||||
# ll /dev/disk/by-id/ | grep sda
|
||||
lrwxrwxrwx 1 root root 9 Sep 9 14:47 scsi-3600508b1001c75ccf265ebc995aab8f4 -> ../../sda
|
||||
|
||||
> TRY #1
|
||||
sudo systemctl stop multipath-tools.service
|
||||
|
||||
sudo apt purge multipath-tools
|
||||
|
||||
--
|
||||
쓰는 도중에 확인한 마운트 정보
|
||||
|
||||
hamonikr@hamonikr-jin:/.sblivesystemwrite$ cat /etc/mtab
|
||||
|
||||
/dev/sdc1 /.sblivesystemwrite/sblive vfat rw,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
|
||||
/dev/sdc2 /.sblivesystemwrite/sbroot ext4 rw,noatime 0 0
|
||||
|
||||
|
||||
@@ -839,6 +839,14 @@
|
||||
<source>An error occurred while unpacking the Live system files.</source>
|
||||
<translation>라이브 시스템 파일을 해제하는 동안 오류가 발생하였습니다.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>An error occurred while writing SBLIVE partition.</source>
|
||||
<translation>SBLIVE 파티션을 작성하는 중 오류가 발생하였습니다.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>An error occurred while writing SBROOT partition.</source>
|
||||
<translation>SBROOT 파티션을 작성하는 중 오류가 발생하였습니다.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The Live conversion is aborted!</source>
|
||||
<translation>라이브 시스템 변환이 중단되었습니다.</translation>
|
||||
|
||||
@@ -2676,8 +2676,12 @@ void systemback::livewrite()
|
||||
{
|
||||
if(sb::exec("tar -xf \"" % sb::sdir[2] % "\"/" % sb::left(ui->livelist->currentItem()->text(), sb::instr(ui->livelist->currentItem()->text(), " ") - 1) % ".sblive -C /.sblivesystemwrite/sblive --no-same-owner --no-same-permissions", sb::Prgrss)) return err(323);
|
||||
}
|
||||
else if(sb::exec("tar -xf \"" % sb::sdir[2] % "\"/" % sb::left(ui->livelist->currentItem()->text(), sb::instr(ui->livelist->currentItem()->text(), " ") - 1) % ".sblive -C /.sblivesystemwrite/sblive --exclude=casper/filesystem.squashfs --exclude=live/filesystem.squashfs --no-same-owner --no-same-permissions") || sb::exec("tar -xf \"" % sb::sdir[2] % "\"/" % sb::left(ui->livelist->currentItem()->text(), sb::instr(ui->livelist->currentItem()->text(), " ") - 1) % ".sblive -C /.sblivesystemwrite/sbroot --exclude=.disk --exclude=boot --exclude=EFI --exclude=syslinux --exclude=casper/initrd.gz --exclude=casper/vmlinuz --exclude=live/initrd.gz --exclude=live/vmlinuz --no-same-owner --no-same-permissions", sb::Prgrss))
|
||||
return err(323);
|
||||
else
|
||||
{
|
||||
if(sb::exec("tar -xf \"" % sb::sdir[2] % "\"/" % sb::left(ui->livelist->currentItem()->text(), sb::instr(ui->livelist->currentItem()->text(), " ") - 1) % ".sblive -C /.sblivesystemwrite/sblive --exclude=casper/filesystem.squashfs --exclude=live/filesystem.squashfs --no-same-owner --no-same-permissions", sb::Prgrss)) return err(400);
|
||||
|
||||
if(sb::exec("tar -xf \"" % sb::sdir[2] % "\"/" % sb::left(ui->livelist->currentItem()->text(), sb::instr(ui->livelist->currentItem()->text(), " ") - 1) % ".sblive -C /.sblivesystemwrite/sbroot --exclude=.disk --exclude=boot --exclude=EFI --exclude=syslinux --exclude=casper/initrd.gz --exclude=casper/vmlinuz --exclude=live/initrd.gz --exclude=live/vmlinuz --no-same-owner --no-same-permissions", sb::Prgrss)) return err(401);
|
||||
}
|
||||
|
||||
pset(1);
|
||||
if(sb::exec("syslinux -ifd syslinux " % ldev % (ismmc ? "p" : nullptr) % '1')) return err();
|
||||
@@ -2904,6 +2908,10 @@ void systemback::dialogopen(ushort dlg, cbstr &dev)
|
||||
return tr("The Live write is aborted!") % "<p>" % tr("The specified partition could not be formatted (in use or unavailable).") % "<p><b>" % dev.data;
|
||||
case 339:
|
||||
return tr("The system restoration is aborted!") % "<p>" % tr("There is not enough free space.");
|
||||
case 400:
|
||||
return tr("The Live write is aborted!") % "<p>" % tr("An error occurred while writing SBLIVE partition.");
|
||||
case 401:
|
||||
return tr("The Live write is aborted!") % "<p>" % tr("An error occurred while writing SBROOT partition.");
|
||||
default:
|
||||
return tr("The system repair is aborted!") % "<p>" % tr("There is not enough free space.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user