Contribute
Register

XPS 13 L321X

Status
Not open for further replies.
You probably failed to set a partition active. Most BIOS require an active partition before the HDD is considered bootable.
You can set an active partition with fdisk.
That didn't work:
Code:
Brians-MBP:~ brian$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS MacOS                   127.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

/dev/disk1 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *32.0 GB    disk1
   1:                 DOS_FAT_32 CLOVER EFI              209.7 MB   disk1s1
   2:                  Apple_HFS install_osx             31.8 GB    disk1s2

Brians-MBP:~ brian$ sudo fdisk440 -e /dev/rdisk0
Password:
fdisk440: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
Enter 'help' for information
fdisk: 1> f 1
Partition 1 marked active.
fdisk:*1> w
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n] y
Writing MBR at offset 0.
fdisk: 1> q

Still getting "Operation System Not Found"
 
That didn't work:
Code:
Brians-MBP:~ brian$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS MacOS                   127.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

/dev/disk1 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *32.0 GB    disk1
   1:                 DOS_FAT_32 CLOVER EFI              209.7 MB   disk1s1
   2:                  Apple_HFS install_osx             31.8 GB    disk1s2

Brians-MBP:~ brian$ sudo fdisk440 -e /dev/rdisk0
Password:
fdisk440: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
Enter 'help' for information
fdisk: 1> f 1
Partition 1 marked active.
fdisk:*1> w
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n] y
Writing MBR at offset 0.
fdisk: 1> q

Still getting "Operation System Not Found"

Attach output of 'sudo fdisk /dev/disk0'
 
Attach output of 'sudo fdisk /dev/disk0'
Code:
Brians-MBP:~ brian$ sudo fdisk /dev/disk0
Password:
Disk: /dev/disk0    geometry: 15566/255/63 [250069680 sectors]
Signature: 0xAA55
         Starting       Ending
#: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
*1: EE 1023 254  63 - 1023 254  63 [         1 -  250069679] <Unknown ID>
2: 00    0   0   0 -    0   0   0 [         0 -          0] unused     
3: 00    0   0   0 -    0   0   0 [         0 -          0] unused     
4: 00    0   0   0 -    0   0   0 [         0 -          0] unused
 
Code:
Brians-MBP:~ brian$ sudo fdisk /dev/disk0
Password:
Disk: /dev/disk0    geometry: 15566/255/63 [250069680 sectors]
Signature: 0xAA55
         Starting       Ending
#: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
*1: EE 1023 254  63 - 1023 254  63 [         1 -  250069679] <Unknown ID>
2: 00    0   0   0 -    0   0   0 [         0 -          0] unused    
3: 00    0   0   0 -    0   0   0 [         0 -          0] unused    
4: 00    0   0   0 -    0   0   0 [         0 -          0] unused

You now have an active partition.
You should check for valid boot record.

Dump all the boot records:
Code:
sudo dd if=/dev/rdisk0 of=/tmp/mbr count=1 bs=512
xxd</tmp/mbr|tail
sudo dd if=/dev/rdisk0s1 of=/tmp/pbr count=1 bs=512
xxd</tmp/pbr|tail
sudo dd if=/dev/rdisk0s1 of=/tmp/pbr count=2 bs=512
xxd</tmp/pbr|tail
# all of above should end in 55aa
 
You now have an active partition.
You should check for valid boot record.

