Posted: Mon Aug 29, 2005 4:00 pm Post subject: Question about deleting files from the E drive
Not sure I'm posting in the right area or not, but what I'm trying to do is learn the different things that I can do with the config.xml file of unleashx. I am currently playing with a retail restore disk that takes a softmodded xbox back to a very clean retail state by deleting everything off the c and e drives and replacing them with the retail files. It handles the c drive fine, but after deleting the E files it starts to write the new ones and goes to an error 21 screen. Here is the list coding from the menu section that I have so far if that will help:
<List Text="Restore Xbox back to Retail" Sort="Off" Batch="True">
<Item Action="AskUser" Arg1="Restore">This will delete all data from your C and E drives including game saves and replace them with the retail files. Are you sure that you wish to proceed?</Item>
<Item Action="Delete" Arg1="C:\"></Item>
<Item Action="Unzip" Arg1="D:\Restore\c.zip" Arg2="C:\"></Item>
<Item Action="Delete" Arg1="E:\"></Item>
<Item Action="Unzip" Arg1="D:\Restore\e.zip" Arg2="E:\"</Item>
<Item Action="MessageBox" Arg1="Complete">To complete the restoration, please reboot your xbox.</Item>
</List>
Am I missing something that is causing it to bomb on the E drive part of it?
Any ideas would be greatly appreciacted.
forahobby Administrator
Joined: May 22, 2003 Posts: 23945 Location: NSW, Australia
Posted: Mon Aug 29, 2005 4:30 pm Post subject:
are both the .zip files tested and unzipping fine on your pc?
It could be a corrupt .zip file maybe.. Thats where i would start.. Then you can rule that out and move on..
Yeah, they both extract fine on my pc. And I can transfer them through ftp ok, but thats not clearing the files first, just adding to whats already there. I wouldn't think it to be a file permission problem since I'm booting from the disk, and the test xbox is setup to where nkpatcher and dash loads off the c drive and the boot disk clears and replaces the c drive contents first. Do you think maybe it should do the E drive first then the C or am I stupifying this problem and does my code look like it should work properly?
Addicted Xbox-HQ Enthusiast
Joined: Aug 14, 2005 Posts: 25
Posted: Mon Aug 29, 2005 4:46 pm Post subject:
WHat happens when u restart the Xbox without the disk inserted after getting the error? Are all the files unpacked properly?
Maybe u could try switching the order in which the two drives are handled as u mentioned, just to see if the problem lies with the E:\ drive or just appears everytime your procedure is complete...
forahobby Administrator
Joined: May 22, 2003 Posts: 23945 Location: NSW, Australia
Posted: Mon Aug 29, 2005 4:47 pm Post subject:
i dont see a format command there anywhere to format the hard drive so its fresh.. Maybe thats what your doing wrong..
Quote:
<Item Action="Delete" Arg1="C:\"></Item>
I dont believe that would do anyting that line above..
You need to run the FORMAT COMMAND on C:\ and then E:\ and then copy (extact) the zips to there proper place.
If I reboot the xbox, the retail dash works, but I can tell that it has not unpacked the E drive properly. It will not allow me to save a game or rip music, says there is not enough disk space which tells me that the folder where the data is to be saved is not there.
Crap, I dunno why I didn't think about the format command.... It can't really delete C or E.....
I will give that a try Forahobby,
Thanks guys!!
forahobby Administrator
Joined: May 22, 2003 Posts: 23945 Location: NSW, Australia
Posted: Mon Aug 29, 2005 5:10 pm Post subject:
its 3am in the morning here so ill email DJB who wrote the Auto Installer Deluxe using UNLEASHX..
So he will know all the little commands you need.
Actually you could just open the AID2 and check his scripts for fomatting and copy some code.. Just credit him for helping you with your little scripts.
Anyway, good luck with it.. Im sure UNLEASH has a manual available also with all the commands.
If DJB were to read this, I wonder if I were to make this into a distribution if you would know where I could get a tool like your AID iso updater to include with the distro to reduce the size of the download, that way all you would have to do is to either burn to a cd-rw or inject a 1GB dummy file for a dvd?
Thanks for any advice!
DJB Administrator
Joined: May 23, 2003 Posts: 4031 Location: NSW, Australia
Posted: Tue Aug 30, 2005 5:51 am Post subject:
sadalius wrote:
Got it working, works pretty good too!!
If DJB were to read this, I wonder if I were to make this into a distribution if you would know where I could get a tool like your AID iso updater to include with the distro to reduce the size of the download, that way all you would have to do is to either burn to a cd-rw or inject a 1GB dummy file for a dvd?
Thanks for any advice!
I did read it earlier, but I had to go to work. Basically if you're just wanting to clear the drive's contents, DELETE would work the same as FORMAT (just as long as the drive is formatted ofcourse).
If you want to you can use the AID ISO updater to update the AID ISO with your new config file, just remember to make sure you make the RAR file properly before trying (look at some of my addon packs as example)...
forahobby Administrator
Joined: May 22, 2003 Posts: 23945 Location: NSW, Australia
Posted: Tue Aug 30, 2005 7:36 am Post subject:
Glad you got it working..
Thanks DJB for replying too.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum