Author Topic: Edit config in ploplinux-v4.0.6-X.iso  (Read 16417 times)

Pat

  • Newbie
  • *
  • Posts: 14
Edit config in ploplinux-v4.0.6-X.iso
« on: September 29, 2010, 14:37:11 PM »
Hi

I download ploplinux-v4.0.6-X.iso but I want to change some options in isolinux.cfg and runme.sh.

How can I do it ?

Is it possible to extract the iso file with 7zip, edit these files and use foldertoiso (http://www.trustfm.net/divx/SoftwareFolder2Iso.php?page=Folder2IsoFeatures&b2=1) before burning ?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #1 on: September 29, 2010, 14:55:43 PM »
hi,

Is it possible to extract the iso file with 7zip, edit these files and use foldertoiso (http://www.trustfm.net/divx/SoftwareFolder2Iso.php?page=Folder2IsoFeatures&b2=1) before burning ?

no, you have to create a bootable iso
see here http://www.plop.at/en/ploplinux.html#wicreateiso

regards
elmar

Pat

  • Newbie
  • *
  • Posts: 14
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #2 on: September 29, 2010, 15:20:58 PM »
ok, I see but for window is there a zip  file withe the same content of the ISO ?

I didn't found it in the download page

There is only the ploplinux-v4.0.6.zip

I want to create a iso with all packs (changing language and keyboard to french and others little options)

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #3 on: September 29, 2010, 15:29:09 PM »
you can extract the iso. the files are the same + opt.sqfs and so on.

Pat

  • Newbie
  • *
  • Posts: 14
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #4 on: September 29, 2010, 15:59:33 PM »
I will extract the iso with 7zip an rebuild with plpmkiso.exe tht's all ?
I try soon

Thank's

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #5 on: September 29, 2010, 16:02:15 PM »
yes, thats all. extract the iso to the directory ploplinux-v4.0.6

Pat

  • Newbie
  • *
  • Posts: 14
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #6 on: October 01, 2010, 16:22:46 PM »
I extact with 7zip the iso file in cdrtools-latest\ploplinux-v4.0.6\ploplinux-v4.0.6 (all files readme, pluspacks, boot, ploplinux, isolinux, ...)
I edit runme.sh and isolinux.cfg

But when I execute plpmkiso.exe with parameters 4.0.6 in cdrtools-latest I got these messages :

found PLoP Linux in ploplinux-v4.0.6\ploplinux-v4.0.6
running mkisofs -J -r -V Plop................
warning: creating filesystem that does not conform to ISO-9660
Using PARSER000 for ./.rr_moved/Parser (Parser)
Using BOOT000.CATALOG;1 for ploplinux-v4.0.6\ploplinux-v4.0.6/isolinux/boot.catalog (boot.catalog)
mkisofs: Error: 'ploplinux-v4.0.6\ploplinux-v4.0.6/isolinux/boot.catalog' and '(NULL POINTER)' have the same Rock Ridge name 'boot.catalog'.
mkisofs Unable to sort directory ploplinux-v4.0.6\ploplinux-v4.0.6/isolinux
Error: mkisofs error
please download cdrtools from http://smithii.com/cdrtools

Where is my error ?
In the directory cdrtools-latest I have extracted all the files and added plpmkiso.exe (v0.2 20070501)

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #7 on: October 01, 2010, 16:33:08 PM »
remove the file boot.catalog and try it again

Pat

  • Newbie
  • *
  • Posts: 14
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #8 on: October 04, 2010, 09:48:31 AM »
by removing the file boot.catalog it works, thank's  :)
I justs have to try if it is bootable

I modified the files :

\isolinux\linux\isolinux.cfg adding this line :
copy2ram

ploplinux\myscripts\runme.sh adding these 2 lines :
loadkeys fr-latin1
startx

It's correct ?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #9 on: October 04, 2010, 09:56:50 AM »
\isolinux\linux\isolinux.cfg adding this line :
copy2ram

this has to be added to the append line

ploplinux\myscripts\runme.sh adding these 2 lines :
loadkeys fr-latin1
startx

loadkeys fr-latin1 is ok, but its for the console only.
when you want to autostart gnome or fluxbox then you have to remove the # in front of "sh autostartx" in runme.sh

how to setup the french language in X then see http://forum.plop.at/index.php/topic,163.msg1436.html#msg1436

best regards
elmar

Pat

  • Newbie
  • *
  • Posts: 14
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #10 on: October 04, 2010, 11:31:15 AM »
copy2ram is on the last line

but for the french language I'm not sure to understand
here is the end of my runme.sh :
_____________________________________
# if you dont like autologin then remove the line below
sh autologin

#uncomment to autorun startx
sh autostartx

#uncomment to use avast at startup
#sh useavast

#uncomment to use f-prot at startup
#sh usefprot

loadkeys fr-latin1

echo startx
_____________________________________

I have to copy this file (runme.sh) on the root directory where there are  these files : readme.txt and liesmich.txt if I undersansd

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #11 on: October 04, 2010, 11:42:29 AM »
the end should look like this

Code: [Select]
# if you dont like autologin then remove the line below
sh autologin

#uncomment to autorun startx
sh autostartx

#uncomment to use avast at startup
#sh useavast

#uncomment to use f-prot at startup
#sh usefprot

loadkeys fr-latin1

echo setxkbmap fr > /root/.xinitrc
echo /root/gnome >> /root/.xinitrc


I have to copy this file (runme.sh) on the root directory where there are  these files : readme.txt and liesmich.txt if I undersansd

no, rume.sh will be still in the ploplinux/myscripts directory. simply edit the file. when you edit the file under windows, then use the vim editor

Pat

  • Newbie
  • *
  • Posts: 14
Re: Edit config in ploplinux-v4.0.6-X.iso
« Reply #12 on: October 04, 2010, 13:58:02 PM »
Thank's

on windows this editor is easyer to use :
http://www.flos-freeware.ch/notepad2.html
it does not add characters at end of lines