Because it Rocks!

Post here if you are a new Porteus member and you're looking for some help.
donald
Full of knowledge
Full of knowledge
Posts: 2084
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Because it Rocks!

Post#16 by donald » 19 Jul 2015, 20:41

@sean
--> I'm still working on duplicating a Porteus thumb drive.<--
Did you try "my" way?... is it to geeky?
I'm using the cloned drive right now, and from now on, because it is a faster drive
and all custom settings (even the network Pw settings) are working.afaics.
=======================================================
When using the make_iso.sh (as root) give it a path outside of the thumbdrive to place the newly build iso.
e.g.
I made an iso of my thumbdrive (sdb1) but let the new iso being build at /mnt/sda1
Otherwise I was running out of space, and it quits.

sean
Contributor
Contributor
Posts: 166
Joined: 08 Jul 2012, 02:30
Distribution: Porteus v3.0 LXDE i486
Location: South Central PA, USA

Re: Because it Rocks!

Post#17 by sean » 19 Jul 2015, 21:25

Hello "donald", and others,

I'm a bit pressed for time this evening here, have a dinner engagement with family. Your suggestion is next on the list to try. Should I get home with some time later tonight I will, otherwise I shall make the attempt tomorrow morning.

I have witnessed your assistance and appreciate your suggestions, we have a unique forum here at Porteus, thank you very much!

@Bogomips

Please don't feel I'm brushing you off, however I do not use Windows or Wine. I'm strictly a Linux user. I appreciate your input, I've witnessed your suggestions and considered every one of them. I am not a guru in any sense of the word, so I do appreciate any assistance offered, and I'm very glad you are here.

@blue4meridian

Please accept the same explanation given Bogomips. It is my understanding IsoMaster is a Windows application. Also, could you be a little more detailed in how I could use Unetbootin for this particular exercise? And thanks also for responding!

Truly touched by the response to this thread, International friends, "the absolute BEST!", local ones equally so, :-) Ed_P & blue4meridian, fairly close by !

Sean

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

Re: Because it Rocks!

Post#18 by Bogomips » 19 Jul 2015, 21:40

sean wrote:@Bogomips

Please don't feel I'm brushing you off, however I do not use Windows or Wine. I'm strictly a Linux user. I appreciate your input, I've witnessed your suggestions and considered every one of them. I am not a guru in any sense of the word, so I do appreciate any assistance offered, and I'm very glad you are here.

@blue4meridian

Please accept the same explanation given Bogomips. It is my understanding IsoMaster is a Windows application.
Stock Porteus. As mentioned before: Kicker > Multimedia > Iso File Editor :Search:
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

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

Re: Because it Rocks!

Post#19 by Bogomips » 19 Jul 2015, 23:27

@blue4meridian
Tried Kicker > Applications > Porteus Installer ?
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
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Because it Rocks!

Post#20 by francois » 19 Jul 2015, 23:41

Ed_P wrote:
francois wrote:(it seems so simple)
Yes, but does the copied device boot? I suspect not.
Then to make the usb bootable he just has to run porteus-installer-for-linux.com on the targetted device. :)
Prendre son temps, profiter de celui qui passe.

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

Re: Because it Rocks!

Post#21 by Ed_P » 19 Jul 2015, 23:49

francois wrote:Then to make bootable he just has to run porteus-installer-for-linux.com on the targetted device for porteus on usb to boot. :)
Apparently not with good results.
sean wrote:@Ed_P, thanks for replying. I've tried this several times now and the system will boot, but parts are totally unresponsive.

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

Re: Because it Rocks!

Post#22 by francois » 20 Jul 2015, 01:27

@sean:
There is also rsync and the porteus-installer-for-linux.com on the targetted device. 8)
http://bbs.archbang.org/viewtopic.php?id=1295
-rsync for formating and moving data from one partition to another (here from sdax to sday):

Code: Select all

rsync -av --delete /mnt/sdax/ /mnt/sday
Are we talking about a usb with a linux filesystem or fat32. Porteus is linux and linux prefers linux. :wink:
Prendre son temps, profiter de celui qui passe.

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

