08-03-2009,07:07 PM

Originally Posted by
Northbear
You should get GParted it's free and it's linux so all formats that will be used by linux are implemented.
http://gparted.sourceforge.net/
Best regards
Northbear
Gparted is a Gnome frontend for parted, and requires libparted. Since I have to compile libparted as the majority part of getting parted to work it would be harder to go straight to gparted in compilation terms. I found that I could after much effort in code change compile the latest version of parted - 1.9.0 but it would not recognize any disk/usb labels. So it contains some logic errors either through the use of the old compiler or my changes to make it compile (probably the latter). I wanted this version because it handled other filesystem types, which would have made it useful outside of the installer I am working on. However, I won't work on this version further because...
Good news however is that after wasting many hours on the 1.9.0 dead end, I easily compiled version 1.6.25.1 and it works on FAT, linux-swap, and ext2 partitions, which is enough to continue with the installer. It passed the manual command tests, and I was able to do everything from ps2-linux command prompt that I expect to script and work from initrd.
The initrd has to be compact so I used strip on the libraries, executables within and I believe I can get this to work as well but haven't tested it yet.
Thanks for the tip though!
PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA