Error when installing to USB

Post here if you are a new Porteus member and you're looking for some help.
freqnope
Ronin
Ronin
Posts: 3
Joined: 01 Nov 2014, 18:31
Distribution: Funtoo
Location: here

Error when installing to USB

Post#1 by freqnope » 01 Nov 2014, 18:36

I am not able to install porteus to a usb stick at the moment. I had the same problem previously but somehow managed to install it in the end but now I can't find a way around the problem and cannot remember what I did before. The usb stick (sdc1) is formatted to ext4 but I am getting a message saying it cannot install because of error code 3. Here is the debug log:

Code: Select all

device: /dev/sdc
partition: /dev/sdc1
partition number: 1
partition mount point: /media/sdc1-usb-FLASH_Drive_SM_U
installation path: /media/sdc1-usb-FLASH_Drive_SM_U/boot
subfolder: 
filesystem: ext4
bootloader: extlinux
error code: 3
system: hyperion 3.16.0-pf1 x86_64
mount details: /dev/sdc1 /media/sdc1-usb-FLASH_Drive_SM_U ext4 rw,nosuid,nodev,noexec,noatime,data=ordered 0 0
full partition scheme:

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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: 0x00029291

Device    Boot     Start       End    Blocks  Id System
/dev/sda1           2048    264191    131072  83 Linux
/dev/sda2         264192   8652799   4194304  82 Linux swap / Solaris
/dev/sda3        8652800 976773167 484060184  83 Linux


Disk /dev/sdb: 3.8 GiB, 4026531840 bytes, 7864320 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: 0x00000000

Device    Boot Start       End  Blocks  Id System
/dev/sdb1       8192   7864319 3928064   b W95 FAT32


Disk /dev/sdc: 3.7 GiB, 3932160000 bytes, 7680000 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: 0xd1b84d23

Device    Boot Start       End  Blocks  Id System
/dev/sdc1 *     2048   7679999 3838976  83 Linux

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Error when installing to USB

Post#2 by brokenman » 01 Nov 2014, 19:05

Welcome freqnope.

You don't explain how you attempted to install Porteus. I would recommend booting from the latest Porteus version using 'copy2ram' cheatcode. Then it is as simple as:

1) Format the install device
2) Mount the device
3) Copy contents on ISO onto the device
4) cd into the boot directory on the device (super important)
5) Run the Porteus_installer_for_linux script in the boot directory (make sure you change directory into the same folder that contains this installer)
6) reboot
How do i become super user?
Wear your underpants on the outside and put on a cape.

freqnope
Ronin
Ronin
Posts: 3
Joined: 01 Nov 2014, 18:31
Distribution: Funtoo
Location: here

Re: Error when installing to USB

Post#3 by freqnope » 01 Nov 2014, 19:29

Unfortunately this is the same disk I used before and I had to reformat it temporarily so I don't have the previous install to boot in to. I'm basically doing the exact steps you outlined but from within my installed distro (funtoo). I have formatted the disk to ext4, mounted the iso, copied the iso contents to the disk, did cd in to the boot folder on the disk and sh Porteus-installer-for-Linux.com, all as root. I still get the error though. I've reformatted the disk a few times in case there was a problem there but it didn't change anything.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Error when installing to USB

Post#4 by fanthom » 01 Nov 2014, 19:51

please try to mount the partition manually:

Code: Select all

mkdir /tmp/hd
mount /dev/sdc1 /tmp/hd
then copy ISO content -> run installator
Please add [Solved] to your thread title if the solution was found.

freqnope
Ronin
Ronin
Posts: 3
Joined: 01 Nov 2014, 18:31
Distribution: Funtoo
Location: here

Re: Error when installing to USB

Post#5 by freqnope » 01 Nov 2014, 21:08

Thank you fanthom, that worked perfectly. I have Porteus working again now. Thanks to you and everyone else who works on Porteus!

Post Reply