The officially official Devuan Forum!

You are not logged in.

#26 2022-11-04 23:35:23

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,106  

Re: [SOLVED] Devuan Raid 1 Install Steps

One option would be that something is outdated elsewhere in the "certificate chain" on the failing systems.

I.e., the "leaf level" certificate of www.devuan.org is fine, but in your environment some "parent" certificate in the certificate chain it stands on is outdated.

E.g., check your ca-certificates package.

Offline

#27 2022-11-05 00:49:45

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

Certificate Manager, under Your Certificates, is empty.

Under "Authorities" is a long list.

A few of them are dated (2001, 2008, 2020, etc) but most are not.

Offline

#28 2022-11-06 17:00:26

chris2be8
Member
Registered: 2018-08-11
Posts: 264  

Re: [SOLVED] Devuan Raid 1 Install Steps

ralph.ronnquist wrote:

One option would be that something is outdated elsewhere in the "certificate chain" on the failing systems.

I.e., the "leaf level" certificate of www.devuan.org is fine, but in your environment some "parent" certificate in the certificate chain it stands on is outdated.

E.g., check your ca-certificates package.

That's probably why some of my systems got an error. I temporarily powered up a recently updated system (it's shut down to save power now) and it worked OK:

wget 'https://www.devuan.org/get-devuan'
--2022-11-06 12:07:55--  https://www.devuan.org/get-devuan
Resolving www.devuan.org (www.devuan.org)... 54.36.142.179, 2001:41d0:8:732b::3624:8eb3
Connecting to www.devuan.org (www.devuan.org)|54.36.142.179|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25326 (25K) [text/html]
Saving to: ‘get-devuan’

get-devuan                              100%[============================================================================>]  24.73K  --.-KB/s    in 0.006s  

2022-11-06 12:07:56 (4.17 MB/s) - ‘get-devuan’ saved [25326/25326]

So the www.devuan.org certificate is probably OK.

I just hope being back-level doesn't start causing real problems on this system since I can't upgrade it without probably losing support for the rather old GPU.

Offline

#29 2022-11-13 13:24:01

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

Back to Devuan Raid 1 Install Steps ...

Step 1 - Use gparted to format the two SSD drives as ext4?

Are there any other settings at Step 1 - to help the rest of the install go more smoothly, please?

Offline

#30 2022-11-13 19:46:19

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,106  

Re: [SOLVED] Devuan Raid 1 Install Steps

I'm not sure which instructions you are trying to follow there, but that step doesn't seem right.

As far as I know, the partitioning tool used in the installer will expect that you first set up raid member partitions, thereafter you set up the raid device itself, and thereafter you partition and format that as if a single device.

Offline

#31 2022-11-13 19:52:15

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

The Devuan Installer errored "There is no disk with a gpt partition table. You should exit this script and run gdisk to create one for uefi boot. There is no EFI partition. You will need to create one or else install the system without a bootloader."

I just guessed that all of that meant I needed to format the disks.

Can you translate for me, please?

Thanks

Offline

#32 2022-11-13 20:19:12

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED] Devuan Raid 1 Install Steps

"There is no disk with a gpt partition table. You should exit this script and run gdisk to create one for uefi boot. There is no EFI partition. You will need to create one or else install the system without a bootloader."

I recognize that wording. You're using the live installer (refractainstaller) which does not support RAID. But it is possible to use the cli installer with a RAID1 that you created manually. See the first section of this thread: https://dev1galaxy.org/viewtopic.php?pid=11437#p11437

If you use one of the installer isos instead of a live iso, you'll get the debian/devuan installer which does support RAID installs. That process will be the way Ralph described it, and the installer will look more like the pictures in the install guide that you linked way back at the beginning of this thread.

The error message you got from the live installer is to let you know that you booted in uefi mode but your disk doesn't have a gpt partition table. You could re-partition the disk or you could switch to legacy bios boot and keep the mbr partition table. The installer isos will most likely figure out the right thing to do. The live installer expects you to tell it what to do.

Offline

#33 2022-11-13 20:19:23

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,106  

Re: [SOLVED] Devuan Raid 1 Install Steps

When you run the installer, it starts "partman" early on; a disk partitioning/setup tool.

Did you use that? Please describe the steps you took.

Since it's an UEFI boot, the machine needs at least one disk partitioned, with a GPT type partition table format, and then at least one EFI partition, which technically is a FAT type partition with a top level directory "/EFI".

Those are things you set up in the partitioning step.

In your case, you need to set up an EFI partition of, say, 100M first on one disk and use the rest as a RAID partition, and then divide the other disk similarly since RAID members need to be of the same size.

Then you set up a software raid device spanning those RAID partitions, and then you partition that to be your root filesystem (/). Unless you also want that RAID to be subdivided further.

Offline

#34 2022-11-13 20:43:08

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

I double-clicked the Installer on the desktop of a USB live Devuan. It immediately opened two windows, one a Terminal window that said to not close it, the other with the previously posted error message - and that window is labeled "Refracta UEFI/BIOS Installer (Yad) 9.6.1 (20210828)"

EDIT: I'm using

devuan_chimaera_4.0.2_amd64_desktop-live.iso

Last edited by dcolburn (2022-11-13 21:38:06)

