Page 1 of 1

Install from live usb

Posted: 22 May 2015, 11:07
by stuck on stupid
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 ?

Re: Install from live usb

Posted: 22 May 2015, 11:27
by beny
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.

Re: Install from live usb

Posted: 22 May 2015, 11:33
by stuck on stupid
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.

Re: Install from live usb

Posted: 22 May 2015, 14:56
by stuck on stupid
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

Re: Install from live usb

Posted: 22 May 2015, 17:34
by Bogomips
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.

Re: Install from live usb

Posted: 22 May 2015, 18:00
by brokenman
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.

Re: Install from live usb

Posted: 22 May 2015, 23:54
by stuck on stupid
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.

Re: Install from live usb

Posted: 23 May 2015, 07:49
by fanthom
run as root.
sfdisk is not in the guest's $PATH.

Re: Install from live usb

Posted: 23 May 2015, 13:04
by stuck on stupid
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 ?

Re: Install from live usb

Posted: 23 May 2015, 13:06
by Bogomips
If using sudo, then

Code: Select all

PATH+=:/sbin

Re: Install from live usb

Posted: 23 May 2015, 13:41
by brokenman
'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.

Re: Install from live usb

Posted: 23 May 2015, 14:25
by stuck on stupid
Bogomips wrote:If using sudo, then

Code: Select all

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

Re: Install from live usb

Posted: 23 May 2015, 14:46
by Bogomips
stuck on stupid wrote:Same thing sfdisk not found.

Code: Select all

guest@porteus:~$ /sbin/sfdisk

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


Re: Install from live usb

Posted: 23 May 2015, 15:09
by stuck on stupid
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

Re: Install from live usb

Posted: 23 May 2015, 15:11
by stuck on stupid
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!: