QV version 240409 pre-alpha uploaded

Moderator: BarryK

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: QV version 240403 pre-alpha uploaded

Post by BarryK »

williwaw wrote: Wed Apr 10, 2024 7:51 am
nnriyer wrote: Wed Apr 10, 2024 5:16 am

I would like to install QV on separate internal partion of Nvme SSD. However, while trying to format using gparted from easyos, the same is not possible. btrfs option is showing but not live (not turning black/grey) and not able to select ?. Hence not able to format as btrfs. How to proceed with format partition of internal SSD as btrfs.

you will need to install btrfs-progs with PKGet to enable that in gparted

Yes. Also, in EasyOS Kirkstone-series, the package is named 'btrfs-tools'.

Don't forget to install the fixed 'mount-img', so the icon will display on the desktop.
There are some other issues with btrfs in Kirkstone-series -- I need to upload a new version soon.
If you run QV 240409 from a usb-stick, everything is installed to work with btrfs.

nnriyer
Posts: 119
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 95 times
Been thanked: 5 times

Re: QV version 240409 pre-alpha uploaded

Post by nnriyer »

Sir

I am finding it install through qv-installer. It asks qemu, that also installed . QtEMU also opened from Utility menu. However, unable to proceed further due to lack of knowledge qemu etc. I will try USB option also.

Note : Is it possible to provide step by step procedure for installation with qt-installer?

Clarity
Posts: 3829
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1628 times
Been thanked: 523 times

Re: QV version 240409 pre-alpha uploaded

Post by Clarity »

nnriyer wrote: Wed Apr 10, 2024 3:48 pm

.. QtEMU also opened from Utility menu. However, unable to proceed further due to lack of knowledge qemu etc. ...

Step by step use of QEMU to run a Virtual PC in EASYs

  1. Download this forum's v9.01 FATDOG ISO file (from here)

  2. Go here and get this PET utility (@BarryK you should add this 'tiny' to your system builds which eliminates this downloading need)

  3. Install QEMU_Ready by clicking the downloaded utility

  4. Open a terminal to desktop

  5. Run these 3 commands

    1. qemu_ready # This command insures your PC has a performance requirement active

    2. echo "I am going to run a Virtual Machine (VM) with FATDOG running" # This is a superfluous reminder

    3. to open a QEMU Virtual PC running FATDOG v9.01, type this command which assumes you have the ISO in your download folder:

      Code: Select all

      qemu-system-x86_64 -name "A FATDOG test" -enable-kvm -smp 2 -m 2048 -vga cirrus -device AC97 -net nic -net user -rtc base=localtime -cdrom Downloads/Fatdog64-901.iso

After the above, you have 2 PCs running on one physical platform: namely EASY and @fatdog

Enjoy

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: QV version 240409 pre-alpha uploaded

Post by BarryK »

nnriyer wrote: Wed Apr 10, 2024 3:48 pm

Sir

I am finding it install through qv-installer. It asks qemu, that also installed . QtEMU also opened from Utility menu. However, unable to proceed further due to lack of knowledge qemu etc. I will try USB option also.

Note : Is it possible to provide step by step procedure for installation with qt-installer?

qv-installer does not require qemu.

nnriyer
Posts: 119
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 95 times
Been thanked: 5 times

Re: QV version 240409 pre-alpha uploaded

Post by nnriyer »

Sir

While clicking qt-installer, it asks to install qemu. After install while clicking qt-installer, no response. Now roadblock. Please provide steps to execute for installation of QV in separate partion (nvme7). I have put gz file usr/bin including img file. Still not able to proceed further. I don't want qemu or any vartual method. I am looking for traditional installation.

williwaw
Posts: 1952
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 369 times

Re: QV version 240409 pre-alpha uploaded

Post by williwaw »

nnriyer wrote: Thu Apr 11, 2024 2:48 pm

I am looking for traditional installation.

Frugal install instructions have been updated
viewtopic.php?p=116300#p116300

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: QV version 240409 pre-alpha uploaded

Post by Caramel »

nnriyer wrote: Thu Apr 11, 2024 2:48 pm

While clicking qt-installer, it asks to install qemu.

I guess you use EasyOS 5.7

qv-installer is a bash script to download here : viewtopic.php?p=116573#p116573 , with the new mount-img script. (The .gz extension of these scripts must be removed after the download)

The new mount-img must be copied in /usr/bin (it owerwites the old mount-img). Make sure it is executable.

If you haven't already, install btrds-progs. For this, use PKGget (it will probably be necessary to refresh the package list (click on the configuration button of PKGget to access to the upadte button))
(Remark; I think btrfs-tools available without packages list update is enough)

Place qv-installer in the same directory that qv-240409-amd64.img. (Make sure qv-installer is executable)
In the terminal go to this directory. Then type

