Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Installing on LFS
On Sat, 14 Nov 2015, Paul Goyette wrote:
I've been trying to install NetBSD on an LFS partition. sysinst allows
me to set the partition table fstype to 4.4LFS but when I tell it that
the partitions are OK, it reports
No bootcode for specified FS type of root partition |
>Hit enter to continue
(This is within a qemu virtual machine.)
Hmm, OK, it appears that sysinst doesn't know which bootcode to use for
lfs partitions.
Since lfs version 1 is deprecated, and any new partitions default to
lfs version 2, would the following patch be acceptable??
Index: md.h
===================================================================
RCS file: /cvsroot/src/usr.sbin/sysinst/arch/amd64/md.h,v
retrieving revision 1.1
diff -u -p -r1.1 md.h
--- md.h 26 Jul 2014 19:30:44 -0000 1.1
+++ md.h 14 Nov 2015 11:59:00 -0000
@@ -66,6 +66,7 @@
#define BOOTXXDIR "/usr/mdec"
#define BOOTXX_FFSV1 "bootxx_ffsv1"
#define BOOTXX_FFSV2 "bootxx_ffsv2"
+#define BOOTXX_LFS "bootxx_lfsv2"
/*
Similar changes could also be made to other arch's if they support lfs.
+------------------+--------------------------+-------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+-------------------------+
Home |
Main Index |
Thread Index |
Old Index