Re: Because it Rocks!

Post#23 by Bogomips » 20 Jul 2015, 02:08

francois, why not make a nice tutorial? :roll: This topic seems to crop up again and again, and IMHO you seem to be the best suited for the job. :friends:

Edit: Mon Jul 20 13:16:09 UTC 2015

Would also be interested to know what answer can be given to the following question. Iso downloaded, usb just bought, and the steps to take, should it be possible to boot from usb without unpacking the iso, the way one can from CD/DVD?
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
Ed_P
Contributor
Contributor
Posts: 8578
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Because it Rocks!

Post#24 by Ed_P » 20 Jul 2015, 14:41

For starters for those adding Porteus to a Windows system.

On older versions of Windows modify the boot.ini file as such.
Before

Code: Select all

[boot loader]       
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS   
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect 
After

Code: Select all

[boot loader]       
timeout=30          
::default= C:\grldr
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS   
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect 
C:\grldr="Grub4Dos" 
On newer versions of Windows modify the BCD using this CMD script.

Code: Select all

@echo off
:: http://diddy.boot-land.net/bcdedit/files/examples1.htm#grub4dos
:: Removed /store parms for system with BCD on hidden partition.

setlocal

:: Do not use spaces in paths and do 
:: NOT wrap in quotes

set BCDEDIT=%SYSTEMROOT%\system32\bcdedit.exe
set BCDSTORE=C:\Boot\BCD

::___________________________________

BCDedit

echo.
echo Press Enter to update the BCD
pause > nul

for /f "tokens=3" %%A in ('%BCDEDIT%  /create /application bootsector') do set guid=%%A

%BCDEDIT%  /set %guid% device partition=C:
%BCDEDIT%  /set %guid% path \grldr
%BCDEDIT%  /set %guid% description "grldr menu - Porteus options"
%BCDEDIT%  /displayorder %guid% /addlast

BCDedit

endlocal
echo.
pause
To get the grldr file one downloads a grub4dos 0.4.5c zip file, extracts the grldr file from it and places it on the C: partition/drive. Then adds a menu.lst file to the C: partition/drive similar to this.

Code: Select all

# http://code.google.com/p/grub4dos-chenall/downloads/list
# Grub4DOS 0.4.5c 2013-03-03

# splashimage=/splashimages/mback.xpm.gz 
splashimage=(hd0,2)/Porteus/porteus3.bmp

# color <foreground/background> [hilite-fg/hilite-bg] [helptxt-fg/helptxt-bg] [hdg-fg/hdr-bg]
# colors:                black       blue       green       cyan       red       magenta   brown    light-gray
#   foreground only: dark-gray light-blue light-green light-cyan light-red light-magenta   yellow   white

# color white/blue yellow/blue
color white/blue black/light-gray yellow/blue blue/yellow

# ****ground rrggbb   000000=black  ffffff=white  8-f = bright
# blue text with gray txt on blue background hilite
# <<<< Be sure there are NO SPACES/BLANKS following the hex codes. >>>>>

foreground ffffff
background 0000cc
                        
timeout 600                   
default 0                    
fallback 1  

map --unhook 
            
title Porteus 2.1 - changes=    \n 195MB\n Porteus-RazorQT-v2.1-i486.iso
find --set-root                     /Porteus/Porteus-RazorQT-v2.1-i486.iso
map --heads=0 --sectors-per-track=0 /Porteus/Porteus-RazorQT-v2.1-i486.iso (0xff) 
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz  from=/Porteus/Porteus-RazorQT-v2.1-i486.iso  changes=EXIT:/Porteus/porteussave.dat extramod=/mnt/sda3/Porteus/modules
initrd /boot/syslinux/initrd.xz

title Porteus 2.1 - Always Fresh\n 195MB\n Porteus-RazorQT-v2.1-i486.iso \n Use to check space usage of porteus.dat file.
find --set-root                     /Porteus/Porteus-RazorQT-v2.1-i486.iso
map --heads=0 --sectors-per-track=0 /Porteus/Porteus-RazorQT-v2.1-i486.iso (0xff) 
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz  from=/Porteus/Porteus-RazorQT-v2.1-i486.iso   
initrd /boot/syslinux/initrd.xz

