Installing apps on Live openSUSE
Is it possible to install apps on the Live openSUSE so that they survive a reboot? I have no problem installing an app with the software manager, but it's gone after a reboot. tnx jk
On 2023-09-20 20:19, James Knott wrote:
Is it possible to install apps on the Live openSUSE so that they survive a reboot? I have no problem installing an app with the software manager, but it's gone after a reboot.
Depends on which ISO. On the XFCE rescue iso, copied to an USB stick, yes. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2023-09-20 a las 14:25 -0400, James Knott escribió:
On 2023-09-20 14:21, Carlos E. R. wrote:
Depends on which ISO.
On the XFCE rescue iso, copied to an USB stick, yes.
I'm using the KDE Live system, not the rescue.
Well, then AFAIK the answer is "no". Notice that the rescue image can not do an install. It is a different type of image. You can check by running fdisk on the media: Laicolasse:~ # fdisk -l /dev/sda Disk /dev/sda: 14.4 GiB, 15461253120 bytes, 30197760 sectors Disk model: Transcend 16GB Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sda1 * 64 1175627 1175564 574M cd unknown /dev/sda2 1175628 1216587 40960 20M ef EFI (FAT-12/16/32) /dev/sda3 1218560 30197759 28979200 13.8G 83 Linux Laicolasse:~ # or lsblk: Laicolasse:~ # lsblk --output NAME,KNAME,RA,RM,RO,PARTFLAGS,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/sda NAME KNAME RA RM RO PARTFLAGS SIZE TYPE FSTYPE LABEL PARTLABEL PTTYPE MOUNTPOINT UUID PARTUUID WWN MODEL ALIGNMENT sda sda 512 1 0 14.4G disk iso966 openSUSE_Leap_15.5_Rescue_CD │ dos 2023-05-13-10-55-37-00 Trans 0 ├─sda1 │ sda1 512 1 0 0x80 574M part iso966 openSUSE_Leap_15.5_Rescue_CD │ dos /media/ope 2023-05-13-10-55-37-00 0 ├─sda2 │ sda2 512 1 0 20M part vfat BOOT dos AD92-FD47 0 └─sda3 sda3 512 1 0 13.8G part ext4 cow dos /media/cow 16b287b0-7acb-4de1-8c5c-31e9c00e34dd 0 Laicolasse:~ # Notice the cow partition, which is where write operations go. - -- Cheers Carlos E. R. (from openSUSE 15.5 (Laicolasse)) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZQs7fxwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVmtgAn1cac9irFzSBVdKef1L5 erqAbsayAJwLPEqRd6cUIkCJmPcjzAt/zvV2tA== =f8eT -----END PGP SIGNATURE-----
On 20.09.2023 21:35, Carlos E. R. wrote:
El 2023-09-20 a las 14:25 -0400, James Knott escribió:
On 2023-09-20 14:21, Carlos E. R. wrote:
Depends on which ISO.
On the XFCE rescue iso, copied to an USB stick, yes.
I'm using the KDE Live system, not the rescue.
Well, then AFAIK the answer is "no".
The answer is "yes".
On 2023-09-20 20:43, James Knott wrote:
On 2023-09-20 14:37, Andrei Borzenkov wrote:
Well, then AFAIK the answer is "no".
The answer is "yes".
The question is how? As I mentioned, the installs don't survive a reboot. Neither do the updates, for that matter.
Did you verify that you have the COW partition? -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
On 2023-09-20 21:16, James Knott wrote:
On 2023-09-20 15:14, Carlos E. R. wrote:
Did you verify that you have the COW partition?
The what???
Did you read my previous post? It is explained there, and how to find out. <https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/2V7KMA4SENA4G52NHFCAMLEC6TYLWIAV/> -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
On 2023-09-20 15:32, Carlos E. R. wrote:
Did you read my previous post? It is explained there, and how to find out.
Since this computer already has a drive, the USB stick is sdb. However lsblk does not show cow on /dev/sdb3. It also doesn't show ext4 or any other file system.
On 2023-09-20 21:42, James Knott wrote:
On 2023-09-20 15:32, Carlos E. R. wrote:
Did you read my previous post? It is explained there, and how to find out.
Since this computer already has a drive, the USB stick is sdb. However lsblk does not show cow on /dev/sdb3. It also doesn't show ext4 or any other file system.
Well, that's your answer. Your ISO is not writeable. Can not save configs or be updated. That partition is created on the first boot of the USB stick, and it occupies the rest of its capacity. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
On 2023-09-20 22:13, James Knott wrote:
On 2023-09-20 16:10, Carlos E. R. wrote:
Well, that's your answer. Your ISO is not writeable. Can not save configs or be updated.
That partition is created on the first boot of the USB stick, and it occupies the rest of its capacity.
Does that Imagewriter install it properly?
It doesn't matter what tool you use to copy the iso. You can use dd, or even cp, or imagewriter. The partition is created on first boot, not on "install". -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
On 2023-09-20 16:19, Carlos E. R. wrote:
Does that Imagewriter install it properly?
It doesn't matter what tool you use to copy the iso. You can use dd, or even cp, or imagewriter.
The partition is created on first boot, not on "install".
Well, that leaves the question of why the partition is there, but not "cow".
On 2023-09-20 22:20, James Knott wrote:
On 2023-09-20 16:19, Carlos E. R. wrote:
Does that Imagewriter install it properly?
It doesn't matter what tool you use to copy the iso. You can use dd, or even cp, or imagewriter.
The partition is created on first boot, not on "install".
Well, that leaves the question of why the partition is there, but not "cow".
Please post what "lsblk --output NAME,KNAME,RA,RM,RO,PARTFLAGS,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/sdb" said. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
On 2023-09-20 22:29, Carlos E. R. wrote:
On 2023-09-20 22:20, James Knott wrote:
On 2023-09-20 16:19, Carlos E. R. wrote:
Does that Imagewriter install it properly?
It doesn't matter what tool you use to copy the iso. You can use dd, or even cp, or imagewriter.
The partition is created on first boot, not on "install".
Well, that leaves the question of why the partition is there, but not "cow".
Please post what "lsblk --output NAME,KNAME,RA,RM,RO,PARTFLAGS,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/sdb" said.
Notice that "cow" is only the label, but it refers to the technology used. https://en.wikipedia.org/wiki/Copy-on-write Copy-on-write (COW), sometimes referred to as implicit sharing[1] or shadowing,[2] is a resource-management technique used in computer programming to efficiently implement a "duplicate" or "copy" operation on modifiable resources.[3] If a resource is duplicated but not modified, it is not necessary to create a new resource; the resource can be shared between the copy and the original. Modifications must still create a copy, hence the technique: the copy operation is deferred until the first write. By sharing resources in this way, it is possible to significantly reduce the resource consumption of unmodified copies, while adding a small overhead to resource-modifying operations. That ext4 partition is writeable, and stores the changes done to the read only image from the CD, so to speak. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
On 2023-09-20 16:29, Carlos E. R. wrote:
Well, that leaves the question of why the partition is there, but not "cow".
Please post what "lsblk --output NAME,KNAME,RA,RM,RO,PARTFLAGS,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/sdb" said.
I reinstalled with Imagewriter, but get the same thing. #lsblk --output NAME,KNAME,RA,RM,RO,PARTFLAGS,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/sdb NAME KNAME RA RM RO PARTFLAGS SIZE TYPE FSTYPE LABEL PARTLABEL PTTYPE MOUNTPOINT UUID PARTUUID WWN MODEL ALIGNMENT sdb sdb 512 1 0 3.7G disk iso966 openSUSE_Leap_15.4_KDE_Live │ dos /run/overl 2023-07-25-10-29-02-00 DataT 0 ├─sdb1 │ sdb1 512 1 0 0x80 931.2M part iso966 openSUSE_Leap_15.4_KDE_Live │ dos 2023-07-25-10-29-02-00 0 ├─sdb2 │ sdb2 512 1 0 20M part vfat BOOT dos 1577-11AB 0 └─sdb3 sdb3 512 1 0 2.8G part iso966 openSUSE_Leap_15.4_KDE_Live dos 2023-07-25-10-29-02-00
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2023-09-20 a las 16:54 -0400, James Knott escribió:
On 2023-09-20 16:29, Carlos E. R. wrote: Well, that leaves the question of why the partition is there, but not "cow".
Please post what "lsblk --output NAME,KNAME,RA,RM,RO,PARTFLAGS,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/sdb" said.
I reinstalled with Imagewriter, but get the same thing.
# lsblk --output NAME,KNAME,RA,RM,RO,PARTFLAGS,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/sdb NAME KNAME RA RM RO PARTFLAGS SIZE TYPE FSTYPE LABEL PARTLABEL PTTYPE MOUNTPOINT UUID PARTUUID WWN MODEL ALIGNMENT sdb sdb 512 1 0 3.7G disk iso966 openSUSE_Leap_15.4_KDE_Live │ dos /run/overl 2023-07-25-10-29-02-00 DataT 0 ├─sdb1 │ sdb1 512 1 0 0x80 931.2M part iso966 openSUSE_Leap_15.4_KDE_Live │ dos 2023-07-25-10-29-02-00 0 ├─sdb2 │ sdb2 512 1 0 20M part vfat BOOT dos 1577-11AB 0 └─sdb3 sdb3 512 1 0 2.8G part iso966 openSUSE_Leap_15.4_KDE_Live dos 2023-07-25-10-29-02-00
As I just explained, the name of the partition is irrelevant. What it does is relevant. IMO, the third partition should be ext4, but it is ISO966. I don't think that is writeable. Nothing you can do, AFAIK. Try a bigger stick, perhaps. (I assume you already booted that stick) - -- Cheers Carlos E. R. (from openSUSE 15.5 (Laicolasse)) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZQtfxBwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVk3IAn2OdxwQs/YiAY8x2U5/9 M53hSwyIAJ9sDuivMYMMMTxGQMRgaBLVbye2Jg== =tH24 -----END PGP SIGNATURE-----
On 2023-09-20 17:10, Carlos E. R. wrote:
# lsblk --output NAME,KNAME,RA,RM,RO,PARTFLAGS,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/sdb NAME KNAME RA RM RO PARTFLAGS SIZE TYPE FSTYPE LABEL PARTLABEL PTTYPE MOUNTPOINT UUID PARTUUID WWN MODEL ALIGNMENT sdb sdb 512 1 0 3.7G disk iso966 openSUSE_Leap_15.4_KDE_Live │ dos /run/overl 2023-07-25-10-29-02-00 DataT 0 ├─sdb1 │ sdb1 512 1 0 0x80 931.2M part iso966 openSUSE_Leap_15.4_KDE_Live │ dos 2023-07-25-10-29-02-00 0 ├─sdb2 │ sdb2 512 1 0 20M part vfat BOOT dos 1577-11AB 0 └─sdb3 sdb3 512 1 0 2.8G part iso966 openSUSE_Leap_15.4_KDE_Live dos 2023-07-25-10-29-02-00 As I just explained, the name of the partition is irrelevant. What it does is relevant. IMO, the third partition should be ext4, but it is ISO966. I don't think that is writeable. Nothing you can do, AFAIK. Try a bigger stick, perhaps.
I tried again with a 64 GB stick, same thing, sdb3 is iso966.
On 2023-09-21 01:14, James Knott wrote:
On 2023-09-20 17:10, Carlos E. R. wrote:
# lsblk --output NAME,KNAME,RA,RM,RO,PARTFLAGS,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/sdb NAME KNAME RA RM RO PARTFLAGS SIZE TYPE FSTYPE LABEL PARTLABEL PTTYPE MOUNTPOINT UUID PARTUUID WWN MODEL ALIGNMENT sdb sdb 512 1 0 3.7G disk iso966 openSUSE_Leap_15.4_KDE_Live │ dos /run/overl 2023-07-25-10-29-02-00 DataT 0 ├─sdb1 │ sdb1 512 1 0 0x80 931.2M part iso966 openSUSE_Leap_15.4_KDE_Live │ dos 2023-07-25-10-29-02-00 0 ├─sdb2 │ sdb2 512 1 0 20M part vfat BOOT dos 1577-11AB 0 └─sdb3 sdb3 512 1 0 2.8G part iso966 openSUSE_Leap_15.4_KDE_Live dos 2023-07-25-10-29-02-00 As I just explained, the name of the partition is irrelevant. What it does is relevant. IMO, the third partition should be ext4, but it is ISO966. I don't think that is writeable. Nothing you can do, AFAIK. Try a bigger stick, perhaps.
I tried again with a 64 GB stick, same thing, sdb3 is iso966.
IMHO, that means that that image can not do it or is buggy. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
On 2023-09-21 04:07, James Knott wrote:
On 2023-09-20 21:50, Carlos E. R. wrote:
I tried again with a 64 GB stick, same thing, sdb3 is iso966.
IMHO, that means that that image can not do it or is buggy.
Well, I downloaded it from the openSUSE site.
Doesn't change an iota of what I said. Report the issue in Bugzilla. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))
On 21.09.2023 05:07, James Knott wrote:
On 2023-09-20 21:50, Carlos E. R. wrote:
I tried again with a 64 GB stick, same thing, sdb3 is iso966.
IMHO, that means that that image can not do it or is buggy.
Well, I downloaded it from the openSUSE site.
I booted openSUSE-Tumbleweed-KDE-Live-x86_64-Snapshot20230917-Media.iso in VM: vda iso966 Jolie openSUSE_Tumbleweed_KDE_Live 2023-09-17-17-59-25-00 ├─vda1 │ iso966 Jolie openSUSE_Tumbleweed_KDE_Live 2023-09-17-17-59-25-00 0 100% /run/overlay/live ├─vda2 │ vfat FAT16 BOOT C4CE-E37E └─vda3 ext4 1.0 cow 64654cef-211d-4672-a6d7-1b17be6e1c01 870.2M 13% /run/overlay/overlayfs
* James Knott <james.knott@jknott.net> [09-20-23 14:45]:
On 2023-09-20 14:37, Andrei Borzenkov wrote:
Well, then AFAIK the answer is "no".
The answer is "yes".
The question is how? As I mentioned, the installs don't survive a reboot. Neither do the updates, for that matter.
are you booting from a cd or a usb drive? afaik, the cd does not support updates but the usb drive(s) will. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 2023-09-20 15:24, Patrick Shanahan wrote:
The question is how? As I mentioned, the installs don't survive a reboot. Neither do the updates, for that matter.
are you booting from a cd or a usb drive? afaik, the cd does not support updates but the usb drive(s) will.
USB. Does anyone still use CDs? I have a 4 GB USB stick.
* James Knott <james.knott@jknott.net> [09-20-23 15:27]:
On 2023-09-20 15:24, Patrick Shanahan wrote:
The question is how? As I mentioned, the installs don't survive a reboot. Neither do the updates, for that matter.
are you booting from a cd or a usb drive? afaik, the cd does not support updates but the usb drive(s) will.
USB. Does anyone still use CDs?
I have a 4 GB USB stick.
how did you write the iso to the stick? my stick support updates/added apps. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 9/20/23 12:26, James Knott wrote:
On 2023-09-20 15:24, Patrick Shanahan wrote:
The question is how? As I mentioned, the installs don't survive a reboot. Neither do the updates, for that matter.
are you booting from a cd or a usb drive? afaik, the cd does not support updates but the usb drive(s) will.
USB. Does anyone still use CDs?
Yes! Well, DVD's anyway. Many corporate and governmental organizations don't allow USB memory sticks for security reasons. Some places will actually fill the USB jacks with epoxy just in case an employee gets frisky. Does it make any sense? Not really, but it doesn't have to. Information Assurance (IA) people are from a different planet. As they've been heard saying, "IA is the New Black!" Regards, Lew
* Lew Wolfgang <wolfgang@sweet-haven.com> [09-20-23 16:07]:
On 9/20/23 12:26, James Knott wrote:
On 2023-09-20 15:24, Patrick Shanahan wrote:
The question is how? As I mentioned, the installs don't survive a reboot. Neither do the updates, for that matter.
are you booting from a cd or a usb drive? afaik, the cd does not support updates but the usb drive(s) will.
USB. Does anyone still use CDs?
Yes! Well, DVD's anyway. Many corporate and governmental organizations don't allow USB memory sticks for security reasons. Some places will actually fill the USB jacks with epoxy just in case an employee gets frisky.
Does it make any sense? Not really, but it doesn't have to. Information Assurance (IA) people are from a different planet. As they've been heard saying, "IA is the New Black!"
guess I should have specified "optical media" :) -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
participants (5)
-
Andrei Borzenkov
-
Carlos E. R.
-
James Knott
-
Lew Wolfgang
-
Patrick Shanahan