> [project] ReactOS Live CD, Tweaking ReactOS..
Nuno Brito
post Dec 1 2006, 07:42 PM
Post #1


Advanced Member
***

Group: .script developer
Posts: 4,128
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


This project will create a boot disk ISO image based on a ReactOS Live CD.

More informations about ReactOS can be found here along with some screenshots.

At this moment the goal is to demonstrate how to automate the process of extracting all files from the ISO that is automatically downloaded onto a folder, apply scripts to tweak user settings and add programs - followed by the recompilation of this folder into ISO format again.



version 002

The resulting ISO is not tweaked yet, but should be a good starting ground to make improvements or just to try out other options. I really like the idea of using a free operative system and perhaps this way more people can get to know and use it..


How to install?

- If you're using Winbuilder 052 or smaller, follow the minimum requirements
- Download the above file and extract all contents as a sub folder on the Projects folder inside WinBuilder
- Add the project on winbuilder - how to..
- Press the run button



Minimum Requirements:

If you're using WinBuilder 052 you'll need to add cdmake inside your Tools folder on winbuilder - download link

As an alternative you don't need to use cdmake and can always use mkisofs to produce your ISO, just place it inside the ReactOS\Create folder and remove or disable "CDMake.Script"


It's also adviced to use WinBuilder 053 beta 4, otherwise it will still work but you won't see the download progress..



Hope you have fun and enjoy this OS.. cheers.gif

This post has been edited by Nuno Brito: Dec 4 2006, 01:34 PM
Attached File(s)
Attached File  RosProject.PNG ( 85.47k ) Number of downloads: 84
Attached File  ReactOS_ScriptProject.zip ( 358.63k ) Number of downloads: 174
Attached File  MkISOfs.zip ( 6.05k ) Number of downloads: 58
 


--------------------
Use the search tool to find all posts made by other members and help you solve any doubts quickly by yourself.
Whenever possible - place your questions including as many details as you can to help us help you - Thanks!

nuno? --> pics
Go to the top of the page
 
+Quote Post
Digg this topic Add to my del.icio.us 2 Pages V   1 2 >  
Start new topic
Replies (1 - 9)
edborg
post Dec 4 2006, 10:02 AM
Post #2


Advanced Member
***

Group: .script developer
Posts: 259
Joined: 14-July 06
Member No.: 4



I've downloaded the project and run it in WB053 beta5 with no changes, and got the attached error. sad.gif
I haven't looked into it yet, to try and see what's wrong. blink.gif
edborg

ADDED: I've run it againg, and it works!!!
One has to be quick enough to hit a key when in qEmu, to have it boot from CD...
Attached File(s)
Attached File  error.jpg ( 59.3k ) Number of downloads: 39
 
Go to the top of the page
 
+Quote Post
Nuno Brito
post Dec 4 2006, 10:14 AM
Post #3


Advanced Member
***

Group: .script developer
Posts: 4,128
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


Still need to figure where to remove the option to "Press any key.." roll1.gif


--------------------
Use the search tool to find all posts made by other members and help you solve any doubts quickly by yourself.
Whenever possible - place your questions including as many details as you can to help us help you - Thanks!

nuno? --> pics
Go to the top of the page
 
+Quote Post
TheHive
post Dec 4 2006, 12:21 PM
Post #4


Advanced Member
***

Group: .script developer
Posts: 1,831
Joined: 14-July 06
Member No.: 5



THe process to download seems to occur but when it goes to running it in qemu nothing happens. Qemu doesnt come up. Using Winbuilder 53 build 5 and added cdmake inside Tools folder.

Directory structure in Wuilbuilder projects.
ReactOS.7z
script.project
Build
Create


Log

Attached File(s)
Attached File  log.htm ( 7.1k ) Number of downloads: 14
 
Go to the top of the page
 
+Quote Post
edborg
post Dec 4 2006, 12:57 PM
Post #5


Advanced Member
***

