Hi everyone, I'm new here.

I joined this forum hoping someone could help me with a problem I've been experiencing.

I've been trying to install obarun on my lenovo ideapad laptop yesterday. But every time I tried to format the nvme using the tool given by the obarun install Iso, it's been throwing an error showing "Fatal : unable to format /dev/nvme0n1p1". The install script was trying to use parted.

I've tried to format it manually using gparted. It seemed to work and I could install obarun with no error, but after that it failed to boot.

I have used arch linux in the past on an older laptop and I never had any issue.

Thanks in advance for your help and I apologise in advance that due to my job I am not able to use my computer everyday so I may take some time to try your solutions. I am not able to access a computer working properly right now but I will be in a few weeks (I am a sailor, in case you wonder).

Best regards & have a good day
I think nvme-cli is what you need, it includes the libnvme.so library and the udev hooks for nvme.
Ideally a service should be written for 66 and be optional on the boot module. The question is how does the system boot from an nvme disk if bios or uefi doesn't provide it with access to it.

nvme-cli without systemd can be built by cloning this
https://git.disroot.org/joborun-pkg/jobextra/src/branch/main/nvme-cli

Or install the binary from here:
https://osdn.net/projects/joborun/storage/jobextra/nvme-cli-2.2.1-02-x86_64.pkg.tar.xz

You may have to kill and restart udevd so the nvme hooks are incorporated in the session.
I am guessing some of this as I have no access to a real nvme. I was just reading about adaptor PCI cards that can be added to non-nvme systems.

Hopefully obarun will adopt this new tech soon.
There is also a patched linux 5.10 kernel with an nvme fix in the AUR repository, although I don't get why is it just for 5.10 and not for others.
Hi again.

So I've tried to build nvme-cli from the git you gave me but with no success. When I tried to install the builded archive with pacman, it told me the meta data were missing or something like that. So I just downloaded the package from you second link and installed it.

I was still unable to format my NVME properly, but I noticed something strange : while my disk is labeled /dev/nvme0n1, and while it is correctly listed in the obarun-install interface, the feedback I get is :
"mkfs.vfat: unable to open /dev/nvme0n11: No such file or directory".

Mabye I could try to change my disk's label?
If the system recognized this as a disk it would be listed under /dev/disk directory.
If you can provide us with output of the following commands maybe someone can help:
lspci 
lsusb
sudo blkid
ls -lh /dev/disk/*
udevadm info -q property -n /dev/nv*
If you can provide the output from both arch and obarun live systems it would be even better.
I assume you are booting with a usb stick and have no other drive to boot from?
Do you have a 2nd blank stick to make an installation on and have a persistent real system?

There was an issue in the past, as I read, where some nvme device firmware couldn't provide consistent interface naming, and between boots the device interface name would change causing confusion to the system.
If your device is not found in /dev/disk then partition tools may not work, I think, even if the device is listed in /dev

I wonder what Eric has to say about this. It is probably an issue of eudev hooks needing attention but I can't find much in gentoo or other forums of similar problems and since I have no nvme machine I can't really test anything.

-----

about building:
git clone https://git.disroot.org/joborun-pkg/jobextra.git
cd jobextra/nvme-cli
sudo pacman -S $(cat deps)
makepkg
sudo pacman -Rnsu $(cat deps)
sudo pacman -U nvme-cli*pkg.tar.xz    (xz or zst depending on your /etc/makepkg conf)
sh clean
nvme list
nvme help
man nvme

9 days later
Hi again,
So I tried to compile nvme-cli the way you explained to me.
This time it worked, but I still wasn't able to install obarun.
Since I needed to make my computer functional, I used the obarun live USB to install gentoo and it worked like a charm.
The point of installing obarun was to avoid systemd and since gentoo doesn't use it, I don't know it is still worth trying to install obarun.
In any case I thank you very much for your effort in helping me and I wish you have a nice week.
Gentoo used to be a source of tricks on how to avoid systemd.
On the prescribed recipes now it is without systemd on the technicality that pid1 is not systemd. Otherwise the use of elogind make it just as bad as rerl/fedora/ubuntu.

The init part and its libraries is the least of the efforts to have the system run without them. The logind part and its libraries is the most pervasive part of systemd. In other words, void, artix, devuan, gentoo, are nearly as polluted as those systems with oem systemd.

antiX recently managed to produce a system where elogind is no longer needed. For a debian based system this is a first really after debian 7 wheezy.

So obarun is a true systemd-free linux system since its inception, most of the rest are just faking it. But there is a degree of infestation, for example you can get away without elogind in void if you try, with devuan, slackware and others it is next to imposisble.

There will come a time where truth will shine and bullshit will be flushed, and some of us will be happy to have chosen the right path.
  • [deleted]

There is no tricks on how to avoid systemd init on Gentoo. As I don't know what are Benbaz requirements I suppose that he is using Gentoo with Openrc which is not a pure 100% systemd free because from the OpenRC Stage 3, softwares like opentmpfiles, eudev has been replaced by their standalone systemd alternative because of lack of manpower to maintain eudev and fix or offer an opentmpfiles alternative not coming from systemd. However if Benbaz is looking for a Gentoo with S6 and 66tools there are overlays like mine at framagit which I use on my Gentoo for my daily works. Now it's only depend if you want to spend your time tinkering your system or using it full of potential.

Powered by Obarun