How to install Porteus 5.0 and Broadcom BCM43142 802.11b/g/n (rev 01) Linux wifi driver

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

How to install Porteus 5.0 and Broadcom BCM43142 802.11b/g/n (rev 01) Linux wifi driver

Post#1 by kushagratandon » 10 Jun 2020, 02:22

Hey, I am new to this porteus distro, and trying to install porteus on a 8gb Pendrive from a 2gb Pendrive.

So the 2gb pendrive boots up fine and can run the pretty system easily without any hassle (Used Rufus to create it).
Now as I launch porteus-installer over it to install porteus on 8gb Pendrive( formatted ext4 and GPT partition table), it installs without any hiccup but when I reboot it doesn't even show on boot menu. Researched and then tried the copy method to copy the contents of iso using mloop and copying it to pendrive and running the installer-for-Linux.com from elevated shell but still not bootable.

After hassling over it for a week tried it with MBR partition table and it boots perfectly over after switching on Legacy support in bios mode. But I want to boot it over UEFI mode only. Any idea or help will be greatly appreciated.

Ps. Also your forum is getting too much outdated.. not to complain or something but installation methods and even your website offers 2.0 as download when clicking on first link. After that I can see Porteus 4.0 released banner and clicking it I get mirror links. Hope you guys can update it a bit!
Last edited by Ed_P on 04 Jul 2020, 06:28, edited 1 time in total.
Reason: Noted in title which Porteus version.

User avatar
Ed_P
Contributor
Contributor
Posts: 5509
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#2 by Ed_P » 10 Jun 2020, 05:56

Hello kusha.

EFI only recognizes FAT drives. So format the 8gb drive as FAT32 and install Porteus to it using the instructions in the Porteus ISO. Once it boots post back and we can talk about saving changes. :)

Added in 8 hours 40 minutes 37 seconds:
Also make sure you have the EFI Secure Boot option disabled.
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#3 by kushagratandon » 10 Jun 2020, 20:18

Hi Ed,

I tried the above method but it didn't work.
1. I tried running Porteus Installer and after trying that it didn't boot up.
2. I again formatted the pendrive and then tried copying the files from iso and running the bash script.

Code: Select all

