You are not logged in.
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.
I must have confused machines as the machine i was using was done with expert install using only the option to install drivers suited that particular computer whereas i have no issues with another machine an asus laptop that were installed with all available drivers?
Ive even tested a qemu installation and did a refractasnapshot and dd'd that qemu created snapshot to a usb and it boots fine. So im fairly certain is a driver issue.
I have never used unattended upgrades. Could the devuan 3.1 release notes shed a bit more light on this issue?
Changing the ID of the operating system.
- This point-release (3.1.0) fixes a bug in the last release that
showed "Debian" in the boot menu instead of "Devuan".If you need the system to identify itself as Debian, you can edit
/etc/os-release to show ID=debian. This may be needed for third-party
software that expects to see debian.
You can probably read /boot.log from the initramfs prompt. Try more /boot.log I don't know a way to get it out of there.
And try this to boot the iso:
qemu-system-x86_64 -m 2560 -cdrom /home/snapshot/snapshot.iso
You don't need to be root or use sudo for that.
boot.log is like over 1800 loc. I have no idea how to extract it or even if it would be useful. I do know that around 1 month ago the snapshots i was creating were ok and would load into the live session.
I dont understand it so i cant really be much help im sorry.
@ ralph, so the raw/file is like booting a hard disk as apposed to just giving it the cdrom flag to boot the iso?
either way both just go to initramfs. Im not a qemu user or a virtual disk user for that matter so will rtfm.
Im getting the exact same issue using qemu as well as bare metal.
This is a fresh snapshot.
qemu command as mentioned by alphalpa earlier in thread.
sudo qemu-system-x86_64 -m 2560 --drive format=raw,file=/home/snapshot/snapshot.iso
scrot ...
/etc/initramfs-tools/conf.d/resume already has RESUME=none
would a boot.log help from the prompt? How would i extract that from the qemu?
I can confirm i am having the same issue as computer bob, it seems something has gone wrong due to an update with either refractasnapshot or the tools used with it ? I get the exact same messages computer bob posted.
I copy to disk using dd this way.
# dd if=snapshot.iso of=/dev/sdb status=progress oflag=sync bs=4M
It gets to the live usb refracta menu but fails to boot and goes to fallback initramfs. So my guess is maybe something has changed in live-boot-initramfs-tools ?
fsarchiver is fairly simple if you have good understanding of the terminal commands. If you have accessibility issues due to stroke maybe another backup method is worth looking into. I can help you with this if you need more info, just not sure of your situation.
I created a thread on this recently. I would recommend learning to use the program fsarchiver. https://www.fsarchiver.org/
Here is the thread.
http://dev1galaxy.org/viewtopic.php?id=4173
There is also refractasnapshot and refractainstaller, which are nice tools for creating an iso snapshot you can then use refractainstaller to reinstall the system with most if not all settings and customization's persistent. Both of these are maintained by fsmithred i believe and are in the devuan repos.
I see, so ive only just checked updates with the update manager and not edited through it, so that may be why. Anyhow it runs pretty snappy and looks good, ill keep it around for a little while and see how it goes. Ive not explored it fully yet but will when i get time.
Ok i gave this a try and can confirm it works with a bit of editing.
I installed a fresh minimal netinstall of beowulf using expert install so i could leave out contrib, non-free and deb-src repos.
my /etc/apt/sources.list look like below.
deb http://deb.devuan.org/merged beowulf main
deb http://deb.devuan.org/merged beowulf-security main
deb http://deb.devuan.org/devuan beowulf-proposed-updates main
# LMDE - Linux Mint Devuan Edition
deb http://packages.linuxmint.com debbie main upstream import backport
added key apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys A6616109451BBBF2
I then pin systemd in /etc/apt/preferences.d/nosystemd , just in case.
Package: systemd
Pin: release n=beowulf
Pin-Priority: -1
Package: systemd
Pin: release n=debbie
Pin-Priority: -1
I then created a release preference to debbie in /etc/apt/preferences.d/99lmde ( i hope this is the correct way?)
Package: *
Pin: release a=debbie
Pin-Priority: 900
I then apt update and dist-upgrade then installed mint-meta-cinnamon, xorg, xorg video drivers, lightdm. As suspected lmde repos pulled in the non free iwilwifi firmware i needed.
I dont know much about linux mint but it did not install a login manager so installed lightdm?
nixer, mint-meta-cinnamon did not seem to add /etc/apt/sources.list.d/official-package-repositories, not yet anyway and the update manager says im all up to date.
I did notice this in /etc/apt/preferences.d/official-extra-repositories.pref should i keep this as is ?
Package: *
Pin: origin "build.linuxmint.com"
Pin-Priority: 700
edit: scrot or it didnt happen.
^ interesting.
when i do this it will be from a minimal installation of devuan via netinstall. I may leave out contrib and non-free and see what lmde wants to drag in.
I dont like using the gui synaptic installer, im more accustomed to the terminal way of install/update/upgrade etc. I believe i can see more of what is going on and i can take more control of what gets installed that i do not need.
You should try out a minimal devuan netinstall.
You would need to install xorg, xserver-xorg-video and input packages, then your openbox/fluxbox wm, get those few working first and then build up from there.
The way to do this is to only select standard system utils when it comes to installing the desktop and other software, maybe include cups printing, ssh server and console productivity if you need these.
edit: some typos.
Devin Townsend, deep peace, live Plovdiv Bulgaria.
Thanks nixer. Its good that you mentioned the /etc/apt/sources.list.d/official-package-repositories issue. I will probably give this a try on a spare bare metal partition on a test rig. How do you find it as in how do you rate it, is it a good user experience? I read the mint repos have some interesting software.
Hi guys,
I found the duvuanated mint below,
https://all-things-linux.blogspot.com/2 … ition.html
Steps are outlined there. I tested several times but seems to have several consraints.
They bypass how to add the lmde repositories to devuan, unless i missed that? Just says...
2). Added LMDE repositories from my main install and imported the missing key
I wouldnt mind giving this a try, how would one get the lmde source.list, im unsure where to look?
Hope that subject heading sounds correct?
Doing this cause of boredom and just to see if i could . This is how i made a copy onto a usb3.0 drive of my devuan beowulf installation using f2fs as the filesystem.
Note this tutorial is only for legacy-bios not uefi. For this i opted to just have 1 boot partition and 1 encrypted root partition, no encrypted lvm, no home partitions etc etc...
The reason for the f2fs filesystem is that it is better suited to flash drives hence the name flash friendly file system, https://www.kernel.org/doc/html/v5.7/fi … /f2fs.html
Ive opted to create plain encrypted root partition but you can leave this out if you want, just skip the encryption steps and in point 4. ignore mkfs.f2fs /dev/mapper/usb and use mkfs.f2fs /dev/sdX2.
1. make sure to install these before moving forward.
# apt install f2fs-tools
# apt install cryptsetup
# apt install arch-install-scripts
# apt install rsync
2. get the boot and root partition ready
i use cfdisk for this, just create 2 partitions, the first atleast 500MB and make it bootable and the second the rest of the drive.
Use what ever disk utility you like though, just make sure their is a boot partition and a root partition nothing more as it is out of the scope of this tutorial.
Make sure that the usb has enough space for your operating system, im using a 128GB usb3.0 stick and my system is only around 20GB in total.
3. create the encryption and take note of what the usb device partions are for, /dev/sdX2 in my case is /dev/sdb2 the root partition.
# cryptsetup luksFormat /dev/sdX2
answer YES in capitals, then input a password.
Now open the the encrypted partition.
# cryptsetup open /dev/sdX2 usb
4. create the filesystems for boot and root, if you have no other usb devices plugged in these should be sdb1 for boot and sdb2 for root.
# mkfs.ext2 /dev/sdX1
# mkfs.f2fs /dev/mapper/usb
5. now lets just mount the root then the boot partition.
# mount /dev/mapper/usb /mnt
# mount /dev/sdX1 /mnt/boot
6. now lets rsync the root filesystem to the /mnt
# rsync -aAXHv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /mnt
7. after the rsync has completed successfully lets chroot into the usb filesystem and edit a few things.
# arch-chroot /mnt
lets get the uuids of the usb device to edit /etc/fstab and /etc/crypttab with the blkid command, (blkid - locate/print block device attributes).
# blkid
/dev/sdX1: UUID="<this is your boot partition UUID>" TYPE="ext2" PARTUUID="0000000-01"
/dev/sdX2: UUID="<this is the crypto_luks partition UUID>" TYPE="crypto_LUKS" PARTUUID="00000000-02"
/dev/mapper/usb: UUID="<this the unencrypted filesystem UUID>" TYPE="f2fs"
lets edit /etc/fstab first so it looks like below.
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/usb / f2fs rw,defaults 0 1
# /boot was on /dev/sda1 during installation
UUID=<this is your boot partition UUID> /boot ext2 noatime 0 2
now edit /etc/crypttab and insert the /dev/sdX2 uuid...
usb UUID=<this is the crypto_luks partition UUID> none luks,discard
8. now lets remove grub.cfg then install and update-grub
# rm /boot/grub/grub.cfg
# grub-install /dev/sdX # this should be your usb device, mine was /dev/sdb
# update-grub
9.now we need some modules added to the initramfs, ive read that debian stable should have the f2fs module in grub to make root file systems work, this might not be the case for devuan ?
But without adding these to /etc/initramfs-tools/modules the usb failed to boot for me.
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
f2fs
fscrypto
crc32-pclmul
crc32c_generic
crc32c-intel
crc32_generic
libcrc32c
now update the initramfs
# update-initramfs -u
lets update grub just in case.
# update-grub
---
Now just ...
# exit
# unmount -R /mnt
# cryptsetup close usb
# reboot into the usb
This should be enough to boot the usb stick via the bios boot menu into a grub screen. This is working for me as im typing all this out from it.
please let me know if ive made any mistake or this guide needs improvement.
happy hacking!
@steve_v, you have given a list of types of programs, not the actual programs you use. Same for the OP, it makes a difference because some programs can do more, they can be swiss army knives. Im a researcher so my tools are based on this, everyone is different in their use cases.
thanks for the contributions all.
Good topic.
In no particular order;
st: terminal
dmenu: run/search programs
firefox-esr: web browser with custom user.js ( i was using ungoogled chromium but found out how far behind upstream they are so stopped using it)
vim: editor
mpv: video
cmus: music
youtube-dl: downloading music/video
spacefm: file manager
sxiv: image viewer
pandoc: office ( I dont really use this that often but when i need to send a properly formatted letter i use markdown and convert it to pdf with pandoc)
mupdf: pdf, epub viewer
pass: password manager
hexchat: irc
uget: download manager
transmission-gtk: torrent client
@ just, that sounds like a good idea per computer. The portable drive in my case is a nice option for having both storage media and backup media on the same disk. I can use the portable drive for many other computers if need be as long as i have the correct firmware and drivers installed. At the moment installed devuan to portable ssd drives is good, there is no lag like you would get from a spin drive and the speed of usb3 ports is good for this type of application. Technology has come far in this regard.
FSArchiver here as well. For its unparagonable versatility, flexibility, reliability.
How to do you backup? I have a portable drive ive set up a small devuan system with no X that i can archive from. So the portable drive has an operating system and ext4 partition to backup to. The hot backup or live backup is an option but it has stalled/failed on me in the past.
This is how i do it for the moment.
1. log into portable drive that has devuan installed on a 10GB partition.
2. mount the rest of the portable drive labeled backup from portable drives /etc/fstab
3. fsarchiver savefs /media/$USER/backup.fsa /dev/sda1 /dev/mapper/cryptroot -v -j4 -c xxxxxxx
With encrypted partitions they need to be opened first of course.
^ i had a similar issue when i shredded and zeroed a drive not too long ago and added voidlinux musl-libc.
It must have been a good wipe because upon installation void couldnt pick up the hardware clock or tzdata even though i had set it in the settings during install. Not sure if that is a bug or not. The clock was reset to factory defaults so 2016, nothing would work in regards to updates or using a web browser.
The answer for me was to..
# date -s "Mar 5 2021 23:33:00"
then
# hwclock --systohc
What do you use for backups?
Im using fsarchiver as it is quick and you can secure the archive with blowfish encryption.
Ah i missed wl driver section. Good to know anyhow thanks head on a stick. https://wiki.debian.org/wl#supported
so pootler have the speeds gone back to normal?
Alright I enabled the security repo and now it dosen't work again and gives me this error.
The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
Release file for http://deb.devuan.org/merged/dists/beowulf/InRelease is not valid yet (invalid for another 4h 59min 53s). Updates for this repository will not be applied.Release file for http://deb.devuan.org/merged/dists/beow … /InRelease is not valid yet (invalid for another 4h 59min 52s). Updates for this repository will not be applied.Release file for http://deb.devuan.org/devuan/dists/beow … /InRelease is not valid yet (invalid for another 4h 59min 2s). Updates for this repository will not be applied.
P.S. I can still install apps from the repos though.
can you use code tags and post your /etc/apt/sources.list again please. Perhaps even post up /etc/apt/sources.list.d/ contents if any.
how to use code tags...
see here: https://www.phpbb.com/community/help/bbcode
scroll down to section "Outputting code or fixed width data"
dice wrote:I cant see how reinstalling is going to help, as you have noticed you still have the same issue.
what is the output of this command from your terminal?
lspci -knn | grep -A3 "Network"
Hi,
I disagree
A fresh install means we can rule out any 'cxxp' that might be in the system caused by noobs ( ie me
) messing about, not quite knowing what they are doing- just in case it might be the problem
Will post output when I get home
Cheers
Pootler
I get that but imo you need to learn from mistakes and most issues can be resolved with attention to detail and some research. Reinstalling in your case is seriously not needed, the only time i would reinstall would be when i have deleted by accident a directory or file that is system dependent that i dont have a backup for.