title   \n
root ()

# A clever approach from Steve6375.  (And not possible in Legacy grub) 

iftitle [if exist (hd0,1)/ntldr || if exist (hd0,0)/ntldr] Windows XP\n\n Boot from hd0,1 or hd0,0 ntldr
if exist (hd0,0)/ntldr root (hd0,0)
if exist (hd0,1)/ntldr root (hd0,1)
chainloader /ntldr

title Reboot
reboot  
What's left to add Porteus to the system, why simply downloading the Porteus ISO you desire, save it in a folder named /Porteus and editing the menu.lst to match the name of the ISO you downloaded.

Have fun. :beer:

donald
Full of knowledge
Full of knowledge
Posts: 2084
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Because it Rocks!

Post#25 by donald » 20 Jul 2015, 17:56

Bogomips wrote: Would also be interested to know what answer can be given to the following question. Iso downloaded, usb just bought, and the steps to take, should it be possible to boot from usb without unpacking the iso, the way one can from CD/DVD?
Hello Bogomips
If you really want to have an usb-flash which acts like a live-cd/dvd,
(as a result,the usb would be as large as the iso, readonly like a CD, and the leftover space on that usb can not be used),
make the (porteus) iso "isohybrid"
Many other isos are isohybrid by default.

Unfortunatly this command seems to be stripped out of porteus.IMO it is included
in the original syslinux package.
(If you have another Linux at hand, I'm sure it is included)

the command would simply be (e.g.)
isohybrid Porteus-KDE4-v3.1-i486.iso

when done dd this iso onto the usb-flash
dd if=./Porteus-KDE4-v3.1-i486.iso of=/dev/sdX

reboot

but I am sure you meant something different,no?
cheers

User avatar
sunnysideofthesun
Black ninja
Black ninja
Posts: 62
Joined: 24 Apr 2015, 22:16
Distribution: other
Location: check the logs

Re: Because it Rocks!

Post#26 by sunnysideofthesun » 20 Jul 2015, 19:38

Rocks like a tombstone!
Btw, what this thread is about?

donald
Full of knowledge
Full of knowledge
Posts: 2084
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Because it Rocks!

Post#27 by donald » 20 Jul 2015, 23:15

@ blue..
It looks like a "wrong path" issue

test if the linux you are using knows isohybrid..type isohybrid --help

I prepare the porteus isos while running SliTaz(4) live-CD.(SliTaz knows isohybrid)
Copy the porteus.iso into /home/tux, open a root terminal in that folder and type
isohybrid "whichever iso you have"
or try isohybrid ./"whichever iso you have"

donald
Full of knowledge
Full of knowledge
Posts: 2084
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Because it Rocks!

Post#28 by donald » 21 Jul 2015, 00:02

@blue
????
This is what I get..(stock porteus 3.1 Kde)

Code: Select all

guest@porteus:~$ isohybrid --help
bash: isohybrid: command not found
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# isohybrid --help
bash: isohybrid: command not found

sean
Contributor
Contributor
Posts: 166
Joined: 08 Jul 2012, 02:30
Distribution: Porteus v3.0 LXDE i486
Location: South Central PA, USA

Re: Because it Rocks!

Post#29 by sean » 21 Jul 2015, 11:57

@donald,

I have tried your suggestion. As soon as I booted into "copy2ram" it was apparent that I would be making a "clone" of the default/base product (minus my personal configuration/tweats), I let it finish for sake of appreciating your contribution and assistance. No dis-respect, only high-5's because you have always been there helping us less mentally fortunate :-)

The result would not boot, giving an error message of, no operating system.

I closely follow several Porteus members, because I value their input, you remain a favorite! Thank you.

Sean

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

Re: Because it Rocks!

Post#30 by Bogomips » 21 Jul 2015, 13:39

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

Post Reply