Group: .script developer
Posts: 259
Joined: 14-July 06
Member No.: 4



@Nuno

The mistery goes on! blink.gif blink.gif blink.gif
I thought everything had been made clear, as reported here, but now, working with the files in the folder generated by the project, I can't make a bootable ISO with MkISOfs. sad.gif

As you succeeded re-creating an ISO with CDMake and MkISOfs, could you add a script which uses MkISOfs to create it?
I'd like to examine it to definitely understand what happens.
This is not a top priority, of course! smile.gif
edborg
Attached File(s)
Attached File  error.jpg ( 21.11k ) Number of downloads: 30
 
Go to the top of the page
 
+Quote Post
Nuno Brito
post Dec 4 2006, 01:08 PM
Post #6


Advanced Member
***

Group: .script developer
Posts: 4,128
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


Looking at your log I see that the files were not extracted to reactos\ReactOS-liveCD, on the project folder unpack ReactOS.7z into a folder called ReactOS-LiveCD. Keep the the 7zip file to avoid downloading a new one.

This should get your ISO built - but doesn't explain the reason why the files aren't expanded from 7z.exe in the first place. Anyone has any more ideas?

QUOTE
Directory structure in ReactOS project:
ReactOS.7z
script.project
Build
Create
ReactOS-LiveCD



btw: Looking better at reactOS, the hive files are simple INF files wich can be compiled whenever we wish, this is very usefull to avoid all the hassle of loading/unloading hives, I include a sample of my files - it really has potential.. thumbup.gif




I'll post some ISO's when I get more familiar with this OS, ROS has the advantage of being open source so we're free to publish them as well.. what.gif



Attached File(s)
Attached File  Tools.zip ( 52.06k ) Number of downloads: 52
 


--------------------
Use the search tool to find all posts made by other members and help you solve any doubts quickly by yourself.
Whenever possible - place your questions including as many details as you can to help us help you - Thanks!

nuno? --> pics
Go to the top of the page
 
+Quote Post
Nuno Brito
post Dec 4 2006, 01:18 PM
Post #7


Advanced Member
***

Group: .script developer
Posts: 4,128
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


QUOTE(edborg @ Dec 4 2006, 11:57 AM) *

@Nuno

The mistery goes on! blink.gif blink.gif blink.gif
I thought everything had been made clear, as reported here, but now, working with the files in the folder generated by the project, I can't make a bootable ISO with MkISOfs. sad.gif

As you succeeded re-creating an ISO with CDMake and MkISOfs, could you add a script which uses MkISOfs to create it?
I'd like to examine it to definitely understand what happens.
This is not a top priority, of course! smile.gif
edborg


It really seems that your files are not being extracted as necessary, inside ReactOS.7z is the whole file structure - I've noticed that a few unzip program will ignore empty folders, but we need those empty folders to be placed inside the ISO otherwise an error like this will occur.

The syntax I've used for mkisofs was:
CODE
mkisofs -v -J -R -D -A "LiveCD" -V "LiveCD" -no-emul-boot -b isoboot.o -c isoboot.boot -o ros.iso ReactOS-LiveCD


Please note that I'm using isoboot.o as boot sector placed inside the root of target folder.

I haven't yet scripted this syntax, but you should be able to do it yourself using the command line to see what goes wrong - I'm guessing your troubles are actually coming from the folder structure.

I hope this helps, good luck with ROS.. cheers.gif



--------------------
Use the search tool to find all posts made by other members and help you solve any doubts quickly by yourself.
Whenever possible - place your questions including as many details as you can to help us help you - Thanks!

nuno? --> pics
Go to the top of the page
 
+Quote Post
Nuno Brito
post Dec 4 2006, 01:36 PM
Post #8


Advanced Member
***

Group: .script developer
Posts: 4,128
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


Added a mkisofs.script for ROS on the first post.. laugh.gif


--------------------
Use the search tool to find all posts made by other members and help you solve any doubts quickly by yourself.
Whenever possible - place your questions including as many details as you can to help us help you - Thanks!

