hello, cmdr,
i just wanted to thank you for your response to my posting!
i also appreciate GREATLY the amount of time you put into your posting too!
i guess all i really need is just a tad of help with some of the linux stuff on the live cd.
to put it in terms that i know and hopefully you do to, this is all i am after:
1 - make dos bootable cd
2- cd boots and loads OS boot files
3 - then it loads autoexec.bat
contents:
gparted -s c:\somename.txt
reboot command
thats it.
i just do not know where on the live cd to put the 'autoexec' file and what the command is to mount the c drive
what i would do is to replace the original 'autoexec' on the cd with mine
example:
from:
gpartedgui
exit/reboot
to:
mount c drive
gparted -script c:\somefile.txt
exit/reboot
i just do not know how to do this. i am a wiz at dos/win programming, just an idiot when it comes to linux.
also, i noted (if i read correct) that when the command line ver of gparted is done, there is no 'reboot' command. if this is so, is there a linux command/app that would do this? i am sure that an app exist. again, i am a big dummy on this..
i just need 4 simple things:
1 - what file i need to modify for the 'autoexec'
2 - how to mount the c drive (which is the boot drive) via the 'autoexec'
3 - how to reboot the computer at the end of gparted via the 'autoexec'
4 - if i need to create a separate file for each gparted command
example:
file #1 - resize partition
file #2 - create new partition
file #3 - label new partition
OR
one file with all 3 commands in it
file #1:
resize
create
label
and what i am doing is:
1 - resizing a windows partition (making smaller and at the front)
2 - taking the unalloc part, creating 2 new parts
3 - taking one new part, making it ntfs and lableing it
4 - leaving 2nd new part alone
i am doing this by hand now, and for me to do it, it is no problem. the problem is having OTHERS doing it. you know, the regular users who think that their cd-rom tray is a cup holder..hehehehe
thus why i am trying to automate the process. i already have written an app in vb6 that generates the disk sizes for the resize and new parts, and it is stored on the c drive.
everything works, just be hand. and there are no 'freeware' apps (at least that i am aware of) that will do a dos/win based resize on a ntfs drive. now..hehe...if you know of one that will do a resize let me know!
that would make my life a WHOLE lot easier!
as far as replacing the original 'autoexec' file with my new one, i had intended to use an app like power iso or win iso to do the 'swap' using those type of apps and re-burn it.
and thank you for mentioning using 'diskpart' from MS, for that partition that is 'left alone', that is what i use in a later step.
also, the reason i prefer to use the live cd is that it appears that a lot of drivers are present for many types of systems. i would hate to create a 'base' linux boot cd and it not work on most systems. i am shooting for near 100% 'boot availability' on all p3+ machines.
any/all help for those 'simple' 4 things would be greatly appreciated!
again thank you very much for the help that you have offered!