Bug 28213 - Enable diskdrake to handle partitions on booted Live
Summary: Enable diskdrake to handle partitions on booted Live
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-25 02:57 CET by Morgan Leijström
Modified: 2021-01-25 05:08 CET (History)
2 users (show)

See Also:
Source RPM: drakxtools
CVE:
Status comment:


Attachments

Description Morgan Leijström 2021-01-25 02:57:56 CET
__Scope:
Other operating systems do not have IsoDumper, and all GUI tools I know fail to add such partitions, so common users can not easily create persistence on Mageia Live.

__Wish:
It would be great if a booted Mageia Live could add persistence partition on itself using diskdrake.

__Quirks: (tested using second internal RC8 64 bit xfce)
a) Live need be rebooted between partitioning and formatting
b) Labelling fails


__Steps to Reproduce:
1. Boot Live 8RC
2. Start diskdrake, select the running live
3. Make a ext4 partition: OK
4. Format it : fail.
5. Reboot it.
6. Back in diskdrake select the ext4, format: OK
7. Expert mode, label it mgalive-persist: looks OK.
8. restart diskdrake: see it have no label.

(A workaround for users not owing a Mageia system is to download two different Live ISOs, boot on one of them (DVD or USB) to add persistence to the other.  But that need double download and target medias.)
Comment 1 Dave Hodgins 2021-01-25 03:26:04 CET
Specify the type and label, and then format the partition.

CC: (none) => davidwhodgins

Comment 2 Morgan Leijström 2021-01-25 03:37:00 CET
On which RC live did that work for you?
Comment 3 Dave Hodgins 2021-01-25 03:41:07 CET
Just to clarify. Create the partition. Remove and re-insert the drive. Reboot.
Select the type and label, then format the drive. Reboot and the persistent
partition works. Tested and confirmed with Mageia-8-rc-Live-Plasma-x86_64
Comment 4 Morgan Leijström 2021-01-25 04:50:26 CET
Ah! Yes that ISO works for me too.

So, it is broken for 32 bit.


( BTW adding to your instruction:close diskdrake so it write fstab ;) And storage need no plug in/out )


Still even for 64 bit:

§  It is weird it need the reboot before formatting and labeling.

§  Next, try to make a swap: Also here it need a reboot before it can format it, and then it will not register it in fstab... (workaround of course is to edit fstab manually, but...)

CC: (none) => mageia
Hardware: All => i586
Assignee: bugsquad => mageiatools

Comment 5 Morgan Leijström 2021-01-25 04:55:32 CET
(In reply to Morgan Leijström from comment #4)
> §  Next, try to make a swap: ...

I mean:

§ After next reboot, ...

(we need persistence to be online to save fstab persistently)
Comment 6 Dave Hodgins 2021-01-25 04:58:17 CET
While it succeeds in creating the partition, it can not re-read the partition
table while the device is in use (no idea why), so can not find it to format
until after the reboot.
Comment 7 Morgan Leijström 2021-01-25 05:08:05 CET
Forgot to write clearly:

64 bit works: make partition, reboot, specify type, label, then formats OK.

32 bit: That format step fail.

Note You need to log in before you can comment on or make changes to this bug.