The officially official Devuan Forum!

You are not logged in.

#1551 Re: Installation » Display Manager question » 2019-11-27 10:45:42

Hello:

MiyoLinux wrote:

Slim works with Openbox in ASCII.

Thanks.
Yes, I can confirm it works properly with Openbox in ASCII
At least with the default SLiM theme.

I think the ASCII VM I am using as a base uses elogin (?)

Cheers,

A.

#1552 Installation » Display Manager question » 2019-11-26 22:34:01

Altoid
Replies: 3

Hello:

In the process of thinning down my live *.iso project, I had a look at the Release_notes.txt file from https://files.devuan.org/devuan_ascii/Release_notes.txt

### Session management and policykit backends
--- snip ---
Each of the 5 DEs available in Devuan comes with a recommended default
combination of login manager (either slim or lightdm) and session
management system:

  - XFCE: slim + consolekit
  - Cinnamon: lightdm + elogind
  - KDE: lightdm + elogind
  - LXQT: lightdm + elogind
  - MATE: slim + consolekit
--- snip ---

The default pairings listed above are known to work well
and do not require user intervention, but other combinations are
possible.

I recall having a problem once when using the wrong combination.   
Now I'm using openbox and LightDM, will SLiM work also?

Maybe using just startx would be even better?

Thanks in advance,

A.

#1553 Re: Installation » Strange Synaptic issue » 2019-11-26 15:20:00

Hello:

fsmithred wrote:

It's because I did something sneaky ...

Aha !

fsmithred wrote:

... and you did something you don't remember.

That's for sure ...  =-/

fsmithred wrote:

... no refractasnapshot-gui in ascii because ...
... I pulled it before the first release of ascii.

OK

fsmithred wrote:

If you installed from the 2.1 desktop-live ...

I don't think I have anything 2.1 installed.

My HD install started off as jessie more than two years ago and my VM is the one I mentioned in my OP.

fsmithred wrote:

... you got it from the same place you got refracta2usb, which is not in any devuan repo.

I see.

What Synaptic is telling me is that it is installed in my system, not that it is available in the repository.
Sounds like something that could be added to the UI.

The Installed (local or obsolete) Status list shows only two:

refracta2usb 2.3.6
refractasnapshot-gui 10.0.2.

The Installed (manual) Status list shows all five:

refracta2usb 2.3.6
refractainstaller-base 9.5.3
refractainstaller-gui 9.5.3
refractasnapshot-base 10.1.1
refractasnapshot-gui 10.0.2

fsmithred wrote:

... latest versions from sourceforge or download the beowulf or ceres packages and use them in ascii.
Use same version of -base and -gui.

OK.

Thanks for the knowledge shared. 

Cheers,

A.

#1554 Installation » Strange Synaptic issue » 2019-11-26 14:16:57

Altoid
Replies: 2

Hello:

I have two devuan installations on my rig.

The one on my hard drive/s ...

groucho@devuan:~$ uname -a
Linux devuan 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
groucho@devuan:~$ 

... and onother on Oracle VM Virtualbox.

groucho@devuan:~$ uname -a
Linux devuan 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
groucho@devuan:~$ 

The first installation started off as jessie a good while ago and is now ascii up to date.

The virtual installation is up to date and was built upon the ascii 2.0.0 VM downloaded here:

https://files.devuan.org/devuan_ascii/virtual/

As I am trying to put together a minimal live ascii to use as a sort of a rescue installaiton, for coherence's sake I use the same /etc/apt/sources.list in both systems:

HD installation:

groucho@devuan:~$ cat /etc/apt/sources.list
## package repositories

# Changed - 20180619

deb http://deb.devuan.org/merged/ ascii main 
deb http://deb.devuan.org/merged/ ascii-security main 
deb http://deb.devuan.org/merged/ ascii-updates main 

# needed x virtualbox backport - enable to update package
deb http://deb.devuan.org/devuan/ ascii-proposed main contrib non-free 
deb http://deb.devuan.org/merged/ ascii-backports non-free contrib main 

# needed x nvidia non-free drivers installation
deb http://deb.devuan.org/merged/ ascii contrib 
deb http://deb.devuan.org/merged/ ascii non-free 
groucho@devuan:~$ 

VM installation:

groucho@devuan:~$ cat /etc/apt/sources.list
## package repositories

# Changed - 20191126

deb http://deb.devuan.org/merged/ ascii main   
deb http://deb.devuan.org/merged/ ascii-security main 
deb http://deb.devuan.org/merged/ ascii-updates main 

# needed x virtualbox backport - enable to update package
deb http://deb.devuan.org/devuan/ ascii-proposed main contrib non-free 
deb http://deb.devuan.org/merged/ ascii-backports non-free contrib main 

# needed x nvidia non-free drivers installation
deb http://deb.devuan.org/merged/ ascii contrib 
deb http://deb.devuan.org/merged/ ascii non-free 

groucho@devuan:~$ 

I was starting to install refractasnapshot-base when I noticed that refractasnapshot-gui was not listed.
But I had seen it.

So I moused over to my HD installation and indeed, synaptic lists five options when I search for refracta

refracta2usb 2.3.6
refractainstaller-base 9.5.3
refractainstaller-gui 9.5.3
refractasnapshot-base 10.1.1
refractasnapshot-gui 10.0.2

So why should synaptic from my VM show me only these three options?

refractainstaller-base 9.5.3
refractainstaller-gui 9.5.3
refractasnapshot-base 10.1.1

I can't understand how this could be possible, I'm using the same repositories.
Am I missing something here?

Thanks in advance,

A.

#1555 Re: Installation » Configuring persistence » 2019-11-25 17:18:45

Hello:

chris2be8 wrote:

... think it's all OK, you don't need to fix anything.
... System IDs not having a home dir is not a problem.
... odd that alien-os appears to be logged on to them if you havn't logged on there ...

Thanks for the input.  =-)

But I gave up on the Alien-OS live distribution, has too many unknowns for my liking and has not been updated for the past two years.
Also, some unknown (have to see if it reproduces later on) was borking up the USBs filesystem and cause for it to not be recognised at boot by the Ultra24's BIOS.

I heeded fsmithred's sound advice and went for the Devuan ASCII vbox image to which I am adding the basic applications I need to make a very slim live *.iso of my own.
This way I know where it came from and how it got to be.

So there'll be no surprises save those due to my own incompetence. =^)

Cheers,

A.

#1556 Re: Installation » Configuring persistence » 2019-11-24 17:46:04

Hello:

chris2be8 wrote:

First try cat /etc/passwd and see if there's more than 1 entry for alien-os.

OK.

Alien-OS@groucho╺─╸[~]  cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
messagebus:x:100:104::/var/run/dbus:/bin/false
avahi-autoipd:x:101:105:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
colord:x:102:108:colord colour management daemon,,,:/var/lib/colord:/bin/false
saned:x:103:109::/var/lib/saned:/bin/false
lightdm:x:104:110:Light Display Manager:/var/lib/lightdm:/bin/false
usbmux:x:105:46:usbmux daemon,,,:/var/lib/usbmux:/bin/false
ntp:x:106:112::/home/ntp:/bin/false
uuidd:x:107:113::/run/uuidd:/bin/false

alien-os:x:1000:1000:,,,:/home/alien-os:/bin/bash

groucho:x:1001:1001:,,,:/home/groucho:/bin/bash
Alien-OS@groucho╺─╸[~]  

Seems there's only one entry.

chris2be8 wrote:

Then pwck -r and grpck -r as root to check for errors in the relevant files.

OK.

Alien-OS@root╺─╸[groucho]  pwck -r
user 'lp': directory '/var/spool/lpd' does not exist
user 'news': directory '/var/spool/news' does not exist
user 'uucp': directory '/var/spool/uucp' does not exist
user 'www-data': directory '/var/www' does not exist
user 'list': directory '/var/list' does not exist
user 'irc': directory '/var/run/ircd' does not exist
user 'gnats': directory '/var/lib/gnats' does not exist
user 'nobody': directory '/nonexistent' does not exist
user 'saned': directory '/var/lib/saned' does not exist
user 'usbmux': directory '/var/lib/usbmux' does not exist
user 'ntp': directory '/home/ntp' does not exist
pwck: no changes
Alien-OS@root╺─╸[groucho]
Alien-OS@root╺─╸[groucho]  grpck -r
Alien-OS@root╺─╸[groucho]  
chris2be8 wrote:

... can delete incorrect entries if run without -r (which means read-only) but read the man pages ...

I'll read about what it does before I use it without -r.

chris2be8 wrote:

Try ps -ef | grep alien-os to see what tasks are running as it.

Alien-OS@groucho╺─╸[~]  ps -ef | grep alien-os
alien-os  2885  2763  0 17:27 tty5     00:00:00 -bash
alien-os  2886  2760  0 17:27 tty2     00:00:00 -bash
alien-os  2887  2762  0 17:27 tty4     00:00:00 -bash
alien-os  2888  2761  0 17:27 tty3     00:00:00 -bash
alien-os  2889  2764  0 17:27 tty6     00:00:00 -bash
alien-os  2890  2759  0 17:27 tty1     00:00:00 -bash
groucho   3469  3408  0 17:33 pts/0    00:00:00 grep alien-os
Alien-OS@groucho╺─╸[~]  

There they are ...
Six tasks.
One for each of the alien-os users.

Alien-OS@groucho╺─╸[~]  users
alien-os alien-os alien-os alien-os alien-os alien-os groucho
Alien-OS@groucho╺─╸[~]  

It's all over my head.
No idea what to make of it.

Thanks for your input.  =-)

Best,

A.

#1557 Re: Installation » Configuring persistence » 2019-11-24 02:48:02

Hello:

Altoid wrote:

The solution may be (?) in ...

I managed to (sort of) fix things.

I was able to drop to a shell and by means of sudo su become root.
Then I gave root a new password and added a user with his own password.

So, now I was able to log-in both as root with administrative privileges and as user.

Certain that I could log-in under both IDs, I tried to get rid of user alien-os, whose password I did not know and name I did not like.

Unfortunately, that was not possible as it was working with some process.

Alien-OS@root╺─╸[~]  userdel alien-os
userdel: user alien-os is currently used by process 2890
Alien-OS@root╺─╸[~]  

So I figured I could keep it in lieu of the newly created user which I would then remove.
No big deal ....

So, as root, changed alien-os' password and the problem would be solved.

Alien-OS@root╺─╸[~]  passwd alien-os
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
Alien-OS@root╺─╸[~]  

I then rebooted and when I logged in as user alien-os with the new password, instead of bringing up the desktop or saying that the password was not valid, LightDM came back like if nothing had happened: I typed the password at least ten times and it came back without logging me in every time.

I logged on as root again to see what was going on ie: see what users were in the system.
It was a surprise of sorts:

 Alien-OS@root╺─╸[~]  users
alien-os alien-os alien-os alien-os alien-os alien-os root
» Alien-OS@root╺─╸[~]  

I installed members and used it with groups try to see who was what:

Alien-OS@root╺─╸[~]  groups alien-os
alien-os : alien-os cdrom floppy audio dip video plugdev netdev bluetooth
Alien-OS@root╺─╸[~]  
Alien-OS@root╺─╸[~]  members alien-os
alien-os
Alien-OS@root╺─╸[~]  

I have always read/been told that users have unique names ie: there could only be one user with alien-os for a name.

But (unless I am missing something) in this case we are in front of six users sharing the same name.

This is where I stop and ask if anyone can shed some light into this.

Thanks in advance,

A.

#1558 Installation » Configuring persistence » 2019-11-24 00:29:34

Altoid
Replies: 6

Hello:

While on the way to finish configuring a persistent Alien-OS to generate a new live *.iso, I have come across a(nother) problem.

Alien-OS would boot into persistence with user=Alien-OS in the kernel command line by default.
Add persistence to the line and that was it.

From then on, to make any administrative changes you would just sudo them on.
Not my cup of tea but that is how it is set up by default and was planning to change that by adding a password to root and a user, just for reminder's sake if anything.

After doing a major update (this was a jessie from 2 years ago) and removing a number of unneeded things, I rebooted with persistence and was greeted by LightDM asking for a password to log-in as Alien-OS or as Other.

I had not yet set a root password or a new user yet so I'm at a loss here.
It probably has to do with whatever went into the update.

I have root access to the persistence partition and folders via my Devuan installation but don't know what to change or add to be able to log in.

I have tried renaming /persistence/etc/lightdm/lightdm.conf to lightdm.old but that did not work.

The solution may be (?) in /persistence/etc/pam.d/login but I don't know how to deal with that.

Any suggestions?

Thanks in advance,

A.

#1559 Re: Installation » Problems configuring persistence » 2019-11-23 21:04:19

Hello:

Altoid wrote:

... take out the USB ...
... reboot and see what happens when I plug it into one of the external ports ...

Yes, that did it.

I think this was probably some sort of BIOS glitch.
The rig is a Sun Ultra24, excellent hardware and way ahead of its time.
But the BIOS is absolute crap.

Then Oracle came along...
But I digress.

I assume that it could have been a BIOS glitch because when the problem cropped up, the boot screen (which rolls by fast but you can catch it) did not list a Kingston DataTraveller storage device like it usually did.

And then, having pressed F8 to get at the Boot Menu, when it came up it showed me a USB: USB Flash Drive as the first option instead of showing me a USB: Kingston DataTraveller.

Shutting down, unplugging and plugging it in again (on an external port just in case I had to do something) set things right: at reboot the Boot Menu option was the correct one ie: USB: Kingston DataTraveller.

Thanks for your input.

Best,

A.

#1560 Re: Installation » Problems configuring persistence » 2019-11-23 20:12:58

Hello:

fsmithred wrote:

... did it include reinstalling grub?
... grub even installed in the live system?

I don't think so. (?)
Mounting the live *.iso image using AcetoneISO shows me three folders:

- isolinux
- live
- pkglist_Alien-OS MNML-20170610_1259

The pkglist includes:

grub-common
grub-pc
grub-pc-bin
grub2-common

fsmithred wrote:

... computer boot without the usb stick?

Yes.
No problems with that.

fsmithred wrote:

Maybe the flash drive is dying.

I don't think so ...
It's a new/almost no use Kingston DTSE9.

fsmithred wrote:

... a reboot will fix it.

Been there, tried that.

fsmithred wrote:

... pulling the stick out and plugging it back ...
... probably be /dev/sdf if you do this

Was about to try that after my afternoon espresso.

I have the impression/idea that somehow/for some reason the file system went south.

But no idea how that could have happened.
It is my understanding that whatever was being written to the drive was getting written to /sda2 and there were 3.0Gb available for that.

I'll take out the USB, which lives inside the box in its own socket on the motherboard, reboot and see what happens when I plug it into one of the external ports and then post back.

Thanks for your input.

Best,

A.

#1561 Re: Installation » Problems configuring persistence » 2019-11-23 15:04:03

Hello:

fsmithred wrote:

... 'persistence' in the boot command and the filesystem label on the persistent partition ...
... enough space in the persistent partition to hold a big upgrade.
... boot with persistence when you make the snapshot, it will copy the upgraded (running) system.

This morning I went ahead and booted the live *.iso with persistence and then ran Synaptic.
The update took a long time, probably because the *.iso is from two years ago, the list was huge and included linux-image-3.16.0-10-amd64.

When it finished, I shut down and rebooted the live *.iso with persistence, expecting to see it updated.

But alas, something strange happened on the way to persistence ....   =^o !

Not only did the live *.iso not boot ie: on selection of the USB drive, it just proceeded to my usual grub screen.

I booted into my main Devuan and to see what had been written into the persistence partition /dev/sda is nowhere to be found.

It has absolutely dissapeared from the system.

- fdisk does not see it:

groucho@devuan:~$ sudo fdisk -l
[sudo] password for groucho: 
Disk /dev/sdb: 68.4 GiB, 73407488000 bytes, 143374000 sectors
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: 0x0004a8f4

Device     Boot     Start       End  Sectors  Size Id Type
/dev/sdb1            2048  40974335 40972288 19.6G 83 Linux
/dev/sdb2        40974336 139278335 98304000 46.9G  5 Extended
/dev/sdb3       139278336 143372287  4093952    2G 82 Linux swap / Solaris
/dev/sdb5        40976384  45072383  4096000    2G 83 Linux
/dev/sdb6        45074432 139278335 94203904 44.9G 83 Linux

Partition table entries are not in disk order.

Disk /dev/sdc: 279.4 GiB, 300000000000 bytes, 585937500 sectors
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: 0x30830f4e

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdc1        2048 585936895 585934848 279.4G  5 Extended
/dev/sdc5        4096 585936895 585932800 279.4G 83 Linux

Disk /dev/sdd: 68.4 GiB, 73407488000 bytes, 143374000 sectors
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: 0x68017f5c

Device     Boot    Start       End  Sectors  Size Id Type
/dev/sdd1  *        2048  40962047 40960000 19.5G 83 Linux
/dev/sdd2       40962048  45058047  4096000    2G 82 Linux swap / Solaris
/dev/sdd3       45058048 143372287 98314240 46.9G  5 Extended
/dev/sdd5       45060096 143372287 98312192 46.9G 83 Linux

Disk /dev/sde: 232.9 GiB, 250056000000 bytes, 488390625 sectors
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: 0x85188518

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sde1            2048 329396223 329394176 157.1G 83 Linux
/dev/sde2       329396224 488388607 158992384  75.8G 83 Linux
groucho@devuan:~$ 

- parted does not see it either:

groucho@devuan:~$ sudo parted
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print devices                                                    
/dev/sdb (73.4GB)
/dev/sdc (300GB)
/dev/sdd (73.4GB)
/dev/sde (250GB)
(parted) quit                                                             
groucho@devuan:~$ 

Any idea as to what may have happened?

I find it strange that the device is not available ...

Edit:

... dmesg reports it ...

--- snip ---
[    3.584672] scsi 7:0:0:0: Direct-Access     USB      Flash Drive      2.00 PQ: 0 ANSI: 0
[    3.596655] sd 7:0:0:0: [sda] Attached SCSI removable disk
--- snip ---

... but says nothing of /sda2, which is where persistence is/was supposed to live.

lsblk does not see it either.

groucho@devuan:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sdb      8:16   0  68.4G  0 disk 
|-sdb1   8:17   0  19.6G  0 part /
|-sdb3   8:19   0     2G  0 part 
|-sdb5   8:21   0     2G  0 part /var/log
`-sdb6   8:22   0  44.9G  0 part /home
sdc      8:32   0 279.4G  0 disk 
|-sdc1   8:33   0     1K  0 part 
`-sdc5   8:37   0 279.4G  0 part 
sdd      8:48   0  68.4G  0 disk 
|-sdd1   8:49   0  19.5G  0 part 
|-sdd2   8:50   0     2G  0 part 
|-sdd3   8:51   0     1K  0 part 
`-sdd5   8:53   0  46.9G  0 part 
sde      8:64   0 232.9G  0 disk 
|-sde1   8:65   0 157.1G  0 part /media/backups
`-sde2   8:66   0  75.8G  0 part 
sr0     11:0    1  1024M  0 rom  
groucho@devuan:~$ 

lshw sees it:

groucho@devuan:~$ sudo lshw | grep logical
             logical name: eth0
                logical name: usb1
                logical name: usb2
                logical name: usb3
                logical name: usb9
                   logical name: scsi7

                      logical name: /dev/sda
                      configuration: logicalsectorsize=512 sectorsize=512
                         logical name: /dev/sda

                logical name: scsi8
                   logical name: /dev/sdb
                   configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=0004a8f4
                      logical name: /dev/sdb1
                      logical name: /
                    *-logicalvolume:0
                         logical name: /dev/sdb5
                         logical name: /var/log
                    *-logicalvolume:1
                         logical name: /dev/sdb6
                         logical name: /home
                      logical name: /dev/sdb3
                   logical name: /dev/sdc
                   configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=30830f4e
                      logical name: /dev/sdc1
                    *-logicalvolume
                         logical name: /dev/sdc5
                   logical name: /dev/sdd
                   configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=68017f5c
                      logical name: /dev/sdd1
                      logical name: /dev/sdd2
                      logical name: /dev/sdd3
                    *-logicalvolume
                         logical name: /dev/sdd5
                   logical name: /dev/sde
                   configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=85188518
                      logical name: /dev/sde1
                      logical name: /media/backups
                      logical name: /dev/sde2
                   logical name: usb7
                   logical name: usb8
                logical name: usb4
                logical name: usb5
                logical name: usb6
                logical name: usb10
          logical name: scsi1
             logical name: /dev/cdrom
             logical name: /dev/cdrw
             logical name: /dev/dvd
             logical name: /dev/dvdrw
             logical name: /dev/sr0
groucho@devuan:~$ 

Thanks in advance,

A.

#1562 Re: Installation » Problems configuring persistence » 2019-11-23 01:11:46

Hello:

fsmithred wrote:

... 'persistence' in the boot command and the filesystem label on the persistent partition ...
... enough space in the persistent partition to hold a big upgrade.
... boot with persistence when you make the snapshot, it will copy the upgraded (running) system.

Good.

Thanks a lot for your help.  =-)

Best,

A.

#1563 Re: Installation » Problems configuring persistence » 2019-11-22 23:51:03

Hello:

I was in my Devuan install and rebooted to alien-os to answer your post and ...

It works.
Go figure.

fsmithred wrote:

What does your boot command look like?  cat /proc/cmdline

Alien-OS@alien-os╺─╸[~]  cat /proc/cmdline
BOOT_IMAGE=/live/vmlinuz initrd=/live/initrd.img boot=live persistence vga=795 username=alien-os  
Alien-OS@alien-os╺─╸[~]  

Stanzas persistence and vga=795 were added bz me after Tab to edit the boot command.
Otherwise it boots as a the std live *.iso. (?)

fsmithred wrote:

What is in persistence.conf?

Alien-OS@alien-os╺─╸[~]  cat /persistence.conf
/ union
Alien-OS@alien-os╺─╸[~]  
fsmithred wrote:

... don't know Alien-OS.
... a debian-based distro and it uses live-boot and live-config. Is that correct?

Don't know what it uses, have to check/read up.
All I can say is that the DE keyboard (qwerz) layout + the darkish theme are a bitchy combination.  =-/

I saw alien-os mentioned here ...

http://dev1galaxy.org/viewtopic.php?id=1811
http://dev1galaxy.org/viewtopic.php?pid=3569#p3569