mloop /path/to/my/porteus.iso
cp -a /mnt/loop/* /mnt/sdb1
sync
cd /mnt/sdb1/boot
./Porteus-installer-for-Linux.com
It doesn't show up in the boot menu still. Also secure boot is off

User avatar
Ed_P
Contributor
Contributor
Posts: 5509
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#4 by Ed_P » 10 Jun 2020, 21:14

Are you following the steps in the USB_INSTALLATION.txt file in the ISO?

Post the output of these commands please:

Code: Select all

ls -l  /mnt/sdb1/boot/
ls -lR /mnt/sdb1/EFI
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#5 by kushagratandon » 11 Jun 2020, 18:14

Hi,
The following is the output:

Code: Select all

total 320
-r-xr-xr-x 1 root root 193752 Nov 13  2018 Porteus-installer-for-Linux.com*
-rwxrwxrwx 1 root root 119021 Nov 13  2018 Porteus-installer-for-Windows.exe*
drwxrwxrwx 2 root root   4096 Nov 13  2018 docs/
drwxrwxrwx 2 root root   4096 Jun 11 01:40 syslinux/

Code: Select all

/mnt/sdc1/EFI:
total 4
drwxrwxrwx 2 root root 4096 Nov 13  2018 boot/

/mnt/sdc1/EFI/boot:
total 764
-rwxrwxrwx 1 root root 176296 Nov 13  2018 bootx64.efi*
-rwxrwxrwx 1 root root  28480 Nov 13  2018 chain.c32*
-rwxrwxrwx 1 root root 133832 Nov 13  2018 ldlinux.e64*
-rwxrwxrwx 1 root root 196448 Nov 13  2018 libcom32.c32*
-rwxrwxrwx 1 root root  27152 Nov 13  2018 libmenu.c32*
-rwxrwxrwx 1 root root  24152 Nov 13  2018 libutil.c32*
-rwxrwxrwx 1 root root   6056 Nov 13  2018 linux.c32*
-rwxrwxrwx 1 root root  31728 Nov 13  2018 menu.c32*
-rwxrwxrwx 1 root root  97789 Nov 13  2018 porteus.png*
-rwxrwxrwx 1 root root  11800 Nov 13  2018 syslinux.c32*
-rwxrwxrwx 1 root root     40 Nov 13  2018 syslinux.cfg*
-rwxrwxrwx 1 root root  32408 Nov 13  2018 vesamenu.c32*
 

User avatar
Ed_P
Contributor
Contributor
Posts: 5509
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#6 by Ed_P » 12 Jun 2020, 05:04

Ok, the drive has EFI support. Your drive FAT32 now? And you ran the Porteus-installer for the drive? So, does it boot now?
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#7 by kushagratandon » 12 Jun 2020, 07:03

Yup it is FAT32 formatted and I ran porteus installer but it doesn't transfer EFI folder to the pendrive so it doesn't show up in boot!

User avatar
Ed_P
Contributor
Contributor
Posts: 5509
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#8 by Ed_P » 12 Jun 2020, 14:13

According to the ls command you posted the EFI folder is on the drive.
kushagratandon wrote:
11 Jun 2020, 18:14

Code: Select all

/mnt/sdc1/EFI:
total 4
drwxrwxrwx 2 root root 4096 Nov 13  2018 boot/

/mnt/sdc1/EFI/boot:
total 764
-rwxrwxrwx 1 root root 176296 Nov 13  2018 bootx64.efi*
-rwxrwxrwx 1 root root  28480 Nov 13  2018 chain.c32*
-rwxrwxrwx 1 root root 133832 Nov 13  2018 ldlinux.e64*
-rwxrwxrwx 1 root root 196448 Nov 13  2018 libcom32.c32*
-rwxrwxrwx 1 root root  27152 Nov 13  2018 libmenu.c32*
-rwxrwxrwx 1 root root  24152 Nov 13  2018 libutil.c32*
-rwxrwxrwx 1 root root   6056 Nov 13  2018 linux.c32*
-rwxrwxrwx 1 root root  31728 Nov 13  2018 menu.c32*
-rwxrwxrwx 1 root root  97789 Nov 13  2018 porteus.png*
-rwxrwxrwx 1 root root  11800 Nov 13  2018 syslinux.c32*
-rwxrwxrwx 1 root root     40 Nov 13  2018 syslinux.cfg*
-rwxrwxrwx 1 root root  32408 Nov 13  2018 vesamenu.c32*
 
The porteus installer doesn't copy the files, it makes the drive bootable.
USB_INSTALLATION.txt wrote:

Code: Select all

Porteus can be installed to a flash drive or hard 
drive in several ways.

FOR EFI SYSTEMS:
Ensure the first partition is of type FAT32.
a) Copy the EFI, boot and porteus folders onto the FAT32 partition.
You may create a second partition with a linux filesystem for the porteus folder.
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#9 by kushagratandon » 12 Jun 2020, 17:04

Tried that too! It didn't worked! :wall: :sos:

User avatar
Ed_P
Contributor
Contributor
Posts: 5509
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#10 by Ed_P » 12 Jun 2020, 20:06

:o

So, you:

formatted the drive as FAT32,
you copied the 3 folders (EFI, boot, porteus) and 1 file (USB_INSTALLATION.txt) from the ISO/CD to the formatted drive
and then you ran the Porteus install? Yes?

Mixing up the sequence doesn't work. :no:
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#11 by kushagratandon » 13 Jun 2020, 01:12

Yes
I copied the 3 folders (EFI, boot, porteus) and 1 file (USB_INSTALLATION.txt) from the ISO/CD to the formatted drive
and then ran the Porteus install! :boredom:

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#12 by kushagratandon » 13 Jun 2020, 01:15

Also new update! Tried to the same using Windows and running the installer-for-Windows.exe. That too didn't work

So can I just RUFUS the iso to pendrive? Will it be same as installation?
Because RUFUS works to make it bootable! :hammer:

User avatar
Ed_P
Contributor
Contributor
Posts: 5509
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#13 by Ed_P » 13 Jun 2020, 03:49

I've never used RUFUS so I can't answer that. Years ago I used Easy2Boot. http://rmprepusb.blogspot.com/2014/02/b ... un-it.html
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#14 by kushagratandon » 13 Jun 2020, 04:13

Ed_P wrote:
13 Jun 2020, 03:49
I've never used RUFUS so I can't answer that. Years ago I used Easy2Boot. http://rmprepusb.blogspot.com/2014/02/b ... un-it.html
Ok so it is bootable! and have EXT3 partition in persistence. To save changes I have to make a bat file right? Using the porteus application?
Can you also please tell me will I be getting updates if it is bootable?

Also no wifi or bluetooth card is detected in the drive.

User avatar
Ed_P
Contributor
Contributor
Posts: 5509
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#15 by Ed_P » 13 Jun 2020, 04:31

Bootable!! Yea :celebrate3: How'd you do it, RUFUS?

To save changes to the EXT3 partition you need to tweak the porteus.cfg file to add the changes= parameter to the APPEND line. Exactly how to specify the EXT3 partition I don't know, I've never used a 2nd partition on a flash drive.

Not sure what you mean by "getting updates". Porteus isn't Windows.

Your wifi and Bluetooth problems will need more technical help.

Added in 1 hour 34 minutes 34 seconds:
As root run this command and post it's output.

Code: Select all

lspci | grep Network
Ed

Post Reply