The officially official Devuan Forum!

You are not logged in.

#251 Re: Desktop and Multimedia » [SOLVED] Random freeze on ASCII » 2021-03-23 12:55:14

Maybe try it out on a more recent kernel release, perhaps upgrade to beowulf?

#252 Re: Other Issues » [SOLVED] Need a lil coding help with an extension (shell script), openbox/pcman » 2021-03-19 11:29:41

why is their a cd in the exec line of the .desktop file ?

Im pretty sure double quotes would rectify this as ralph mentions.

[Desktop Entry]
Type=Action
Name=Resize Image
Comment=Shrink image and convert to jpg
Icon=edit-cut
Profiles=resize;

[X-Action-Profile resize]
Exec=sh -c 'cd "%d" && shrink2 "%f"'
MimeTypes=image/bmp;image/jpeg;image/png;

confirmed working with gaps in file name, im using nemo file manager though.

#254 Re: Desktop and Multimedia » Thunar crashes on "Drag and Drop" » 2021-03-19 11:12:26

Ive been using cinnamon desktop lately just to see how it goes and its not bad, uses around a 700mb on startup but it is put to good use, very snappy for a bloated desktop environment. I think im over computing though and getting bored with it. If you dont mind the extra ram usage and a bit of gnome i suggest cinnamon as desktop env, Ive only got 4G of ram and i hardly use all of it unless im doing something ram intensive which i havent done for a long time. Anyhow, no such isses with drag and drop using nemo.

#255 Re: Desktop and Multimedia » Thunar crashes on "Drag and Drop" » 2021-03-18 12:58:34

Ok so if the xfce4 compositor is the issue, maybe see what happens using compton compositor. Disable xfwm4 compositing in window tweaks then...

# apt install compton

then in a terminal

compton -b

then do drag and drop in thunar and see what messages if any print in the terminal.

control -c to cancel compton.

#256 Re: Desktop and Multimedia » Thunar crashes on "Drag and Drop" » 2021-03-18 06:02:55

So are you using xfwm4 compositing from the tweaks dialog, or something like compton and have xfwm4 compositing disabled?

#258 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-17 12:54:55

^ definitely looks like a size issue, i wonder how large the snapshot would be if enough space were available?

#259 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-17 12:13:52

Okay maybe delete the snapshot and start again.

so delete the snapshot folder in /home/snapshot.

run refractasnapshot again, creating a new snapshot i think is option 1 with uefi disabled.

I dont know anything about the irqbalance and runit-helper packages so just leave them alone for now.

Doing a catfish file search of the whole file system for squashfs is not needed and just wasting your time, all we want to know is that when you create the snapshot and mount it in your file manager you can see the filesystem.squashfs similar to below code snippet. The filesystem.squashfs was missing in your code snippet so all you seem to have had was a usb stick with only 42 megabytes of files in the form of initrd.img, memtest and vmlinuz.This will definitely not boot into a live session as you dont have a filesystem added to boot it.

/media/dice/liveiso/live $ ls -lh 
total 765M
-r--r--r-- 1 dice dice 731M Mar 14 17:18 filesystem.squashfs
-r--r--r-- 1 dice dice  29M Mar 14 17:16 initrd.img
-r--r--r-- 1 dice dice 179K Dec 13  2019 memtest
-r--r--r-- 1 dice dice 5.1M Mar 14 17:15 vmlinuz

#260 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-17 02:26:58

ComputerBob wrote:
computerbob@robinson:~$ uname -a
Linux robinson 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
computerbob@robinson:~$ 
computerbob@robinson:/media/computerbob/liveiso$ ls -lh /media/computerbob/liveiso/live
total 42M
-r--r--r-- 1 computerbob computerbob  37M Mar 15 16:04 initrd.img
-r--r--r-- 1 computerbob computerbob 179K Dec 12  2019 memtest
-r--r--r-- 1 computerbob computerbob 5.1M Mar 15 16:01 vmlinuz
computerbob@robinson:/media/computerbob/liveiso$ 

You dont seem to have a filesystem.squashfs ?? Perhaps you havent created the snapshot correctly..

This is what my snapshot looks like...

/media/dice/liveiso/live $ ls -lh 
total 765M
-r--r--r-- 1 dice dice 731M Mar 14 17:18 filesystem.squashfs
-r--r--r-- 1 dice dice  29M Mar 14 17:16 initrd.img
-r--r--r-- 1 dice dice 179K Dec 13  2019 memtest
-r--r--r-- 1 dice dice 5.1M Mar 14 17:15 vmlinuz

also do you need the older ascii kernel, if not maybe uninstall that and install another fallback kernel that is a bit newer from beowulf. Like maybe the linux-image-4.19.0-13-amd64, then reboot, and do another snapshot and see if this make a difference.

#261 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-16 14:14:12

ComputerBob wrote:
dice wrote:

Ok so you need to remove /etc/initramfs-tools/conf.d/driver-policy "driver-policy" file.

Then

# update-initramfs -u

Then make a new snapshot.

I had hoped to be writing this from my system, after booting from my USB stick.

I was pretty hopeful, because the whole iso creation and copying it to my USB stick seemed noticeably faster than it had been previously.