... and assumed it was Devuan based.

fsmithred wrote:

Is the OS 32-bit or 64-bit?

Apparently only 64-bit.

fsmithred wrote:

... system directories on the persistent partition ...

Yes, automagically created.

There is a website:
https://www.alien-os.de/

Every boot the installation says there are updates available (a nag) but it is a huge list which includes linux-image-3.16.0-10-amd64.
If I accept and go ahead, do these stay installed on reboot in persistence mode and then get carried on to the new *.iso?

Thanks in advance,

A.

#1564 Installation » Problems configuring persistence » 2019-11-22 21:50:12

Altoid
Replies: 8

Hello:

I am attempting to set up alien-os with persistence so as to change a few things and maybe slim it down a bit further to then burn a new *.iso with the changes.

I am using an 8gb pen drive which I have partitioned in this manner:

500Mib for the *.iso image
3,00Gib for the persistence partition
3,78Gib of unallocated space

Alien-OS@alien-os╺─╸[~]  sudo fdisk -l
Disk /dev/sda: 7.2 GiB, 7757398016 bytes, 15151168 sectors
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: 0x062ec9ea

Device     Boot  Start     End Sectors  Size Id Type
/dev/sda1  *        64  921599  921536  450M 17 Hidden HPFS/NTFS
/dev/sda2       921600 7219199 6297600    3G 83 Linux
Alien-OS@alien-os╺─╸[~]  

These are the mount points:

Alien-OS@alien-os╺─╸[~]  mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=813044k,mode=755)

/dev/sda1 on /lib/live/mount/medium type iso9660 (ro,noatime)

/dev/loop0 on /lib/live/mount/rootfs/filesystem.squashfs type squashfs (ro,noatime)
tmpfs on /lib/live/mount/overlay type tmpfs (rw,relatime)
tmpfs on /lib/live/mount/overlay type tmpfs (rw,noatime,mode=755)
aufs on / type aufs (rw,noatime,si=4d6addd750f80fe7,noxino)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
pstore on /sys/fs/pstore type pstore (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1012409,mode=755)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1626080k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
gvfsd-fuse on /home/alien-os/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

/dev/sda2 on /media/alien-os/persistence type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)

» Alien-OS@alien-os╺─╸[~]  

The persistence partition has (apparently) all that it has to have:

Alien-OS@alien-os╺─╸[~] ls /media/alien-os/persistence
etc  home  lib  lost+found  persistence.conf  tmp  var
Alien-OS@alien-os╺─╸[~]  

But I think (?) there is probably something wrong with the mount point as persistence is not working.

What did I miss?

Thanks in advance,

A.

#1565 Re: Installation » *.iso file / live distribution modification. » 2019-11-22 21:31:38

Hello:

fsmithred wrote:

I find it easier to build a new system in a virtual machine ...

Had not though of that, did not occur to me that it could be done.
Thanks for the heads up.

But I am still having issues with the persistence setup.
Will start new thread.

Best,
A.

#1566 Re: Installation » *.iso file / live distribution modification. » 2019-11-22 11:31:47

Hello:

fsmithred wrote:

... package selections, system configs and desktop configs will all be copied into the snapshot.

Yes.
I suppose that is as long as I do not reboot or enable presistence. (?)

fsmithred wrote:

... shouldn't need to change any of those once you have it the way you want.

Yes, that's the idea.

Generate a new live *.iso starting off from yes another (in this case Alien-OS) which has most of what I need and then modify it to incorporate what it does not.

fsmithred wrote:

... a shortcut for that. (explained a little later)

Thanks.
I'll have to see about how that works later.
I still have to get persistence working.  =-/

Thanks for your input.
Best,

A.

#1567 Re: Installation » *.iso file / live distribution modification. » 2019-11-22 11:09:40

Hello:

HevyDevy wrote:

Maybe creating a live usb with persistence ...

Yes.
I think that may be the best and less complicated way to go around this.

But I once tried using an SD Card installaiton with persistence and hit a severe bump with respect to updating it.
Have to go back and see what it was about.

But first I have to get persistence working, something that is eluding me at the moment.

I'll start another thread for that.

Thanks for your input.

A.

#1568 Re: Installation » *.iso file / live distribution modification. » 2019-11-21 13:55:56

Hello:

HevyDevy wrote:

You probably want to point out the errors ....

No ...
Not refracta errors at all.

I'm sorry, my command of the english language is rather lacking.  =-/

I am referring to my own *trial and error* process, where I need to/want to change things one way or another till I get it all working as I want.

I'd like to avoid having to make a snap-shot -> mount it -> change it -> make another snap-shot -> and so on ...

