a programming trouble
Hi
I decided to write a program for my self. But I feel I need some guidance to do this The problem is: I have some applications on a Linux server or windows client or server. And this application produces some information. Now the real problem is I want to create a cd which this cd is bootable. this cd will boot up and do something for me .I want to record some information by my cd recorder or DVD recorder but not in windows or Linux environment this cd should do it and get an image of my information by it self. it seems or probably you tell me ,some kind of utility like Norton ghost can do this operation for you. but I have something more to do. And I need to design and code this project for my own purpose. I will be thanked if some body should guide me If I should do some steps please tell me |
Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves.
|
So, to rephrase your question: You want to create a bootable CD that does some kind of action that includes storing data to a CD or DVD (you haven't said whether this CD or DVD is the boot drive). You want the bootable CD to run without the benefit of a Linux or Windows operating system. You want someone to explain how to do this in one thread on LinuxQuestions.org.
Is this correct? --- rod. |
let me make it simple
hi and thanks for ur attention
let me make the problem simple for first step of my project i am going to make a bootable cd which can take image from file or partion something like acronis but i want to do this my self (i want to write down my own program). because of next steps of my project. i will be thanked if somebody should help me about it sincerely urs. |
Okay, but first you are going to have to write all of the low-level drivers and filesystem drivers for the media that the partition lives on. Remember, the design objective is to do this without the aid of an operating system. Or, do you already have some alternative OS, that you have not mentioned?
So, is your first obstacle the part where you create the bootable CD, or the part where you write your own OS, with all of the device drivers and then write your backup application? Really, you can't do the first, without having done the second. Without having created all of the code that comprises your bootable CD, what will you put on the CD? If it sounds like I am being cynical, then you are correct. I don't think you have thought this problem through very well, and you should reconsider your approach. --- rod. |
no no no
Its a little misunderstanding Sorry if I am not a good explainer. I didn’t say I don’t want to use os; all of thing I want is anything I need should be on this bootable cd I am going to do this project by Linux (my choice is Gentoo Linux for now) This bootable cd should do the steps beneath: 1 – After putting the bootable cd in the cdrom and setting up bios it should boot up the system (my pc) 2- Something like menu will show some option (For example I want to take an image from c partition windows or Linux) 3- This cd can restore this image if some day will be necessary 4- if this bootable cd can do something more it will be so good. Some thing like this step: we could record this image by our bootable cd and we didn’t need to load Linux or win from hard disk It's for my first step. Thanks. |
Okay, I guess I was confused when you said 'not in windows or Linux environment'. I guess I still am, but oh well...
So you want to create a bootable CD whose whole purpose is to 'take an image' or 'get an image of my information'. What do you want to be done with that image? Copy it somewhere? Burn it to a CD or DVD? Something else...? Are we to assume that this is a dedicated backup application? When you say 'This cd can restore this image', are we to assume that the bootable CD is also the storage media for the backup? That would seem to add all sorts of complications. For the purpose of performing image backups, Partimage is one notable example. The LiveBackup project would seem to be a good place to start for creating a bootable live CD. Is this starting to go in the right direction? --- rod. |
more explenation
Hi and thanx
U shoot the target As a reality and for the first step of my project I am going to make a bootable cd Something like acronis true image or Norton ghost. But I am a beginner in Linux and don’t know what is the steps of this project I am going to take an image of my partitions or my files but I don’t know how should I write the program which can do it for me. 1- I don’t know the steps of this programming. 2- what parts this program consist (which blocks for programming and coding) 3-which kind of language is good for this work (bash scripting; python ; or C) but at last I know I should write the program by Linux or dos. May u lead and guide me in this project ? Thanx |
Did you visit the links I posted? The answers to your questions are there.
Why do you not answer the specific questions that I ask you, but instead reiterate the same general question? You should not have to do much if any programming to create a system of bootable CDs. I suggest that you start by using programs that already exist, and either modify them to suit your requirement, or use their underlying techniques to create your own program(s). Programming low-level hardware access such as reading and writing raw partition images is probably best done in C/C++. Programming at this level takes some expertise. Do you have the time and energy to put a couple of man years into such a project? There is much much more to this question than can be answered in a forum such as this. Pointers to existing web documents are the best help you should expect. When you get down to work on the problem, and have specific questions about smaller topics, then you should ask them here. --- rod. |
thanx
i saw yourlinks it was wonderfull now i should read document of the livebackup cd and see the code. god bless me . i hope i can handel it. i think if i could understand codes i should modify and add something to that. for example livecd absolutely can take image from linux but i want to take an image from windows too thanks for your guidance i am really appreciated. |
All times are GMT -5. The time now is 07:21 PM. |