Installation sudo bash **Porteus-installer-for-Linux.com

Post here if you are a new Porteus member and you're looking for some help.
waldmattis
White ninja
White ninja
Posts: 16
Joined: 28 Jan 2017, 19:50
Distribution: actual 64bit Porteus Desktop
Location: Germany

Installation sudo bash **Porteus-installer-for-Linux.com

Post#1 by waldmattis » 06 Feb 2017, 01:05

Hi,
when running the Porteus-installer-for-Linux.com
for example from Downloads-folder on partition sda10

karl@mintdebianclear ~ $ cd Downloads
karl@mintdebianclear ~/Downloads $ sudo bash Porteus-installer-for-Linux.com

it will install only to the same partition sda10, see below

_.====.._
,:._ ~-_
'\ ~-_
\ \.
,/ ~-_
-..__..-'' PORTEUS ~~--..__

==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--

Installing Porteus to /dev/sda10
WARNING: Make sure this is the right partition before proceeding.

Type 'ok' to continue or press Ctrl+c to exit.
^CExited installer.
karl@mintdebianclear ~/Downloads $


So it is impossible to choose a free partition for
a fresh installation.

I tried this with a completely fresh installation of
Ubuntu 16.04.1 LTS

Regards
Karl

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Installation sudo bash **Porteus-installer-for-Linux.com

Post#2 by francois » 06 Feb 2017, 02:49

You have grub2 as boot loader with your mint installation. Porteus installer is used for a hdd or usb fresh install and installs syslinux as bootloader.

Here are some instructions to install porteus with grub2 along other OS:

1.0 Use lsblk -f to provide the structure of your hdd and the location of the active grub2

Code: Select all

root@porteus:~#  lsblk -f
example (my setting from manjaro):

Code: Select all

#  lsblk -f
NAME   FSTYPE LABEL UUID                                 MOUNTPOINT
sda                                                      
├─sda1 ext4         b676287d-75a3-4639-b742-e5703d0f9242 
├─sda2                                                   
├─sda3 ext4         ce203970-b1ff-4fcc-bccb-613047477db4 /
├─sda4 swap         f4ca5e60-d626-43b4-979f-535b070aa04a [SWAP]
├─sda5 ext3         205a4449-b7a3-4a02-a519-87e956d29d27 
└─sda6 ext3         cbfac467-1766-4867-99d7-6c40308e3d35 
sdb                                                      
└─sdb1 ext2         cb81a316-66b7-4a04-9760-43357614fc06 
sr0                                                      
root@porteus:~# 
My grub2 installation should be in mountpoint /, unless you have set it otherwise.

2.0 Download the iso in your /home/ user/Downloads folder and mount the iso:

Code: Select all

guest@porteus:/root$ su
Password: 
root@porteus:~# cd ~/Downloads
root@porteus:~/Downloads# mkdir -p /mnt/disk
root@porteus:~/Downloads# mount -o loop Porteus-XFCE-v3.2.2-x86_64.iso /mnt/disk
mount: block device /root/Downloads/Porteus-XFCE-v3.2.2-x86_64.iso is write-protected, mounting read-only
root@sensei:~/Downloads
3.0 Copy the /boot and /porteus folders to /mnt/sda10

4.0 Modify the mnt/sdax/etc/grub.d/40_custom of the grub2 bootloader
Where sdax is the booting partition for grub2.

Code: Select all

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "on sda10 Porteus-XFCE-v3.2.2-x86_64 " {
set root=(hd0,10)
linux /boot/syslinux/vmlinuz from=/dev/sda10 extramod=/mnt/sda10 changes=changes login=guest
initrd /boot/syslinux/initrd.xz
}
Update grub:

Code: Select all

# update-grub
5.0 Reboot
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Installation sudo bash **Porteus-installer-for-Linux.com

Post#3 by ncmprhnsbl » 06 Feb 2017, 03:32

waldmattis wrote:when running the Porteus-installer-for-Linux.com
for example from Downloads-folder on partition sda10
this isnt how it works...
this script installs the syslinux bootloader to the partition where you have already copied the files from the iso..
and must be run from /mnt/sdXx/boot/ (where sdXx is the partition/drive where porteus is)
checkout /boot/docs/install.txt

as francois says (if you're dual booting) you may want to look into grub instructions

..moved topic to newbie questions
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Installation sudo bash **Porteus-installer-for-Linux.com

Post#4 by francois » 06 Feb 2017, 03:35

Your title should be:
How to install porteus along an already existing linux installation, as this is not the regular usb install.
Prendre son temps, profiter de celui qui passe.

waldmattis
White ninja
White ninja
Posts: 16
Joined: 28 Jan 2017, 19:50
Distribution: actual 64bit Porteus Desktop
Location: Germany

Re: Installation sudo bash **Porteus-installer-for-Linux.com

Post#5 by waldmattis » 06 Feb 2017, 07:11

Ups,
my last reply was deleted?!

Summary:
I tried nearly all flavors of porteus.
The only one, which works with my computer is Cinnamon 64bit, v3.2.2final

No endless loop when booting
German keyboard works

No
INIT: Id "x1" respawning too fast: disabled for five minutes

No damaged bootinfo after manual correction of system time
etc.

All the problems I described persist with other flavours.
And I did the different installations in the exact same manner:

Boot from DVD and use the Porteus-installer to install to always the same USB-stick.
I am no techie and do not know, where the different behavior from the different flavours come from.

I finally came to the status, that I can now evaluate porteus qualities.

Thank you to all who tried to help.
Regards
Karl

truptikande
Ronin
Ronin
Posts: 2
Joined: 10 Jun 2021, 14:13
Distribution: na

Installation sudo bash **Porteus-installer-for-Linux.com

Post#6 by truptikande » 10 Jun 2021, 14:26

not able to install porteus plz help me,I am a new

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Installation sudo bash **Porteus-installer-for-Linux.com

Post#7 by Ed_P » 10 Jun 2021, 16:09

Which version? :%)
Ed

truptikande
Ronin
Ronin
Posts: 2
Joined: 10 Jun 2021, 14:13
Distribution: na

Installation sudo bash **Porteus-installer-for-Linux.com

Post#8 by truptikande » 11 Jun 2021, 03:25

porteus 9 version

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Installation sudo bash **Porteus-installer-for-Linux.com

Post#9 by Ed_P » 11 Jun 2021, 03:48

There is no version 9 here. What's the name of the ISO file you downloaded?
Ed

Post Reply