Using Kali Linux via bootable USB

I installed Kali on my USB and it worked fine on my Windows PC but when I launch it on my Macbook Pro (using rEFInd) it says "end kernel panic - not syncing vfs unable to mount root fs on unknown-block(0 0)"


How do I fix that??

Posted on Nov 12, 2016 12:19 PM

Reply
25 replies

Nov 13, 2016 5:44 AM in response to noam2699

rEFInd does not manage partitions. You partition in steps 4 and 5. The error message indicates that the root file system is unmountable on disk0. If this is coming from the USB you built, it is a Linux Installer, with a Live component in it. The USB may have an issue, because disk0 on the Mac is the internal disk. For example look at step 13. I suggest that you follow the steps exactly and literally till the end and then report any issues.

Nov 13, 2016 6:38 AM in response to Loner T

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *32.0 GB disk0

1: 0x17 3.0 GB disk0s1

2: DOS_FAT_12 NO NAME 110.1 MB disk0s2

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *320.1 GB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_CoreStorage 297.0 GB disk1s2

3: Apple_Boot Recovery HD 650.0 MB disk1s3

/dev/disk2

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD *296.7 GB disk2

Logical Volume on disk1s2

7B9DD9D3-DE78-4C29-B1D7-64D7552D40FE

Unencrypted

gpt show: /dev/disk0: mediasize=32010928128; sectorsize=512; blocks=62521344

gpt show: /dev/disk0: MBR at sector 0

gpt show: /dev/disk0: Sec GPT at sector 62521343

start size index contents

0 1 MBR

1 63

64 5794208 1 MBR part 23

5794272 215040 2 MBR part 1

6009312 56511999

62521311 32 Sec GPT table

62521343 1 Sec GPT header

Disk: /dev/disk0 geometry: 3891/255/63 [62521344 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

*1: 17 0 2 1 - 1022 176 32 [ 64 - 5794208] OS/2 hidden

2: 01 1023 0 1 - 1023 176 32 [ 5794272 - 215040] DOS FAT-12

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

Nov 13, 2016 6:48 AM in response to noam2699

Your disk0 is incorrect. It needs to be a GPT with the first partition being an EFI partition, as your disk1 shows. You need to ask the Kali folks or erase/format this USB as GPT using OS X Disk Utility and then download the Kali installer. Using a PC has made it a MBR disk and there are boot ability issues on 2011 Macs with external MBR USBs.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using Kali Linux via bootable USB

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.