View Full Version : Help with RAID
Ianxxx
03-28-2008, 08:17 PM
Hope someone can help, I tried to install raid and failed.
could someone make a few points clear for me.
1. boot1h on BOOT or RAID partition?
2. Same with ./boot_v8 on BOOT or RAID
3. Should var be on boot I got a load of errors.
4. Is it possible to install hard links that point to files on RAID rather than actually having the files on BOOT.
roisoft
03-28-2008, 08:29 PM
2 HD for Software Raid. (both GUID)
1HD. 1. Boot Partition 1gb(enough) (install efi on this partition)
2. Rest of the disk first Piece of Raid
2HD. All the drive second piece of the Raid
You only need this files on Boot (picture) + mach_kernel (root)
http://www.imagehut.eu/images/18951boot.png
install efi for the BOOT(GUID) partition
Install Leo into the RAID partition: Take note of the UUID
http://www.imagehut.eu/images/61116uuid.jpg
and add this line into the boot.plist (Boot & Raid)
http://www.imagehut.eu/images/73574boot.jpg
Ianxxx
03-29-2008, 04:25 AM
Thanks for the help sorry I didn't reply till now been trying it out spent all day struggling for nothing, thinking I was doing something wrong turned out to be an error on one of my disks. Might have another go tomorrow or might just wait till I can afford a faster disk. I'm stuck with bloody seagate at the moment piece of f**king crap that they are lol.
Just an update got it working fine, scores are still pretty low, but double what they where 2x80gig seagate disks.
That knocks my xbench score up a little.
Ianxxx
03-30-2008, 08:43 PM
I want to make a script to update Extensions.mkext and then copy/overwrite mach_kernel + Extensions.mkext + Library/Preferences/SystemConfiguration/com.apple.Boot.plist + System/Library/CoreServices/SystemVersion.plist
and set permissions.
So that its a simpler matter when ever I update anything. Anyone know how to do this I had a couple of goes at writing a script but its something I haven't done for about 8 years so not exactly my strong point.
It would be fantastic if this script could mount and unmount my boot partition.
Ianxxx
03-30-2008, 11:02 PM
this is as far as I have got.
diskutil mount /dev/disk0s2
ditto -rsrc /Volumes/MacHD/mach_kernel /Volumes/BOOT/mach_kernel
ditto -rsrc /Volumes/MacHD/System/Library/Extensions.mkext /Volumes/BOOT/System/Library/Extensions.mkext
ditto -rsrc /Volumes/MacHD/Library/Preferences/SystemConfiguration/com.apple.Boot.plist /Volumes/BOOT/Library/Preferences/SystemConfiguration/com.apple.Boot.plist
ditto -rsrc /Volumes/MacHD/System/Library/CoreServices/SystemVersion.plist /Volumes/BOOT/System/Library/CoreServices/SystemVersion.plist
diskutil umount /dev/disk0s2
question is how do I put sudo in to a script to prompt for password, and perhaps even open script from terminal by double clicking with mouse.