clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
521 stars 29 forks source link

desktop livecd iso image isn't available anymore #2830

Closed paulcarroty closed 1 year ago

paulcarroty commented 1 year ago

https://download.clearlinux.org/current/

bryteise commented 1 year ago

Seems we had an issue with image creation. It is getting a little too big so I'm trying out removing the c-basic bundle from the live-desktop image.

paulcarroty commented 1 year ago

Seems like fixed in 38280.

paulcarroty commented 1 year ago

Same story in 38400.

marioroy commented 1 year ago

The live-desktop.iso and live-desktop.img are broken since removal of the x11-server bundle. Moreover, the gnome-session attempts x11 as well. The latter can be fixed by defaulting to wayland for the clrlinux user, but still needs x11-server for some reason (bundle added below).

Insert a USB stick (minimize size 16 GB). Unmount file systems associated with the USB stick, if any. Your USB device path may differ; e.g. sda instead of sdb.

sudo umount /dev/sdb1
sudo umount /dev/sdb3

Copy the live desktop image to the USB stick, mount, and chroot.

sudo swupd bundle-add wget

# copy direct from the web

wget -qO- https://cdn.download.clearlinux.org/releases/38630/clear/clear-38630-live-desktop.img.xz |\
    xzcat | sudo dd of=/dev/sdb bs=64K conv=fsync oflag=direct status=progress

# or from a local file (downloaded from the web)

xzcat clear-38630-live-desktop.img.xz |\
    sudo dd of=/dev/sdb bs=64K conv=fsync oflag=direct status=progress

sudo mount /dev/sdb3 /mnt
sudo mount -t proc none /mnt/proc
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo rm -f /mnt/etc/resolv.conf
sudo cp /etc/resolv.conf /mnt/etc

sudo chroot /mnt

Install the x11-server bundle or the desktop environment will not work (e.g. xkbcommon failing). Optionally, have GNOME default to gnome-wayland for the clrlinux user.

swupd bundle-add x11-server

mkdir -p "/var/lib/AccountsService/users"
chmod 0700 "/var/lib/AccountsService/users"

userconf="/var/lib/AccountsService/users/clrlinux"
tee "$userconf" >/dev/null <<"EOF"
[User]
Session=gnome-wayland
SystemAccount=false
EOF

Exit the chroot session and undo the mounts.

exit

sudo rm /mnt/etc/resolv.conf
sudo umount /mnt/sys
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt
alessandrofasse commented 1 year ago

Are there any attempts to recreate the clear-XXXXX-live-desktop.iso in the future? I would really appreciate it

marioroy commented 1 year ago

Ping :)

Can someone update the download ISO link to 38640 on the main download page.

https://clearlinux.org/downloads

fenrus75 commented 1 year ago

we're trying to get to something that works..... few steps to go still it seems.

also increasingly we need to assess if the purpose is really a "live cd" or if it's really "the thing you run the gui installer from".. the trend really is more towards the later just for space reasons, the gui components have been growing and growing and that's a problem.

On Fri, Mar 24, 2023 at 3:00 PM Mario Roy @.***> wrote:

Ping :)

Can someone update the download ISO link to 38640 on the main download page.

https://clearlinux.org/downloads

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/2830#issuecomment-1483475862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FMCT7TUUYGUKICK2BDW5YKPNANCNFSM6AAAAAAU3LNKW4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

marioroy commented 1 year ago

The live USB image worked for me. Though, I needed to fix it (steps provided above).

Once having a working USB live image, the experience that I recall was that the OS installation took a long time. Moreover, I needed to run swupd clean to free up ~ 3 GB after booting into the newly installed OS.

paulcarroty commented 1 year ago

It's very useful as fresh & fast sw/hw playground.

growing and growing and that's a problem

Removing unnecessary stuff and junk from /usr/share/clear/optimized-elf should fix it.

installation took a long time

Might be worth trying the offline install (IDK if it works now) to avoid the possible slow mirror problem.

marioroy commented 1 year ago

What about a hybrid or text-mode USB image? A blend of the server image containing the desktop packages for fast installation, not having to fetch gigabytes of data over the internet. (installer USB image)

fenrus75 commented 1 year ago

before we get creative.... we hope to get it to at least function in the basic known setups.

I do tend to wonder how much the actual "iso" is useful (meaning, how many people will burn it to a DVD or use it in a place that actually needs an ISO filesystem that cannot just use the USB image).. I kind of assume most folks just use USB sticks for physical usage nowadays (the ISO side is messy -- we solved it before but it remains messy -- because of the read only nature of the iso9660 filesystem)

On Sat, Mar 25, 2023 at 5:29 AM Mario Roy @.***> wrote:

What about a hybrid or text-mode USB image? A blend of the server image containing the desktop packages for fast installation, not having to fetch gigabytes of data over the internet. (installer USB image)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Aqua1ung commented 1 year ago

I've had no problems installing CL using the last few ISOs--starting with 38640 all the way to 38700.

fenrus75 commented 1 year ago

may I ask why you used the ISO and not the USB image ? Is there a specific usage that requires ISO format that we are not understanding?

On Fri, Mar 31, 2023 at 9:00 AM Cristian Cocos @.***> wrote:

I've had no problems installing CL using the last few ISOs--starting with 38640 all the way to 38700.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Aqua1ung commented 1 year ago

may I ask why you used the ISO and not the USB image ? Is there a specific usage that requires ISO format that we are not understanding?

I have had trouble booting .img files with Ventoy, even renamed as .iso. Please issue ISOs for the foreseeable future.