Page 1 of 1

Porteus installer chosing the wrong drive

Posted: 31 Dec 2023, 00:05
by ryoschin
I tried installing Porteus from my Kali live usb Os. I somehow managed to not get the extraction failed error, however, I still cannot seem to complete the most basic step, which is setting the os up.. The first weird thing I noticed is that it is saying:

Code: Select all

Installing Porteus to /dev/kali
WARNING: Make sure this is the right partition before proceeding.
even though the directory I ran the installer from was, I am pretty sure, /dev/sdb? But alright, I type ok, and then, of course, I get the following:

Code: Select all

Installation failed with error code '1'.
Please ask for help on the Porteus forum: www.porteus.org/forum
and provide the information from /media/kali/d292297d-1b43-42b7-bc7d-b5e2acbd3d43/boot/debug.txt
And these are the contents of the debug.txt file:

Code: Select all

partition: /dev/kali
partition mount point: /mnt/kali
installation path: /media/kali/d292297d-1b43-42b7-bc7d-b5e2acbd3d43/boot
filesystem: 
bootloader: lilo
error code: 1
system: kali 6.5.0-kali3-amd64 x86_64
mount details: 
full partition scheme:
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: HFM256GDHTNG-8310A                      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E6AE2671-BA7C-2146-A1BA-6F45029B8095

Device           Start       End   Sectors  Size Type
/dev/nvme0n1p1    4096   1052671   1048576  512M EFI System
/dev/nvme0n1p2 1052672 500103449 499050778  238G Linux filesystem


Disk /dev/sda: 28.64 GiB, 30752636928 bytes, 60063744 sectors
Disk model: Ultra           
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcf09d938

Device     Boot   Start     End Sectors  Size Id Type
/dev/sda1  *         64 9062927 9062864  4.3G 17 Hidden HPFS/NTFS
/dev/sda2       9062928 9064783    1856  928K  1 FAT12


Disk /dev/loop0: 3.72 GiB, 3995672576 bytes, 7804048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 379 MiB, 397410304 bytes, 776192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x53b3b711

Device       Boot Start    End Sectors  Size Id Type
/dev/loop1p1 *        0 776191  776192  379M 17 Hidden HPFS/NTFS


Disk /dev/sdb: 28.92 GiB, 31054626816 bytes, 60653568 sectors
Disk model: STORE N GO      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Does anyone have a clue on what I can do to get over this?

Porteus installer chosing the wrong drive

Posted: 31 Dec 2023, 17:08
by Ed_P
You seem to be executing the installer from the kali USB drive rather than the USB drive where you copied all the Porteus files to. Try it from there.

Porteus installer chosing the wrong drive

Posted: 20 Feb 2024, 02:09
by ncmprhnsbl
ryoschin wrote:
31 Dec 2023, 00:05
Does anyone have a clue on what I can do to get over this?
probably a bit late, but
the workaround for this situation is to manually mount the drive (as root) using mount
just guessing you're target is the usb drive sdb (why isn't it sdb1?) unmount it first.

Code: Select all

mount /dev/sdb /mnt/sdb ## or whatever the correct partition is.
cd /mnt/sdb/boot
sh Po*Linux.com

Porteus installer chosing the wrong drive

Posted: 20 Feb 2024, 17:49
by beny
hi ryoschin you have to format the usb with a partition first, not the whole disk like /dev/sdb the porteus installer check for sdx1 etc etc

Disk /dev/sdi: 58.23 GiB, 62518853632 bytes, 122107136 sectors
Disk model: Cruzer Blade
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x01a70c75

Device Boot Start End Sectors Size Id Type
/dev/sdi1 * 2048 122105855 122103808 58.2G 83 Linux