Offline

#35 2022-11-13 22:35:46

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

OK, so I'm in gparted, I've chosen GPT partition type, 100M as the partition size, and now it's asking for a format type.

Options allowed are exfat, ext2, ext3, ext4, fat16, fat32, linux-swap, lvm2 pv, minix, ntfs, cleared, unformatted.

Offline

#36 2022-11-13 22:46:12

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED] Devuan Raid 1 Install Steps

Use fat32 for the EFI partition and give it the esp flag. (That will auto-check the boot flag, too.)

Offline

#37 2022-11-13 23:37:47

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

OK, so both ssd's are 100mb fat32 boot, esp, zero space before it, the rest of the 400GB following.

Next step is to open the Devuan Installer use that to set the rest of both SSD's as Raid1?

Or, is there a separate app to set up Raid1?

Offline

#38 2022-11-14 00:19:58

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED] Devuan Raid 1 Install Steps

The next step is to read the section "Install to RAID1" here: https://dev1galaxy.org/viewtopic.php?id=2323 and decide whether you really want to do it manually with mdadm and refractainstaller or if you would rather use an installer than knows how to set up a RAID without you having to run all the commands yourself. If you choose the latter, you will need to download one of the installer isos and re-image your usb stick.

Note: If I were going to do it manually with mdadm and refractainstaller, I would need to read those instructions I linked. Be aware that I'm the one who wrote those instructions and I'm the one who wrote refractainstaller, and I would still need to re-read the instructions.

Offline

#39 2022-11-14 00:36:49

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

The combination of mdadm and refractainstaller doesn't seem terribly complicated, buy Linux standards.

Why go that way rather than an installer iso "that knows how to set up a RAID"?

Can you point me to the Devuan installer that can do RAID? (If I'd seen that I'd have tried it and not be making such a bother of myself).

Offline

#40 2022-11-14 09:38:55

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED] Devuan Raid 1 Install Steps

https://files.devuan.org/devuan_chimaera/installer-iso/

Use the netinstall iso unless you must install without using a network mirror. In that case, use the DVD.

Offline

#41 2022-11-14 12:56:20

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

Devuan doesn't recognize the Intel nic - so I have to get Devuan installed before I can update the driver.

I guess it's CDs ... old school.

EDIT: Is there a reason that 4 CD's must be used rather than one USB stick?

EDIT2: I need all of these?

devuan_chimaera_4.0.0_i386_cd2.iso                 12-Oct-2021 11:55    543M
devuan_chimaera_4.0.0_i386_cd3.iso                 12-Oct-2021 12:03    573M
devuan_chimaera_4.0.0_i386_cd4.iso                 12-Oct-2021 12:12    630M
devuan_chimaera_4.0.0_i386_desktop.iso             12-Oct-2021 11:45      3G
devuan_chimaera_4.0.0_i386_netinstall.iso          12-Oct-2021 10:50    405M
devuan_chimaera_4.0.0_i386_server.iso              12-Oct-2021 11:02    691M
devuan_chimaera_4.1_0_i386_pool1.iso               15-Feb-2022 01:26      5G

These on CD 1 - the rest on consecutive CD's?

devuan_chimaera_4.0.0_i386_desktop.iso             12-Oct-2021 11:45      3G
devuan_chimaera_4.0.0_i386_netinstall.iso          12-Oct-2021 10:50    405M
devuan_chimaera_4.1_0_i386_pool1.iso               15-Feb-2022 01:26      5G

Since I'm setting up a server, what of this one?
devuan_chimaera_4.0.0_i386_server.iso              12-Oct-2021 11:02    691M

Last edited by dcolburn (2022-11-14 15:02:08)

Offline

#42 2022-11-14 17:50:33

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED] Devuan Raid 1 Install Steps

If you have to install without network, the desktop dvd (3G) is probably the easiest to deal with. But if the live iso worked, then the right firmware package should also be in the installer isos. What intel hardware is not recognized, and are you sure it's not recognized?

If you stopped at the very beginning because the installer told you that you needed to provide the drivers on a usb stick, then run the installer again and ignore that question and proceed. Hardly anyone needs to do that. (a few broadcom chips)

Offline

#43 2022-11-14 18:49:18

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

The wired connection cycles up and down.

I used "lspci" to ID the nic.

I'm told that the probable reason for the instability is that the Intel I219-LM isn't recognized.

Last edited by dcolburn (2022-11-14 18:57:45)

Offline

#44 2022-11-19 16:21:19

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

It took 3 different pc's but finally got the DVD to burn with the server iso.

I seem to have missed a step (no root file system) after getting Raid 1, etc. configured, so it's back to square one and start over.

At least some progress ...

EDIT: Started from the beginning ...

At the Partition disks step should I use "Guided - use the largest continuous free space"  or go with "Manual" in order to be sure to have room for a root file system?

Last edited by dcolburn (2022-11-19 22:02:00)

Offline

#45 2022-12-07 21:52:37

dcolburn
Member
Registered: 2022-11-02
Posts: 280  

Re: [SOLVED] Devuan Raid 1 Install Steps

Raid1, with a little help from a local friend, has been successfully installed. Now to set up the server ... thanks to all who responded to my request for help!

Offline

Board footer