But I still I got the exact same frozen-after-the "random:crng init done" line, followed by a long pause, followed by the whole "BOOT FAILED" message -- which still complains that it can't find a bootable system...

I'm really sorry guys. With it working for other people now, it's starting to clearly look and feel like I must be the problem.

sad

computerbob@robinson:~$ ls -lh /boot
total 57M
-rw-r--r-- 1 root root 202K Jan 30 04:35 config-4.19.0-14-amd64
-rw-r--r-- 1 root root 183K Dec 17 07:51 config-4.9.0-14-amd64
drwxr-xr-x 5 root root 4.0K Mar 10 10:30 grub
-rw-r--r-- 1 root root  37M Mar 15 15:58 initrd.img-4.19.0-14-amd64
-rw-r--r-- 1 root root 4.7M Dec 18 13:22 initrd.img-4.9.0-14-amd64
-rw-r--r-- 1 root root 3.3M Jan 30 04:35 System.map-4.19.0-14-amd64
-rw-r--r-- 1 root root 3.1M Dec 17 07:51 System.map-4.9.0-14-amd64
-rw-r--r-- 1 root root 5.1M Jan 30 04:35 vmlinuz-4.19.0-14-amd64
-rw-r--r-- 1 root root 4.1M Dec 17 07:51 vmlinuz-4.9.0-14-amd64

Can you please do below command and let us now the output.

uname -a

I have a feeling the ascii kernel is the issue here and still possibly in use instead of the updated kernel. If the snapshot is picking that up the initrd.img is way to small. 4.7M Dec 18 13:22 initrd.img-4.9.0-14-amd64

You need to ls -lh the directory of the liveiso when mounted, for me this directory was

ls -lh /media/liveiso/live

Or it could be with user name...

ls -lh /media/dice/liveiso/live

#262 Re: Off-topic » Music » 2021-03-15 15:36:59

Stevie Ray Vaughan & Double Trouble - Voodoo Chile (Live From Austin, TX)

https://www.youtube.com/watch?v=rb53-sDII0o

#263 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-15 15:19:21

fsmithred wrote:

Thanks for persevering, dice. I gave up too soon. I did an install with targeted drivers and the initrd was only 8M, but maybe because the hardware was virtual. Let's see how this turns out, but I think you may have solved it.

All good, without your knowledge we would have got nowhere. To me this is a good learning exercise and ive gained some knowledge on the files that control the initrd/initramfs.

Its possible that update and upgrade from ascii to beowulf might leave out some needed drivers as well, just a hunch here but there might be something to it.

#264 Re: Devuan » Meet Chimaera's deepsea theme » 2021-03-15 15:12:09

berni51 wrote:
golinux wrote:

...........
This is the last time I am putting myself through this ordeal.  Someone else is going to have to step up to do the next ones.

Why that? Is it too tricky and complicated or are you tired of the discussions nagging?

Regards
Berni

Ive tried modifying gtk3 themes, gnome does not make it easy on any level. One needs a technical traineeship just to understand it. So i feel golinux pain from someone who has dabbled but not actually put the foot into the waters.

Saying that though i really dig the themes golinux has put out, the chimaera ocean blue theme is really nice.

#265 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-15 14:51:32

Ok so you need to remove /etc/initramfs-tools/conf.d/driver-policy "driver-policy" file.

Then

# update-initramfs -u

Then make a new snapshot.

#266 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-15 14:05:38

I suppose initrd.img will vary from system to system but my initrd.img is 30M, the system that had limited drivers was around 19M.

Is the file /etc/initramfs-tools/conf.d/driver-policy present ?

What does Computer Bobs /etc/initramfs-tools/initramfs.conf look like ?

#267 Re: Desktop and Multimedia » [SOLVED] Nvidia error at boot » 2021-03-15 11:54:06

ralph.ronnquist wrote:

If you look carefully you'll see a "Mark SOLVED" link near the top and one near the bottom of the page. Try "pushing" one of those.

I tried to see if this was available on one of my threads and could not see that option so manually edited the subject heading. Maybe because you are admin you have that option ?

#268 Re: Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-15 01:03:10

fsmithred wrote:

I think I found it. Move /etc/initramfs-tools/conf.d/driver-policy out of the way and run update-initramfs -u and then make a new snapshot.

That was is it, the snapshot is now working as it should. Thanks again fsmithred.

Do you think this might be the issue with computer bobs snapshot ?

http://dev1galaxy.org/viewtopic.php?id=4188

#269 Re: Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-14 15:21:40

Good tool meld, ive used it before but not for something like this, but it worked to diff in directories good-iso vs bad-iso.

I unpacked both initrd.img, the bad iso is 48mb smaller than the good iso when unpacked. The bad iso is missing a lot of kernel object .ko files. I couldnt see an option to extract a report or log from meld to post here. But yeah huge difference.

#270 Re: Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-14 14:52:00

All good, thanks for your help anyhow. Its a pretty edge case this one i admit due to the expert install. I just chose that option as i thought it was a better alternative. Ill stick to all available drivers in the future. Id still like to see what is missing or not included in the initramfs.