Code: Select all

./qv-installer qv-240409-amd64.img

You need a partition already formatted in btrfs with free space or a not used partition that will be formatted

EDIT (after reading the message of @williwaw) : see viewtopic.php?p=116631#p116631 if qv-installer refuses to format the partition

nnriyer
Posts: 119
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 95 times
Been thanked: 5 times

Re: QV version 240409 pre-alpha uploaded

Post by nnriyer »

Thank you. I will try it in the morning and let you know the progress. I have already formatted the partition as btrfs. Now doing mobile posting. Thank you

nnriyer
Posts: 119
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 95 times
Been thanked: 5 times

Re: QV version 240409 pre-alpha uploaded

Post by nnriyer »

Just for information.

Install QV

Some notes before continuing:
In some cases it is possible for the boot partition to be the same as the btrfs
partition that QV will install into. This will require the files vmlinuz and
initrd to be in the btrfs partition. However, many bootloaders do not recognize
a btrfs partition. Recent versions of GRUB2 and rEFInd may, but there may be
issues.
Remember the option, if have a UEFI PC, of having a separate esp vfat boot
partition just for QV. It will simplify bootloader setup, and may be required
if insufficient free space in the existing boot partition.

WARNING: the author has created this script in good faith; however, no
liability is accepted for any undesired result. You continue with acceptance of
this total disclaimer of responsibility.

Please enter the partition to install QV. This may already have a btrfs
filesystem; if not,the partition will be wiped and a btrfs filesystem created.
If there is already an existing btrfs filesystem, existing content will be
kept. QV will just install into a folder in the partition.
(ex: sdc2): nvme0n1p7

Please enter the boot partition.
Files vmlinuz and initrd will be installed here.
Note, you can enter same as above; however, the bootloader must be able to recognize a btrfs partition. Recent GRUB2 and rEFInd can handle this, but there may be issues.
(ex: sda1): nvme0n1p7

Copying vmlinuz and initrd into: /mnt/nvme0n1p7
copied into folder: qv240409
Populating: /mnt/nvme0n1p7/qv240409/1/@qv/
this may take awhile...
Create subvolume '/mnt/nvme0n1p7/qv240409/1/@qv'

Installed.

Press ENTER for notes about the bootloader:

Bootloader setup

If you need to make a bootloader menu entry, pass these parameters on the kernel command line:
wkg_uuid=b4f00db1-6ee1-457d-94f0-13afd9aceec0 wkg_dir=qv240409/
vmlinuz and initrd have been installed into this folder in the boot partition:
/qv240409

Here is an example menu entry for /etc/grub.d/40_custom in GRUB2:
menuentry "QV Frugal" {
insmod btrfs
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root b4f00db1-6ee1-457d-94f0-13afd9aceec0
linux /qv240409/vmlinuz rw wkg_uuid=b4f00db1-6ee1-457d-94f0-13afd9aceec0 wkg_dir=qv240409/
initrd /qv240409/initrd
}
#


How to load through limine boot loader
?

williwaw
Posts: 1952
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 369 times

Re: QV version 240409 pre-alpha uploaded

Post by williwaw »

How to load through limine boot loader ?

Please enter the boot partition.
Files vmlinuz and initrd will be installed here.
Note, you can enter same as above; however, the bootloader must be able to recognize a btrfs partition. Recent GRUB2 and rEFInd can handle this, but there may be issues.
(ex: sda1): nvme0n1p7

Some discussion about bootloader compatibility with frugal installs in the other thread.

my experiment with limine also failed to boot when vmlinuz and initrd were in btrfs.
can you choose a non-btrfs partition for this last step?

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: QV version 240409 pre-alpha uploaded

Post by BarryK »

williwaw wrote: Fri Apr 12, 2024 6:29 am

my experiment with limine also failed to boot when vmlinuz and initrd were in btrfs.
can you choose a non-btrfs partition for this last step?

Yes, Limine version 5.x will only recognize ext2/3/4 and vfat partitions.

If I update Limine to the latest, 7.*, it will only recognize vfat.

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: QV version 240409 pre-alpha uploaded

Post by Caramel »

nnriyer wrote: Fri Apr 12, 2024 5:03 am


How to load through limine boot loader
?

If you want to use limine, you need to place vmlinuz and initrd somewhere other than a btrfs partition

If you have free space of an ext4 partition move (or copy) vmlinuz and initrd from the btrfs partition to a directory qv240409 in the ext4 partition.

With blkid get the PARTUUID of the ext4 partition.

Stanza to add to limine.cfg

Code: Select all

