FreeBSD Bugzilla – Attachment 11787 Details for
Bug 23064
Alphas do not boot if `a' (/) partition isn't at a lower offset than `b' (swap)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
label.diff
label.diff (text/plain; charset=us-ascii), 1.11 KB, created by
Kees Jan Koster
on 2001-06-18 20:37:20 UTC
(
hide
)
Description:
label.diff
Filename:
MIME Type:
Creator:
Kees Jan Koster
Created:
2001-06-18 20:37:20 UTC
Size:
1.11 KB
patch
obsolete
>--- release/sysinstall/label.c.orig Mon Jun 18 20:54:02 2001 >+++ release/sysinstall/label.c Mon Jun 18 21:28:33 2001 >@@ -965,6 +965,27 @@ > clear_wins(); > break; > } >+ >+#ifdef __alpha__ >+ /* >+ * SRM seems to assume that the root partition is the first on >+ * the disk and cannot boot otherwise. Warn Alpha users if they >+ * are about to shoot themselves in the foot in this way. >+ * >+ * Since partitions may not start precisely at offset 0 we >+ * check for a "close to 0" instead. :-( >+ */ >+ if ((flags & CHUNK_IS_ROOT) && (tmp->offset > 1024)) { >+ msgConfirm("Your root partition (a) does not seem to be the first\n" >+ "partition. SRM can only boot from the first partition,\n" >+ "so it is unlikely that your current disk layout will\n" >+ "be bootable boot after installation.\n" >+ "\n" >+ "Please allocate the root partition before allocating\n" >+ "any others.\n"); >+ } >+#endif >+ > if (type != PART_SWAP) { > /* This is needed to tell the newfs -u about the size */ > tmp->private_data = new_part(p->mountpoint, p->newfs, tmp->size);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23064
:
11786
| 11787