Install from live usb

Post here if you are a new Porteus member and you're looking for some help.
stuck on stupid
White ninja
White ninja
Posts: 22
Joined: 22 May 2015, 11:00
Distribution: 3.01
Location: USA-FLORIDA

Install from live usb

Post#1 by stuck on stupid » 22 May 2015, 11:07

I'm trying to install to a usb from a live porteus usb. I formatted the usb to ext3 and set it to boot. When I use the install from the GUI it hangs and never finishes. I'm curious is ext3 the correct format and has anyone else experienced this problem ?

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Install from live usb

Post#2 by beny » 22 May 2015, 11:27

hi, seem you can't do this because the live system have lot of file that isn't possible to copy on a new installation,you can copy a run system making an iso of it and after you can copy on another media like usb or sd.

stuck on stupid
White ninja
White ninja
Posts: 22
Joined: 22 May 2015, 11:00
Distribution: 3.01
Location: USA-FLORIDA

Re: Install from live usb

Post#3 by stuck on stupid » 22 May 2015, 11:33

I was able to get it to complete but it won't let me run shell script under linux. I keep getting operation not permitted then Porteus-installer-for-Linux.com not found. Basically I want a persistent live copy that doesn't require the save.dat file each time I reboot.

stuck on stupid
White ninja
White ninja
Posts: 22
Joined: 22 May 2015, 11:00
Distribution: 3.01
Location: USA-FLORIDA

Re: Install from live usb

Post#4 by stuck on stupid » 22 May 2015, 14:56

Update -

I have all of the files on the copied to the USB drive. Now when I run Porteus-installer-for-Linux.com I get the message saying sfdisk is not installed. I'm getting a little upset. I figured the porteus operating system would include everything need to install porteus to another drive. Any fixes for this ? I can't find sfdisk in the package manager.

Thanks,
Stuck

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Install from live usb

Post#5 by Bogomips » 22 May 2015, 17:34

stuck on stupid wrote:I figured the porteus operating system would include everything need to install porteus to another drive.
AFAIK it does, but then I do everything manually with Grub. So you'll have to wait for the Porteus Install for Linux guy to give you the heads up. In the meantime however, if you're at all familiar with Linux, it might not hurt to look at this thread.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

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

Re: Install from live usb

Post#6 by brokenman » 22 May 2015, 18:00

It should be as easy as the following:

Boot porteus using copy2ram mode.
Copy all files from one USB to another (as root)

Code: Select all