Dump all the boot records:
Code:
sudo dd if=/dev/rdisk0 of=/tmp/mbr count=1 bs=512
xxd</tmp/mbr|tail
sudo dd if=/dev/rdisk0s1 of=/tmp/pbr count=1 bs=512
xxd</tmp/pbr|tail
sudo dd if=/dev/rdisk0s1 of=/tmp/pbr count=2 bs=512
xxd</tmp/pbr|tail
# all of above should end in 55aa
Yes, seems all end in 55aa
Code:
Brians-MBP:~ brian$ sudo dd if=/dev/rdisk0 of=/tmp/mbr count=1 bs=512
Password:
Sorry, try again.
Password:
1+0 records in
1+0 records out
512 bytes transferred in 0.000395 secs (1296007 bytes/sec)
Brians-MBP:~ brian$ sudo dd if=/dev/rdisk0 of=/tmp/mbr count=1 bs=512 xxd</tmp/mbr|tail
dd: unknown operand xxd
Brians-MBP:~ brian$ xxd</tmp/mbr|tail
00000160: c366 6089 e51e 1e66 8b0e 00e4 6651 0653  .f`....f....fQ.S
00000170: 30e4 506a 1089 e6b4 42cd 1373 0531 c0cd  0.Pj....B..s.1..
00000180: 13f9 89ec 6661 c360 57be ace1 e806 005e  ....fa.`W......^
00000190: e802 0061 c3bb 0100 fcac 3c00 7406 b40e  ...a......<.t...
000001a0: cd10 ebf5 c365 7272 6f72 0000 0a0d 626f  .....error....bo
000001b0: 6f74 3061 663a 2000 0000 0000 0000 80fe  ot0af: .........
000001c0: ffff eefe ffff 0100 0000 afc2 e70e 0000  ................
000001d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001e0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001f0: 0000 0000 0000 0000 0000 0000 0000 55aa  ..............U.
Brians-MBP:~ brian$ sudo dd if=/dev/rdisk0s1 of=/tmp/pbr count=1 bs=512
1+0 records in
1+0 records out
512 bytes transferred in 0.000367 secs (1394470 bytes/sec)
Brians-MBP:~ brian$ xxd</tmp/pbr|tail
00000160: 58c3 6660 89c3 6631 c088 d883 fb40 7202  X.f`..f1.....@r.
00000170: b040 e812 0029 c374 0b66 01c1 c1e0 0966  .@...).t.f.....f
00000180: 01c2 ebe2 6661 c366 6006 89e5 89d3 80e7  ....fa.f`.......
00000190: 0f66 c1ea 0430 d28e c21e 1e66 030e 1c7c  .f...0.....f...|
000001a0: 6651 0653 30e4 506a 108a 1640 7c89 e6b4  fQ.S0.Pj...@|...
000001b0: 42cd 130f 824c ff89 ec07 6661 c300 0000  B....L....fa....
000001c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001e0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001f0: 0000 0000 0000 0000 0000 0000 0000 55aa  ..............U.
Brians-MBP:~ brian$ sudo dd if=/dev/rdisk0s1 of=/tmp/pbr count=2 bs=512
2+0 records in
2+0 records out
1024 bytes transferred in 0.000489 secs (2094084 bytes/sec)
Brians-MBP:~ brian$ xxd</tmp/pbr|tail
00000360: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000370: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000380: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000390: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003a0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003b0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003e0: 0000 0000 7272 4161 d49e 0400 3df8 0200  ....rrAa....=...
000003f0: 0000 0000 0000 0000 0000 0000 0000 55aa  ..............U.
 
