Jump to content

vector sigma

Developers
  • Content count

    399
  • Joined

  • Last visited

  • Days Won

    4

vector sigma last won the day on August 3

vector sigma had the most liked content!

About vector sigma

  • Rank
    InsanelyMac Sage

Profile Information

  • Gender
    Male

Recent Profile Visitors

1,483 profile views
  1. Hi Sir, install-updater.sh is unused to build the package (or to install the updater with the package), and not sure why is there or who ever used it...probably some old tests about installing for-one-user instead of for-all-users. About setting the deployment target to 10.13 this just disallow old OSes to run or compile the program and there is no one warning produced by the actual CloverPrefpane.xcodeproj in Xcode 10 GM unless you decide to upgrade the settings proposed by Xcode to use ARC (which would eventually require some changes) instead of the actual manual memory retain/release cycles which is still perfectly fine, more the linker is still supporting snow leopard.
  2. vector sigma

    Clover General discussion

    Is not important just because dd overwrite those file in any case before proceed. No need for any other task.
  3. vector sigma

    Clover General discussion

    Isn't a checkbox, it's an alert window and is what make this installer better -> commit
  4. vector sigma

    Clover General discussion

    Sorry, I forgot about it. I'm still working on the package so next time I'll do the correction!
  5. vector sigma

    Clover General discussion

    @fusion71au can you try then this way? ### Stage 0 ### echo "Stage 0 - Writing ${diskloader} to ${bootrdisk}" >> "$install_log" echo dd if=${bootrdisk} count=1 bs=512 of=/tmp/origMBR >> "$install_log" dd if=${bootrdisk} count=1 bs=512 of=/tmp/origMBR echo cp /tmp/origMBR /tmp/newMBR >> "$install_log" cp /tmp/origMBR /tmp/newMBR echo dd if="${DEST_VOL}/usr/standalone/i386/${diskloader}" of=/tmp/newMBR bs=440 count=1 conv=notrunc >> "$install_log" dd if="${DEST_VOL}/usr/standalone/i386/${diskloader}" of=/tmp/newMBR bs=440 count=1 conv=notrunc echo fdisk -f /tmp/newMBR -u -y ${bootrdisk} >> "$install_log" fdisk -f /tmp/newMBR -u -y ${bootrdisk} echo "" >> "$install_log" just to ensure all is good. EDIT tested my self, working
  6. vector sigma

    Clover General discussion

    /dev/rdisk is closest to the physical, no doubt and usually the kernel filesystem extension isn't aware of what you are doing while is for /dev/disk.
  7. vector sigma

    Clover General discussion

    tried all possible solution with dd, but work only if the OS didn't claim the disk. But imho who knows. fdisk appear to not have this problem.
  8. vector sigma

    Clover General discussion

    Compile fine here with all the Xcode I have, Xcode 10 included in 10.14. Just exluded the 32 bit part from the make file: PROGRAM = fdisk440 SRCROOT := $(abspath $(CURDIR)/..) SYMROOT := $(abspath $(CURDIR)/../../sym) OBJROOT := $(SYMROOT)/build/$(PROGRAM) INSTALL_DIR_NAME := utils UTILSDIR := $(SYMROOT)/$(INSTALL_DIR_NAME) DIRS_NEEDED := $(OBJROOT) include ${SRCROOT}/Make.rules LDFLAGS := $(LDFALGS) -mmacosx-version-min=10.6 SRCS := $(wildcard *.c) OBJS = $(SRCS:.c=.o64) OBJS := $(addprefix $(OBJROOT)/, $(OBJS)) PROGRAM := $(addprefix $(UTILSDIR)/, $(PROGRAM)) all: $(PROGRAM) $(PROGRAM): $(DIRS_NEEDED) $(OBJS) @mkdir -p $(UTILSDIR) @echo "\t[LD64] $(@F)_64" @$(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -arch x86_64 -o $@_64 $(filter %.o64,$^) @echo "\t[LIPO] $@" @lipo -create -arch x86_64 $@_64 -output $@ @strip $@ @rm $@_64 install-local: $(PROGRAM) @sudo install -d -g 0 -o 0 /usr/local/bin /usr/local/man/man8 @sudo install -psv -g 0 -o 0 $(PROGRAM) /usr/local/bin @sudo install -pv -g 0 -o 0 fdisk440.8 /usr/local/man/man8 clean-local: @rm -f $(PROGRAM) @rm -rf $(OBJROOT) *~ fdisk440.zip
  9. vector sigma

    Clover General discussion

    @fusion71au, I made really tens and tens of tests installing boot sectors, and I have to admit that using dd is a pain. It worked once but mostly I get 'Resource Busy' even on un-monted devices, also using Terminal. I've rolled back fdisk440 in my working copy but this time is 64 bit only and is linked to 10.6 as minimum. Please try and let my know, here work like a sharm: Clover_r4637_fdisk440-64bit.pkg P.S. during my tests I've understood also why many peoples claim that the pkg didn't records choices previously selected: the Distribution is set to not allowing external scripts and so java functions cannot be used to read the com.projectosx.clover.installer.plist. The attached pkg is able again. @Slice, are you opposed to using fdisk440 again? Let me know because I'm ready for a commit..
  10. vector sigma

    Clover General discussion

    With both dd and fdisk440 you will get "Resource Busy" and this is what cause the failure. I can propose to use dd only for boot1f32: /bin/dd if=/dev/rawdisk count=1 bs=512 of=/path/to/origbootsectors /bin/dd if=/private/tmp/origbootsectors of=/path/to/boot1f32_copy skip=3 seek=3 bs=1 count=87 conv=notrunc /bin/dd if=/path/to/boot1f32_copy of=/dev/rawdisk count=1 bs=512 in other all other cases just use boot1-install: /path/to/boot1-install -y -u -f /path/to/boot1xx /dev/rawdisk where the -u option given used only if the target volume is not "/", otherwise -M. And additional task is to remount the Volume if that doesn't happen. boot1-install is well aware of what to do and automatically.. But for boot0, isn't fdisk (not fdisk440) just enough since we have to write 512 bytes and not 440? I mean, we can just save to a file from byte at index 440 to byte at index 511 and merge all with our first 440 bytes????. Just an idea so the stock fdisk will be just fine.. Il try that..
  11. vector sigma

    Clover General discussion

    Guys try r4636
  12. vector sigma

    Clover General discussion

    true truth
  13. vector sigma

    Clover General discussion

    Well, but I hope it is clear that Clover didn't remove any kext, no way.
  14. vector sigma

    Clover General discussion

    It's too bad to install the FakeSMC among Clover: 1) user can have it in SLE already 2) user can have plugins from an incompatible branch anywhere, and cause kp. really a bad thing mixing stuff.
  15. vector sigma

    Clover General discussion

    +1. But to correct my self, I wanted to say ban apfs.efi only if 1) ApfsDriverLoader is not present. 2) any?
×