Debug help for new users

Post here if you are a new Porteus member and you're looking for some help.
User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Debug help for new users

Post#1 by Ed_P » 05 Sep 2023, 16:07

When asking for help please post the results of this script, with a [ code ] tag at the beginning and a [ /code ] tag at the end.

Code: Select all

#!/bin/sh
uname -a
echo
cat /proc/cmdline
echo
cat /etc/porteus/*
echo
ls -lo /mnt/live/memory/images
read       # for running the script in a file manager 
From a suggestion here: Question about boot message (Post by Rava #95425)

** Note **

If you don't know how to make an executable script open a terminal window and manually enter each of the commands below the #!/ line.

A useful tool for debugging hardware issues is inxi which can be downloaded from: https://plug-mirror.rcac.purdue.edu/sla ... arch-1.txz

** Updates **

For hardware issues posting the result of these terminal commands can help also.

Code: Select all

su
toor
lspci -knn
dmesg | egrep -i 'rtl|wlan|firmware|b43|phy|bcm|fw|wl|error|faile|warn|issue|resolve|found|bug|loaded|broad|touch|elan|screen|input'
From a suggestion here: Porteus on Surface Pro 4 touchscreen only (Post by Blaze #93493)

For the long command just copy and paste it into the terminal window. :happy62:

If you wish to attempt a kernel update, review the kernel files posted near the end of this thread: Porteus Kernel Builder (Post by neko #6568), find a current one that matches your hardware's architecture, download it, open it with your file manager or the tar command then copy it's files as follows:

Code: Select all

# All operations must be performed as root user!

# replace 000-kernel.xzm
# remove crippled_sources.xzm
# optionally add 06-crippled_sources-NNN-XXbit.xzm
/path-to/porteus/base

# replace vmlinuz
/path-to/boot/syslinux

# reboot Porteus
From Blaze's posting here: no Wi-Fi option (Post by Blaze #95693)
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Debug help for new users

Post#2 by Rava » 06 Sep 2023, 08:20

I suggest adding the info that each of the output is to be encased into [ code ], that makes it much more readable and more easy to parse for the readers. :)

Or, alternatively, put the short info together into one [ code ] and the larger one into one for itself:
Here is the output of
cat /etc/porteus/*
cat /proc/cmdline
uname -a

Code: Select all

output as mentioned above
and here is the output of ls -lo /mnt/live/memory/images

Code: Select all

output as mentioned above
Cheers!
Yours Rava

Post Reply