cp -a /mnt/sdxY/* /mnt/sdxZ
sync
Change directory into the second USB (This is essential)

Code: Select all

cd /mnt/sdXz/boot
./Porteus-installer-for-Linux.com
cd /
umount /mnt/sdxY /mnt/sdxZ
Reboot into your second USB.
How do i become super user?
Wear your underpants on the outside and put on a cape.

stuck on stupid
White ninja
White ninja
Posts: 22
Joined: 22 May 2015, 11:00
Distribution: 3.01
Location: USA-FLORIDA

Re: Install from live usb

Post#7 by stuck on stupid » 22 May 2015, 23:54

Update *

I got everything to work until.

Code: Select all

guest@porteus:/mnt/sdb1/boot$ ./Porteus-installer-for-Linux.com
Verifying archive integrity... All good.
Uncompressing Porteus Installer.............chown: changing ownership of ‘./docs/cheatcodes.txt’: Operation not permitted
chown: changing ownership of ‘./docs/requirements.txt’: Operation not permitted
chown: changing ownership of ‘./docs/GNU_GPL’: Operation not permitted
chown: changing ownership of ‘./docs/License.txt’: Operation not permitted
chown: changing ownership of ‘./docs/install.txt’: Operation not permitted
chown: changing ownership of ‘./docs’: Operation not permitted
chown: changing ownership of ‘./Porteus-installer-for-Linux.com’: Operation not permitted
chown: changing ownership of ‘./syslinux/plpbt’: Operation not permitted
chown: changing ownership of ‘./syslinux/isolinux.boot’: Operation not permitted
chown: changing ownership of ‘./syslinux/porteus.cfg’: Operation not permitted
chown: changing ownership of ‘./syslinux/lilo.conf’: Operation not permitted
chown: changing ownership of ‘./syslinux/boot.cat’: Operation not permitted
chown: changing ownership of ‘./syslinux/extlinux.conf’: Operation not permitted
chown: changing ownership of ‘./syslinux/porteus.png’: Operation not permitted
chown: changing ownership of ‘./syslinux/ldlinux.sys’: Operation not permitted
chown: changing ownership of ‘./syslinux/isolinux.bin’: Operation not permitted
chown: changing ownership of ‘./syslinux/isolinux.cfg’: Operation not permitted
chown: changing ownership of ‘./syslinux/vmlinuz’: Operation not permitted
chown: changing ownership of ‘./syslinux/vesamenu.c32’: Operation not permitted
chown: changing ownership of ‘./syslinux/syslinux.cfg’: Operation not permitted
chown: changing ownership of ‘./syslinux/initrd.xz’: Operation not permitted
chown: changing ownership of ‘./syslinux/chain.c32’: Operation not permitted
chown: changing ownership of ‘./syslinux’: Operation not permitted
chown: changing ownership of ‘./Porteus-installer-for-Windows.exe’: Operation not permitted
chown: changing ownership of ‘./.porteus_installer/extlinux.com’: Operation not permitted
chown: changing ownership of ‘./.porteus_installer/lilo.com’: Operation not permitted
chown: changing ownership of ‘./.porteus_installer/mbr.bin’: Operation not permitted
chown: changing ownership of ‘./.porteus_installer/installer.com’: Operation not permitted
chown: changing ownership of ‘./.porteus_installer’: Operation not permitted
chown: changing ownership of ‘.’: Operation not permitted
chgrp: changing group of ‘./docs/cheatcodes.txt’: Operation not permitted
chgrp: changing group of ‘./docs/requirements.txt’: Operation not permitted
chgrp: changing group of ‘./docs/GNU_GPL’: Operation not permitted
chgrp: changing group of ‘./docs/License.txt’: Operation not permitted
chgrp: changing group of ‘./docs/install.txt’: Operation not permitted
chgrp: changing group of ‘./docs’: Operation not permitted
chgrp: changing group of ‘./Porteus-installer-for-Linux.com’: Operation not permitted
chgrp: changing group of ‘./syslinux/plpbt’: Operation not permitted
chgrp: changing group of ‘./syslinux/isolinux.boot’: Operation not permitted
chgrp: changing group of ‘./syslinux/porteus.cfg’: Operation not permitted
chgrp: changing group of ‘./syslinux/lilo.conf’: Operation not permitted
chgrp: changing group of ‘./syslinux/boot.cat’: Operation not permitted
chgrp: changing group of ‘./syslinux/extlinux.conf’: Operation not permitted
chgrp: changing group of ‘./syslinux/porteus.png’: Operation not permitted
chgrp: changing group of ‘./syslinux/ldlinux.sys’: Operation not permitted
chgrp: changing group of ‘./syslinux/isolinux.bin’: Operation not permitted
chgrp: changing group of ‘./syslinux/isolinux.cfg’: Operation not permitted
chgrp: changing group of ‘./syslinux/vmlinuz’: Operation not permitted
chgrp: changing group of ‘./syslinux/vesamenu.c32’: Operation not permitted
chgrp: changing group of ‘./syslinux/syslinux.cfg’: Operation not permitted
chgrp: changing group of ‘./syslinux/initrd.xz’: Operation not permitted
chgrp: changing group of ‘./syslinux/chain.c32’: Operation not permitted
chgrp: changing group of ‘./syslinux’: Operation not permitted
chgrp: changing group of ‘./Porteus-installer-for-Windows.exe’: Operation not permitted
chgrp: changing group of ‘./.porteus_installer/extlinux.com’: Operation not permitted
chgrp: changing group of ‘./.porteus_installer/lilo.com’: Operation not permitted
chgrp: changing group of ‘./.porteus_installer/mbr.bin’: Operation not permitted
chgrp: changing group of ‘./.porteus_installer/installer.com’: Operation not permitted
chgrp: changing group of ‘./.porteus_installer’: Operation not permitted
chgrp: changing group of ‘.’: Operation not permitted

which: no sfdisk in (/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts)

The following utilities are required and missing from your system:

sfdisk

Please install necessary packages and run the installer again.[/clode]

As you can see sfdisk is still required.

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

Re: Install from live usb

Post#8 by fanthom » 23 May 2015, 07:49

run as root.
sfdisk is not in the guest's $PATH.
Please add [Solved] to your thread title if the solution was found.

stuck on stupid
White ninja
White ninja
Posts: 22
Joined: 22 May 2015, 11:00
Distribution: 3.01
Location: USA-FLORIDA

Re: Install from live usb

Post#9 by stuck on stupid » 23 May 2015, 13:04

fanthom wrote:run as root.
sfdisk is not in the guest's $PATH.

Code: Select all

guest@porteus:/mnt/sdd1/boot$ sudo ./Porteus-installer-for-Linux.com
Password:
Verifying archive integrity... All good.
Uncompressing Porteus Installer......
which: no sfdisk in (/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts)
The following utilities are required and missing from your system:

sfdisk

Please install necessary packages and run the installer again.
Exact same thing sfdisk not found. I manually search it's not in any of the folders. Does sfdisk only come with a certain build ?

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Install from live usb

Post#10 by Bogomips » 23 May 2015, 13:06

If using sudo, then

Code: Select all

PATH+=:/sbin
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

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

Re: Install from live usb

Post#11 by brokenman » 23 May 2015, 13:41

'as root' means as root, not sudo as guest.

In the console type: su
Then type in the password (toor) and you are now root. Installation operation should be done as root. Hope that helps.
How do i become super user?
Wear your underpants on the outside and put on a cape.

stuck on stupid
White ninja
White ninja
Posts: 22
Joined: 22 May 2015, 11:00
Distribution: 3.01
Location: USA-FLORIDA

Re: Install from live usb

Post#12 by stuck on stupid » 23 May 2015, 14:25

Bogomips wrote:If using sudo, then

Code: Select all

PATH+=:/sbin
Same thing sfdisk not found.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Install from live usb

Post#13 by Bogomips » 23 May 2015, 14:46

stuck on stupid wrote:Same thing sfdisk not found.

Code: Select all

guest@porteus:~$ /sbin/sfdisk

Usage:
 sfdisk [options] <device> [...]

Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

stuck on stupid
White ninja
White ninja
Posts: 22
Joined: 22 May 2015, 11:00
Distribution: 3.01
Location: USA-FLORIDA

Re: Install from live usb

Post#14 by stuck on stupid » 23 May 2015, 15:09

Bogomips wrote:
stuck on stupid wrote:Same thing sfdisk not found.

Code: Select all

guest@porteus:~$ /sbin/sfdisk

Usage:
 sfdisk [options] <device> [...]

That seems to have found it but why can't the executable in the boot folder seem to find it. Can you post the full command line you used to make it work.

Thanks

stuck on stupid
White ninja
White ninja
Posts: 22
Joined: 22 May 2015, 11:00
Distribution: 3.01
Location: USA-FLORIDA

Re: Install from live usb

Post#15 by stuck on stupid » 23 May 2015, 15:11

brokenman wrote:'as root' means as root, not sudo as guest.

In the console type: su
Then type in the password (toor) and you are now root. Installation operation should be done as root. Hope that helps.
Man I totally missed this post. Going to try this thanks. #can'tread

SUCCESS !

Thanks :Yahoo!:

Post Reply