Page 2 of 3

Re: Because it Rocks!

Posted: 19 Jul 2015, 20:41
by donald
@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.

Re: Because it Rocks!

Posted: 19 Jul 2015, 21:25
by sean
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

Re: Because it Rocks!

Posted: 19 Jul 2015, 21:40
by Bogomips
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:

Re: Because it Rocks!

Posted: 19 Jul 2015, 23:27
by Bogomips
@blue4meridian
Tried Kicker > Applications > Porteus Installer ?

Re: Because it Rocks!

Posted: 19 Jul 2015, 23:41
by francois
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. :)

Re: Because it Rocks!

Posted: 19 Jul 2015, 23:49
by Ed_P
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.

Re: Because it Rocks!

Posted: 20 Jul 2015, 01:27
by francois
@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:

Re: Because it Rocks!

Posted: 20 Jul 2015, 02:08
by Bogomips
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?

Re: Because it Rocks!

Posted: 20 Jul 2015, 14:41
by Ed_P
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:

Re: Because it Rocks!

Posted: 20 Jul 2015, 17:56
by donald
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

Re: Because it Rocks!

Posted: 20 Jul 2015, 19:38
by sunnysideofthesun
Rocks like a tombstone!
Btw, what this thread is about?

Re: Because it Rocks!

Posted: 20 Jul 2015, 23:15
by donald
@ 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"

Re: Because it Rocks!

Posted: 21 Jul 2015, 00:02
by donald
@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

Re: Because it Rocks!

Posted: 21 Jul 2015, 11:57
by sean
@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

Re: Because it Rocks!

Posted: 21 Jul 2015, 13:39
by Bogomips