label.c (79678) | label.c (79680) |
---|---|
1/* 2 * The new sysinstall program. 3 * 4 * This is probably the last program in the `sysinstall' line - the next 5 * generation being essentially a complete rewrite. 6 * | 1/* 2 * The new sysinstall program. 3 * 4 * This is probably the last program in the `sysinstall' line - the next 5 * generation being essentially a complete rewrite. 6 * |
7 * $FreeBSD: head/usr.sbin/sysinstall/label.c 79678 2001-07-13 16:37:03Z obrien $ | 7 * $FreeBSD: head/usr.sbin/sysinstall/label.c 79680 2001-07-13 16:45:00Z obrien $ |
8 * 9 * Copyright (c) 1995 10 * Jordan Hubbard. All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright --- 947 unchanged lines hidden (view full) --- 963 if (!tmp) { 964 msgConfirm("Unable to create the partition. Too big?"); 965 clear_wins(); 966 break; 967 } 968 969#ifdef __alpha__ 970 /* | 8 * 9 * Copyright (c) 1995 10 * Jordan Hubbard. All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright --- 947 unchanged lines hidden (view full) --- 963 if (!tmp) { 964 msgConfirm("Unable to create the partition. Too big?"); 965 clear_wins(); 966 break; 967 } 968 969#ifdef __alpha__ 970 /* |
971 * The boot blocks require that the root partition is at the | 971 * SRM requires that the root partition is at the |
972 * begining of the disk and cannot boot otherwise. 973 * Warn Alpha users if they are about to shoot themselves in 974 * the foot in this way. 975 * 976 * Since partitions may not start precisely at offset 0 we 977 * check for a "close to 0" instead. :-( 978 */ 979 if ((flags & CHUNK_IS_ROOT) && (tmp->offset > 1024)) { | 972 * begining of the disk and cannot boot otherwise. 973 * Warn Alpha users if they are about to shoot themselves in 974 * the foot in this way. 975 * 976 * Since partitions may not start precisely at offset 0 we 977 * check for a "close to 0" instead. :-( 978 */ 979 if ((flags & CHUNK_IS_ROOT) && (tmp->offset > 1024)) { |
980 msgConfirm("Your root partition (a) does not seem to be the first\n" 981 "partition. The Alpha can only boot from the first partition,\n" 982 "so it is unlikely that your current disk layout will\n" 983 "be bootable boot after installation.\n" | 980 msgConfirm("Your root partition `a' does not seem to be the first\n" 981 "partition. The Alpha's firmware can only boot from the\n" 982 "first partition. So it is unlikely that your current\n" 983 "disk layout will be bootable boot after installation.\n" |
984 "\n" 985 "Please allocate the root partition before allocating\n" 986 "any others.\n"); 987 } 988#endif /* alpha */ 989 990 if (type != PART_SWAP) { 991 /* This is needed to tell the newfs -u about the size */ --- 331 unchanged lines hidden --- | 984 "\n" 985 "Please allocate the root partition before allocating\n" 986 "any others.\n"); 987 } 988#endif /* alpha */ 989 990 if (type != PART_SWAP) { 991 /* This is needed to tell the newfs -u about the size */ --- 331 unchanged lines hidden --- |