Am I making sense here?
Thanks for your input.

A.

#1569 Installation » *.iso file / live distribution modification. » 2019-11-21 13:19:15

Altoid
Replies: 9

Hello:

I am needing to modify a live distribution which meets *most* of my needs wrt a small footprint and all the maintenance/emergency tools.

I know I can make all the mods/changes and then do a refracta-snaphot to produce another *.iso file.

But as the process of modifying it is a bit drawn out, sort of trial and error/rinse and repeat, I was wondering if there was a way to save the changes temporarily till the final thing was made up and only then take the snapshot.

Thanks in advance.

A.

#1570 Re: Installation » Problem with *.iso file » 2019-11-20 20:00:50

Hello:

czeekaj wrote:

... to start with a minimal install ...

Same here.

czeekaj wrote:

... verifying the check sum seemed to match ...

It has to match exacly.
Seemed won't do. 

Just pulling your leg ...   =-D

czeekaj wrote:

Not sure what went wrong.

In my limited experience, the first check you do is on the *.iso file you downloaded.

Then you do a check on ther file burned on the CD/DVD or USB.

I found a way to do this here:
https://askubuntu.com/questions/547332/ … -boot-disk

URL wrote:

To check the integrity of a usb boot disk, first find the size of the iso image with

stat -c '%s' imagename.iso

This will output an image size which you can enter in place of <imagesize> in the command below.
The next command sends (through a pipe) all bytes corresponding to the size of the image to the md5sum command:

sudo head -c <imagesize> /dev/sdb1 | md5sum

You can compare this with the md5sum of your .iso file.

md5sum imagename.iso

If md5sums are different then there was an issue while copying the data.
If md5sums are the same, you have successfully checked data integrity on your usb disk!

The third and final step is to boot the installaiton *.iso and run a check on the installation media itself with the tool available in the menu.
Although, as we have seen in this thread, it can sometimes give a false positive.

Cheers,

A.

#1571 Re: Installation » Problem with *.iso file » 2019-11-19 15:44:32

Hello:

fsmithred wrote:

... 2.1 minimal-live isos both have the same isolinux.bin.

OK.

fsmithred wrote:

... amd64 and i386 are both built using the same xorriso/mkisofs command.

OK.

fsmithred wrote:

... desktop-live i386 and amd64 use slightly different commands ...

OK.

It's all rather over my head/pay grade.
Eventually, I guess ...

fsmithred wrote:

... surprised that the isolinux.bin in the 2.1 minimal-lives are the same as the 2.0.0 you posted.

f03d6ecc57dad4524a0cab76b7afab41

I computed them in a teminal so it would be hard to make a typo and checked the values twice.

A coincidence?
 
This isolinux.bin only came up because of my checking the installation media with the install's verification routine.
The *.iso file was intact after download and was correctly written to media.

But as you pointed out, the issue did not come up in the 2.0.0 *.isos because isolinux.bin was not in the respective md5sum.txt file. 
It was not scanned, ergo no error was computed.   =-)

fsmithred wrote:

... problem with installing software is not related to isolinux.bin. Sometimes the installer fails ...

Agreed ...
As I mentioned in my email, due to a USB stick with not enough space.

I suppose then that all is well?

Thanks for taking the time to look into this.

Best,

A.

#1572 Re: Installation » Problem with *.iso file » 2019-11-19 10:14:57

Hello:

ralph.ronnquist wrote:

... took the easy way out and excluded isolinux.bin from the md5sum.txt file.

Maybe not the easy way out.
It probably slipped past them.

Now it has to get fixed, somehow.

Has it been the same with previous versions?

ralph.ronnquist wrote:

... one way to avoid a false negative

Indeed ...  8^* !

That with respect to the 2.0.0 *.isos.

But with respect to the 2.1 *.isos, if the 2.1_amd64 version is supposed to be the same (?) as the 2.1_i386 version, why are they different? (ie: produce different md5sums)
ie: I'm assuming that they are the *exact* same file because they are not arch specific, as fsmithred pointed out earlier.

This would imply (?) that whatever happened to the original source file was affected differently when going through the process of compiling the respective *.iso.
Am I making sense here?

The plot seems to thicken ... 

---
Edit:

This is the data I have wrt some ascii 2.0.0 isos I have in storage:

ascii_2.0.0_i386_netinst.iso

groucho@devuan:~/virtual-drives/1/isolinux$ md5sum isolinux.bin
b6838c8e3c68b64b813cfab7ea0a200e  isolinux.bin
groucho@devuan:~/virtual-drives/1/isolinux$