:QV Frugal 
    COMMENT=QV bootup
    PROTOCOL=linux
    KERNEL_CMDLINE=rw wkg_uuid=b4f00db1-6ee1-457d-94f0-13afd9aceec0 wkg_dir=qv240409/ 
    KERNEL_PATH=guid://"PARTUUID"/qv240409/vmlinuz
    MODULE_PATH=guid://"PARTUUID"/qv240409/initrd

where "PARTUUID" is the PARTUUID of the ext4 partition and "b4f00db1-6ee1-457d-94f0-13afd9aceec0" is the UUID of the btrfs partition (provided here by the output of qv-installer you share)

You can alternately move vmlinuz and initrd in a fat partition.
If the partition is the UEFI partition where limine is deployed the stanza should be :

Code: Select all

:QV Frugal 
    COMMENT=QV bootup
    PROTOCOL=linux
    KERNEL_CMDLINE=rw wkg_uuid=b4f00db1-6ee1-457d-94f0-13afd9aceec0 wkg_dir=qv240409/ 
    KERNEL_PATH=boot:///qv240409/vmlinuz
    MODULE_PATH=boot:///qv240409/initrd
nnriyer
Posts: 119
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 95 times
Been thanked: 5 times

Re: QV version 240409 pre-alpha uploaded

Post by nnriyer »

Dear All please. I will try and let you know. Please clarify whether btrfs partition is required or not. Is it for working partition?

nnriyer
Posts: 119
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 95 times
Been thanked: 5 times

Re: QV version 240409 pre-alpha uploaded

Post by nnriyer »

Dear All please. I will try and let you know. Please clarify whether btrfs partition is required or not. Is it for working partition?. This method is one that previously adopted in easy/quirky very long back.

williwaw
Posts: 1952
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 369 times

Re: QV version 240409 pre-alpha uploaded

Post by williwaw »

Please clarify whether btrfs partition is required

yes
I have edited a post in the frugal install thread
viewtopic.php?p=116303#p116303

nnriyer
Posts: 119
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 95 times
Been thanked: 5 times

Re: QV version 240409 pre-alpha uploaded

Post by nnriyer »

Caramel wrote: Fri Apr 12, 2024 3:59 pm
nnriyer wrote: Fri Apr 12, 2024 5:03 am


How to load through limine boot loader
?

If you want to use limine, you need to place vmlinuz and initrd somewhere other than a btrfs partition

If you have free space of an ext4 partition move (or copy) vmlinuz and initrd from the btrfs partition to a directory qv240409 in the ext4 partition.

With blkid get the PARTUUID of the ext4 partition.

Stanza to add to limine.cfg

Code: Select all

:QV Frugal 
    COMMENT=QV bootup
    PROTOCOL=linux
    KERNEL_CMDLINE=rw wkg_uuid=b4f00db1-6ee1-457d-94f0-13afd9aceec0 wkg_dir=qv240409/ 
    KERNEL_PATH=guid://"PARTUUID"/qv240409/vmlinuz
    MODULE_PATH=guid://"PARTUUID"/qv240409/initrd

where "PARTUUID" is the PARTUUID of the ext4 partition and "b4f00db1-6ee1-457d-94f0-13afd9aceec0" is the UUID of the btrfs partition (provided here by the output of qv-installer you share)

Sir, This method worked for me. I am posting from QV now. Thank you Sir for the prompt support and guidance. For academic interest, please clarify whether QV can be installed in entire partition and how to load the same.i.e Full Installation.

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: QV version 240409 pre-alpha uploaded

Post by Caramel »

nnriyer wrote: Sat Apr 13, 2024 4:17 am

For academic interest, please clarify whether QV can be installed in entire partition and how to load the same.i.e Full Installation.

I do not know how to do it, nor even it is possible. Anyway I don't see the point. If you want to leave all the space to QV, do not install another OS in the partition.

Maybe @BarryK will say more

gcav
Posts: 8
Joined: Fri Jul 17, 2020 10:28 pm
Has thanked: 1 time
Been thanked: 3 times

Re: QV version 240409 pre-alpha uploaded

Post by gcav »

Cool... New Quirky...

Installing Audacity, installer downloads all, and loops between
the following screens..

Prog works though....

gc

Attachments
capture11936.png
capture11936.png (49.77 KiB) Viewed 2159 times
capture11351.png
capture11351.png (79.22 KiB) Viewed 2159 times
User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: QV version 240409 pre-alpha uploaded

Post by BarryK »

nnriyer wrote: Sat Apr 13, 2024 4:17 am

Sir, This method worked for me. I am posting from QV now. Thank you Sir for the prompt support and guidance. For academic interest, please clarify whether QV can be installed in entire partition and how to load the same.i.e Full Installation.

Yes, as Caramel said, there is no point to what you are asking for. A frugal install IS a full installation.
The fact that is is in a folder makes no difference.

