Devuan bug report logs - #510
Devuan-installer performs unnecessary rsync

Package: refractainstaller-gui; Maintainer for refractainstaller-gui is fsmithred <fsmithred@gmail.com>;

Reported by: David Waring <davidwaring@ntlworld.com>

Date: Mon, 7 Sep 2020 19:03:01 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#510; Package refractainstaller-yad. (Mon, 07 Sep 2020 19:03:01 GMT) (full text, mbox, link).


Acknowledgement sent to David Waring <davidwaring@ntlworld.com>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. (Mon, 07 Sep 2020 19:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: David Waring <davidwaring@ntlworld.com>
To: submit@bugs.devuan.org
Subject: Devuan-installer performs unnecessary rsync
Date: Mon, 7 Sep 2020 20:56:57 +0200
[Message part 1 (text/plain, inline)]
Package: refractainstaller-yad
Version: current
Severity: normal

Precis: On invoking the installer from liveUSB Desktop and selecting install options including /home, it then wastes several hours copying existing ~1TB home partition to itself using rsync

Background: I already had MintXFCE 20 and Lubuntu (LxQt 0.14.1) installed on /dev/sda2 and /dev/sda4 respectively with /home on /dev/sd6. I have had a number of problems with LxQt on Unbuntu and wanted to try Devuan so decided to overwrite LUbubntu with Devuan.
I created a liveUSB and booted into the desktop.
I launched "Install Devuan" and then I selected:
[x] Create separate /home partition
[x] Use existing swap partition instead of swapfile
[x] do not format partitions. I'll handle it myself

I left all other options at default.

I selected the first option since there is no "Use existing /home partition" This may have been my mistake but from the options and instructions on the web it is not obvious how to use your existing partition once the install has completed.
Having done this and followed all the prompts, I was somewhat alarmed to see it listing all the files in /home. I opened Thunar on some of the folders listed and became even more confused since nothing seemed to have changed. I opened a terminal, ran top and found that most of my processor power was occupied with 2 copies of rsync. Since I knew that if it was copying to another partition it would run out of space I waited for the crash. 3+ hours later it finished syncing all the files with themselves. A mesg about chroot came up and installer waited for me to respond before continuing.
It was then that I made my second mistake. I selected what I thought might be useful text to copy into this email. I pressed Shft+Ctrl+C  to copy the text and refractainstaller-yad exited along with the prmpt dialog.
At this point I have given up and decided to carry on using Mint until the Installer becomes more user friendly.

I am not sure exactly what was happening but I assume it rsynced some of /target-home to /target/target-home or vice versa (target-home being a temporary mountpoint of the existing /home partition). Having aborted with the accidental Shft+Ctrl+C ,the Devuan partition now contains an empty /home folder and a partial copy of the /home partition  in /target-home folder.
 

The install process for Mint is much more logical in that GParted lets you select which partitions are mounted at which mountpoints and you have to elect whether or not to format within GParted. In refractainstaller-yad most actions of GParted are inhibited.
 

[Message part 2 (text/html, inline)]

bug reassigned from package 'refractainstaller-yad' to 'refractainstaller-gui'. Request was from fsmithred <fsmithred@gmail.com> to control@bugs.devuan.org. (Wed, 09 Sep 2020 17:33:01 GMT) (full text, mbox, link).


No longer marked as found in versions current. Request was from fsmithred <fsmithred@gmail.com> to control@bugs.devuan.org. (Wed, 09 Sep 2020 17:33:01 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org:
bug#510; Package refractainstaller-gui. (Wed, 09 Sep 2020 17:48:01 GMT) (full text, mbox, link).


Acknowledgement sent to fsmithred <fsmithred@gmail.com>:
Extra info received and forwarded to list. (Wed, 09 Sep 2020 17:48:04 GMT) (full text, mbox, link).


Message #14 received at 510@bugs.devuan.org (full text, mbox, reply):

From: fsmithred <fsmithred@gmail.com>
To: 510@bugs.devuan.org
Subject: Fwd: [devuan-dev] bug#510: Devuan-installer performs unnecessary rsync
Date: Wed, 9 Sep 2020 13:31:52 -0400
[Message part 1 (text/plain, inline)]


-------- Forwarded Message --------

Il 07/09/20 20:56, David Waring ha scritto:
> Package: refractainstaller-yad
> Version: current
> Severity: normal
> 
> Precis: On invoking the installer from liveUSB Desktop and selecting install options including /home, it then wastes several hours copying existing ~1TB home partition to itself using rsync
> 
> Background: I already had MintXFCE 20 and Lubuntu (LxQt 0.14.1) installed on /dev/sda2 and /dev/sda4 respectively with /home on /dev/sd6. I have had a number of problems with LxQt on Unbuntu and wanted to try Devuan so decided to overwrite LUbubntu with Devuan. 
> I created a liveUSB and booted into the desktop.
> I launched "Install Devuan" and then I selected:
> [x] Create separate /home partition
> [x] Use existing swap partition instead of swapfile
> [x] do not format partitions. I'll handle it myself
> 
> I left all other options at default.
> 
> I selected the first option since there is no "Use existing /home partition" This may have been my mistake but from the options and instructions on the web it is not obvious how to use your existing partition once the install has completed.
> Having done this and followed all the prompts, I was somewhat alarmed to see it listing all the files in /home. I opened Thunar on some of the folders listed and became even more confused since nothing seemed to have changed. I opened a terminal, ran top and found that most of my processor power was occupied with 2 copies of rsync. Since I knew that if it was copying to another partition it would run out of space I waited for the crash. 3+ hours later it finished syncing all the files with themselves. A mesg about chroot came up and installer waited for me to respond before continuing.
> It was then that I made my second mistake. I selected what I thought might be useful text to copy into this email. I pressed Shft+Ctrl+C  to copy the text and refractainstaller-yad exited along with the prmpt dialog.
> At this point I have given up and decided to carry on using Mint until the Installer becomes more user friendly.
> 
> I am not sure exactly what was happening but I assume it rsynced some of /target-home to /target/target-home or vice versa (target-home being a temporary mountpoint of the existing /home partition). Having aborted with the accidental Shft+Ctrl+C ,the Devuan partition now contains an empty /home folder and a partial copy of the /home partition  in /target-home folder.
>  
> 
> The install process for Mint is much more logical in that GParted lets you select which partitions are mounted at which mountpoints and you have to elect whether or not to format within GParted. In refractainstaller-yad most actions of GParted are inhibited.
>  
> 
> 
Hi,
I think you should have installed devuan to /dev/sda2 (lxqt partition),
without [x] Create separate /home partition.
On first boot then you can modify /etc/fstab to mount your former home
partition  (/dev/sda6) on /home.

Just my 0.2 cents.

Ciao,
Tito
_______________________________________________

[0xA73823D3094C5620.asc (application/pgp-keys, attachment)]

Information forwarded to devuan-bugs@lists.dyne.org:
bug#510; Package refractainstaller-gui. (Wed, 09 Sep 2020 19:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to fsmithred <fsmithred@gmail.com>:
Extra info received and forwarded to list. (Wed, 09 Sep 2020 19:33:03 GMT) (full text, mbox, link).


Message #19 received at 510@bugs.devuan.org (full text, mbox, reply):

From: fsmithred <fsmithred@gmail.com>
To: 510@bugs.devuan.org
Subject: Fwd: [devuan-dev] bug#510: Devuan-installer performs unnecessary rsync
Date: Wed, 9 Sep 2020 15:11:39 -0400
[Message part 1 (text/plain, inline)]
-------- Forwarded Message --------

> Il 07/09/20 20:56, David Waring ha scritto:
>> Package: refractainstaller-yad
>> Version: current
>> Severity: normal
>>
>> Precis: On invoking the installer from liveUSB Desktop and selecting install options including /home, it then wastes several hours copying existing ~1TB home partition to itself using rsync
>>

If you try it again, please save me a copy of
/var/log/refractainstaller.log. I would like to see how you got it to copy
the existing home partition. The script is set up to rsync a copy of the
running live system from the usb to hard drive.


>> I selected the first option since there is no "Use existing /home partition" This may have been my mistake but from the options and instructions on the web it is not obvious how to use your existing partition once the install has completed.

Tito gave the right answer. Install to a single partition and then edit
fstab manually to use the existing home.

There was a "Use existing home partition" option for a very short time,
but I removed it. I could not figure out a sane way to deal with the
user's config files.

I'll have a look at the readme before building the next version. Maybe
there needs to be a special section on re-using an old home.

>>
>> The install process for Mint is much more logical in that GParted lets you select which partitions are mounted at which mountpoints and you have to elect whether or not to format within GParted. In refractainstaller-yad most actions of GParted are inhibited.
>>  

GParted is not inhibited, but the default is for the script to format the
partitions, even if you already formatted them in gparted. I've considered
changing the default to no-format.

fsmithred

[0xA73823D3094C5620.asc (application/pgp-keys, attachment)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue Oct 27 12:14:39 2020;