Code:
import java.io.*;
public class Test {
public static void main(String[] args) throws IOException {
File f = new File("pantherDVD1.iso");
long len = f.length();
System.out.println("Length was " + len);
RandomAccessFile raf = new RandomAccessFile(f, "rw");
raf.seek(len);
while (len % 516096 != 0) {
len++;
raf.write((byte)0);
}
System.out.println("Length is now " + len);
raf.close();
}
}
It works. I ran that on my DVD ISO ripped using "Save Track..." in Nero and changed my config file line to make it be treated as a HD. I already started a thread
http://www.emaculation.com/phpBB/viewtopic.php?t=1622
about the problem I was getting using the ISO as a CD image. With this fix, I don't get that error and my install is now ~ 1/2 done.