The officially official Devuan Forum!

You are not logged in.

#1226 Re: Installation » [SOLVED] Keeping LMDE4 in Beowulf? » 2021-03-19 13:40:11

I have not read any accounts of anyone migrating from devuan to debian or other debian-based systemd distro. You would be cutting a new trail.

Obviously, you would need to add a mint or debian repo to your sources to install banned packages. You might need to do some creative pinning to prevent a disaster. Either that or do a full migration back to LMDE. Please write it up if you do. Thanks. Good luck.

#1227 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-17 19:24:11

Thanks for playing until the end. I like my stuff to work, and I'm really glad you stuck around until we all solved it. I might have to adjust the script so that mksquashfs is noisier about failing.

When you're in a mood to read some documentation, take a look here:
https://refracta.org/documents.html

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

Cool! Please tell us a little about what desktop environment and display (login) manager is installed. And if you have autologin set for your installed system, please describe how you did that. The live-config scripts set up autologin for the live environment. Maybe two settings are competing.

Optional: At the isolinux boot menu, press TAB to edit the boot line and add the one word, noautologin. And see if it boots to a login screen. Or maybe it'll boot to desktop.

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

dice wrote:

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

I'm not sure how big it will be. It's possible to make the iso smaller by uncommenting one of the mksq_opt lines in the config file.

# Uncomment one of the lines below to use xz compression for smaller iso. 

# small and slow
#mksq_opt="-comp xz"

# smaller and slower:
#mksq_opt="-comp xz -Xbcj x86"

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

One thing that might help is to edit /etc/refractasnapshot.conf to set save_work="yes". Normally, the copy of the filesystem gets deleted after the snapshot.iso is made. If the work dir is not deleted, we can do some forensic inspection and some other tricks, maybe.

Also...
I did not see any indication of a common problem in the log file you sent me, but looking again at your df output has me wondering if you're running out of space. You posted:

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       8.6G  4.0G  4.2G  49% /
/dev/sda2       8.5G  3.0G  5.0G  38% /home
/dev/sda6       247G   98G  138G  42% /media/data

