The officially official Devuan Forum!

You are not logged in.

#126 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-03-05 11:14:18

Hi.
I'm sending this message via my asus N550jv laptop, fully loaded with Trinity|Daedalus.

A recent bpo kernel

glenn@trinity:~$ uname -a
Linux trinity 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux
glenn@trinity:~$

The keyboard and display brightness Fn keys work.

I had wicd working for a bit, but then it was removed.

I setup wifi on the command-line

wpa_passphrase {ssid} {password} > /etc/wpa_supplicant/wpa_supplicant.conf

The wifi is working, but drops out a lot!

I finally got the keys to work with the config editor, once I figured out how to add US and AUS, I got rid of the Brittish keys and now # and | are where I'm used to using them.

@aluma Thanks for the tips. Got me out of the hole I was in. :-)

I looked into most of the other tips as well, and tried a few.

Once I partitioned with dos-mbr, I could boot and then after installing ascii, then upgrading to beowulf, and then chimeara, and then to daedalus...
a real pain,

but found that it was just one of those 6.1 kernels that was causing most of my problems, then

I had a runnaway kernel... dumping heaps of text to the screen that I could only switch the laptop off (power button still worked)...

then did a clean install of Daedalus/xfce4 and converted to trinity as instructed in a post here from @aluma.

That did the trick although the wifi was extremely faulty, I eventually made a list and installed most of the packages piece-by-piece, in small groups.

I have amarok installed and is playing music, confirming the sound system is running. (Firmware_intel_sound package in this case)

I'm really happy with this setup, I'm loving it.

Next I'll have a go at tethering the iPhone.

I have some pics of when I changed the battery a few weeks ago (this WIP has taken nearly a month) and I'll share those with you soon.

Thanks for all the help, it was invaluable.

Thank you very much for your time and considerations.

Kind regards, Glenn

#127 Re: Installation » all the new kernel disturb some old PC's! » 2024-03-03 23:12:21

@aluma: Thanks

But... I need the modules from the older kernels.

So, I'll follow those instructions, but in-between times I'll use something like, 

I found this helpful during BT firmware and module loading... and
for when changing /etc/modules, including /etc/modules.d/

update-initramfs -u -k all

Also, I've added tde to the apt/sources.d from the failed install, (it installed, but I had no sound, wifi, eth, and a few other things) and

thought I may be able to gradually upgrade to the current tde desktop but keeping the functionality of the older kernels.

ps, I was looking for that page... thanks.

#128 Re: Off-topic » What are you reading/want to read ? » 2024-03-03 00:54:37

I just got a copy of Hacking Exposed, Linux 3rd edition.

600 pages, I hope I learn more about securing my box. :-)

#129 Re: Off-topic » The Joke Thread » 2024-03-02 23:25:15

@quickfur: Nice one(s)! Love the algerbra...

#130 Re: Installation » all the new kernel disturb some old PC's! » 2024-03-02 23:18:36

Hi, I'll look into that new kernel very soon for my main desktop box, running Daedalus plasma5.

I have just completed a new install on my laptop, asus n550jv... with Devuan ascii. With a new battery, and a clean ssd (dos-mbr partitioned, finally)

I did this because the newer kernel with Daedalus did not load my sound chipset and quite a few other things although the screen and keyboard dimming was working.

I've just checked the sound operation with a .mp3 playing through vlc and it sounds ok.

I've put it aside for now, I still have the network devices (wifi and tethering to the iPhone) to set up... some research will be required.

I'm very happy with the laptop at the moment, although I'm not used to the apps with xfce4... I'll look into it.

The day before yesterday I had trinity setup on the laptop, and it looked good, but too many chipset errors like, keyboard characters Getting pound instead of hash and others..., eth (nic) wifi and sound in particular. WIP! But the graphics card was used by default which was a nice change to see it was actually working (with nouveau)

I endeavour to slowly migrate back to the recent kernel versions and trinity desktop, but keeping an eye on the modules required for that set up.

I had found a faulty re-purposed flashdrive (rarely used, parrot-live) that was giving some serious looking errors and freezing the system on this desktop box, a new kernel and clean install may help to resolve those.

