You are not logged in.
I've found installing from live distros to be the easiest way
Where it involves a real installer with some sembance of a polished, quality product (e.g. calamares) I agree. If it's refractainstaller, not so much. That thing has "janky" written all over it.
The OP's problem may well have been from having his 'home' mounted at the time of installing.
Yeah, that's my (second) guess as well... Right after "If I can make refracta derp and skip steps, so can he".
I've never tried the live installer
I have, once. I was not particularly impressed.
I don't even know what it is
If we're talking about the desktop livecd, I expect that would be refracta installer.
the traditional boot menu installer has always behaved impeccably for me.
Ditto.
I've never seen the traditional debian installer do anything funky either, but IME it's pretty trivial to screw up refracta, since it's really just a bunch of shell scripts, rsync, and yad/zenity.
There's no option go back if you miss something, precious little in the way of confirmation, and skipping or closing any of the random dialogs and terminal windows it spawns is likely to have it just truck on and copy the system regardless. i can totally imagine how one might end up in this kind of mess.
Perhaps I'm being unduly harsh here, but considering I was able to accidentally break the install process on my very first go (though not as badly as this example) it sure doesn't inspire much faith.
If the OP had provided proper reproduction steps, I might even be able to prove it too... oh well.
Random thought, I don't suppose we did anything... unexpected in the live session before running the installer, like, say mounting the existing /home filesystem somewhere?
It's just a thought mind, while I am looking at what I think is the current refracta scripts with one eye, I'm far too lazy to properly dig through that bunch of bash right now.
And another random thought, because I know HoaS just loves shellcheck...
shellcheck ./refractainstaller-gui | grep ^In | wc -l
143
shellcheck -S warning ./refractainstaller-gui | grep ^In | wc -l
52
shellcheck -S error ./refractainstaller-gui | grep ^In | wc -l
5Ouch. ![]()
Yeah, I just use d-i. You should too.
Surely that would only make sense if I wanted to upgrade immediately 'testing' became 'stable'?
No, that's what "archive" (a=foo) matching is for.
a=stable will track whatever release is currently marked as stable (so it's liable to silently start pulling in packages from a new stable release as soon as it becomes available).
n=<codename> will track <codename> forever until you change it manually, regardless of unstable/testing/stable status.
n=${distro_codename} does the same, except that it uses lsb_release to determine which release codename you are currently running. When (and only when) you switch to a different release (i.e. change your sources and do a manual dist-upgrade), lsb_release picks it up, nobody needs to look at that file.
That last one has been the "safe" default in Debian for a long time now, and AFAICT the only reason it isn't on Devuan is that lsb_release was broken for a while (returning Debian release names).
IIRC lsb_release in turn was broken to work around yet another "we're 99% Debian but trying to pretend we're not" class bug. Of course. ![]()
All that is now fixed, so I see no reason not to put this trivial bit of automation back. ![]()
This is my fixed/working version. I suspect its unchanged (apart from changing ascii to chimaera in line 43) since I used ascii.
If your install dates back to ascii (and you haven't let dpkg clobber the config files) you would have correct distro name, as this predates the fix getting lost and the package reverted to upstream Debian.
not sure its really worth pestering our admins to do this every time Debian change it upstream as there are other options in the config you might want to change anyway
That's kinda my point WRT using ${distro_codename} instead of a hardcoded release. That's how Debian does it, and it allows unattended-upgrades to track the new release after a dist-upgrade with no manual changes to its configuration at all.
Ditto for the devuan-security line, I see no reason not to use ${distro_codename} there either, unless to create more packaging work.
Could you please test
Works fine on beowulf as far as a cursory test in a VM. Not so much on chimaera if one is using codename matching though...
I see the config template for Debian (50unattended-upgrades.Debian) references release as ${distro_codename}, and AFAICT from the python script, that's pulled from the output of lsb_release.
The config for Devuan does not (though it retains the reference to /etc/debian_version, which is nonsensical on Devuan), instead including hardcoded lines for beowulf.
The relevant (main, security) lines are also commented in the Devuan config, whereas for Debian they are not. Minor detail and all.
IMO since lsb_release returns correct information on Devuan, it would make sense to use ${distro_codename} by default here as well. Also changing /etc/debian_version to /etc/devuan_version for less confusion, since the former doesn't actually contain a release codename.
TBH I'm a little confused that the Devuan config deviates so far from the Debian version to begin with - all that's really needed is s/Debian/Devuan/g and some minor cleanup of the comments.
I would wager that the company that made your computer did not envison you running linux and therefore you have theoretically hacked your computer by installing GNU/Linux. Not all hacking is criminal, check out "Game Theory", know the rules of the game you can better get value from the experience.
I use "hack" and derivatives in their original meanings, always have.
Media droids conflating "hack" and "hacker" with the correct "crack" and "cracker" is not my problem, nor are ignorant muggles who do the same.
My problem with "Freedom Hacks" is the same problem I have with this board in general - a tendency to slap "freedom" on everything Devuan, as if it were some kind of philosophical fight against an oppressor, rather than a 90%+ Debian fork that retains support for multiple init implementations... Which is functionally what it is and always has been.
... That and it apparently being irresistible to preachers, rebels, "free thinkers", free speech advocates, conspiracy theorists and anti-establishment/anti-conformists in general.
Call that tutorial/howto sub something less ridiculous and I might be inclined... But not for this, because this is a packaging bug that got swept under the rug, plain and simple. It doesn't need a hack, it needs to be fixed.
Besides, if somebody needs a "freedom hack" post for a word replacement as obvious as this, I expect they probably need spoon-feeding and burping as well.
two SSD drives in a Raid 1 format.
Elaborate please.
root@devuan1:/etc/nginx# lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT sda isw_raid_member 1.1.00 sdb isw_raid_member 1.1.00 ├─sdb1 vfat FAT32 8395-4005 506.3M 1% /boot/efi ├─sdb2 ext4 1.0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 37.7G 9% / ├─sdb3 swap 1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [SWAP] └─sdb4 ext4 1.0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 297.8G 0% /home sr0 iso9660 Joliet Extension Devuan 4.0 2021-10-12-11-25-10-00
That "isw_raid_member" signature makes me suspect you are using BIOS "RAID", aka. Intel "Rapid Storage", in which case...
Is it possible that looking here ... https://linuxconfig.org/linux-software-raid-1-setup
... scrolling down to Configure persistent RAID mount ...
that the missing line in /etc/fstab "/dev/md0 /mnt/raid1 ext4 defaults 0 0" is the cause?
mdadm, (unless it has grown Intel RST support recently) has nothing to do with anything here. I also see no mention of any mdadm RAID arrays in that output.
If you really do have a software raid, mdadm (e.g. mdadm --examine --scan) should be able to find it, otherwise...
IIRC, Intel RST is handled by dm-mapper like any other BIOS fakeraid (ask google, I don't use it), and I expect your raid volume should be somewhere under /dev/mapper/... Not /dev/sdb2, which is where your root filesystem currently is.
What mounting an underlying member of a BIOS raid volume would do I don't know (will the BIOS resync on reboot? trusting which drive?), but the symptoms that you are reporting wouldn't surprise me at all.
This is all speculation mind, I don't use BIOS raid myself, and frankly I suggest you ditch it as well (unless you need to access the array from bare-metal windows for some deranged reason). Software (mdadm) RAID is better in every way.
It's using both a compositor and a window manager...
Sure. Unless everything has changed since I last used it, there's no requirement to actually use those functions though.
As I said, Wayland is simpler, more direct and more widely adopted with better support.
You can try and sell me on Wayland all you like, but until it does all the things X can do I really have very little use for it.
A simple framebuffer for the TTY? that I'll use, if infrequently. A rich networked display server for more complex GUI environments? cool.
Something in-between, whose primary targets appear to be "high refresh rate" (aka gaming woo) and better support for "devices"... Yeah, I don't really need that at all.
If Wayland was X+, I'd be keen. Right now it appears to be X- with a number of missing features, and were I to switch to it I'd end up running something in xwayland ~80% of the time anyway.
Why is replacing X with something that can't do all the things X can useful?
Yes, if I remember right, you could play video with the likes of mplayer, & maybe have graphics in a text type web browser in a command line installation - it's been a long time since, but I'm pretty sure I used to watch videos.
I used to do this as well, and further back with svgalib... Both on hardware far too slow to play video from X, and with too little memory for a full DE.
With links and directfb, you can run a graphics capable web browser in a TTY as well... That means a browser capable of accessing the current-day internet for machines with <128MB RAM.
Now we just need, say, a i386 Debian/Devuan "revival" as well. Perfectly Good Pentium deprecation stupidity and all that.
why is running graphics from a console screen useful?
Because you can, windows are bloat, and who needs a window manager anyway when you have 12 TTYs?
Or maybe, because needing to run a full-blown WM and compositor on something with no use for windowing or a GUI (e.g. a "digital picture frame" type device or monitor for a video stream) just to get basic framebuffer video output is patently silly?
Debian/Devuan unstable is not a rolling release like Arch, it it a playground for new packages before they move to testing. Unstable and testing are not subject to the same quality control as stable, they can and do break at any time, and they are categorically not recommended for inexperienced users.
Do you actually need a 6.x kernel? Unless you have a very good reason for running 6.x, you're only setting yourself up for problems - particularly when coupled with third-party trash like nvidia's proprietary driver, and even more so with a bunch of patches nobody else here would touch with a long stick piled on top as well.
Even my non-mission-critical-canary gentoo desktop is still running 5.15. Why you ask? Because unless you have bleeding-edge hardware, there's nothing whatsoever to be gained from a shiny-new-shit kernel except aggravation.
western media...
This again? Seriously? Please keep your political trolling out of support threads.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 intervalmany times at booting and no network after booting
From a quick glance at that log file, it appears that dhcpcd is successfully obtaining a lease for 192.168.0.26 from a server at 192.168.0.1...
Then connman and networkmanager start fighting over the interface, killing each other's dhcpcd instances, and everything pretty much goes to hell.
Why exactly are you trying to use 3 different methods to configure your network all at the same time anyway? That's bound to cause chaos.
PS how can i choose networking? from upper config file or NetworkManager?
Pick one method to configure networking.
IIRC networkmanager will leave interfaces configured in /etc/network/interfaces alone by default, so ifup and networkmanager should be able to coexist peacefully... At least in theory.
That would still be confusing though, if you want to use networkmanager and have the interface come up before anyone logs in, look for a "system connection" or "available to all users" option in your networkmanager frontend of choice.
Otherwise, get rid of networkmanager and connman (as well as any other random actors you didn't mention) and just use /etc/network/interfaces like the good-old-days before all this overcomplicated gui crap came along.
why after that i have no network?
steve@damnation:~$ crystal-ball --query "what did he do?"
crystal-ball: command not foundOops, guess I misplaced it. ![]()
I distinctly recall you stating that you were leaving...
Staying for a spot of trolling perhaps, or was that all just more melodrama in keeping with your OP?
Its config, or script, wheris that settings?
/sys/class/power_supply/BAT0/charge_start_threshold /sys/class/power_supply/BAT0/charge_stop_threshold
Those are sysfs (virtual) files, and should be writable - either directly or with the sysctl utility. You could use something like rc.local or a crontab to write them on startup.
Alternatively, just install tlp. It has many useful features and the configuration file is well documented.
Don't use deb.multimedia.org
A blanket "don't use" is a bit FUDish for me TBH. Like any 3rd party repository, the magnitude of the mess is largely dependent on what one installs and the sensibility of one's pinning.
Set up package priorities properly (i.e. everything but the specific packages you want pinned to -1) and there's no harm in installing a few things from deb-multimedia... As long as you avoid core media library replacements, they will most certainly make a mess.
Nothing a little apt-foo can't fix mind, but unless you really need, say, ffmpeg compiled with all the codecs possible, it's a situation best avoided.
Alternatively, simply installing the individual binary packages works fine as well, since they don't depend on anything else that isn't in the debian/devuan repos.
Why is there still no permanent connection mechanism to AC for laptops without harming the battery?
As HoaS explained, there is. If you set the embedded controller to stop charging at some level less than 100% (and only start charging again at some threshold lower again), then it sill stop trying to "top up" the battery constantly.
And why tracks starts from 2 not 1. First track is system meta data?
The first track is the iso9660 filesystem, in this case containing the game data files (it's just empty in the "music only" image).
Most games from the late 90's that included music used these mixed-mode discs, where the first track is mode 1 (CD-ROM) and the rest of the tracks are mode 0 (CD-DA) audio tracks. That way the music can be played by the drive's audio playback hardware without the CPU load of decoding, say, MP3 files.
If you put such a disk in a CD player it will actually try to play track 1 as audio... With somewhat unpleasant results. Your ripping software is smarter and will ignore it.
On Windows all much easy. I now what software is better and what not.
It's the same on any OS, you learn what software you like by trying it out or by word-of-mouth. You find windows easier because you have more experience with it.
This cdemu its a red-eyed bloody mess for me. Compile and installing and run. Its all very difficult.
Well you did pick the hard way, compiling it by hand in your home directory. Installing from the deb-multimedia repos is pretty painless (that's how I install it), and using dpkg to build a .deb package from the source shouldn't be much worse.
It's common practice on linux to install applications system-wide using the package manager, so it's not surprising that going against the grain will make things difficult. Had you built and installed a .deb package, it should have set up the udev rules and all that for you.
Of course if debian actually shipped the damn thing in their repos, there would be no hassle whatsoever. I really don't get the complete lack of interest from the maintainers on this particular package TBH, especially as the cdemu devs have gone so far as to include all the needed files already.
how to know that for mount needed all 3 files *.img, *.ccd, *.sub but mount needed only *.ccd?
Understanding of CD formats, experience, and a little guesswork. Also extrapolation from the bin/toc example in the cdemu manual, where it demonstrates giving cdemu only the .toc filename and it figuring out loading the matching .bin by itself.
.ccd, .cue, and .toc are all "table of contents" files that define how to read the matching .bin or .img, it's pretty logical that you'd need to load that first. Simply opening the .ccd as text should make it obvious what it is and why you might need it.
.sub is subchannel data, and IIRC it's optional unless the disk actually uses a subchannel. Subchannels are most commonly used for supplimental data such as CD-TEXT (track titles), pre-emphasis data... or for copy-protection bullshit.
You need to load the .ccd file, not the .img. The .ccd contains the session and track information needed to determine the disk layout, without it you will get only the first (data) track, if anything.
Same with bin/cue format, you load the .cue file not the .bin.
steve@perdition ~/Incoming/groundzero/full $ unrar x quake2-ground_zero.rar
UNRAR 6.12 freeware Copyright (c) 1993-2022 Alexander Roshal
Extracting from quake2-ground_zero.rar
Extracting ground.zero.ccd OK
Extracting ground.zero.img OK
Extracting ground.zero.sub OK
All OK
steve@perdition ~/Incoming/groundzero/full $ cdemu load 0 ./ground.zero.ccd
steve@perdition ~/Incoming/groundzero/full $ cdemu status
Devices' status:
DEV LOADED FILENAME
0 True /home/steve/Incoming/groundzero/full/ground.zero.ccd
steve@perdition ~/Incoming/groundzero/full $ cdemu device-mapping
Device mapping:
DEV SCSI CD-ROM SCSI generic
0 /dev/sr1
steve@perdition ~/Incoming/groundzero/full $ cdparanoia -Q -d /dev/sr1
cdparanoia III release 10.2 (September 11, 2008)
Table of contents (audio tracks only):
track length begin copy pre ch
===========================================================
2. 13234 [02:56.34] 124760 [27:43.35] no no 2
3. 11662 [02:35.37] 137994 [30:39.69] no no 2
4. 14547 [03:13.72] 149656 [33:15.31] no no 2
5. 13307 [02:57.32] 164203 [36:29.28] no no 2
6. 13487 [02:59.62] 177510 [39:26.60] no no 2
7. 13418 [02:58.68] 190997 [42:26.47] no no 2
8. 13054 [02:54.04] 204415 [45:25.40] no no 2
9. 13878 [03:05.03] 217469 [48:19.44] no no 2
10. 11145 [02:28.45] 231347 [51:24.47] no no 2
11. 20568 [04:34.18] 242492 [53:53.17] no no 2
TOTAL 138300 [30:44.00] (audio only)
steve@perdition ~/Incoming/groundzero/full $ cdemu unload 0Looks fine to me. vOv
why Linux have very few CDemu and CDrippers software?
There are plenty of CD rippers. There are fewer drive emulators, because drive emulators are primarily used either for dealing with proprietary windows disk image formats or for piracy... Neither of which are a priority for free software.
CDemu works fine though, why do you need more than one virtual disk drive anyway?
On Linux its very hard to find software.
I disagree. Finding the software needed to load those clonecd images was extremely easy, and I didn't even have to navigate the minefield of shitty websites, adware, crippleware, and malware I would have on windows.
The only "difficult" part is that debian doesn't package cdemu. That bit is plain ridiculous, it's been requested repeatedly over the years.
The above is for demonstration purposes only of course, and I absolutely did delete those pirated images when I was finished
You should still buy the game on GOG.
Make sure you have gvfs-backends installed. I don't know if it's installed by default in Chimaera (or run XFCE myself), but the lack of this package has caused numerous threads like this one in the past.
Back in the day, once the firmware was loaded into the device adapter, there was no need to reinstall it at a later time.
Back in the day, devices had non-volatile memory to store firmware in. Then manufacturers found they could save a few cents.
Is the firmware loaded everytime the system boots?
For most things, yes.
who does it?
The kernel and/or udev.
Generally speaking, the device driver requests firmware through the kernel API, and the kernel pulls it from disk. If the root filesystem is not yet mounted, this may be deferred and a udev trigger used to load it once it's available.
when is it done?
When the device driver is loaded, if possible. Where exactly this falls in the boot process depends on how the kernel and initrd were built - primarily whether the firmware files are in the initrd image or not.
(AKA, I could tell you how it works on gentoo, but I'm too lazy to dissect the devuan initrd to see if it's the same) ![]()
Obligatory kernel documentation link.
As for the refracta stuff, I have no idea. I dislike refracta intensely.
Where does one go to learn
The easy links Go pointed to sure are nice, but it's all just fairly standard BBCode under the hood. For all the other things you can do with it, the 'net abounds with generic BBCode explanations, or click the "BBCode" link at the bottom of the editor frame.
If the laptop is kept plugged in with the battery at 100% that will degrade it over time
Indeed. The things that will kill li-ion cells the fastest are heat, repeated deep-discharges, and continuous trickle-charging... Two of which you will get in spades if you leave a machine plugged in with the EC set to maintain 100% charge.
If you intend to store a battery (functionally what an always-on-ac laptop is doing), you want it at 60-80% and as cool as possible. Often this means it's better to remove the battery entirely if the machine allows it.
Interestingly if I set the charge behaviour in Linux by simply writing to the files it persists between boots and even if I boot OpenBSD, Haiku or 9front.
This "battery care" behaviour is run by the embedded controller, it has it's own nvram and whatnot since it needs to handle charging when the machine is off etc.
Windows will "fix" things
Most laptops I have seen have manufacturer bloat software for tweaking charge behaviour, but without it windows will just go for maximum runtime. Consumers rate portables on runtime after all, and replacement batteries make money...
I am try convert ccd and nrg to iso
ISO images do not support mixed-mode redbook CDs, so converting to iso will preserve the ISO9660 data track (if any) and discard the audio.
CD audio tracks are not files, and that part of the disk isn't really a filesystem... so you can't mount it (or an image of it) like a filesystem, loopback or otherwise.
You will need to either burn physical media or load the image in a drive emulator, then extract ("rip") and encode the audio tracks.
Suitable drive emulators would include daemontools (most common, but notorious for shovelware in the installer) or elby clonedrive on windows, or cdemu / libmirage on linux. Acetoneiso might be able to do it as well, but it's ancient and honestly I don't remember.
CDemu still isn't in the debian / devuan repos for some unfathomable reason, but you can get it from deb-multimedia or follow the instructions on the cdemu site.
For rippers, the options are legion. There are several dedicated applications in the devuan repos and most cd writing software can do it as well.
Jeez, what do they teach the kids these days anyhow? I thought everyone knew how to deal with audio CDs.
Ed. Note that recent versions of cdemu use systemd to launch cdemu-daemon on demand, so for devuan you'll need to start it by other means. It can run under a normal user account, so starting it manually when you need it, a desktop autostart entry, or the likes of daemonize in some profile rc or other work fine (provided you are in the appropriate group to access the vhba device of course).
noone use that here?
I've been using mc for ~20 years, and I've never heard of, needed, or wanted to scroll the filelist by "dragging" the mouse. The scrollwheel works fine.
TBH I primarily just use the keyboard though, that's what page up and page down keys are for, is it not?
I can't be bothered toggling scripting to make websites work.
I object on principle to websites running arbitrary non-free code on my machine. Whether the JS blob is tracking, annoying, unnecessary bloat or downright malicious is largely irrelevant - It's my box, I say what runs on it.
So yeah, noscript forever. I'll wear the hair-shirt of clicking the occasional temporary exception, and frankly most sites that don't work without non-trivial javascript are sites I want nothing to do with anyway.
When I must visit such hellholes, noscript is also handy (along with ublock's most excellent "element picker") for removing obnoxious "web 2.0" anti-features, such as screwey scrolling, right-click overrides and "sign in / use the app" poups/popovers/overlays.
... Also advertising and tracking of course. Fsck ads, and fsck tracking. Double fsck "sign in or use the app (so we can track you more)" horsehockey.
I didn't start the ad/ad-blocking arms race but so long as ads are obnoxious and tracking is invasive, I'll damn well continue it.