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

Collapse All | Expand All

(-)release/sysinstall/label.c Mon Jun 18 21:28:33 2001 (+26 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
980
first\n"
981
                              "partition. SRM can only boot from the first
982
partition,\n"
983
                              "so it is unlikely that your current disk layout
984
will\n"
985
                              "be bootable boot after installation.\n"
986
                              "\n"
987
                              "Please allocate the root partition before
988
allocating\n"
989
                              "any others.\n");
990
               }
991
#endif
992
968
               if (type != PART_SWAP) {
993
               if (type != PART_SWAP) {
969
                   /* This is needed to tell the newfs -u about the size */
994
                   /* This is needed to tell the newfs -u about the size */
970
                   tmp->private_data = new_part(p->mountpoint, p->newfs,
995
                   tmp->private_data = new_part(p->mountpoint, p->newfs,
996
tmp->size);

Return to bug 23064