Yes, seems all end in 55aa
Code:
Brians-MBP:~ brian$ sudo dd if=/dev/rdisk0 of=/tmp/mbr count=1 bs=512
Password:
Sorry, try again.
Password:
1+0 records in
1+0 records out
512 bytes transferred in 0.000395 secs (1296007 bytes/sec)
Brians-MBP:~ brian$ sudo dd if=/dev/rdisk0 of=/tmp/mbr count=1 bs=512 xxd</tmp/mbr|tail
dd: unknown operand xxd
Brians-MBP:~ brian$ xxd</tmp/mbr|tail
00000160: c366 6089 e51e 1e66 8b0e 00e4 6651 0653  .f`....f....fQ.S
00000170: 30e4 506a 1089 e6b4 42cd 1373 0531 c0cd  0.Pj....B..s.1..
00000180: 13f9 89ec 6661 c360 57be ace1 e806 005e  ....fa.`W......^
00000190: e802 0061 c3bb 0100 fcac 3c00 7406 b40e  ...a......<.t...
000001a0: cd10 ebf5 c365 7272 6f72 0000 0a0d 626f  .....error....bo
000001b0: 6f74 3061 663a 2000 0000 0000 0000 80fe  ot0af: .........
000001c0: ffff eefe ffff 0100 0000 afc2 e70e 0000  ................
000001d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001e0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001f0: 0000 0000 0000 0000 0000 0000 0000 55aa  ..............U.
Brians-MBP:~ brian$ sudo dd if=/dev/rdisk0s1 of=/tmp/pbr count=1 bs=512
1+0 records in
1+0 records out
512 bytes transferred in 0.000367 secs (1394470 bytes/sec)
Brians-MBP:~ brian$ xxd</tmp/pbr|tail
00000160: 58c3 6660 89c3 6631 c088 d883 fb40 7202  X.f`..f1.....@r.
00000170: b040 e812 0029 c374 0b66 01c1 c1e0 0966  .@...).t.f.....f
00000180: 01c2 ebe2 6661 c366 6006 89e5 89d3 80e7  ....fa.f`.......
00000190: 0f66 c1ea 0430 d28e c21e 1e66 030e 1c7c  .f...0.....f...|
000001a0: 6651 0653 30e4 506a 108a 1640 7c89 e6b4  fQ.S0.Pj...@|...
000001b0: 42cd 130f 824c ff89 ec07 6661 c300 0000  B....L....fa....
000001c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001e0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000001f0: 0000 0000 0000 0000 0000 0000 0000 55aa  ..............U.
Brians-MBP:~ brian$ sudo dd if=/dev/rdisk0s1 of=/tmp/pbr count=2 bs=512
2+0 records in
2+0 records out
1024 bytes transferred in 0.000489 secs (2094084 bytes/sec)
Brians-MBP:~ brian$ xxd</tmp/pbr|tail
00000360: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000370: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000380: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000390: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003a0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003b0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000003e0: 0000 0000 7272 4161 d49e 0400 3df8 0200  ....rrAa....=...
000003f0: 0000 0000 0000 0000 0000 0000 0000 55aa  ..............U.

Then probably your BIOS does not support booting legacy to a GPT drive.
You will need to convert it to MBR or use UEFI.
 
Then probably your BIOS does not support booting legacy to a GPT drive.
You will need to convert it to MBR or use UEFI.
UEFI from what I understand isn't supported on this laptop. I tried seeing about a modified bios on bios-mods.com but no replies so not holding my breath.

Converting to MBR, do I need to reinstall? What is the process to do this via MBR? I didn't see that in the Clover guide. Im ok reinstalling again, just want to make sure I do it right.

OSXLatitude suggests patching the installer? http://forum.osxlatitude.com/index.php?/topic/9906-dell-xps-l321x-el-capitan-install/
thats against the rules here though, right? Id prefer to do it the way you advise to make sure I stay within the rules and do it right.
 
UEFI from what I understand isn't supported on this laptop. I tried seeing about a modified bios on bios-mods.com but no replies so not holding my breath.

Converting to MBR, do I need to reinstall? What is the process to do this via MBR? I didn't see that in the Clover guide. Im ok reinstalling again, just want to make sure I do it right.

OSXLatitude suggests patching the installer? http://forum.osxlatitude.com/index.php?/topic/9906-dell-xps-l321x-el-capitan-install/
thats against the rules here though, right? Id prefer to do it the way you advise to make sure I stay within the rules and do it right.

I wrote about converting to MBR in my DH67xx guide.
Read relevant section in post #5:
https://www.tonymacx86.com/threads/...-i7-2600k-hd3000-ml-10-8-2.77676/#post-520519
 
I converted per your instructions and now
I wrote about converting to MBR in my DH67xx guide.
Read relevant section in post #5:
https://www.tonymacx86.com/threads/...-i7-2600k-hd3000-ml-10-8-2.77676/#post-520519
Success! We are now booting from HDD.
Although, this did introduce it own problems:

Audio stopped working
Battery status is X'd out and says no battery available


Booting from the USB these work 100%. I copied the EFI folder from USB and replaced the one on my HDD with it. Shouldn't they be essentially the same now?
 
Status
Not open for further replies.
Back
Top