As well as that I binned the faulty flashdrive. I have to draw the line somewhere.

@oui: I'm glad to see you are making progress.

#131 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-03-01 22:37:36

@aluma
I think I remember now, how this occurred,

The partition table was MBR before I changed it to GPT, that way the MBR bootable flag was set, and GPT protected it from being written over.

And therefore the disk was found as a bootable device by the bios.

I'll have to keep this in mind next time I experiment.

If I wipe the table, first prior to installing the OS, setup the dos-mbr, and then after a reboot (or dis-mount & remount)...

setup GPT partiton table and make the partitions, and then install the OS.

Next-up, setting up tethering to my iPhone (as per the instructions found on this forum (but it's for a newer OS Devuan 4/5))

to this trinity OS. I like the look of trinity, and when I'm traveling I just need the laptop for a few things,

like internet banking, simple time absorbing game Like OpenTTD ;-) and access to music and movies off my ssd.

I've seen some errors about chipset driver modules, sound not found... maybe it's the newer kernels have depreciated the older hardware. (it's not bit-creep but corp-creep... obsolete(ing) old hardware to make us buy more back-doored junk) ymmv.

Might see if I can get an older kernel from an older iso... or somewhere else, maybe kernel.org has some ver 3 or 4 (not 6) I can use.
More hacking... :-)
one day at a time.
Cheers!

<edit>
YES! https://files.devuan.org/devuan_beowulf/
</edit>

#132 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-03-01 12:21:00

Hi, thank you for all the suggestions. Much appreciated.

Last night I repartitioned and setup a dos-mbr, and installed trinity to the 4 partitions I setup.

It's booting as normal now, thanks again.

The pc-linux live system has a whole bunch of tools, but I couldn't get any of them to fix the install of Devuan Daedalus plasma at that install attempt.

Still, it's good to know there are tools out there.

I was a bit stubborn about gpt over dos, and I noticed the Flags were a bit different.

Thanks again. Have a great weekend.

#133 Re: Desktop and Multimedia » Firefox-esr Audio through ALSA Alone » 2024-02-28 23:31:03

my box is running with out pulseaudio as such, I do have pipewire-pulse installed and the system wants to remove everything if I try to remove pipewire-pulse... dependencies.

But I've chimed in because no one has mentioned wireplumber.

It does behave like pulse as a sound/media server, so may not be apparent if you're only running one stream at a time.

I also still use ~.xsessionrc to load the sound apps when the system starts at login to plasma/kde.

I purged my system of anything related to pulse except pipewire-pulse, and I think libpulseaudio.so

And also removed the startup scrip.

here is a copy of some notes I've kept (copied from these forums), including the ~.xsessionrc start script from this forum as well.

Those who are familiar with setting their sound card with alsa will have no problem removing pulse...and yes, I've removed it with no issues on actual installations. Just run these commands...

apt-get remove --purge pulseaudio*

apt-get remove --purge pavucontrol*

apt-get autoremove

After that, set your soundcard with alsa (if needed), reboot, and bam! Sound without pulsification! tongue big_smile
######################################################################################################################
rm -rf /usr/share/kpackage/kcms/kcm_pulseaudio /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-16.1.so /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpulseaudio.so /usr/lib/x86_64-linux-gnu/avkys/libAudioDevice_pulseaudio.so /usr/lib/x86_64-linux-gnu/pulseaudio
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

https://dev1galaxy.org/viewtopic.php?id=2934

apt-get install aumix menu alsa-lib alsa-plugins alsa-utils
$ alsamixer
unmute channels with letter m

Ensure alsa-utils is installed.

login to terminal as root, set sound card and volumes:
=>alsamixer
F6 sound card, select "whataver appears other than default"
set master, speaker, headphone to 100% (or whatever)
exit
=>alsactl store

You may want to install a nice panel volume app: volumeicon-alsa
You may want to install a nice mixer: qasmixer

You can purge pulseaudio packages, but libpulse0* packages are required, do not remove these.   
The dependencies of Pulse with the desktop are due to installing the desktop meta-packages.  
Thus when you try to purge Pulse, it appears that it wants to remove "the desktop".  
Not going to say or recommend purging Pulse (but I do with no problems).  

When installing desktop with --no-install-recommends, you can more control what gets installed (no Pulse).   

Dont know about Firefox requirements.

I have run LXQT, XFCE, KDE successfully without Pulse (no Firefox).

EDIT: i just found another elegant mpv player that does quite the same as above similarly for firefox quantum!

https://github.com/woodruffw/ff2mpv

You can see what packages depend on a package via rdepends:

apt rdepends gstreamer1.0-pulseaudio

And you can "try-out" a purge of a package by use of the -s option, to see what would be removed along with it:

apt -s purge  gstreamer1.0-pulseaudio

apt policy pulseaudio

# check available outputs
aplay -l

ALthough it took a little while to find the answer for HDMI devices showing up before the one you wish to use, the answer is a one liner.
http://forums.debian.net/viewtopic.php?t=110572#p525601

The method I use is

E485:~$ cat /etc/modprobe.d/alsa.conf                                         
options snd-hda-intel index=1
E485:~$

It's also possible to use ~/.asoundrc to set the default card, antiX has a tool that will do this to switch cards in their PA-free desktop.

See also https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Alternative_method

So yeah, ALSA by itself can be a tricky little devil. Which is why PA is so omnipresent.

Really good DE such as TDE and LXDE don't depend on PA.

/home/glenn/.xsessionrc...

# kill any existing pipewire instance to restore sound
pkill -u "$USER" -fx /usr/bin/pipewire-pulse 1>/dev/null 2>&1
pkill -u "$USER" -fx /usr/bin/wireplumber 1>/dev/null 2>&1
pkill -u "$USER" -fx /usr/bin/pipewire 1>/dev/null 2>&1

exec /usr/bin/pipewire &

# wait for pipewire to start before attempting to start related daemons
while [ "$(pgrep -f /usr/bin/pipewire)" = "" ] ; do
   sleep 1
done

exec /usr/bin/wireplumber &

exec /usr/bin/pipewire-pulse &

I hope this helps

#134 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-28 22:37:28

I tried the tools on a PcLinuxOs-Live yesterday, but still got similar errors.

I'm considering option 2. resetting the bios so as to install an msdos mbr with UEFI before I do anything else.

I'd had so much good fortune with my laptop.

One of the last things I did a few days ago was to remove the ssd from the laptop and do a clean install to it from this desktop box/machine

I'll have another crack at it over the weekend.

Thanks for your help and tips.

#135 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-27 21:53:03

The disk and os boots fine with a bootable flashdrive, like super-grub-disk.

So I gather I have wiped the mbr part of the ssd when I repartitioned and reformatted, and the bios no longer sees the ssd as a bootable drive.

#136 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-27 01:27:48

It replied, "no errors reported"

But the same error appears on reboot. insert proper disk

#137 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-27 01:16:41

@stultumanto

You need to install grub to the disk, not the partition, i.e., 'grub-install /dev/sda' not 'grub-install /dev/sda2'.

OK, I'll do that now.

#138 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-27 01:14:51

@rolfie: Thank you, I always boot in legacy bios mode where and when I can, to avoid the esp shims and signing.

I made up my mind a long time ago, and always use legacy boot. But my laptop is a slightly different scenario.

It just has to work.

I do know from experience that most of the iso have a similar installer function.

I might try the PcLinuxOs iso, just to see if that gets me out of this situation.

There is an upside to using the grub-super...iso, if the laptop gets lost it will be hard to use without the usb as a key..

#139 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-27 00:24:42

The os is installed, I can boot into and start at the slim login manager, with the grub-super-iso.

The bios shows the ssd is installed and connected, as usual.

In the bios, I changed PXE to enable... just gives info on the network device, also

intel security, theft to off.

I used gdisk to set the 1st partition as bootable, but should that be the partition where the /boot directory is?

I can try again, btw, all the partitions and data are intact after the gdisk operation.

still working on it.

#140 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-27 00:04:05

Thank you fred.

...to boot gpt in legacy mode, you need a partition that is at least 1MB, unformatted and bios_grub flag

I had this before and the bios gave the error above, this is why I am asking.

I just rebooted the laptop and it gives the same error. edit...

I got through the install but when I rebooted (quite a few times after subsequent re-installs) I get a bios error like

insert a bootable disk, disk not found.

Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key

partmon gave a warning the the kernel would not be aware of the change until rebooted.

When selecting the bios (esc) it shows only the cdrom as a bootable device (no usb inserted).

I have that iso, exegnulinux... but even after several installs, I get the same bios error.

wip

#141 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-26 23:11:35

Well, I got xfce4 installed, but I had to use grub-super-boot... to boot the install.

I still have the same boot error, ... no disk found.

I haven't seen in gparted a "make bootable" flag that sticks.

I started gdisk,
selected /dev/sda
p = print gpt table (protected mbr)
x = expert
a = attributes
1 = partition number (found no fields set)
2 = legacy bios bootable
w = write (gives ominous warning "all partitions will be deleted")

ready to reboot...

#142 Re: Other Issues » [SOLVED] Intermittent Network Disconnections » 2024-02-26 21:46:07

I haven't found one (a log file) for the network device after startup (boot and init) but the place to search is /var/log/

I did see references in user.log sys.log and dmesg, but mostly early initialisation.

user.log tells me cron is complaining about not have mta for internal mail (to nobody but me) but doesn't explain the drop outs.

I think if I were to search further, I would check the logs inside the modem/router, But I am not suppose to access the modem, It's not mine.

#143 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-26 21:22:40

Hi, thanks for all the replies.

@aluma: I've already wiped the drive (again), but I'll keep the super iso for emergencies.

Sorry for not waiting. I get a bit tenacious.

@rolfie: Thank you for your summary... I've read so many descriptions, and forgotten a bit, on my main PC box I use legacy and GPT.

I want to try that (legacy and GPT) on my laptop, and will give it another go today after re-partitioning.

I found the Trinity install a bit confusing... with partition (it just my brain) of /usr /var /boot/ / /tmp swap and /home and might try using the Full ISO and converting to trinity afterwards.

The other problem I had was I was trying to start the gui, but had forgotten I only installed xfce4 and not plasma... :-)