If you are thinking of /dev, /usr/, /tmp, /proc. etc. all being at the top level of the partition, that is not practical for the snapshotting setup.

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: QV version 240409 pre-alpha uploaded

Post by Caramel »

gcav wrote: Sat Apr 13, 2024 12:36 pm

Cool... New Quirky...

Installing Audacity, installer downloads all, and loops between
the following screens..

Prog works though....

gc

I tested . No problem with a null size. There was many dependencies.

The user env was created instead of user audacity because in audacity.desktop the line Exec is

Exec=env UBUNTU_MENUPROXY=0 audacity

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: QV version 240409 pre-alpha uploaded

Post by BarryK »

Caramel wrote: Sat Apr 13, 2024 4:03 pm

Exec=env UBUNTU_MENUPROXY=0 audacity

That is unexpected!
Thanks for finding that, I shall attempt a generic fix.

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: QV version 240409 pre-alpha uploaded

Post by BarryK »

BarryK wrote: Sun Apr 14, 2024 3:03 am
Caramel wrote: Sat Apr 13, 2024 4:03 pm

Exec=env UBUNTU_MENUPROXY=0 audacity

That is unexpected!
Thanks for finding that, I shall attempt a generic fix.

I have inserted this into /usr/local/petget/installpreview.sh at line 258:

Code: Select all

       #20240414 audacity.desktop has "Exec=env UBUNTU_MENUPROXY=0 audacity"
       grep -q '^Exec=env ' ${aDT}
       if [ $? -eq 0 ];then
        sed -i -e 's|^Exec=env [^ ]* |Exec=|' ${aDT}
       fi
       #20240405 vlc.desktop has "Exec=/usr/bin/vlc --started-from-file %U"
       #somewhere else knocks off that %U, but also need to get rid of /usr/bin/...
       sed -i -e 's|^Exec=/usr/bin/|Exec=|' ${aDT}

Tested, it now works. At first run of audacity, I set the default and temp directories to /files/apps/audacity
Which is the private folder that other apps cannot see into.
Not sure about the best place for the temporary folder though -- maybe should have put that somewhere in /home/audacity
...reason being, that /files is shared amongst all snapshots, and a different snapshot may have its own audacity installed, perhaps even a appimage or flatpak.
I think there was also a cache directory; same reasoning would apply.

don570
Posts: 688
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 117 times

Re: QV version 240409 pre-alpha uploaded

Post by don570 »

I noticed that there is no help button on the desktop.
There was an explanation of QV at first bootup, but I closed it quickly and
I haven't discovered where it is located since.
___________________________________________

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: QV version 240409 pre-alpha uploaded

Post by Caramel »

don570 wrote: Sun Apr 14, 2024 9:50 pm

I noticed that there is no help button on the desktop.
There was an explanation of QV at first bootup, but I closed it quickly and
I haven't discovered where it is located since.
___________________________________________

I think it is /usr/share/doc/easy/welcome.htm

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: QV version 240409 pre-alpha uploaded

Post by BarryK »

Snapshot management now has deletion:

https://bkhome.org/news/202404/qv-snaps ... etion.html

The script that does this in 'delete-snapshots' in the initrd:

https://github.com/bkauler/woof-quantum ... leton/sbin

nnriyer
Posts: 119
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 95 times
Been thanked: 5 times

Re: QV version 240409 pre-alpha uploaded

Post by nnriyer »

Barry sir is it possible to load vmlinx and intrid file from btrfs partition. Currently load from both file from ext4 partition with QV folder.

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: QV version 240409 pre-alpha uploaded

Post by BarryK »

nnriyer wrote: Wed Apr 17, 2024 3:20 am

Barry sir is it possible to load vmlinx and intrid file from btrfs partition. Currently load from both file from ext4 partition with QV folder.

Not with Limine.
It will require grub version 2.04 or later.

nnriyer
Posts: 119
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 95 times
Been thanked: 5 times

Re: QV version 240409 pre-alpha uploaded

Post by nnriyer »

How to install Grub2 in my system?. We need proper installation method. Now due to hardware or due to software, loading is bit difficulty.

don570
Posts: 688
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 117 times

LICK installs grub2

Post by don570 »

How to install Grub2 in my system?

I am using grub2 to boot QV on an btrfs partition.
I installed grub2 using LICK that I found inside fatdog64 ISO that I extracted.
LICK installs grub2 bootloader and fatdog as well .The config file needs to correctly written for QV.
For some reason unknown to me the grub2 config file (named lick config)
needs to located on sda4 (the recovery partition) I don't know why??
but It does work :thumbup:
When I boot my computer the grub2 menu lists the possible OS choices.

http://distro.ibiblio.org/fatdog/web/901.html
________________________________

Post Reply

Return to “EasyOS”