Can't partition drive or install 10.6 or 10.7

dutch85

macrumors newbie
Original poster
Jul 7, 2009
9
0
So, I have had quite the array of problems the past week or two.

It all started when my mac randomly froze, when I started it back up it was asking for login info. I originally had it setup to automatically login. It would not accept my user password, I tried a plethora of things including resetting password, creating a new user in single user mode ect what it came down to is me deleting the .AppleSetupdone file. I was able to setup a new user and all was good. So now that I could login and back my stuff up, I did that. Then since my Leopard install had two users one of which was useless and all my stuff was backed up, I figured I would finally upgrade to lion. My lion install kept freezing sometimes with an error sometimes without, there didn't seem to be any reoccurring pattern with the freezing and errors. I'm currently running leopard 10.3.3 from an SD card, and still trying to get any OS on my hard drive, but I get the following errors when trying to partition

POSIX reports: Cannot allocate memory
newfs_hfs: write (sector 0): Cannot allocate memory
POSIX reports: The operation couldn’t be completed. Input/output error

I have tried formatting/partitioning 2 different internal hard drives and I get the same errors, but I can format/partition usb drives and SD cards. I had to force unmount and use terminal to originally erase the internal drives. I was also able to format/partition as NTFS but not HFS+. I believe it is safe to say my RAM is fine since I am currently writing this post from an SD card install on the same mac.
 

dutch85

macrumors newbie
Original poster
Jul 7, 2009
9
0
So I think I have a bad SATA cable, I pulled it, and the is a very small section that is silver instead of black and when I rub my finger across it, it's rough.
 

dutch85

macrumors newbie
Original poster
Jul 7, 2009
9
0
I got my new SATA cable today, and it was smooth sailing from there. I found out that the area I thought was silver showing was actually just a dotted line for where the sata cable needed to be folded, but despite that my cable was bad and everything works great now.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.