port the prep parts to ofppc. this is tested on a pegasosII box and
with a suitable ramdisk etc, you can actually install successfully. mostly the changes from port-prep are to switch the prep mkbootimage to an msdos boot partition with a copy of ofwboot in it.
This commit is contained in:
parent
8403b85c70
commit
0738c9d4c5
10
distrib/utils/sysinst/arch/ofppc/Makefile
Normal file
10
distrib/utils/sysinst/arch/ofppc/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# $NetBSD: Makefile,v 1.1 2008/01/02 11:30:30 mrg Exp $
|
||||
#
|
||||
# Makefile for ofppc
|
||||
#
|
||||
|
||||
MENUS_MD= menus.md.${SYSINSTLANG} menus.mbr
|
||||
MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG}
|
||||
LANGUAGES= en pl de
|
||||
|
||||
.include "../../Makefile.inc"
|
294
distrib/utils/sysinst/arch/ofppc/md.c
Normal file
294
distrib/utils/sysinst/arch/ofppc/md.c
Normal file
@ -0,0 +1,294 @@
|
||||
/* $NetBSD: md.c,v 1.1 2008/01/02 11:30:30 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Written by Philip A. Nelson for Piermont Information Systems Inc.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed for the NetBSD Project by
|
||||
* Piermont Information Systems Inc.
|
||||
* 4. The name of Piermont Information Systems Inc. may not be used to endorse
|
||||
* or promote products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
/* md.c -- Machine specific code for ofppc */
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <util.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include "defs.h"
|
||||
#include "msg_defs.h"
|
||||
#include "menu_defs.h"
|
||||
#include "md.h"
|
||||
#include "endian.h"
|
||||
|
||||
/* We use MBR_PTYPE_PREP like port-prep does. */
|
||||
static int nonewfsmsdos = 0, nobootfix = 0, bootpart = PART_BOOT;
|
||||
|
||||
int
|
||||
md_check_mbr(mbr_info_t *mbri)
|
||||
{
|
||||
mbr_info_t *ext;
|
||||
struct mbr_partition *part;
|
||||
int i;
|
||||
|
||||
for (ext = mbri; ext; ext = ext->extended) {
|
||||
part = ext->mbr.mbr_parts;
|
||||
for (i = 0; i < MBR_PART_COUNT; part++, i++) {
|
||||
if (part->mbrp_type != MBR_PTYPE_PREP)
|
||||
continue;
|
||||
bootstart = part->mbrp_start;
|
||||
bootsize = part->mbrp_size;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (bootsize < (MIN_MD_BOOT/512)) {
|
||||
msg_display(MSG_boottoosmall);
|
||||
msg_display_add(MSG_reeditpart, 0);
|
||||
process_menu(MENU_yesno, NULL);
|
||||
if (!yesno)
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
if (bootstart == 0 || bootsize == 0) {
|
||||
msg_display(MSG_nobootpart);
|
||||
msg_display_add(MSG_reeditpart, 0);
|
||||
process_menu(MENU_yesno, NULL);
|
||||
if (!yesno)
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
return 2;
|
||||
}
|
||||
|
||||
int
|
||||
md_mbr_use_wholedisk(mbr_info_t *mbri)
|
||||
{
|
||||
struct mbr_sector *mbrs = &mbri->mbr;
|
||||
mbr_info_t *ext;
|
||||
struct mbr_partition *part;
|
||||
|
||||
part = &mbrs->mbr_parts[0];
|
||||
/* Set the partition information for full disk usage. */
|
||||
while ((ext = mbri->extended)) {
|
||||
mbri->extended = ext->extended;
|
||||
free(ext);
|
||||
}
|
||||
memset(part, 0, MBR_PART_COUNT * sizeof *part);
|
||||
|
||||
part[0].mbrp_type = MBR_PTYPE_PREP;
|
||||
part[0].mbrp_size = MD_BOOT_SIZE/512;
|
||||
part[0].mbrp_start = bsec;
|
||||
part[0].mbrp_flag = 0;
|
||||
|
||||
part[1].mbrp_type = MBR_PTYPE_NETBSD;
|
||||
part[1].mbrp_size = dlsize - (bsec + MD_BOOT_SIZE/512);
|
||||
part[1].mbrp_start = bsec + MD_BOOT_SIZE/512;
|
||||
part[1].mbrp_flag = MBR_PFLAG_ACTIVE;
|
||||
|
||||
ptstart = part[1].mbrp_start;
|
||||
ptsize = part[1].mbrp_size;
|
||||
bootstart = part[0].mbrp_start;
|
||||
bootsize = part[0].mbrp_size;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
md_get_info(void)
|
||||
{
|
||||
|
||||
read_mbr(diskdev, &mbr);
|
||||
md_bios_info(diskdev);
|
||||
return edit_mbr(&mbr);
|
||||
}
|
||||
|
||||
int
|
||||
md_pre_disklabel(void)
|
||||
{
|
||||
|
||||
msg_display(MSG_dofdisk);
|
||||
|
||||
/* write edited MBR onto disk. */
|
||||
if (write_mbr(diskdev, &mbr, 1) != 0) {
|
||||
msg_display(MSG_wmbrfail);
|
||||
process_menu(MENU_ok, NULL);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
md_post_disklabel(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
md_post_newfs(void)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
md_copy_filesystem(void)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
md_make_bsd_partitions(void)
|
||||
{
|
||||
|
||||
return make_bsd_partitions();
|
||||
}
|
||||
|
||||
int
|
||||
md_check_partitions(void)
|
||||
{
|
||||
int part;
|
||||
|
||||
/* we need to find a boot partition, otherwise we can't create
|
||||
* our msdos fs boot partition. We make the assumption that
|
||||
* the user hasn't done something stupid, like move it away
|
||||
* from the MBR partition.
|
||||
*/
|
||||
for (part = PART_A; part < MAXPARTITIONS; part++)
|
||||
if (bsdlabel[part].pi_fstype == FS_BOOT) {
|
||||
bootpart = part;
|
||||
return 1;
|
||||
}
|
||||
|
||||
msg_display(MSG_nobootpartdisklabel);
|
||||
process_menu(MENU_ok, NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Upgrade support */
|
||||
int
|
||||
md_update(void)
|
||||
{
|
||||
|
||||
endwin();
|
||||
nonewfsmsdos = 1;
|
||||
md_copy_filesystem();
|
||||
md_post_newfs();
|
||||
wrefresh(curscr);
|
||||
wmove(stdscr, 0, 0);
|
||||
wclear(stdscr);
|
||||
wrefresh(stdscr);
|
||||
return 1;
|
||||
}
|
||||
|
||||
void
|
||||
md_cleanup_install(void)
|
||||
{
|
||||
|
||||
enable_rc_conf();
|
||||
|
||||
run_program(0, "rm -f %s", target_expand("/sysinst"));
|
||||
run_program(0, "rm -f %s", target_expand("/.termcap"));
|
||||
run_program(0, "rm -f %s", target_expand("/.profile"));
|
||||
}
|
||||
|
||||
int
|
||||
md_pre_update(void)
|
||||
{
|
||||
struct mbr_partition *part;
|
||||
mbr_info_t *ext;
|
||||
int i;
|
||||
|
||||
read_mbr(diskdev, &mbr);
|
||||
/* do a sanity check of the partition table */
|
||||
for (ext = &mbr; ext; ext = ext->extended) {
|
||||
part = ext->mbr.mbr_parts;
|
||||
for (i = 0; i < MBR_PART_COUNT; part++, i++) {
|
||||
if (part->mbrp_type != MBR_PTYPE_PREP)
|
||||
continue;
|
||||
if (part->mbrp_size < (MIN_MD_BOOT/512)) {
|
||||
msg_display(MSG_boottoosmall);
|
||||
msg_display_add(MSG_nobootpartdisklabel, 0);
|
||||
process_menu(MENU_yesno, NULL);
|
||||
if (!yesno)
|
||||
return 0;
|
||||
nobootfix = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (md_check_partitions() == 0)
|
||||
nobootfix = 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
md_bios_info(char *dev)
|
||||
{
|
||||
int cyl, head, sec;
|
||||
|
||||
msg_display(MSG_nobiosgeom, dlcyl, dlhead, dlsec);
|
||||
if (guess_biosgeom_from_mbr(&mbr, &cyl, &head, &sec) >= 0)
|
||||
msg_display_add(MSG_biosguess, cyl, head, sec);
|
||||
set_bios_geom(cyl, head, sec);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
md_post_extract(void)
|
||||
{
|
||||
char bootdev[100], bootbdev[100];
|
||||
|
||||
/* if we can't make it bootable, just punt */
|
||||
if (nobootfix)
|
||||
return 0;
|
||||
|
||||
snprintf(bootdev, sizeof bootdev, "/dev/r%s%c", diskdev, 'a'+bootpart);
|
||||
snprintf(bootbdev, sizeof bootbdev, "/dev/%s%c", diskdev, 'a'+bootpart);
|
||||
|
||||
if (nonewfsmsdos == 0)
|
||||
run_program(RUN_DISPLAY, "/sbin/newfs_msdos %s", bootdev);
|
||||
run_program(RUN_DISPLAY, "/sbin/mount_msdos %s /mnt2", bootbdev);
|
||||
run_program(RUN_DISPLAY, "/bin/cp /usr/mdec/ofwboot /mnt2/ofwboot");
|
||||
run_program(RUN_DISPLAY, "/sbin/umount /mnt2");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
md_init(void)
|
||||
{
|
||||
|
||||
/* Nothing to do */
|
||||
}
|
97
distrib/utils/sysinst/arch/ofppc/md.h
Normal file
97
distrib/utils/sysinst/arch/ofppc/md.h
Normal file
@ -0,0 +1,97 @@
|
||||
/* $NetBSD: md.h,v 1.1 2008/01/02 11:30:31 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Written by Philip A. Nelson for Piermont Information Systems Inc.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed for the NetBSD Project by
|
||||
* Piermont Information Systems Inc.
|
||||
* 4. The name of Piermont Information Systems Inc. may not be used to endorse
|
||||
* or promote products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
/* md.h -- Machine specific definitions for the ofppc */
|
||||
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/* ofppc uses the mbr code. */
|
||||
#include "mbr.h"
|
||||
|
||||
/* constants and defines */
|
||||
#define MD_BOOT_SIZE 100352000 /* 100MB boot partition */
|
||||
#define MIN_MD_BOOT 2097152 /* 2MB absoule minimum */
|
||||
#define PART_ROOT PART_A
|
||||
#define PART_SWAP PART_B
|
||||
#define PART_RAW PART_C
|
||||
#define PART_BOOT PART_D
|
||||
#define PART_USR PART_E /* Can be after PART_FIRST_FREE */
|
||||
#define PART_FIRST_FREE PART_F
|
||||
|
||||
/* We want the boot MSDOS partition mounted on /boot */
|
||||
#define PART_BOOT_PI_FLAGS (PIF_MOUNT)
|
||||
#define PART_BOOT_PI_MOUNT "/boot"
|
||||
|
||||
#define DEFSWAPRAM 32 /* Assume at least this RAM for swap calc */
|
||||
#define DEFROOTSIZE 64 /* Default root size */
|
||||
#define DEFVARSIZE 32 /* Default /var size, if created */
|
||||
#define DEFUSRSIZE 256 /* Default /usr size, if /home */
|
||||
#define XNEEDMB 120 /* Extra megs for full X installation */
|
||||
|
||||
|
||||
/*
|
||||
* Default filesets to fetch and install during installation
|
||||
* or upgrade. The standard sets are:
|
||||
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
|
||||
*
|
||||
* i386 has the MD set kern first, because generic kernels are too
|
||||
* big to fit on install floppies. i386 does not yet include the x sets.
|
||||
*
|
||||
* Third entry is the last extension name in the split sets for loading
|
||||
* from floppy.
|
||||
*/
|
||||
#define SET_KERNEL_1_NAME "kern-GENERIC"
|
||||
#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11_NOSERVERS
|
||||
|
||||
/*
|
||||
* Machine-specific command to write a new label to a disk.
|
||||
* For example, i386 uses "/sbin/disklabel -w -r", just like i386
|
||||
* miniroot scripts, though this may leave a bogus incore label.
|
||||
* Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w"
|
||||
* to get incore to ondisk inode translation for the Sun proms.
|
||||
* If not defined, we assume the port does not support disklabels and
|
||||
* hand-edited disklabel will NOT be written by MI code.
|
||||
*
|
||||
* On ofppc, do what the 1.2 install scripts did.
|
||||
*/
|
||||
#define DISKLABEL_CMD "disklabel -w -r"
|
3
distrib/utils/sysinst/arch/ofppc/menus.md.en
Normal file
3
distrib/utils/sysinst/arch/ofppc/menus.md.en
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: menus.md.en,v 1.1 2008/01/02 11:30:31 mrg Exp $ */
|
||||
|
||||
/* Menu definitions for sysinst. ofppc version, machine dependent. */
|
3
distrib/utils/sysinst/arch/ofppc/menus.md.es
Normal file
3
distrib/utils/sysinst/arch/ofppc/menus.md.es
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: menus.md.es,v 1.1 2008/01/02 11:30:31 mrg Exp $ */
|
||||
|
||||
/* Menu definitions for sysinst. ofppc version, machine dependent. */
|
3
distrib/utils/sysinst/arch/ofppc/menus.md.pl
Normal file
3
distrib/utils/sysinst/arch/ofppc/menus.md.pl
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: menus.md.pl,v 1.1 2008/01/02 11:30:31 mrg Exp $ */
|
||||
|
||||
/* Menu definitions for sysinst. ofppc version, machine dependent. */
|
75
distrib/utils/sysinst/arch/ofppc/msg.md.de
Normal file
75
distrib/utils/sysinst/arch/ofppc/msg.md.de
Normal file
@ -0,0 +1,75 @@
|
||||
/* $NetBSD: msg.md.de,v 1.1 2008/01/02 11:30:32 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Written by Philip A. Nelson for Piermont Information Systems Inc.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed for the NetBSD Project by
|
||||
* Piermont Information Systems Inc.
|
||||
* 4. The name of Piermont Information Systems Inc. may not be used to endorse
|
||||
* or promote products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
/* MD Message catalog -- german, ofppc version */
|
||||
|
||||
message md_hello
|
||||
{
|
||||
}
|
||||
|
||||
message dobad144
|
||||
{Installiere die Tabelle der defekten Blöcke ...
|
||||
}
|
||||
|
||||
message dobootblks
|
||||
{Installiere die Bootblöcke auf %s ...
|
||||
}
|
||||
|
||||
message pickdisk
|
||||
{Festplatte auswählen: }
|
||||
|
||||
message partabovechs
|
||||
{Der NetBSD Teil der Festplatte liegt außerhalb des vom BIOS dieser Maschine
|
||||
adressierbaren Bereichs. Eventuell können Sie von dieser Partition nicht
|
||||
booten. Sind Sie sicher, daß Sie fortfahren möchten?
|
||||
|
||||
(Antworten Sie mit 'nein' um die Partitionen erneut zu editieren.)}
|
||||
|
||||
message set_kernel_1
|
||||
{Kernel (GENERIC)}
|
||||
|
||||
message nobootpart
|
||||
{There is no boot partition in the MBR partition table.}
|
||||
|
||||
message boottoosmall
|
||||
{The boot partition is too small. It needs to be at least 2MB in size,
|
||||
however a size of at least 100MB is reccomended.}
|
||||
|
||||
message nobootpartdisklabel
|
||||
{There is no boot partition in the disklabel. The boot partition should
|
||||
match the boot partition you set up in the MBR partition table.}
|
75
distrib/utils/sysinst/arch/ofppc/msg.md.en
Normal file
75
distrib/utils/sysinst/arch/ofppc/msg.md.en
Normal file
@ -0,0 +1,75 @@
|
||||
/* $NetBSD: msg.md.en,v 1.1 2008/01/02 11:30:32 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Written by Philip A. Nelson for Piermont Information Systems Inc.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed for the NetBSD Project by
|
||||
* Piermont Information Systems Inc.
|
||||
* 4. The name of Piermont Information Systems Inc. may not be used to endorse
|
||||
* or promote products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
/* MD Message catalog -- english, ofppc version */
|
||||
|
||||
message md_hello
|
||||
{
|
||||
}
|
||||
|
||||
message dobad144
|
||||
{Installing the bad block table ...
|
||||
}
|
||||
|
||||
message dobootblks
|
||||
{Installing boot blocks on %s....
|
||||
}
|
||||
|
||||
message pickdisk
|
||||
{Choose disk: }
|
||||
|
||||
message partabovechs
|
||||
{The NetBSD part of the disk lies outside of the range that the BIOS on
|
||||
your machine can address. Booting from it may not be possible. Are you
|
||||
sure you that you want to do this?
|
||||
|
||||
(Answering 'no' will take you back to the partition edit menu.)}
|
||||
|
||||
message set_kernel_1
|
||||
{Kernel (GENERIC)}
|
||||
|
||||
message nobootpart
|
||||
{There is no boot partition in the MBR partition table.}
|
||||
|
||||
message boottoosmall
|
||||
{The boot partition is too small. It needs to be at least 2MB in size,
|
||||
however a size of at least 100MB is reccomended.}
|
||||
|
||||
message nobootpartdisklabel
|
||||
{There is no boot partition in the disklabel. The boot partition should
|
||||
match the boot partition you set up in the MBR partition table.}
|
76
distrib/utils/sysinst/arch/ofppc/msg.md.es
Normal file
76
distrib/utils/sysinst/arch/ofppc/msg.md.es
Normal file
@ -0,0 +1,76 @@
|
||||
/* $NetBSD: msg.md.es,v 1.1 2008/01/02 11:30:32 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Written by Philip A. Nelson for Piermont Information Systems Inc.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed for the NetBSD Project by
|
||||
* Piermont Information Systems Inc.
|
||||
* 4. The name of Piermont Information Systems Inc. may not be used to endorse
|
||||
* or promote products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
/* MD Message catalog -- spanish, ofppc version */
|
||||
|
||||
message md_hello
|
||||
{
|
||||
}
|
||||
|
||||
message dobad144
|
||||
{Instalando la tabla de bloques malos ...
|
||||
}
|
||||
|
||||
message dobootblks
|
||||
{Instalando bloques de arranque en %s....
|
||||
}
|
||||
|
||||
message pickdisk
|
||||
{Escoja disco: }
|
||||
|
||||
message partabovechs
|
||||
{La parte NetBSD del disco está fuera del rango que la BIOS de su maquina
|
||||
puede acceder.
|
||||
Puede que no sea posible iniciar desde ahi.
|
||||
¿Está seguro de que quiere hacer eso?
|
||||
|
||||
(Seleccionando 'no' le devolverá al menu de edicion de particiones.)}
|
||||
|
||||
message set_kernel_1
|
||||
{Núcleo (GENERIC)}
|
||||
|
||||
message nobootpart
|
||||
{There is no boot partition in the MBR partition table.}
|
||||
|
||||
message boottoosmall
|
||||
{The boot partition is too small. It needs to be at least 2MB in size,
|
||||
however a size of at least 100MB is reccomended.}
|
||||
|
||||
message nobootpartdisklabel
|
||||
{There is no boot partition in the disklabel. The boot partition should
|
||||
match the boot partition you set up in the MBR partition table.}
|
75
distrib/utils/sysinst/arch/ofppc/msg.md.pl
Normal file
75
distrib/utils/sysinst/arch/ofppc/msg.md.pl
Normal file
@ -0,0 +1,75 @@
|
||||
/* NetBSD: msg.md.en,v 1.1 2001/01/16 16:54:01 nonaka Exp */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Written by Philip A. Nelson for Piermont Information Systems Inc.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed for the NetBSD Project by
|
||||
* Piermont Information Systems Inc.
|
||||
* 4. The name of Piermont Information Systems Inc. may not be used to endorse
|
||||
* or promote products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
/* MD Message catalog -- Polish, ofppc version */
|
||||
|
||||
message md_hello
|
||||
{
|
||||
}
|
||||
|
||||
message dobad144
|
||||
{Instalowanie tablicy zlych blokow ...
|
||||
}
|
||||
|
||||
message dobootblks
|
||||
{Instalowanie bootblokow na %s....
|
||||
}
|
||||
|
||||
message pickdisk
|
||||
{Wybierz dysk: }
|
||||
|
||||
message partabovechs
|
||||
{Czesc dysku NetBSD lezy poza obszarem, ktory BIOS w twojej maszynie moze
|
||||
zaadresowac. Nie mozliwe bedzie bootowanie z tego dysku. Jestes pewnien, ze
|
||||
chcesz to zrobic?
|
||||
|
||||
(Odpowiedz 'nie' zabierze cie spowrotem do menu edycji partycji.)}
|
||||
|
||||
message set_kernel_1
|
||||
{Kernel (GENERIC)}
|
||||
|
||||
message nobootpart
|
||||
{There is no boot partition in the MBR partition table.}
|
||||
|
||||
message boottoosmall
|
||||
{The boot partition is too small. It needs to be at least 2MB in size,
|
||||
however a size of at least 100MB is reccomended.}
|
||||
|
||||
message nobootpartdisklabel
|
||||
{There is no boot partition in the disklabel. The boot partition should
|
||||
match the boot partition you set up in the MBR partition table.}
|
Loading…
Reference in New Issue
Block a user