Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

binknon7

macrumors newbie
Original poster
Jul 9, 2013
22
0
Hi people, previously I has been trying to install Kali Linux on my usb. I found this site and follow it (https://forums.kali.org/showthread.php?303-Kali-Linux-install-to-USB-key-using-Mac)

Now here is the problem, I have used the command
Code:
sudo dd if=kali.dmg of=/dev/rdisk1 bs=512k
which I think it change or replace my OS X main drive.
jbSS31l.png

I still believe that my OS X drive still exist because the "hard drive" icon that I modified still appeared on the screen.
0

I decided to check all the drive on my laptop and here is the result using
Code:
df
on terminal and here is the result.
zjlpCxB.png


Does any if these is my OS X that has been replaced?

ps. I checked this by install new OS X on external hard drive.
 
Last edited:
but this is OS X on my macbook pro...

It's a software question, not a hardware question. OS X on an iMac or a MacBook, or a Mac Mini or whatever is identical, so it should be posted in the software section.

And since this is about Linux actually, it should be posted under Windows, Linux and other OSes on a Mac. People who hang out in those areas will know more about your question.
 
It's a software question, not a hardware question. OS X on an iMac or a MacBook, or a Mac Mini or whatever is identical, so it should be posted in the software section.

And since this is about Linux actually, it should be posted under Windows, Linux and other OSes on a Mac. People who hang out in those areas will know more about your question.

ok thanks
 
IF you don't know what the dd command does, then I'd be very careful with it. I'm not seeing what rdisk1 is mapped too, it could be your OS X disk, so you may do some damage.

Whats the mount point of the USB thumb drive?


[MOD NOTE]
I moved this to the Windows, Linux & Others on the Mac forum as this is the best place for it
 
what is /dev/rdisk1 on your system?

on this MBP i'm using there is /dev/rdisk0 and /dev/rdisk1, which I assume are my internal drives (have two).

DD'ing stuff to any of those would be disastrous.
 
Right now, I have a Mac Mini with only a single disk, no DMGs mounted, no USB thumb drives.
I don't have a rdisk1 mounted
 
IF you don't know what the dd command does, then I'd be very careful with it. I'm not seeing what rdisk1 is mapped too, it could be your OS X disk, so you may do some damage.

Whats the mount point of the USB thumb drive?


[MOD NOTE]
I moved this to the Windows, Linux & Others on the Mac forum as this is the best place for it



Hi Moderator, here is all my drives' mount point:
HDD mount point:
YCUJM21.png

Kali Linux Mount point(Which I believe it replace my OS X mount point)
t76sm8o.png

And Finally my OS X(which run from External HDD)
5zukCOp.png


AS I can remember, I think my old OS X mount point is rdisk1 which I believe you're right...but how can I check or recover it?
Thank you for your help :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.