diff --git a/src/sys/boot/boot2/boot1.s b/src/sys/boot/boot2/boot1.s index 419ca46..55a39ab 100755 --- a/src/sys/boot/boot2/boot1.s +++ b/src/sys/boot/boot2/boot1.s @@ -351,7 +351,7 @@ .fill 0x30,0x1,0x0 part4: .byte 0x80, 0x00, 0x01, 0x00 - .byte 0xa5, 0xff, 0xff, 0xff + .byte 0x2a, 0xff, 0xff, 0xff .byte 0x00, 0x00, 0x00, 0x00 .byte 0x50, 0xc3, 0x00, 0x00 # 50000 sectors long, bleh diff --git a/src/sys/boot/boot2/boot2.c b/src/sys/boot/boot2/boot2.c index be0201c..2f1a8e3 100755 --- a/src/sys/boot/boot2/boot2.c +++ b/src/sys/boot/boot2/boot2.c @@ -54,7 +54,7 @@ #define PATH_CONFIG "/boot.config" #define PATH_BOOT3 "/boot/loader" -#define PATH_KERNEL "/kernel" +#define PATH_KERNEL "/ubix.elf" #define ARGS 0x900 #define NOPT 12 @@ -621,7 +621,7 @@ if (dsk.slice == WHOLE_DISK_SLICE) dsk.slice = sl; } - printf("dp_typ: [%u][%u][%u]\n",dp->dp_typ,WHOLE_DISK_SLICE,DOSPTYP_386BSD); + printf("dp_typ: [%u][%u][%u][%u]\n",dp->dp_typ,WHOLE_DISK_SLICE,DOSPTYP_386BSD,BASE_SLICE); if (sl != WHOLE_DISK_SLICE) { if (sl != COMPATIBILITY_SLICE) dp += sl - BASE_SLICE;