The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » How to get rid of Swap file during installation... » 2021-04-16 21:34:59

fsmithred wrote:

After you configure the clock/timezone, you get the following screen. Choose "Manual".
https://www.devuan.org/os/documentation … disks1.png

Here's the link for that page: https://www.devuan.org/os/documentation … all-devuan

Oh men! The problem is almost sitting in front of the system. :0

But now I tried the manual configuration. When I choose "USE ALL SPACE IN ONE PARTITION"

- Nevertheless a SWAP will be created.
- And Installation will not continue until I accept the SWAP partition.

I can not find a way to continue without swap partition.

#2 Re: Other Issues » How to get rid of Swap file during installation... » 2021-04-16 16:44:30

rolfie wrote:

Hi Hans,

some comments from somebody who has installed many distros in VBox over the years.

Sailor17 wrote:

I've installed devuan on VirtualBox. VDI with 32 MB dynamic memory allocation.

Are you sure you are talking about MB? Or do you mean GByte?

Anyway, my suggestion for a working VM that dynamically expands without issues if required:
As memory assign at least 4 GByte RAM, better 8 or 16GByte, depending on whats available on your HW.
Use one VDI file, 32 GByte, dynamically allocated.

When running the installer, use MANUAL PARTITIONING, don't use the guided procedures. After a few intermediate steps, assign the VDI drive completely to /, no sub-structure. You will get asked if you want to continue without using swap.

I would use a LVM and assign one logical volume for swap with the same amount as the memory available to the VM.

rolfie

@rolfie

Hi rolfie thanks for the suggestions. Yes I'm using 32GB VDI on SSD  :0 , 4GB of 8GB RAM and 128 MB for graphic. This worked even for Ubunto 20.X. The only trouble is guest additions in VirtualBox do not work properly. But this is another story.

Today I've been running trough a new installation with the desktop ISO, but there was no option to run manual partitioning.Unless there was a prompt which continued after a while with default answer. I wasn't all the time in front of the monitor. This installation of devuan is surprisingly very slow.

From other distros I know that during installation there is a prompt which ask whether to configure manual or use defaults.

Disabling and deleting the SWAP partition and resizing the disk is no problem. Only on start-up the system tried to find the SWAP and waited until a timeout. I followed this Fedora Forum post to deactivate the SWAP in GRUB. But I'm struggled at point 3 (look at the ed of the post) because in my /etc/default/grub file is no entry for the SWAP file.

So two questions to be answered

1.Is there a way to force manual configuring using the desktop ISO or use alternative installations?
2. How to remove SWAP partition safe and manually.

Hans

#3 Re: Other Issues » How to get rid of Swap file during installation... » 2021-04-16 10:30:36

Head_on_a_Stick wrote:

Edit /etc/initramfs-tools/conf.d/resume to

RESUME=none

Then

# update-initramfs -u -k all

Note that you don't appear to have a swap file at all so you should probably remove that term from the title and OP.

Because this suggestion leads directly into a full system crash!
Now I'm trying to find an option during installation to disable Swap installation and not going into trouble anyway.

Please point me in the right direction. Any suggestion is appreciated.

Best regards Hans

#4 Re: Other Issues » How to get rid of Swap file during installation... » 2021-04-16 10:11:20

steve_v wrote:
Sailor17 wrote:

Sorry for the google drive link. But it is to my personal folders. I don't want to open a "share picture account".

And I'm not going to open a google account just to view your log.
Pro tip: If you want people to spend their free time helping you, don't make it difficult for them. There are plenty of free no-signup imagehosts and pastebins.

Sailor17 wrote:

Or how to install devuan without that dam SWAP.

Pretty sure the netinstall iso still allows you to do that with manual partitioning.

Sailor17 wrote:

If this is going on, I will say goodbye linux and welcome windows. The actual development of linux is taking us back to the Middle Ages of Windos 3.

If that's your attitude, goodbye and good riddance.

Sailor17 wrote:

To my own surprise windows10 actually works fast, without any bad surprise under the hood.

If you like windows so much, nobody is preventing you from using it. vOv

Don't waste your time not answering questions. This is complete out of topic! :0

#5 Re: Other Issues » How to get rid of Swap file during installation... » 2021-04-15 21:48:42

aitor wrote:
Sailor17 wrote:

Also commenting out the SWAP part in FSTAB didn't help.

Did you try replacing its <options> from defaults or sw to noauto instead of commenting out the line in /etc/fstab? For example:

