You are not logged in.
dcolburn,
I'm trying to help you. I am building up a system that reflects your configuration, more or less.
System using EFI mode (but secure boot disabled!!!)
2 disks in a Software-RAID1 setup
Devuan Daedalus (not recommended, use Chimaera as it's current stable)
I will write the procedure for you to follow - if you wish so.
I have a production server running for years without any problems. It's an enterprise server (meaning BIOS mode).
It runs with a RAID1 setup (mdadm, no HW-RAID) and never fails me.
It runs with Devuan Beowulf.
I will not cover backup, this is another topic.
My procedure will take a little time.
Good day!
Beware of more evil to come:
https://www.theregister.com/2022/10/26/tightening_linux_boot_process_microsoft_poettering/
You know what this guy did to Linux and the free and open source world - pulseaudio and systemd greet you :-(
Now he is proposing even worse things: locking down hardware with TPM2 - Micro$oft must be happy to have him on board.
I am scared.
Oh, you were quicker than me ;-)
Easiest way:
just download https://files.devuan.org/devuan_chimaera/installer-iso/devuan_chimaera_4.0.0_amd64_desktop.iso
test its checksum and dd it to a USB-stick.
The USB stick doesn't have to be partitioned or formatted, just dd it to the device file /dev/sd? and not to /dev/sd?1 or so. (? = your drive. Find out with lsblk)
Then boot that USB drive and of you go...
(sudo dd if=devuan_chimaera_4.0.0_amd64_desktop.iso of=/dev/sdb bs=1M)
Hello,
yes, there is... kaiyel points to good an accurate information.
In today's times, the disks are big enough to hold most of a filesystem. But:
If you intend to separate just the /home filesystems to its own partition, do it by all means, that's a very good reason.
But, if, out of old (and good) habits you want to keep /usr separate, you have to be sure you can access enough system- and filesystem-repair binaries in the root filesystem in case of severe filesystem problems that prevent automatic mounting these other filesystems.
Therefore things like mount, fsck, ps etc have to be kept in the /bin or /sbin directory (which is in the root filesystem).
In old SysV times I have encountered funny constructions like the basic OS tools kept in the rootfilesystem/usr directory, and /usr was used as mountpoint for it's separate filesystem. If the mount is successful at boot, you have all the tools. If not, you could still try to repair with whatever tools are kept beneath the mountpoint /usr.
I know, it sounds boring these days, but it had its reasons not too long ago.
Good day to all.
Sorry it didn't help.
I was referring to your post:
sudo mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
Just an idea: sudo is not always the same as root.
I suggest to do a
su -
That switches your shell to the root account. Then try to change to the script directory and run it (as root user)
After the (hopefully) successful installation you just leave the root shell
Ctrl-D
And your shell will be back to your user again.
Good luck.
That looks pretty cool. I love it.
I should try openbox too, once I find the time and a not to busy computer.
Congrats!
Now that clears it all up.
Thank you all for your hints and contributions.
Have great, but not too hot weekend
Thank you, Head_on_a_Stick,
Great.
Any idea what the dock could be?
Have a nice weekend.
Hello,
that looks pretty cool. Can you tell us how you have achieved this?
Desktop environment, window manager, dock, what artwork?
Keep on with Devuan, it's great, really!
Greetings.
Hello,
you say nothing about your configuration: which desktop environment do you use?
There should be a "Display" configuration applet in you DE. open it, let it detect all displays and set each one up. Make sure to remove the option that mirrors display 1 and 2. It should be that...
Good luck.
I agree, OpenRC is the logical choice:
It's easy to use,
It's very effective
It's maintainable and transparent
And, it's mostly compatible with old init scripts
I have used it from the beginning with Devuan and it never failed me.
It does one job and does it well
All this in a very true UNIX manner
I'm sorry to hear, Altoid.
As I wrote, dd writes from the beginning of the disk/partition. Even only a smaller iso-file dumped to it will overwrite the partition-boot-block and a lot of important filesystem information, like the superblock, some inode-tables, directories, datablocks etc.
Even if you are successful in creating a new partition table or taking the one from the end of the blockdevice (GPT), the overwritten information is gone.
When you create a new filesystem and install an OS or copy data to it, the data is mostly written to the beginning of the filesystem. So there are more likely data erased there when an accidental dd wreaks its havoc. You may be able to recover some files if they and the related inode-tables are in the non-overwritten area. But blocks my still be missing since the filesystem can reuse emptied blocks if their files were once deleted and the associated file was extended, before the accident happened.
The explanation may not please - life can be miserable.
Hello,
please know that dd is a disk-dumper, a block-copying program, that acts on physical devices (like disks, partitions etc). If you give a file-name as output device it will write the blocks to that file. If the output device is partition or a disk, then for heavens sake you will have the contents of that input file (the iso image) on your partition or device. Even if you manage to recover the superblock or some inodes from you original filesystem, the blocks pointed to will still contain copied blocks from your source-device (or file). The dd program starts to copy block by block, from the beginning. man dd helps....
Sorry, but reality can be hard.
Don't despair:
Use a shell (terminal) and type
sudo tasksel
Then give the right answers and it does the magic for you.
Happy new Year
Just tested the most recent installer iso:
https://files.devuan.org/devuan_chimaer … nstall.iso
(Alpha from May 3rd, 2021)
on the same Dell PC Optiplex 990 PC
- UEFI / GPT mode (with secure boot disabled of course)
- Standard Install
- Chose Cinnamon Desktop, OpenRC
--> worked very well
(had to add the non-free firmware-amd-graphics for the AMD GPU)
And once again the same with the XFCE4 Desktop.
Everything works well, though anacron still stalls the shutdown process occasionally.
I therefor just disable the service to be happy.
Thanks for that good progress you make.
Just a hint: be sure to type in the password correctly. That requires a correct keyboard setup!!
The WiFi PreShared Keys are, of course, case sensitive.
Good luck.
Here my experiences with the new installer iso:
https://files.devuan.org/devuan_chimaera/installer-iso/
1. An old Dell PC Optiplex 780
- BIOS / MBR mode
- Expert Install (standard install didn't start)
- Chose Cinnamon Desktop, OpenRC
--> worked very well
(only had a hick-up with the keyboard selection, it worked correctly in X but not on text console. Fixed it with a dpkg-reconfigure keyboard-configuration)
2. A newer Dell PC Optiplex 990
- UEFI / GPT mode (with secure boot disabled of course)
- Standard Install
- Chose Cinnamon Desktop, OpenRC
--> worked very well
(had to add the non-free firmware-amd-graphics for the AMD GPU)
I tested to install a second DE on both machines: XFCE4 using the tasksel program, and it went very well.
Is there a chance to get rid of the installation of anacron by default? That thing still does delay enormously the shutdown, occasionally.
--> Conclusion: it's already very good for me, thank you for that very pleasant and successful adventure
Micronaut, do yourself a favour:
Either leave your system in classic BIOS-mode and your disk in MBR mode, and you will have no negative consequences. (My own experience with a 10 years old HP elitebook pro).
If yours is enough recent, you may re-initialize your laptop, Set BIOS settings to factory defaults, then enable EFI/UEFI-boot, your Intel Virtualisation options to your needs and DISABLE SECURE BOOT (=disable TPM). Then wipe the disk and initialize the disk with a GPT label. When you now install Devuan, it will be in UEFI/EFI mode and it should work.
But if your PC works well in your current setup, there is no harm in using it that way.
Is your GNOME desktop running in "fallback" mode?
If yes, make sure your graphics controller is supported or install the non-free firmware drivers. Gnome needs 3D acceleration.
It's just my thought, but possibly off-track.
Good luck.
Does this mean that our friend "nomorelogic" will have to wait for Devuan 4 Chimaera to come out on an install-able iso?
(With a more recent kernel, then...)
rolfie,
there is one thing to mention:
If you set the motherboard to CSM mode, then you are well advised to install in NON-UEFI mode!
If you set the motherboard to UEFI mode, then you MUST disable the "secure boot" option and install in UEFI (EFI) mode.
You can choose the install-mode when you boot your stick afresh.
The Devuan installers handle these things quite well, usually... so is my experience with it.
I know, it's possible to fiddle with CSM disk mode and EFI boot, or in UEFI mode with classic (CSM) boot. If you succeed, all the better, but expect upgrades, migration or parallel-installs to fail.
I have learned that the hard way: EFI is fine, CSM is fine, but UEFI (secureboot) is a portal to hell.
If Head_on_a_Stick tells you "What is your CPU? If it starts with 10 or 11 then you're shit out of luck with beowulf.",
it makes the matter a serious one.
Is it at all possible to start a fresh install from an USB stick and NOT install a graphics environment?
If so, why not to start in text mode, connect to the internet and edit your sources.list file as instructed?
I hope if you did an
sudo apt update
sudo apt upgrade
sudo apt install firmware-linux-nonfree
after the installation, in this order.
Then you could try to install the xorg and desktop stuff, from the command-line. Some experience is required here, but it's doable.
Another way could be to upgrade to chimaera, which hopefully has a newer kernel that supports your CPU/GPU.
I hope I do not annoy you, I know how such problems can rattle the nerves...
BTW, my CPU is a older one: an i7 from 2012, so no problems here.
Anyway, good luck.
I own a HP elitebook PC (Hewlett-Packard HP EliteBook 8460p/161C)
and it runs like a charm with Devuan Beowulf.
All I can say is this:
- first of all, make sure you reset all BIOS-settings to default,
- then make sensible changes you wish to it.
- then, if UEFI boot mode is used, disable "Secure Boot" (That means DO NOT USE THE TPM)
You can use classic BIOS mode as well (CHS-mode for the disks). It's less tricky.
Then install normally.
Do you have any special graphics processor on board? Intel chips work well, but be careful if there is a NVIDIA or AMD GPU.
Good luck.