I seem to get myself into sticky situations faster than flash-gordon.

#144 Re: Other Issues » [SOLVED] Intermittent Network Disconnections » 2024-02-26 04:15:03

I get those too, but I had a feeling it was the old wifi router at this place.

I don't get the start-up prob... I turn the wifi off before I shutdown for the night to avoid surprises

(I start the vpn, proxy and ptunnel manually, but the nft firewall starts with sysinit)

I'd be interested to see what may cause the drop-outs.

#145 Re: Freedom Hacks » Securing my/our computer systems » 2024-02-26 04:09:49

Hi, I run a script as well as from time to time look at grc's shields-up.

nmap -v -A  scanme.nmap.org
nmap -v -sS -p1-9000 -iL > /home/glenn/build/logs/ip/ip.txt (edit, added redirection > to file)

and for local net info...
netstat -r
netstat -i

and amongst that script I also have,
lynis audit system -Q --pentest

@aluma, I haven't seen that response from shields-up since I stopped using M$win

One Day At A Time.

#146 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-26 02:11:20

Hi, thank you for all the replies.

I am avoiding any M$ crap, if possible.

I partitioned the disk with gpt.
I have switched off fastboot, and secureboot in the bios.
Also I have the disk recognised using ahci.
CSM is ENABLED.

Because this is a different machine, here is the partitioning table list from,
lsblk