# mount -a

Unfortunately not because my system crashed totally following the steps from the other post.

If this is going on, I will say goodbye linux and welcome windows. The actual development of linux is taking us back to the Middle Ages of Windos 3.
To my own surprise windows10 actually works fast, without any bad surprise under the hood. Except of the monstrous size, but this is the same as Ubuntu and others. At this time I can not get one Linux systen depending on debian working out of the box in a VirtualBox.
Lets say until Ubuntu 16.X. this was no problem.

Thanks systemd!!!

Cheers
Hans

#6 Re: Other Issues » How to get rid of Swap file during installation... » 2021-04-15 21:40:36

Edit /etc/initramfs-tools/conf.d/resume to

RESUME=none

Then

# update-initramfs -u -k all

Note that you don't appear to have a swap file at all so you should probably remove that term from the title and OP.

Well I did this and in case I have not misunderstood things this leads to a total system crash.
Look at this.
drive.google.com/file/d/15EAGskhOkEC2Oz … OsHAp/view
Sorry for the google drive link. But it is to my personal folders. I don't want to open a "share picture account".

Any suggestions to get my system back?
Or how to install devuan without that dam SWAP.

Hans

#7 Other Issues » How to get rid of Swap file during installation... » 2021-04-15 19:05:53

Sailor17
Replies: 16

because of issues icreasing dynamic disk space in virtual systems like VirtualBox.

Hi everyone

I've installed devuan on VirtualBox. VDI with 32 MB dynamic memory allocation.
But that is not  enough to build a 5.10.30 Kernel Module and I crashed with out of memory during compilation.
Then I increased the amount of disk space to 120 GB for the VDI.

But shit happens the compiling crashed again at 32 GB. There was no dynamic increase of memory.

What is going on? I started gparted and found that there were some partitions created during installation (all by default).

SD1  32 GB  used 8GB
SD2  Extended
         SWAP 1GB
         EXT4   88 GB not assigned

There was now way to assign that free space of 88 GB to SD1 and increase the space. Like the system itself failed to increase disks space over 32 MB, because in between sits the SWAP file.

I followed a description on Click TecMint Blog to deactivate and finally delete the SD2 partition with gparted and increased disk space successfully to 120 GB.
But now on boot system is hanging while trying to set up SWAP file until a timeout. Then  boot process continuing. Boring!
Also commenting out the SWAP part  in FSTAB didn't help.

I think this must be deactivated in the startup scrips but this is beyond my knowledge at this time.

Well I updated this message because the next suggestion in this post leads directly into a full system crash!
Now I'm trying to find an option during installation to disable Swap during installation and not going into trouble anyway.

Please point me in the right direction. Any suggestion is appreciated.

Best regards Hans

#8 Re: Documentation » HOWTO: upgrade Devuan (stable) to the latest Linux kernel » 2021-04-14 18:54:25

Hi everyone

Does anyone managed to compile a version 5.X Kernel in Devuan?
I've just installed Devuan Desktop in VirtualBox. But somewhere with an Kernel Update around 4.3.X and 4.8.X the Guest Addition Tools failed to run out of the box. Even with the suggested Kernel module compilation. It seams to be not a Devuan problem because of the same issue in Ubuntu. 18.X, 20.X, Debian 20.X, Raspberry Desktop.

So I would like to try a Kernel 5.10.30 and see if it works and to have a more recent Kernel version..
I was following the instruction on the Debian page:
"4.5. Building a custom kernel from Debian kernel source" at
https://kernel-team.pages.debian.net/ke … tasks.html

Which is almost identical with the above described process. Unfortunately I struggled in configuration using nconfig with error message:
/bin/sh: 1: flex: not found. See below.

root@devuan:/usr/src/linux-5.10.30# make nconfig
 
  UPD     scripts/kconfig/nconf-cfg
  HOSTCC  scripts/kconfig/nconf.o
  HOSTCC  scripts/kconfig/nconf.gui.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
make[1]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Fehler 127
make: *** [Makefile:603: nconfig] Fehler 2
root@devuan:/usr/src/linux-5.10.30#

Any help is appreciated.
This is also an important step for me to learn compile Kernel and Programs, because I'm not willing to use the monstrous systemd distributions and like to contribute in development with Devuan. My be we start to continue this documentation with Major Kernel Updates.
Best regards Hans

Board footer

Forum Software