Install Porteus on SD card
- wread
- Module Guard
- Posts: 1255
- Joined: 09 Jan 2011, 18:48
- Distribution: Porteus v5.0-kde-64 bits
- Location: Santo Domingo
- Contact:
Install Porteus on SD card
@user0815
My laptop has listed following bootorder possibilities: USB, ODD, HDD/SSD, LAN
If I had a machine with Secure Digital Card Reader as you have, I would do the following:
1. Using PartitionManager erease all partitions,
2. Make two new partitions: 1) fat32 for the "boot" folder, 2) ext4 for the "porteus" folder,
3. Copy from porteus iso the "boot" to the fat32 partition, the "porteus" to the ext4 partition,
4. Reboot the machine opening the bios to have the SDCR boot order correctly set,
5. Take out all input devices but the sd card and reboot. Bingo!
That's all!
If you do exactly as I wrote you must succed!
Cheers!
My laptop has listed following bootorder possibilities: USB, ODD, HDD/SSD, LAN
If I had a machine with Secure Digital Card Reader as you have, I would do the following:
1. Using PartitionManager erease all partitions,
2. Make two new partitions: 1) fat32 for the "boot" folder, 2) ext4 for the "porteus" folder,
3. Copy from porteus iso the "boot" to the fat32 partition, the "porteus" to the ext4 partition,
4. Reboot the machine opening the bios to have the SDCR boot order correctly set,
5. Take out all input devices but the sd card and reboot. Bingo!
That's all!
If you do exactly as I wrote you must succed!
Cheers!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!
The Porteus Community never sleeps!
Install Porteus on SD card
Intel Corporation Wireless 8260
this was taken from porteus info itself, as wifi works in v.4
Code: Select all
WIRELESS INFO:
01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
Subsystem: Intel Corporation Device 0050
Flags: bus master, fast devsel, latency 0, IRQ 131
Memory at e1100000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number e4-a7-a0-ff-ff-e6-fa-6e
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [154] L1 PM Substates
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Install Porteus on SD card
Check out this thread: Intel Wireless WiFi: no firmware for iwlwifi [Solved]
Ed
Install Porteus on SD card
As root,
in your working as well as your non working cases to see which firmware is missing. You can also do an lsmod to check if iwlwifi driver is missing in the older kernel case.
On your running system using USB on porteus 4, insert your sdcard and check which driver and firmware are loaded. You might have to then move these driver/firmware to initrd to make the kernel detect your sdcard during boot, but this is just a guess ATM.
Code: Select all
modinfo iwlwifi
On your running system using USB on porteus 4, insert your sdcard and check which driver and firmware are loaded. You might have to then move these driver/firmware to initrd to make the kernel detect your sdcard during boot, but this is just a guess ATM.
Install Porteus on SD card
Yes, this works, intel wifi is now solved in v3.2, thank you Donald.
done as advised. Surprisingly, porteus v4 which is not able to boot from sd card has this driver whereas porteus 3.2 miss it but able to boot from sd
Code: Select all
guest@porteus:~$ lsmod
...
rtsx_pci 36864 2 rtsx_pci_sdmmc,rtsx_pci_ms
...
root@porteus:/home/guest# modinfo rtsx_pci
filename: /lib/modules/4.16.8-porteus/kernel/drivers/misc/cardreader/rtsx_pci.ko
description: Realtek PCI-E Card Reader Driver
author: Wei WANG <wei_wang@realsil.com.cn>
license: GPL
alias: pci:v000010ECd00005260sv*sd*bcFFsc*i*
alias: pci:v000010ECd0000525Asv*sd*bcFFsc*i*
alias: pci:v000010ECd0000524Asv*sd*bcFFsc*i*
alias: pci:v000010ECd00005286sv*sd*bcFFsc*i*
alias: pci:v000010ECd00005287sv*sd*bcFFsc*i*
alias: pci:v000010ECd00005249sv*sd*bcFFsc*i*
alias: pci:v000010ECd0000522Asv*sd*bcFFsc*i*
alias: pci:v000010ECd00005227sv*sd*bcFFsc*i*
alias: pci:v000010ECd00005289sv*sd*bcFFsc*i*
alias: pci:v000010ECd00005229sv*sd*bcFFsc*i*
alias: pci:v000010ECd00005209sv*sd*bcFFsc*i*
depends:
retpoline: Y
intree: Y
name: rtsx_pci
vermagic: 4.16.8-porteus SMP preempt mod_unload
parm: msi_en:Enable MSI (bool)
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
Install Porteus on SD card
There you go, that is the problem. The driver is not seen on the 4.9 kernel because the driver is compiled directly into the kernel and not as a separate module. That is why you could boot into the sdcard there.
On the Porteus 4 kernel, it is probably compiled as a loadable module. So is part of the 000-kernel.xzm. The problem then is that during boot it cannot find the rtsx_pci.ko module to access your sd card, because the rtsx_pci.ko is in the sdcard itself.
As root check if this is so with the following commands:
Code: Select all
[root:/home/guest]# modprobe configs
[root:/home/guest]# cp /proc/config.gz .
[root:/home/guest]# gunzip config
[root:/home/guest]# grep RTSX_PCI config
CONFIG_MFD_RTSX_PCI=y
[root:/home/guest]# uname -r
4.9.8-porteus
Install Porteus on SD card
And on Porteus 4 kernel:
I guess your choices are, either put the kernel module into the initrd, so that your driver is found at bootup, or recompile the kernel with CONFIG_MISC_RTSX_PCI set to y
Where did you get the updated kernel 4.16.8?
Code: Select all
[root:/home/guest]# uname -r
4.16.3-porteus
[root:/home/guest]# modprobe configs
[root:/home/guest]# cp /proc/config.gz .
[root:/home/guest]# gunzip config.gz
[root:/home/guest]# grep RTSX_PCI config
CONFIG_MISC_RTSX_PCI=m
Where did you get the updated kernel 4.16.8?
Install Porteus on SD card
You are right, the output is exactly like that.
Can you pls advise which is easier way and how to do it? I did add the wifi firmware to 000-kernel so I guess recompile would be the easier one.Thanks in advance.
I cannot recall anymore which mirror it was one of these http://dl.porteus.org/x86_64/kernel/porteus-4.16.8/. The original kernel from v4.0 took minutes to poweroff the machine, and this was the solution I picked from one of others thread.
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Install Porteus on SD card
If you were using the changes=EXIT cheatcode the 1st shutdown will be long because of the volume of changes you made being saved. There after the shutdowns aren't that long.
Ed
Install Porteus on SD card
Ok, I took the rtsx_pci modules from that kernel and added it into the initrd. Here is the updated initrd.xz: http://www.mediafire.com/file/24czz73sl ... rd.xz/file. It might be that there are other kernel modules also needed. Replace the initrd.xz with this one and try if it works.user0815 wrote: ↑10 Mar 2019, 19:50I cannot recall anymore which mirror it was one of these http://dl.porteus.org/x86_64/kernel/porteus-4.16.8/.
md5sum: f7614da7a3df162377e6ebb04a211499
Or, you can request neko to build the kernel with CONFIG_MISC_RTSX_PCI set to y. IMHO, it makes sense that this is built into the kernel rather than as a separate module. so that porteus could be booted from sdcards. It was so in the 3.2.2 days, dont know why it was changed to be a module in the kernel of 4.0. You can describe your issue and reference this thread. You might then have the latest kernel working for you.
Install Porteus on SD card
Somehow the boot process is not clear to me. The vmlinuz can be loaded, and also the porteus.cfg, so that I can choose one of those options copy2ram, fresh etc. But then the porteus folder on the same drive cannot be found just because of missing driver? And moreover, if this worked in v3.2, what was the reason to change CONFIG_MISC_RTSX_PCI to m in v4.0 and later version?
edit
Ok, thanks a lot, will try it and let you know.
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
Install Porteus on SD card
The vmlinuz is the linux kernel. It, initrd, porteus.cfg are loaded by the boot loader syslinux. Once boot loader gives control to the kernel, it needs its drivers, either compiled into it, or as a separate module to access the sdcard.
Like I said, I dont know, but also agree that it should be part of the kernel and not a separate module. BTW, the link you put in the later version, I provided only the upgraded cinnamon 3.8 module 003-cinnamon.xzm. It had nothing to do with the kernel.
Install Porteus on SD card
Thanks for the explanation.
I just tested the new initrd with the original v4.0 cinnamon from here
http://dl.porteus.org/x86_64/Porteus-v4.0/
without the kernel 4.16.8 patch. Unfortunately, it does not work, same error as reported here
https://ibb.co/ctftk2p
I just tested the new initrd with the original v4.0 cinnamon from here
http://dl.porteus.org/x86_64/Porteus-v4.0/
without the kernel 4.16.8 patch. Unfortunately, it does not work, same error as reported here
https://ibb.co/ctftk2p
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
Install Porteus on SD card
No no, dont do that. Use the updated kernel. 4.16.8. The modules I put in the initrd.xz are from the updated kernel, not the original.