#271 Re: Installation » devuan fresh installation on HP laptop fails to load graphical desktop » 2021-03-14 13:26:03

Head_on_a_Stick wrote:

It's not just the kernel. That generation of Intel integrated graphics chips require a newer Mesa version.

The OP could try chimaera now or even add the MX Linux repositories — they've backported Mesa to a buster base, I have a guide to adding & pinning their repositories over at forums.debian.net — but neither option is ideal. I would usually recommend Arch for new hardware but most people here won't like that because of the init system that shall not be named (or spelled correctly).

There is artix linux which is a derivative of archlinux that has 3 different inits to choose from - openrc, runit and s6.

#272 Re: Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-14 13:19:26

The host system is not encrypted.

from the mounted usb stick.

If i use the command you suggested i get this...

/liveiso/live $ lsinitramfs "$initrd.img" | egrep "resume|cryptroot|crypttab|askpass"
/usr/bin/unmkinitramfs: 62: /usr/bin/unmkinitramfs: cannot open .img: No such file
/usr/bin/unmkinitramfs: 55: /usr/bin/unmkinitramfs: cannot open .img: No such file
/usr/bin/unmkinitramfs: 36: /usr/bin/unmkinitramfs: cannot open .img: No such file
/usr/bin/unmkinitramfs: 36: /usr/bin/unmkinitramfs: lz4cat: not found
cpio: premature end of archive

without the $ and quotes aka "$initrd.img"...

/liveiso/live $ lsinitramfs initrd.img | egrep "resume|cryptroot|crypttab|askpass"
cryptroot
scripts/local-top/cryptroot
scripts/local-premount/resume
scripts/local-block/cryptroot
usr/bin/cryptroot-unlock
usr/bin/resume

#273 Re: Other Issues » (Unattended-upgrades) Apparently I'm running Debian... Again. » 2021-03-14 10:24:24

steve_v wrote:
dice wrote:

I have never used unattended upgrades.

How many headless boxes do you administer? If you don't like needing to ssh into each one to apply updates, and want your machines to keep themselves up to date, mail you with results and schedule their own reboots for when there are no users logged in, unattended-upgrades is for you.

It's been in main at least as far back as etch, so it's not exactly exotic and I'm fairly confident I'm not the only one using it.

I dont run any headless boxes. But it sounds like a good idea if you have a network of many systems you need to look after. Sorry i couldnt be of any help. Maybe file a bug report again ??

#274 Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-14 09:57:57

dice
Replies: 10

Rather than clogging up computer bobs thread for backing up i make a new thread continuing on from post #52

http://dev1galaxy.org/viewtopic.php?pid=28139#p28139

fsmithred wrote:
dice wrote:

Hi fsmithred, does refractasnapshot depend on having "initrd (initial ram disk): generic (all available drivers)" as opposed to "only select drivers to suit this hardware", during expert install? I have a feeling this is where the initramfs is failing.

Wow. Excellent question. I don't know the answer. I can't recall if this has ever come up in the 10 years I've been maintaining that script. I would expect a snapshot with limited drivers would only boot on the same or similar hardware.

That option is probably set in /etc/initramfs-tools/initramfs.conf. Compare the one with limited drivers to one with all available. If there's something obvious to change, change it, rebuild initramfs and make a new snapshot.  update-initramfs -u

If you want to save time in the above procedure, make the new initrd.img and copy it to /home/work/iso/live and then run refractasnapshot, but choose the option to run xorriso only. You'll be done in one minute.

I don't think I've ever done an install with drivers limited to the current hardware. I always assume that my old boxen will die and I'll have to move the hard drive to another computer.

Edit: if you do the shortcut in this case, and you use that iso to install on another system, you will need to edit initramfs.conf in that system. That could be done in the live system before install. That way when the initrd gets rebuilt during the install it will be good.

Edit 2: change initramfs.conf in /home/work/myfs/ and run the re-squash option in refractasnapshot. That will avoid the problem mentioned in the first edit. It'll take longer, too.

Ok so i had a look at both /etc/initramfs-tools/initramfs.conf , both are the same for limited drivers and all available.

What drivers get missed when using the limited drivers option in the expert install, i cant seem to figure that out?

fsmithred wrote:

I tried dice's qemu command (without the sudo) and my iso boots as cdrom or as disk. I'm pretty sure the problem is in the initramfs.

dice, please run:

lsinitramfs /initrd.img | egrep "resume|cryptroot|crypttab|askpass"

file -L /initrd.img

To answer this question from here http://dev1galaxy.org/viewtopic.php?pid=28136#p28136

This is from the system that has limited drivers and wont boot the snaphot.

# lsinitramfs /initrd.img | egrep "resume|cryptroot|crypttab|askpass"
conf/conf.d/resume
cryptroot
cryptroot/crypttab
scripts/local-block/cryptroot
scripts/local-premount/resume
scripts/local-top/cryptroot
usr/bin/cryptroot-unlock
usr/bin/resume
# file -L /initrd.img
/mnt/initrd.img: gzip compressed data, last modified: Sun Mar 14 09:21:56 2021, from Unix, original size 66083840

Board footer

Forum Software