devuan_ascii_2.0.0_i386_minimal-live.iso

groucho@devuan:~/virtual-drives/1/isolinux$ md5sum isolinux.bin
f03d6ecc57dad4524a0cab76b7afab41  isolinux.bin
groucho@devuan:~/virtual-drives/2/isolinux$

devuan_ascii_2.0.0_i386_dvd-1.iso

groucho@devuan:~/virtual-drives/1/isolinux$ md5sum isolinux.bin
4709734ad535226a10bef3ece43ed9d4  isolinux.bin
groucho@devuan:~/virtual-drives/1/isolinux$

devuan_ascii_2.0.0_i386_desktop-live.iso

groucho@devuan:~/virtual-drives/1/isolinux$ md5sum isolinux.bin
4709734ad535226a10bef3ece43ed9d4  isolinux.bin
groucho@devuan:~/virtual-drives/1/isolinux$

Note that devuan_ascii_2.0.0_i386_dvd-1.iso and devuan_ascii_2.0.0_i386_desktop-live.iso
seem to share the same isolinux.bin file.

---

Best,

A.

#1573 Re: Installation » Problem with *.iso file » 2019-11-19 00:51:45

Hello:

ralph.ronnquist wrote:

... ISO sets of 2.0.0 and 2.1 where produced in different ways ...

OK.

But if the isolinux.bin files are not (fsmithred says, I wouldn't know) arch specific, why is the 2.1_amd64 version different from the 2.1_i386?
ie: I'm assuming that they are different because they produce different md5sums but maybe functionally they are the same.

To top it off, neither of the md5sums they produce are the same md5sum in the md5sum.txt file.
Makes no sense ...

ralph.ronnquist wrote:

A re-release of the latter would indeed be a good thing.

Sure ...
But I'd pull them from the servers asap to do some forensics on those two files to see just what happened.
Cannot be too careful.

ralph.ronnquist wrote:

thanks ...

No need.
You are the guys moving the Dev1 project along.

Cheers,

A.

#1574 Re: Installation » Problem with *.iso file » 2019-11-18 23:21:23

Hello:

ralph.ronnquist wrote:

... that mkisofs does something to the first 64 bytes on transfer from disk to CD/DVD image, i.e. when the .iso is created.

I have seen this in the ascii 2.1 netinstall *.iso files only.
The ascii 2.0.0 netinstall *.iso files don't seem to have this problem.

ie: media verification using the tool available within the 2.0.0 netinstall media does not fail and the isolinux.bin file produces the correct md5sum.

Best,

A.

#1575 Re: Installation » Problem with *.iso file » 2019-11-18 19:34:38

Hello:

fsmithred wrote:

I'm looking into this.

Thank you.

fsmithred wrote:

... some collected md5sums on isolinux.bin that I have in various places.
... sha256sums on the netinstall isos and they are correct.

Yes, that's what seems (to me) odd.
I was expecting this to be just a bad download, but no.

Here's what I have.
I mounted the *.iso files with AcetoneISO and checked the respective isolinux.bin files.

---
devuan_ascii_2.1_amd64_netinst.iso - 21-Oct-2019 08:35 - 319.8 MB (319815680 bytes)
From https://ftp.nluug.nl/pub/os/Linux/distr … aller-iso/
---

groucho@devuan:~/virtual-drives/1/isolinux$ md5sum isolinux.bin
bdad948d65c1dea713e1698d04a4e75d  isolinux.bin
groucho@devuan:~/virtual-drives/1/isolinux$

But the respective md5sum.txt says otherwise:

81d876d6234d3ca002390e7cb361bb61  ./isolinux/isolinux.bin

---
devuan_ascii_2.1_i386_netinst.iso - 22-Oct-2019 02:47 366.0 MB (365953024 bytes)
From: https://ftp.nluug.nl/pub/os/Linux/distr … aller-iso/
---

groucho@devuan:~/virtual-drives/1/isolinux$ md5sum isolinux.bin
3b36f20bc14cf4ad0f046962c4414221  isolinux.bin
groucho@devuan:~/virtual-drives/1/isolinux$

But the respective md5sum.txt says otherwise:

81d876d6234d3ca002390e7cb361bb61  ./isolinux/isolinux.bin

Since the *.iso files are intact and the isolinux.bin files are not arch specific what I think we are seeing in the sample I am posting about is that there are (at least) two versions but none of them with the correct md5sum  ie:  81d876d6234d3ca002390e7cb361bb61  ./isolinux/isolinux.bin

I have not checked other sources as I expect they are mirrored.
Let me know if I can help out in any way.

Thanks in advance.

A.

Board footer

Forum Software