I see 4G of operating system plus 3G of home used. That's a total of 7G unless you added a bunch of stuff to the excludes file. I'm guessing you did not do that. Refractasnapshot makes a copy of the entire system (minus what's listed in the excludes file) and puts that copy in /home/snapshot. But you only have 5G free space in /home.

You can switch the location of work_dir and snapshot_dir in the config file. Change this:

snapshot_dir="/home/snapshot"
work_dir="/home/work"
efi_work="${work_dir}/efi-files"

  To this:

snapshot_dir="/media/data/snapshot"
work_dir="/media/data/work"
efi_work="${work_dir}/efi-files"

Then run refractasnapshot.

#1231 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-16 01:07:35

ralph.ronnquist wrote:

This kind of presents the same hardware picture as your post #34 execpt that it has sda4 instead of sda6.

That difference is probably the cause of your problem... and now we need @fsmithred to draw conclusions smile

I don't see why that would matter. It should be booting the live system, not a disk partition. But it does lead me to a question. What's in the boot command?

Bob, at the boot menu for the live-usb, press TAB and see what it shows at the bottom of the screen. It should be

/live/vmlinuz initrd=/live/initrd.img boot=live username=computerbob

I can boot to initramfs prompt if I remove 'boot=live' from the boot command. I'm wondering if your boot menu got screwed up and lost that piece.

#1232 Re: Hardware & System Configuration » Strange behaviour with last version of grub » 2021-03-15 19:32:36

The prefix is hard-coded in grub-efi-amd64-signed. I'm not sure what changed in this last update. I first ran into this problem a year ago. If you remove the signed package and just keep grub-efi-amd64 it should fix the problem. Usually. And not if you need to use secure boot.

#1233 Re: Installation » devuan fresh installation on HP laptop fails to load graphical desktop » 2021-03-15 19:21:01

Assuming this is your wired interface:

dhclient enx00243218dfaa

Ok, the problem is in /etc/network/interfaces. Replace eth0 with enx00243218dfaa or do something to change that long name. Is that a usb ethernet dongle? You shouldn't see interface names like that for internal interfaces.

#1234 Re: Hardware & System Configuration » [SOLVED] Strange gparted situation » 2021-03-15 15:16:42

I had a similar problem, and Ralph's advice helped, but I had to delete those links a few times.

There are three hard drives in this computer. Up until a few months ago, when I plugged in a usb, it would be named /dev/sdd. Then one day it changed to /dev/sde. I've seen this in the past after pulling out a usb without unmounting it, but that always clears with a reboot. This has persisted.

I looked in /dev/disk/* and there were two links to /dev/sdd. One was 'Generic usb something' and the other was 'pci-something' that corresponded to the usb controller slot. I deleted those links two or three times, and they kept coming back. Then I deleted /dev/sdd along with them. That seems to have done it.

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

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.

#1236 Re: Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-15 13:33:31

Confirmed that ComputerBob's problem is not the same as yours. He has a full initrd.img (24M).

#1237 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-15 13:22:54

24M is big, and you confirmed that you didn't select for targeted drivers only. So that means your problem is not the same as dice's.

#1238 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-15 02:01:33

@ComputerBob:
When you return to this, here's a simple check to see if your problem is the same as dice's. Adjust the file name if you have a different kernel.

ls -lh /boot/initrd.img-4.19.0-14-amd64

Do you recall if you did an expert install and chose to only have drivers targeted for your hardware in the initramfs? If you don't recall, that's fine. The output of the command above will tell us. It'll either be big or small. (I want the number, please.)

#1239 Re: Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-14 16:13:08

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.

#1240 Re: Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-14 14:55:22

Unpack the initramfs from the bad iso and also the one from the good iso and compare them. (Hint: meld is a good program for comparing files and directories.) Use unmkinitramfs instead of the commands I posted in that other thread. It's easier. Plus, the command I posted for computerbob won't work for your initrd.img.

#1241 Re: Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-14 14:38:55

Yeah, the second way is correct. I should have explained the quotes and $. Replace that with path to the file you're checking. And it looks good. The script removed crypttab and resume as it should have. I don't know what the next step is.

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

I have a couple of chimaera-based live isos here:
https://get.refracta.org/files/testing/

No xorg. No non-free. Run 'refractainstaller' to install to hard drive. Or do a debootstrap install.

#1243 Re: Other Issues » [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue) » 2021-03-14 13:08:10

Please do the same on either the mounted iso or mounted usb stick that has the image. Check /live/initrd.img to see if resume and crypttab got removed. Is the host system that made this snapshot an encrypted system?

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

Note: in the previous post I started the command with '#' which suggests it needs to be run as root, but that is not the case. You can run the command as user.

#1244 Re: Desktop and Multimedia » (beowulf) gtk3 needed! » 2021-03-13 20:36:50

Sorry for the tease. That link might be one of my special powers as admin.

#1245 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-13 20:28:29

I don't understand the symlinks at all. When you looked at the mounted usb with ls, it showed the right things.

You can mount the iso as root and look at it that way.

mount /home/snapshot/snapshot.iso /mnt
ls /mnt
ls /mnt/live
ls /mnt/isolinux
# and when you're done looking around in there
umount /mnt

You should see /live /isolinux /pkglist_whatever. Look inside /live and you should see initrd.img vmlinuz and filesystem.squashfs. Inside /isolinux should be live.cfg (the boot menu) and a bunch of other files that are the same ones in /usr/lib/refractasnapshot/iso/isolinux/.

Edit: you could do the same with the mounted usb and look inside the directories.

ls /media/computerbob/liveiso/live    # and so on.

#1246 Re: Desktop and Multimedia » (beowulf) gtk3 needed! » 2021-03-13 19:39:35

rolfie wrote:

The button is called "Edit".

rolfie

And if you are logged in, there's a link that says 'Mark SOLVED' just below the edit button and next to the link that says 'Post reply'.

#1247 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-13 19:36:51

Let's see what's in these two resume files. I don't understand why there are both of them. The first one is in older releases and then the name was changed to the second one in ascii or beowulf.

conf/conf.d/resume
conf/conf.d/zz-resume-auto

In order to get to those files, initrd.img needs to be extracted. Here are the commands to do that. Do this as unprivileged user in your home directory.

cp /initrd.img /home/computerbob/
mkdir extracted
cd extracted
(cpio -i ; zcat | cpio -i) < ../initrd.img

Then look in extracted/conf/conf.d/resume and zz-resume-auto
One or both will probably have the uuid of your swap partition. One or both might have RESUME=none. Or maybe something else I haven't thought of.

Don't delete the extracted stuff. It might be possible to fix and repack the initrd and plug it into the build process.

#1248 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-13 19:11:01

Bob, that output looks normal. If you want to get rid of the message about missing firmware, you could install firmware-misc-nonfree if you have non-free repositories enabled. (non-free refers to speech, not beer)

The real test will be to see if the new snapshot boots.

#1249 Re: Installation » I just installed Devuan 3.1.0 Beowulf and it's cool » 2021-03-13 15:53:46

Multiple desktop environments doesn't work as easily as it used to. There are more dependency conflicts. You might have an easier time if you avoid metapackages. Instead of task-xfce-desktop or any of the others that get installed from the installation isos, install xfce4 or even install the individual parts. Same goes for the other desktops. That way you can resolve conflicts individually as they come up. Also, installing without Recommends will help with this.

If you just want to test different desktops, it might be cleaner to test in a virtual machine.

Default applications in the system are controlled by the alternatives system. Generally, the last app of any particular type that gets installed is the one that is preferred.  See man update-alternatives and ls -l /etc/alternatives/ for more information.

n-m vs. wicd: In this case, it's the desktop environments that pulled them in. You could probably avoid this by installing things in pieces as described above.

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

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.

Board footer

Forum Software