nuno? --> pics
Go to the top of the page
 
+Quote Post
edborg
post Dec 4 2006, 05:42 PM
Post #9


Advanced Member
***

Group: .script developer
Posts: 259
Joined: 14-July 06
Member No.: 4



QUOTE(Nuno Brito @ Dec 4 2006, 02:18 PM) *

It really seems that your files are not being extracted as necessary, inside ReactOS.7z is the whole file structure - I've noticed that a few unzip program will ignore empty folders, but we need those empty folders to be placed inside the ISO otherwise an error like this will occur.

The syntax I've used for mkisofs was:
CODE
mkisofs -v -J -R -D -A "LiveCD" -V "LiveCD" -no-emul-boot -b isoboot.o -c isoboot.boot -o ros.iso ReactOS-LiveCD


Please note that I'm using isoboot.o as boot sector placed inside the root of target folder.

I've finally found the reason of the mistery that was making me crazy! what.gif
The problem was neither with the extraction, nor with the bootsector, everything was right.

The problem was MkISOfs syntax.
In the script, you haven't used the one posted above, but the following:
CODE
mkisofs -iso-level 4-force-uppercase -volid LiveCD -b isoboot.o -no-emul-boot -boot-load-size 4 -hide isoboot.o -hide boot.catalog -duplicates-once -o ros.iso ReactOS-LiveCD

and this way it works. thumbup.gif

edborg
Go to the top of the page
 
+Quote Post
edborg
post Dec 4 2006, 05:49 PM
Post #10


Advanced Member
***

Group: .script developer
Posts: 259
Joined: 14-July 06
Member No.: 4



QUOTE(Nuno Brito @ Dec 4 2006, 11:14 AM) *

Still need to figure where to remove the option to "Press any key.." roll1.gif

This also is a matter of syntax, which is solved with this change:
QUOTE

[process]
if,%pCheckBox1%,equal,True,set,%usb%,"#$s-usb"
if,%pCheckBox2%,equal,False,set,%kqemu%,"#$s-no-kqemu"
if,%pCheckBox2%,equal,True,set,%kqemu%,"#$s-kernel-kqemu"
if,%pCheckBox3%,equal,True,set,%fullscreen%,"#$s-full-screen"
if,%pCheckBox4%,equal,True,set,%uselocaltime%,"#$s-localtime"
if,%pCheckBox5%,equal,True,set,%audio%,"#$s-soundhw#$ses1370"
echo,"Running %burnISO% in qEmu.."
ShellExecute,"hide",#$q%Tools%\qEMU\qEmu.exe#$q," -boot d -m %pNumberBox1% -hda #$q%Tools%\qEMU\hdd.img#$q -L #$q%Tools%\qEMU#$q -cdrom #$q%ISOfile%#$q%usb%%fullscreen%%uselocaltime%%kqemu%%audio%"

edborg
Go to the top of the page
 
+Quote Post
« Next Oldest · Projects · Next Newest »
 

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No New Posts LiveXP
some lack in using nativeEx core
2 psc 406 23rd September 2007 - 05:21 PM
Last post by: Nuno Brito
No New Posts LiveXP
some lack in using nativeEx core
0 psc 146 19th September 2007 - 04:53 PM
Last post by: psc
No New Posts LiveXP + USB
Removing USB stick after successful boot
3 code5037 411 14th September 2007 - 05:07 PM
Last post by: code5037
Moved LiveXP + USB
Removing USB stick after successful boot
0 code5037 0 14th September 2007 - 12:58 PM
Last post by: code5037
No New Posts ReactOS 0.3.3 RC2
Very cool looking developments..
1 Nuno Brito 187 7th September 2007 - 06:08 PM
Last post by: smiley


 

Display Mode: Switch to: Standard · Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

- Lo-Fi Version Time is now: 9th October 2007 - 07:21 AM

MKPortal ©2003-2006 mkportal.it