loop0 ... clip
sda    8:0 0 238.5G 0 disk
-sda1 8:1 0       2M 0 part
-sda2 8:2 0   23.4G 0 part
-sda3 8:3 0    8.4G 0 part
-sda4 8:4 0    3.5G 0 part
-sda5 8:5 0    3.5G 0 part
-sda6 8:6 0  16.6G 0 part
-sda7 8:7 0   183G 0 part
sdb ... (devuan-live memory stick)
-sdb1 ... clip
... clip
sr0 11:0 1 1024M 0 rom

I wrote UEFI, but I may have meant EFI.

installing Devuan Trinity, gpt disk, non-uefi boot error

If I am to re-install an OS to the laptop, I must get past this partitioning problem.

My memory fails me, but I'm beginning to think that the laptop was using efi-boot, with fastboot and secureboot switched off.
In my old notes I have a 199.2Mb fat partition.
I may have changed this at some time, without reinstalling the OS, and maybe that is why I'm not familiar with the boot time grub errors.

I only use it when I'm away from home and need a PC. Like travelling, holidays, house-sitting, etc.

There is no personal data at risk... so I may reinstall, but boot from the efi section of the flash-drive and then see if the install progresses past the grub-install section.

The last attempt, last evening I continued past the error, but on reboot could login but not start a gui. ( now I remember I installed xfce4, not plasma, lol)

