View | Details | Raw Unified | Return to bug 23064 | Differences between
and this patch

Collapse All | Expand All

(-)release/sysinstall/label.c (+21 lines)
Lines 965-970 Link Here
965
		    clear_wins();
965
		    clear_wins();
966
		    break;
966
		    break;
967
		}
967
		}
968
969
#ifdef __alpha__
970
		/*
971
		 * SRM seems to assume that the root partition is the first on
972
		 * the disk and cannot boot otherwise. Warn Alpha users if they
973
		 * are about to shoot themselves in the foot in this way.
974
		 *
975
		 * Since partitions may not start precisely at offset 0 we
976
		 * check for a "close to 0" instead. :-(
977
		 */
978
		if ((flags & CHUNK_IS_ROOT) && (tmp->offset > 1024)) {
979
		    msgConfirm("Your root partition (a) does not seem to be the first\n"
980
			       "partition. SRM can only boot from the first partition,\n"
981
			       "so it is unlikely that your current disk layout will\n"
982
			       "be bootable boot after installation.\n"
983
			       "\n"
984
			       "Please allocate the root partition before allocating\n"
985
			       "any others.\n");
986
		}
987
#endif
988
968
		if (type != PART_SWAP) {
989
		if (type != PART_SWAP) {
969
		    /* This is needed to tell the newfs -u about the size */
990
		    /* This is needed to tell the newfs -u about the size */
970
		    tmp->private_data = new_part(p->mountpoint, p->newfs, tmp->size);
991
		    tmp->private_data = new_part(p->mountpoint, p->newfs, tmp->size);

Return to bug 23064