Anyhow, I wanted to install trinity, because I like (familiar with) kde systems.

I downloaded and dd'd to a stick super_grub2_disk,

dd bs=512k if=/home/glenn/Downloads/super_grub2_disk_hybrid_2.02s10.iso of=/dev/sde status=progress && sync

But didn't find a way to install/reinstall grub. So, I must have changed the partitioning scheme and borked the install on my own.

Anyhow, life's an adventure, and I'm always open to a new truth & still learning.

Thanks again

#147 Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-25 04:28:56

GlennW
Replies: 33

Hi, I am trying to install trinity on to my laptop. Asus n550jv

I wiped the old partitions off and setup partitions on the 238.5Gb ssd as
/dev/sda1 2mb bios-grub
/dev/sda2 46.9Gb /
/dev/sda3 4.1Gb swap
/dev/sda4 187.5Gb /home

I got through the install but when I rebooted (quite a few times after subsequent re-installs) I get a bios error like

insert a bootable disk, disk not found.

Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key

This laptop only has a cdrom and the ssd. I'm using a devuan-Trinity (kde) off a memory-stick.

If I try to install-grub /dev/sda2, I get an error...

install-grub: error: failed to get canonical path

This laptop has no other OS installed.

It doesn't seem to matter what I try now, after an install from a live-distro, the laptop can't find the bootable drive.

When I check the drive partitions, it seems to be intact. But the bios can't find the info to boot.

Daedalus/plasma was working fine, I thought I would try to reduce the overheads to get more time out of the new battery.

The sata mode is set as ahci.

Is there a glaring solution I'm not seeing?

tia, Glenn

#149 Re: Freedom Hacks » Securing my/our computer systems » 2024-02-24 22:31:10

Hi fanderal, thank you for your post.

I've tested ports at grc_com going back to WinXP days.

me too, and I agree.

I keep finding some ports open, like telnet and LP...

I used zonealarm with winxp and it seemed secure enough to stop all but serious targeted attacks (which I had no evidence of, or effects)

Facebook was stealing members' contact lists and sending invites to contacts in the member's name. Dunno if they still do it but I've stayed away from social networks since then.

I think FB is still doing that. Any of my actual friends have denied trying to contact me via those methods.

I'll have a read of the schneier post very soon. I find this topic very interesting, to say the least.

I must say, I am not a gold digger and I don't have anything to steal, or hide for that matter but it's annoying when the pc crashes.

But please keep in mind that since I reseated the nvme ssd I haven't had any crashes.

So, as educational as this experience has been it seems more and more that this was my mistake,
poor eyesight when I installed and started using the nvme drive.

Thank you for the info.... I am in the process of weening myself off FB and google apps, including email and chat.

#150 Re: Hardware & System Configuration » problems with wifi, I can't activate it » 2024-02-24 22:13:10

What have you tried with rfkill?

I currently do not have rfkill installed, although I have seen some info on rfkill... like this web page

https://linuxconfig.org/how-to-manage-wifi-interfaces-with-rfkill-command-on-linux

... by interface ID or type for BT and wifi.

from another page suggests iwconfig... is power management enabled?

Board footer

Forum Software