Don't overwrite existing bootsel config when reading new bootcode.

configure_bootsel moved to MI code (I have plans for it...)
Make menu file language independant.
Move menus and message for MBR to MI files.
This commit is contained in:
dsl 2003-05-16 19:48:29 +00:00
parent d41b09d182
commit 3db1aaa735
8 changed files with 669 additions and 661 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2002/10/17 02:05:38 lukem Exp $
# $NetBSD: Makefile,v 1.12 2003/05/16 19:48:29 dsl Exp $
#
# Makefile for i386
#
@ -11,4 +11,10 @@ SRCS= menu_defs.c msg_defs.c main.c install.c upgrade.c \
fdisk.o md.o: menu_defs.h msg_defs.h
MENUS_MD= menus.md menus.mbr
MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG}
MD_OPTIONS= BOOTSEL
CPPFLAGS+= -DBOOTSEL
.include "../../Makefile.inc"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.75 2003/05/07 19:02:57 dsl Exp $ */
/* $NetBSD: md.c,v 1.76 2003/05/16 19:48:29 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -63,10 +63,6 @@ struct disklist *disklist = NULL;
struct nativedisk_info *nativedisk;
struct biosdisk_info *biosdisk = NULL;
int netbsd_mbr_installed = 0;
int netbsd_bootsel_installed = 0;
struct mbr_bootsel *mbs;
int defbootselpart, defbootseldisk;
/* prototypes */
@ -74,7 +70,6 @@ static int md_read_bootcode(const char *, mbr_sector_t *);
static int count_mbr_parts(struct mbr_partition *);
static int mbr_part_above_chs(struct mbr_partition *);
static int mbr_partstart_above_chs(struct mbr_partition *);
static void configure_bootsel(void);
static void md_upgrade_mbrtype(void);
static char *get_bootmodel(void);
@ -110,7 +105,7 @@ edit:
if (yesno) {
mbr_len = md_read_bootcode(_PATH_BOOTSEL, &mbr);
configure_bootsel();
netbsd_mbr_installed = netbsd_bootsel_installed = 1;
netbsd_mbr_installed = 2;
} else {
msg_display(MSG_installnormalmbr);
process_menu(MENU_yesno);
@ -124,7 +119,7 @@ edit:
netbsd_mbr_installed = 1;
}
if (mbr_partstart_above_chs(part) && !netbsd_mbr_installed) {
if (mbr_partstart_above_chs(part) && netbsd_mbr_installed == 0) {
msg_display(MSG_installmbr);
process_menu(MENU_yesno);
if (yesno) {
@ -146,6 +141,7 @@ md_read_bootcode(const char *path, mbr_sector_t *mbr)
int fd, cc;
struct stat st;
size_t len;
mbr_sector_t new_mbr;
fd = open(path, O_RDONLY);
if (fd < 0)
@ -156,15 +152,25 @@ md_read_bootcode(const char *path, mbr_sector_t *mbr)
return -1;
}
if (mbr->mbr_bootsel.mbrb_magic != native_to_le16(MBR_MAGIC))
len = offsetof(mbr_sector_t, mbr_parts);
else
len = offsetof(mbr_sector_t, mbr_bootsel);
if (read(fd, mbr, len) != len) {
if (read(fd, &new_mbr, sizeof new_mbr) != sizeof new_mbr) {
close(fd);
return -1;
}
if (mbr->mbr_bootsel.mbrb_magic == native_to_le16(MBR_MAGIC)) {
len = offsetof(mbr_sector_t, mbr_bootsel);
if (!(mbr->mbr_bootsel.mbrb_flags & BFL_NEWMBR))
/*
* Meaning of keys has changed, force a sensible
* default (old code didn't preseve the answer).
*/
mbr->mbr_bootsel.mbrb_defkey = SCAN_ENTER;
} else
len = offsetof(mbr_sector_t, mbr_parts);
memcpy(mbr, &new_mbr, len);
/* Keep flags from object file - indicate the properties */
mbr->mbr_bootsel.mbrb_flags = new_mbr.mbr_bootsel.mbrb_flags;
mbr->mbr_signature = native_to_le16(MBR_MAGIC);
close(fd);
@ -615,35 +621,6 @@ mbr_partstart_above_chs(mbr_partition_t *pt)
return (pt[bsdpart].mbrp_start >= bcyl * bhead * bsec);
}
static void
configure_bootsel(void)
{
struct mbr_partition *parts = &mbr.mbr_parts[0];
int i;
mbs = &mbr.mbr_bootsel;
mbs->mbrb_flags = BFL_SELACTIVE;
/* Setup default labels for partitions, since if not done by user */
/* they don't get set and and bootselector doesn't 'appear' when */
/* it's loaded. */
for (i = 0; i < NMBRPART; i++) {
if (parts[i].mbrp_typ != 0 && mbs->mbrb_nametab[i][0] == '\0')
snprintf(mbs->mbrb_nametab[i], sizeof(mbs->mbrb_nametab[0]),
"entry %d", i);
}
process_menu(MENU_configbootsel);
for (i = 0; i < NMBRPART; i++) {
if (parts[i].mbrp_typ != 0 &&
parts[i].mbrp_start >= (bcyl * bhead * bsec)) {
mbs->mbrb_flags |= BFL_EXTINT13;
break;
}
}
}
char *
get_bootmodel(void)
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.37 2003/05/07 19:02:58 dsl Exp $ */
/* $NetBSD: md.h,v 1.38 2003/05/16 19:48:29 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -150,7 +150,6 @@ extern struct mbr_bootsel *mbs;
#define LIB_COUNT 0
#define LIB_MOVE 1
extern int defbootselpart, defbootseldisk;
/*
* prototypes for MD code.

View File

@ -0,0 +1,197 @@
/* $NetBSD: menus.md,v 1.1 2003/05/16 19:48:29 dsl 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.
*
*/
/* Menu definitions for sysinst. i386 version, machine dependent. */
menu getboottype, title MSG_Bootblocks_selection;
option MSG_Use_normal_bootblocks, exit, action
{boottype = "normal";};
option MSG_Use_serial_9600_bootblocks, exit, action
{boottype = "serial9600";};
option MSG_Use_serial_38400_bootblocks, exit, action
{boottype = "serial38400";};
option MSG_Use_serial_57600_bootblocks, exit, action
{boottype = "serial57600";};
option MSG_Use_serial_115200_bootblocks, exit, action
{boottype = "serial115200";};
menu wdtype, title MSG_Select_type;
display action { msg_display (MSG_wdtype, diskdev); };
option "IDE", exit;
option "ESDI", exit, action
{ msg_display (MSG_sectforward);
process_menu (MENU_yesno);
if (yesno)
doessf = "sf:";
};
option "ST506", exit, action
{ msg_display (MSG_sectforward);
process_menu (MENU_yesno);
if (yesno)
doessf = "sf:";
};
menu dlgeom, title MSG_Choose_an_option;
display action { msg_display (MSG_dlgeom, diskdev, dlcyl, dlhead,
dlsec, disk->dd_cyl, disk->dd_head,
disk->dd_sec);
};
option MSG_Use_real_geometry, exit, action {
dlcyl = disk->dd_cyl;
dlhead = disk->dd_head;
dlsec = disk->dd_sec;
};
option MSG_Use_disklabel_geometry, exit, action {
disk->dd_cyl = dlcyl;
disk->dd_head = dlhead;
disk->dd_sec = dlsec;
};
menu cyl1024;
display action {
msg_display(MSG_cyl1024);
};
option MSG_Reedit_both_MBR_and_label, exit, action
{
/* XXX UGH */
extern int c1024_resp;
c1024_resp = 1;
};
option MSG_Reedit_the_label, exit, action
{
extern int c1024_resp;
c1024_resp = 2;
};
option MSG_Use_it_anyway, exit, action
{
extern int c1024_resp;
c1024_resp = 3;
};
menu editfsparts, y=13, exit;
display action {
ask_sizemult(dlcylsize);
msg_display(MSG_fspart, multname);
disp_cur_fspart(-1, 1);
};
option MSG_Change_a, action { editpart = A;}, sub menu edfspart;
option MSG_Change_b, action { editpart = B;}, sub menu edfspart;
option MSG_NetBSD_partition_cant_change, action {};
option MSG_Whole_disk_cant_change, action {};
option MSG_Change_e, action { editpart = E;}, sub menu edfspart;
option MSG_Change_f, action { editpart = F;}, sub menu edfspart;
option MSG_Change_g, action { editpart = G;}, sub menu edfspart;
option MSG_Change_h, action { editpart = H;}, sub menu edfspart;
option MSG_Change_i, action { editpart = I;}, sub menu edfspart;
option MSG_Change_j, action { editpart = J;}, sub menu edfspart;
option MSG_Change_k, action { editpart = K;}, sub menu edfspart;
option MSG_Change_l, action { editpart = L;}, sub menu edfspart;
option MSG_Change_m, action { editpart = M;}, sub menu edfspart;
option MSG_Change_n, action { editpart = N;}, sub menu edfspart;
option MSG_Change_o, action { editpart = O;}, sub menu edfspart;
option MSG_Change_p, action { editpart = P;}, sub menu edfspart;
option MSG_Set_new_allocation_size, action { reask_sizemult(dlcylsize); };
menu md_distcustom, x=26, y=5, exit, title MSG_Selection_toggles_inclusion;
display action { show_cur_distsets (); };
option MSG_Kernel_GENERIC, action { toggle_getit (0); };
option MSG_Kernel_GENERIC_TINY, action { toggle_getit (1); };
option MSG_Kernel_GENERIC_LAPTOP, action { toggle_getit (2); };
option MSG_Kernel_GENERIC_DIAGNOSTIC, action { toggle_getit (3); };
option MSG_Kernel_GENERIC_PS2TINY, action { toggle_getit (4); };
option MSG_Base, action { toggle_getit (5); };
option MSG_System_etc, action { toggle_getit (6); };
option MSG_Compiler_Tools, action { toggle_getit (7); };
option MSG_Games, action { toggle_getit (8); };
option MSG_Online_Manual_Pages, action { toggle_getit (9); };
option MSG_Miscellaneous, action { toggle_getit (10); };
option MSG_Text_Processing_Tools, action { toggle_getit (11); };
option MSG_X11_base_and_clients, action { toggle_getit (12); };
option MSG_X11_fonts, action { toggle_getit (13); };
option MSG_X11_servers, action { toggle_getit (14); };
option MSG_X_contrib_clients, action { toggle_getit (15); };
option MSG_X11_programming, action { toggle_getit (16); };
option MSG_X11_Misc, action { toggle_getit (17); };
menu biosonematch;
option MSG_This_is_the_correct_geometry, exit, action {
extern struct disklist *disklist;
extern struct nativedisk_info *nativedisk;
struct biosdisk_info *bip;
extern struct biosdisk_info *biosdisk;
bip = &disklist->dl_biosdisks[nativedisk->ni_biosmatches[0]];
bcyl = bip->bi_cyl;
bhead = bip->bi_head;
bsec = bip->bi_sec;
biosdisk = bip;
};
option MSG_Set_the_geometry_by_hand, exit, action {
set_bios_geom(dlcyl, dlhead, dlsec);
biosdisk = NULL;
};
menu biosmultmatch;
option MSG_Use_one_of_these_disks, exit, action {
extern struct disklist *disklist;
extern struct nativedisk_info *nativedisk;
struct biosdisk_info *bip;
extern struct biosdisk_info *biosdisk;
int sel;
char res[80];
do {
strcpy(res, "0");
msg_prompt(MSG_pickdisk, res, res, 80);
sel = atoi(res);
} while (sel < 0 || sel >= nativedisk->ni_nmatches);
bip = &disklist->dl_biosdisks[nativedisk->ni_biosmatches[0]];
bcyl = bip->bi_cyl;
bhead = bip->bi_head;
bsec = bip->bi_sec;
biosdisk = bip;
};
option MSG_Set_the_geometry_by_hand, exit, action {
set_bios_geom(dlcyl, dlhead, dlsec);
biosdisk = NULL;
};

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.md.en,v 1.44 2003/05/07 20:49:22 dsl Exp $ */
/* $NetBSD: menus.md.en,v 1.45 2003/05/16 19:48:29 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -38,23 +38,23 @@
/* Menu definitions for sysinst. i386 version, machine dependent. */
menu getboottype, title "Bootblocks selection";
option "Use normal bootblocks", exit, action
menu getboottype, title MSG_Bootblocks_selection;
option MSG_Use_normal_bootblocks, exit, action
{boottype = "normal";};
option "Use serial (9600) bootblocks", exit, action
option MSG_Use_serial_9600_bootblocks, exit, action
{boottype = "serial9600";};
option "Use serial (38400) bootblocks", exit, action
option MSG_Use_serial_38400_bootblocks, exit, action
{boottype = "serial38400";};
option "Use serial (57600) bootblocks", exit, action
option MSG_Use_serial_57600_bootblocks, exit, action
{boottype = "serial57600";};
option "Use serial (115200) bootblocks", exit, action
option MSG_Use_serial_115200_bootblocks, exit, action
{boottype = "serial115200";};
menu fullpart, title "Select your choice";
option "Use only part of the disk", exit, action {usefull = 0;};
option "Use the entire disk", exit, action {usefull = 1;};
menu fullpart, title MSG_Select_your_choice;
option MSG_Use_only_part_of_the_disk, exit, action {usefull = 0;};
option MSG_Use_the_entire_disk, exit, action {usefull = 1;};
menu wdtype, title "Select type";
menu wdtype, title MSG_Select_type;
display action { msg_display (MSG_wdtype, diskdev); };
option "IDE", exit;
option "ESDI", exit, action
@ -71,84 +71,84 @@ menu wdtype, title "Select type";
};
menu dlgeom, title "Choose an option";
menu dlgeom, title MSG_Choose_an_option;
display action { msg_display (MSG_dlgeom, diskdev, dlcyl, dlhead,
dlsec, disk->dd_cyl, disk->dd_head,
disk->dd_sec);
};
option "Use real geometry", exit, action {
option MSG_Use_real_geometry, exit, action {
dlcyl = disk->dd_cyl;
dlhead = disk->dd_head;
dlsec = disk->dd_sec;
};
option "Use disklabel geometry", exit, action {
option MSG_Use_disklabel_geometry, exit, action {
disk->dd_cyl = dlcyl;
disk->dd_head = dlhead;
disk->dd_sec = dlsec;
};
menu editparttable, title "Choose your partition", exit;
menu editparttable, title MSG_Choose_your_partition, exit;
display action { msg_display (MSG_editparttable);
disp_cur_part(&mbr.mbr_parts[0], activepart, -1);
};
option "Edit partition 0", sub menu editpart,
option MSG_Edit_partition_0, sub menu editpart,
action { editpart = 0; };
option "Edit partition 1", sub menu editpart,
option MSG_Edit_partition_1, sub menu editpart,
action { editpart = 1; };
option "Edit partition 2", sub menu editpart,
option MSG_Edit_partition_2, sub menu editpart,
action { editpart = 2; };
option "Edit partition 3", sub menu editpart,
option MSG_Edit_partition_3, sub menu editpart,
action { editpart = 3; };
option "Reselect size specification",
option MSG_Reselect_size_specification,
action { reask_sizemult(bcylsize); };
menu editpart, title "Select to change";
menu editpart, title MSG_Select_to_change;
display action { msg_display (MSG_editpart, editpart);
disp_cur_part(&mbr.mbr_parts[0], editpart, -1);
msg_display_add(MSG_newline);
};
option "Kind", sub menu chooseid;
option "Start and size", action { edit_ptn_bounds(); };
option "Set active", action { activepart = editpart; };
option "Partition OK", exit;
option MSG_Kind, sub menu chooseid;
option MSG_Start_and_size, action { edit_ptn_bounds(); };
option MSG_Set_active, action { activepart = editpart; };
option MSG_Partition_OK, exit;
menu chooseid, title "Partition Kind?";
option "NetBSD", exit, action
menu chooseid, title MSG_Partition_Kind;
option MSG_NetBSD, exit, action
{
part[editpart].mbrp_typ = MBR_PTYPE_NETBSD;
};
option "DOS < 32 Meg", exit, action
option MSG_DOS_LT_32_Meg, exit, action
{
part[editpart].mbrp_typ = MBR_PTYPE_FAT16S;
};
option "DOS > 32 Meg", exit, action
option MSG_DOS_GT_32_Meg, exit, action
{
part[editpart].mbrp_typ = MBR_PTYPE_FAT16B;
};
option "unused", exit, action
option MSG_unused, exit, action
{
part[editpart].mbrp_typ = 0;
};
option "don't change", exit;
option MSG_dont_change, exit;
menu cyl1024;
display action {
msg_display(MSG_cyl1024);
};
option "Re-edit both MBR and label", exit, action
option MSG_Reedit_both_MBR_and_label, exit, action
{
/* XXX UGH */
extern int c1024_resp;
c1024_resp = 1;
};
option "Re-edit the label", exit, action
option MSG_Reedit_the_label, exit, action
{
extern int c1024_resp;
c1024_resp = 2;
};
option "Use it anyway", exit, action
option MSG_Use_it_anyway, exit, action
{
extern int c1024_resp;
@ -161,48 +161,48 @@ menu editfsparts, y=13, exit;
msg_display(MSG_fspart, multname);
disp_cur_fspart(-1, 1);
};
option "Change a", action { editpart = A;}, sub menu edfspart;
option "Change b", action { editpart = B;}, sub menu edfspart;
option "NetBSD partition - can't change", action {};
option "Whole disk - can't change", action {};
option "Change e", action { editpart = E;}, sub menu edfspart;
option "Change f", action { editpart = F;}, sub menu edfspart;
option "Change g", action { editpart = G;}, sub menu edfspart;
option "Change h", action { editpart = H;}, sub menu edfspart;
option "Change i", action { editpart = I;}, sub menu edfspart;
option "Change j", action { editpart = J;}, sub menu edfspart;
option "Change k", action { editpart = K;}, sub menu edfspart;
option "Change l", action { editpart = L;}, sub menu edfspart;
option "Change m", action { editpart = M;}, sub menu edfspart;
option "Change n", action { editpart = N;}, sub menu edfspart;
option "Change o", action { editpart = O;}, sub menu edfspart;
option "Change p", action { editpart = P;}, sub menu edfspart;
option "Set new allocation size", action { reask_sizemult(dlcylsize); };
option MSG_Change_a, action { editpart = A;}, sub menu edfspart;
option MSG_Change_b, action { editpart = B;}, sub menu edfspart;
option MSG_NetBSD_partition_cant_change, action {};
option MSG_Whole_disk_cant_change, action {};
option MSG_Change_e, action { editpart = E;}, sub menu edfspart;
option MSG_Change_f, action { editpart = F;}, sub menu edfspart;
option MSG_Change_g, action { editpart = G;}, sub menu edfspart;
option MSG_Change_h, action { editpart = H;}, sub menu edfspart;
option MSG_Change_i, action { editpart = I;}, sub menu edfspart;
option MSG_Change_j, action { editpart = J;}, sub menu edfspart;
option MSG_Change_k, action { editpart = K;}, sub menu edfspart;
option MSG_Change_l, action { editpart = L;}, sub menu edfspart;
option MSG_Change_m, action { editpart = M;}, sub menu edfspart;
option MSG_Change_n, action { editpart = N;}, sub menu edfspart;
option MSG_Change_o, action { editpart = O;}, sub menu edfspart;
option MSG_Change_p, action { editpart = P;}, sub menu edfspart;
option MSG_Set_new_allocation_size, action { reask_sizemult(dlcylsize); };
menu md_distcustom, x=26, y=5, exit, title "Selection toggles inclusion";
menu md_distcustom, x=26, y=5, exit, title MSG_Selection_toggles_inclusion;
display action { show_cur_distsets (); };
option "Kernel (GENERIC)", action { toggle_getit (0); };
option "Kernel (GENERIC_TINY)", action { toggle_getit (1); };
option "Kernel (GENERIC_LAPTOP)", action { toggle_getit (2); };
option "Kernel (GENERIC_DIAGNOSTIC)", action { toggle_getit (3); };
option "Kernel (GENERIC_PS2TINY)", action { toggle_getit (4); };
option "Base", action { toggle_getit (5); };
option "System (/etc)", action { toggle_getit (6); };
option "Compiler Tools", action { toggle_getit (7); };
option "Games", action { toggle_getit (8); };
option "Online Manual Pages", action { toggle_getit (9); };
option "Miscellaneous", action { toggle_getit (10); };
option "Text Processing Tools", action { toggle_getit (11); };
option "X11 base and clients", action { toggle_getit (12); };
option "X11 fonts", action { toggle_getit (13); };
option "X11 servers", action { toggle_getit (14); };
option "X contrib clients", action { toggle_getit (15); };
option "X11 programming", action { toggle_getit (16); };
option "X11 Misc.", action { toggle_getit (17); };
option MSG_Kernel_GENERIC, action { toggle_getit (0); };
option MSG_Kernel_GENERIC_TINY, action { toggle_getit (1); };
option MSG_Kernel_GENERIC_LAPTOP, action { toggle_getit (2); };
option MSG_Kernel_GENERIC_DIAGNOSTIC, action { toggle_getit (3); };
option MSG_Kernel_GENERIC_PS2TINY, action { toggle_getit (4); };
option MSG_Base, action { toggle_getit (5); };
option MSG_System_etc, action { toggle_getit (6); };
option MSG_Compiler_Tools, action { toggle_getit (7); };
option MSG_Games, action { toggle_getit (8); };
option MSG_Online_Manual_Pages, action { toggle_getit (9); };
option MSG_Miscellaneous, action { toggle_getit (10); };
option MSG_Text_Processing_Tools, action { toggle_getit (11); };
option MSG_X11_base_and_clients, action { toggle_getit (12); };
option MSG_X11_fonts, action { toggle_getit (13); };
option MSG_X11_servers, action { toggle_getit (14); };
option MSG_X_contrib_clients, action { toggle_getit (15); };
option MSG_X11_programming, action { toggle_getit (16); };
option MSG_X11_Misc, action { toggle_getit (17); };
menu biosonematch;
option "This is the correct geometry", exit, action {
option MSG_This_is_the_correct_geometry, exit, action {
extern struct disklist *disklist;
extern struct nativedisk_info *nativedisk;
struct biosdisk_info *bip;
@ -214,13 +214,13 @@ menu biosonematch;
bsec = bip->bi_sec;
biosdisk = bip;
};
option "Set the geometry by hand", exit, action {
option MSG_Set_the_geometry_by_hand, exit, action {
set_bios_geom(dlcyl, dlhead, dlsec);
biosdisk = NULL;
};
menu biosmultmatch;
option "Use one of these disks", exit, action {
option MSG_Use_one_of_these_disks, exit, action {
extern struct disklist *disklist;
extern struct nativedisk_info *nativedisk;
struct biosdisk_info *bip;
@ -239,45 +239,45 @@ menu biosmultmatch;
bsec = bip->bi_sec;
biosdisk = bip;
};
option "Set the geometry by hand", exit, action {
option MSG_Set_the_geometry_by_hand, exit, action {
set_bios_geom(dlcyl, dlhead, dlsec);
biosdisk = NULL;
};
menu configbootsel, y=16, title "Change a bootmenu item", exit;
menu configbootsel, y=16, title MSG_Change_a_bootmenu_item, exit;
display action { disp_bootsel(); };
option "Edit menu entry 0",
option MSG_Edit_menu_entry_0,
action { edit_bootsel_entry(0); };
option "Edit menu entry 1",
option MSG_Edit_menu_entry_1,
action { edit_bootsel_entry(1); };
option "Edit menu entry 2",
option MSG_Edit_menu_entry_2,
action { edit_bootsel_entry(2); };
option "Edit menu entry 3",
option MSG_Edit_menu_entry_3,
action { edit_bootsel_entry(3); };
option "Set timeout value",
option MSG_Set_timeout_value,
action { edit_bootsel_timeout(); };
option "Set default option", sub menu defaultbootsel;
option MSG_Set_default_option, sub menu defaultbootsel;
menu defaultbootsel, title "Pick a default partition/disk to boot";
option "First active partition", exit,
menu defaultbootsel, title MSG_Pick_a_default_partition_or_disk_to_boot;
option MSG_First_active_partition, exit,
action { mbs->mbrb_defkey = SCAN_ENTER; };
option "Partition 0", exit,
option MSG_Partition_0, exit,
action { edit_bootsel_default_ptn(0); };
option "Partition 1", exit,
option MSG_Partition_1, exit,
action { edit_bootsel_default_ptn(1); };
option "Partition 2", exit,
option MSG_Partition_2, exit,
action { edit_bootsel_default_ptn(2); };
option "Partition 3", exit,
option MSG_Partition_3, exit,
action { edit_bootsel_default_ptn(3); };
option "Harddisk 0", exit,
option MSG_Harddisk_0, exit,
action { edit_bootsel_default_disk(0); };
option "Harddisk 1", exit,
option MSG_Harddisk_1, exit,
action { edit_bootsel_default_disk(1); };
option "Harddisk 2", exit,
option MSG_Harddisk_2, exit,
action { edit_bootsel_default_disk(2); };
option "Harddisk 3", exit,
option MSG_Harddisk_3, exit,
action { edit_bootsel_default_disk(3); };
option "Harddisk 4", exit,
option MSG_Harddisk_4, exit,
action { edit_bootsel_default_disk(4); };
option "Harddisk 5", exit,
option MSG_Harddisk_5, exit,
action { edit_bootsel_default_disk(5); };

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.md.en,v 1.28 2002/09/09 10:32:50 grant Exp $ */
/* $NetBSD: msg.md.en,v 1.29 2003/05/16 19:48:29 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -43,23 +43,12 @@ message md_hello
}
message fullpart
{We are now going to install NetBSD on the disk %s. You may
choose to install NetBSD on the entire disk, or on part of the disk.
Partial-disk installation creates a partition, or `slice', for NetBSD
in your disk's MBR partition table. Whole-disk installation is
`dangerously dedicated': it takes over the entire MBR. This WILL
overwrite all existing data and OSes on the disk. It also prohibits later
installation of multiple OSes on that disk (unless you overwrite NetBSD and
reinstall using only part of the disk).
Which would you like to do?
}
message wdtype
{What kind of disk is %s?}
message Select_type
{Select type}
message sectforward
{Does your disk do AUTOMATIC sector forwarding?}
@ -72,112 +61,12 @@ disklabel: %d cylinders, %d heads, %d sectors
real geometry: %d cylinders, %d heads, %d sectors
}
/* the %s's will expand into three character strings */
message part_header
{ Total disksize %d %s.
Start(%3s) End(%3s) Size(%3s) Kind
---------- ---------- ---------- ----
}
message part_row_start_unused
{%-1d: }
message part_row_start_used
{%-1d: %-10d %-10d %-10d}
message part_row_end
{ %s\n}
message setbiosgeom
{You will be prompted for the geometry. Please enter the values you
want. The number of cylinders should be <= 1024 and the number of sectors
should be <= 63. If you have the BIOS set up to use > 1024 cylinders just
truncate that number to 1024 here; NetBSD will know about the rest of the
cylinders.
}
message confirmbiosgeom
{Please verify if the BIOS disk geometry below is correct. The value for
the number of cylinders may have been truncated to 1024. This is ok as
long as the other numbers are correct; only 1024 cylinders can be
specified in the MBR, the rest will be found in a different way by NetBSD.
If you reenter the values, make sure that the values are correct and
match those used by other systems on this disk. Values that do not match
may result in data corruption.
}
message badgeom
{The current values for your disk geometry are:
}
message realgeom
{real geom: %d cyl, %d heads, %d sec (NB: for comparison only)\n}
message biosgeom
{BIOS geom: %d cyl, %d heads, %d sec\n}
message reentergeom
{The values just entered for the geometry are not usable. Please,
reenter the geometry.
}
message ovrwrite
{Your disk currently has a non-NetBSD partition. Do you really want to
overwrite that partition with NetBSD?
}
message parttable
{The partition table on your disk currently looks like the following:
}
message editpart
{You are editing partition %d. The highlighted partition is the partition
you are editing.
}
message editparttable
{Edit your DOS partition table. The highlighted partition is the currently
active partition. The partition table currently looks like:
}
message mbrpart_start_special
{
Special values that can be entered for the start value:
-N: start at the end of partition N
0: start at the beginning of the disk
}
message mbrpart_size_special
{
Special values that can be entered for the size value:
-N: size the partition so that it ends where partition N starts
0: end at the end of the disk
}
message reeditpart
{There are overlapping MBR partitions or there is not exactly one NetBSD
partition. You should re-edit the MBR partition table.
Do you want to re-edit it?
}
message nobsdpart
{There is no NetBSD partition in the MBR partition table.}
message multbsdpart
{There are multiple NetBSD partitions in the MBR partition table.
Partition %d will be the one used.}
message dofdisk
{Setting up the DOS partition table ...
}
message Choose_an_option
{Choose an option}
message Use_real_geometry
{Use real geometry}
message Use_disklabel_geometry
{Use disklabel geometry}
message dobad144
{Installing the bad block table ...
@ -191,6 +80,19 @@ Normal bootblocks use the BIOS console device as the console
serial port as the console.
}
message Bootblocks_selection
{Bootblocks selection}
message Use_normal_bootblocks
{Use normal bootblocks}
message Use_serial_9600_bootblocks
{Use serial (9600) bootblocks}
message Use_serial_38400_bootblocks
{Use serial (38400) bootblocks}
message Use_serial_57600_bootblocks
{Use serial (57600) bootblocks}
message Use_serial_115200_bootblocks
{Use serial (115200) bootblocks}
message dobootblks
{Installing boot blocks on %s....
}
@ -231,6 +133,13 @@ ends beyond the 1024 BIOS cylinder boundary. To be sure that the system
can be booted at all times, the entire root partition must lie below that
limit. You can either: }
message Reedit_both_MBR_and_label
{Re-edit both MBR and label}
message Reedit_the_label
{Re-edit the label}
message Use_it_anyway
{Use it anyway}
message onebiosmatch
{This disk matches the following BIOS disk:
@ -244,6 +153,13 @@ message onebiosmatch_header
message onebiosmatch_row
{%-6x %-10d %-7d %d\n}
message This_is_the_correct_geometry
{This is the correct geometry}
message Set_the_geometry_by_hand
{Set the geometry by hand}
message Use_one_of_these_disks
{Use one of these disks}
message biosmultmatch
{This disk matches the following BIOS disks:
@ -277,65 +193,83 @@ sure you that you want to do this?
(Answering 'no' will take you back to the partition edit menu.)}
message installbootsel
{You appear to have more than one operating system installed on your
disk. Do you want to install a bootselector so that you can select
which system to start up when your computer is (re)started?}
message installmbr
{The start of the NetBSD part of the disk lies outside of the range
that the BIOS can address. The initial bootcode in the Master Boot
Record needs to be able to use the extended BIOS interface to boot
off this partition. Do you want to install the NetBSD bootcode into
the Master Boot Record so that this is ensured? Note that this will
overwrite the existing code in the MBR, like some bootselectors.}
message installnormalmbr
{You have chosen not to install a bootselector. If this was because you
already have a bootselector installed, no further action is needed.
However, if no bootselector is installed, the normal bootcode must be
used, or your system will not boot properly. Do you want to use the normal
NetBSD bootcode?}
message configbootsel
{Configure the different bootselection menu items. You can change the
simple menu entries for the matching partition entries that are displayed
when the system boots. Also, you can specify the timeout and default
action to be taken (if no selection is made in the bootmenu).\n
}
message bootseltimeout
{Boot menu timeout: %d\n}
message defbootselopt
{Default boot menu action: }
message defbootseloptactive
{boot the first active partition.\n}
message defbootseloptpart
{boot off partition %d.\n}
message defbootseloptdisk
{boot off hard disk %d.\n}
message bootselitemname
{Enter name for menu item}
message bootseltimeoutval
{Timeout value in seconds (0-3600)}
message bootsel_header
{Number Type Menu entry
------ -------------------------------- ----------
}
message bootsel_row
{%-6d %-32s %s\n}
message emulbackup
{Either the /emul/aout or /emul directory on your system was a symbolic link
pointing to an unmounted file system. It has been given a '.old' extension.
Once you bring your upgraded system back up, you may need to take care
of merging the newly created /emul/aout directory with the old one.
}
message Change_a
{Change a}
message Change_b
{Change b}
message NetBSD_partition_cant_change
{NetBSD partition - can't change}
message Whole_disk_cant_change
{Whole disk - can't change}
message Change_e
{Change e}
message Change_f
{Change f}
message Change_g
{Change g}
message Change_h
{Change h}
message Change_i
{Change i}
message Change_j
{Change j}
message Change_k
{Change k}
message Change_l
{Change l}
message Change_m
{Change m}
message Change_n
{Change n}
message Change_o
{Change o}
message Change_p
{Change p}
message Set_new_allocation_size
{Set new allocation size}
message Selection_toggles_inclusion
{Selection toggles inclusion}
message Kernel_GENERIC
{Kernel (GENERIC)}
message Kernel_GENERIC_TINY
{Kernel (GENERIC_TINY)}
message Kernel_GENERIC_LAPTOP
{Kernel (GENERIC_LAPTOP)}
message Kernel_GENERIC_DIAGNOSTIC
{Kernel (GENERIC_DIAGNOSTIC)}
message Kernel_GENERIC_PS2TINY
{Kernel (GENERIC_PS2TINY)}
message Base
{Base}
message System_etc
{System (/etc)}
message Compiler_Tools
{Compiler Tools}
message Games
{Games}
message Online_Manual_Pages
{Online Manual Pages}
message Miscellaneous
{Miscellaneous}
message Text_Processing_Tools
{Text Processing Tools}
message X11_base_and_clients
{X11 base and clients}
message X11_fonts
{X11 fonts}
message X11_servers
{X11 servers}
message X_contrib_clients
{X contrib clients}
message X11_programming
{X11 programming}
message X11_Misc
{X11 Misc.}

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.md.fr,v 1.19 2003/05/14 22:11:44 he Exp $ */
/* $NetBSD: msg.md.fr,v 1.20 2003/05/16 19:48:29 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -43,25 +43,12 @@ message md_hello
}
message fullpart
{Nous allons maintenant installer NetBSD sur votre disque %s. Vous devez
choisir si vous voulez installer NetBSD sur la totalité du disque ou seulement
sur une partie de celui-ci.
Une installation sur une partie du disque crée une partition, ou `slice', pour
NetBSD dans le secteur de démarage (Master Boot Record, alias MBR) de votre
disque. Une installation sur la totalité du disque est `dangereusement
dédiée' : elle réinitialise complétement le MBR, ce qui efface tout système
d'exploitation ou données existants sur le disque. Cela rend également
impossible l'installation ultérieure d'un deuxième système d'exploitation,
sauf si vous reinstallez complètement NetBSD en utilisant uniquement une
partie du disque.
Que désirez vous faire ?
}
message wdtype
{Quel type de disque est %s?}
message Select_type
{Choix du type de disque}
message sectforward
{Est ce que votre disque réassigne AUTOMATIQUEMENT les secteurs défectueux ?}
@ -69,116 +56,16 @@ message dlgeom
{Votre disque a déjà un label BSD. Ce label montre une géométrie différente
de la géométrie réelle du disque. Les deux géométrie sont :
disklabel: %d cylindres, %d têtes, %d secteurs
géom réelle: %d cylindres, %d têtes, %d secteurs
disklabel: %d cylindres, %d têtes, %d secteurs
géom réelle: %d cylindres, %d têtes, %d secteurs
}
/* the %s's will expand into three character strings */
message part_header
{ Total disksize %d %s.
Début(%3s) Fin(%3s) Taille(%3s) Type
---------- ---------- ----------- ----
}
message part_row_start_unused
{%-1d: }
message part_row_start_used
{%-1d: %-10d %-10d %-11d}
message part_row_end
{ %s\n}
message setbiosgeom
{On va vous demander la géométrie. SVP entrer les valeur que vous désirez.
Rappelez vous que le nombre de cylindre doit être <= 1024 et que le nombre
de secteur doit être <=63. Si votre BIOS est configuré avec plus de 1024
cylindre, tronquez ce nombre à 1024 ici, NetBSD saura utiliser les cylindres
restant.
}
message confirmbiosgeom
{SVP vérifiez que la géometrie du BIOS ci-dessous est correcte. Le nombre
de cylindre à pu etre tronquée à 1024. Ce n'est pas un problème du moment
que les autres paramètres sont corrects. Seulement 1024 cuylindres peuvent
etre specifiés dans le secteur de boot, le reste sera trouvé d'une manière
différente par NetBSD.
Si vous réentrez ces valeurs, vérifiez qu'elles sont correctes et
correspondent à celles utilisées par d'autre systèmes sur ce disque. Des
valeurs différentes peuvent conduire à des pertes de données.
}
message badgeom
{Les valeurs actuelles de la géométrie de votre disque sont :
}
message realgeom
{ géom réelle: %d cylindres, %d têtes, %d secteurs (pour information)\n}
message biosgeom
{ géom fdisk: %d cylindres, %d têtes, %d secteurs \n}
message reentergeom
{La géométrie que vous venez de spécifier n'est pas utilisable. SVP entrez
de nouveau la géométrie.
}
message ovrwrite
{Votre disque a actuellement une partition autre que NetBSD. Voulez vous
vraiment l'écraser par une partition NetBSD ?
}
message parttable
{La table des partitions de votre disque est :
}
message editpart
{La partition %d ressemble à:
}
message editparttable
{Editez votre table de partition DOS. La partition en surbrillance est
actuellement active. La table des partitions est :
}
message mbrpart_start_special
{
Valeurs spéciales qui peuvent être entrées pour la valeur Début:
-N: commence à la fin de la parition N
0: commence au début du disque
}
message mbrpart_size_special
{
Valeurs spéciales qui peuvent être entrées pour la valeur Taille:
-N: dimentionne la partition de façon à finir au début de la partition N
0: finit à la fin du disque
}
message reeditpart
{Il y a des partitions BIOS qui se recouvrent ou bien vous n'avez pas
exactement une partition NetBSD. Vous devez éditer de nouveau la table
des partitions.
Voulez vous la rééditer ?
}
message nobsdpart
{Il n'y a pas de partition NetBSD dans la table des partitions du secteur de
boot.}
message multbsdpart
{Il y a plusieurs partition NetBSD dans la table des partitions du secteur de
boot. La partition %d sera utilisée.}
message dofdisk
{Configuration de la table des partition DOS ...
}
message Choose_an_option
{Choisissez une option}
message Use_real_geometry
{Utilisation de la géométrie réelle}
message Use_disklabel_geometry
{Utilisation de la géométrie du disklabel}
message dobad144
{Installation de la table des block défectueux ...
@ -188,6 +75,19 @@ message getboottype
{Aimez-vous installer l'ensemble normal de bootblocks ou de bootblocks serial?
}
message Bootblocks_selection
{Sélection de Bootblocks}
message Use_normal_bootblocks
{Utilisez normal le bootblocks}
message Use_serial_9600_bootblocks
{Utilisez serial (9600) le bootblocks}
message Use_serial_38400_bootblocks
{Utilisez serial (38400) le bootblocks}
message Use_serial_57600_bootblocks
{Utilisez serial (57600) le bootblocks}
message Use_serial_115200_bootblocks
{Utilisez serial (115200) le bootblocks}
message dobootblks
{Installation des block de démarrage sur %s ...
}
@ -198,6 +98,7 @@ message askfsroot1
Et tout d'abord la partition racine. Il vous reste %d %s de libre sur
votre disque.
}
message askfsroot2
{Taille de la partition racine ? }
@ -229,6 +130,14 @@ qui se termine apr
le système puisse etre toujours démaré, cette partition doit etre entièrement
en dessous de cette limite. Vous pouvez: }
message Reedit_both_MBR_and_label
{Rééditer le secteur de boot et le label}
message Reedit_the_label
{Rééditer le label}
message Use_it_anyway
{L'utiliser tout de même}
message onebiosmatch
{Ce disque correspond au disque du BIOS suivant:
@ -242,6 +151,13 @@ message onebiosmatch_header
message onebiosmatch_row
{%-6x %-10d %-7d %-10d\n}
message This_is_the_correct_geometry
{C'est le bon géométrie}
message Set_the_geometry_by_hand
{Entrer la géométrie}
message Use_one_of_these_disks
{Utiliser l'un de ces disques}
message biosmultmatch
{Ce disque correspond aux disques du BIOS suivants:
@ -252,6 +168,13 @@ message biosmultmatch_header
------ ---------- ------- -------
}
message biosgeom_advise /* XXX translate */
{
Note: since sysinst was able to uniquely match the disk you chose with a disk
known to the BIOS, the values displayed above are very likely correct, and
should not be changed. Only change them if they are very obviously wrong.
}
message biosmultmatch_row
{%-1d: %-6x %-10d %-7d %d\n}
@ -268,50 +191,84 @@ ne sera peut-etre pas possible. Voulez-vous reelement faire ceci ?
('Non' vous ramènera au menu d'edition des partitions.)}
message installbootsel
{Il me semble que vous avez plusieur système d'exploitation sur ce disque.
Voulez-vous installer un selecteur de boot qui vous permettra de choisir
quel système chargé lorsque votre ordinateur est (re)démarré?}
message installmbr
{Le début de la partition de votre disque réservée à NetBSD se trouve en-dehors
de l'espace que le BIOS peut adresser. Le programme d'amorcage du secteur de
demmarage doit utiliser l'interface étendue du BIOS pour ammorcer depuis cette
partition. Voulez-vous installer le programme d'amorcage de NetBSD pour etre
sur de pouvoir démarer depuis cette partition ? Notez que cela va écraser
le programme d'amorcage existant, comme un selecteur de boot.}
message configbootsel
{Configurez les differents choix du selecteur de boot. Vous pouvez changer
le menu proposé pour chaque partition lorsque le système demarre.
Vous pouvez également préciser le choix par defaut et le temps d'attente.\n
message emulbackup /* XXX translate */
{Either the /emul/aout or /emul directory on your system was a symbolic link
pointing to an unmounted file system. It has been given a '.old' extension.
Once you bring your upgraded system back up, you may need to take care
of merging the newly created /emul/aout directory with the old one.
}
message bootseltimeout
{Temps d'attente: %d\n}
message Change_a
{Changer a}
message Change_b
{Changer b}
message NetBSD_partition_cant_change
{Partition de NetBSD - Changement impossible}
message Whole_disk_cant_change
{Totalité du disque - Changement impossible}
message Change_e
{Changer e}
message Change_f
{Changer f}
message Change_g
{Changer g}
message Change_h
{Changer h}
message Change_i
{Changer i}
message Change_j
{Changer j}
message Change_k
{Changer k}
message Change_l
{Changer l}
message Change_m
{Changer m}
message Change_n
{Changer n}
message Change_o
{Changer o}
message Change_p
{Changer p}
message Set_new_allocation_size
{Changer d'unité}
message defbootselopt
{Action par defaut: }
message Selection_toggles_inclusion
{Sélection des composants}
message Kernel_GENERIC
{Kernel (GENERIC)}
message Kernel_GENERIC_TINY
{Kernel (GENERIC_TINY)}
message Kernel_GENERIC_LAPTOP
{Kernel (GENERIC_LAPTOP)}
message Kernel_GENERIC_DIAGNOSTIC
{Kernel (GENERIC_DIAGNOSTIC)}
message Kernel_GENERIC_PS2TINY
{Kernel (GENERIC_PS2TINY)}
message Base
{Base}
message System_etc
{System (/etc)}
message Compiler_Tools
{Outils de développement}
message Games
{Jeux}
message Online_Manual_Pages
{Pages de manuel}
message Miscellaneous
{Divers}
message Text_Processing_Tools
{Outils de manipulation de textes}
message X11_base_and_clients
{X11 base et clients}
message X11_fonts
{X11 polices}
message X11_servers
{X11 serveurs}
message X_contrib_clients
{X11 clients contribués}
message X11_programming
{X11 développement}
message X11_Misc
{X11 Misc.}
message defbootseloptactive
{Démarrer la première partition active.\n}
message defbootseloptpart
{Démarrer depuis la partition %d.\n}
message defbootseloptdisk
{Demarrer depuis le disque %d.\n}
message bootselitemname
{Entrez un nom pour ce choix}
message bootseltimeoutval
{Temps d'attente en secondes (0-3600)}
message bootsel_header
{Numéro Type Nom
------ -------------------------------- ---
}
message bootsel_row
{%-6d %-32s %s\n}

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.md.pl,v 1.4 2002/08/12 02:22:55 grant Exp $ */
/* $NetBSD: msg.md.pl,v 1.5 2003/05/16 19:48:30 dsl Exp $ */
/* Based on english version: */
/* NetBSD: msg.md.en,v 1.24 2001/01/27 07:34:39 jmc Exp */
@ -45,23 +45,12 @@ message md_hello
}
message fullpart
{Zainstalujemy teraz NetBSD na dysku %s. Mozesz wybrac, czy chcesz
zainstalowac NetBSD na calym dysku, czy tylko na jego czesci.
Instalacja na czesci dysku, tworzy partycje, lub 'plaster', dla NetBSD
w tablicy partycji MBR twojego dysku. Instalacja na calym dysku jest
`zdecydowanie polecana': zabiera ona caly MBR. Spowoduje to calkowita
utrate danych na dysku. Uniemozliwia ona take pozniejsza instalacje kilku
systemow na tym dysku (chyba, ze nadpiszesz NetBSD i przeinstalujesz uzywajac
tylko czesci dysku).
Ktora instalacje chcesz zrobic?
}
message wdtype
{Jakim rodzajem dysku jest %s?}
message Select_type
{Wybierz typ}
message sectforward
{Czy twoj dysk przesuwa AUTOMATYCZNIE sektory?}
@ -70,114 +59,16 @@ message dlgeom
BSD disklabel i disklabel raportuje, ze geometria jest inna od prawdziwej.
Te dwie geometrie to:
disklabel: %d cylindrow, %d glowic, %d sektorow
prawdziwa geometria: %d cylindrow, %d glowic, %d sektorow
disklabel: %d cylindrow, %d glowic, %d sektorow
prawdziwa geometria: %d cylindrow, %d glowic, %d sektorow
}
/* the %s's will expand into three character strings */
message part_header
{ Calkowity rozmiar dysku %d %s.
Pocz(%3s) Koniec(%3s) Rozm(%3s) Rodzaj
---------- ----------- ---------- ----
}
message part_row_start_unused
{%-1d: }
message part_row_start_used
{%-1d: %-10d %-11d %-10d}
message part_row_end
{ %s\n}
message setbiosgeom
{Zostaniesz poproszony o podanie geometrii. Podaj wartosci jakie chcesz.
Ilosc cylindrow powinna byc <= 1024 a ilosc sektorow <= 63. Jesli twoj
BIOS jest ustawiony aby obslugiwac > 1024 cylindry po prostu zmniejsz
tutaj ta ilosc do 1024; NetBSD rozpozna reszte cylindrow.
}
message confirmbiosgeom
{Sprawdz czy geometria dysku z BIOS ponizej jest poprawna. Mozliwe ze
ilosc cylindrow zostala zmniejszona do 1024. Jest to w porzadku o ile
reszta parametrow jest poprawna; tylko 1024 cylindry moga byc podane
w MBR, reszta zostanie odnaleziona przez NetBSD w inny sposob.
Jesli poprawiles wartosci, upewnij sie ze sa one poprawne i odpowiadaja
tym uzywanym przez inne systemy na tym dysku. Wartosci, ktore sa nie poprawne
moga spowodowac utrate danych.
}
message badgeom
{Aktualne wartosci dla geometrii twojego dysku to:
}
message realgeom
{praw. geo: %d cyl, %d glowic, %d sek (tylko dla porownania)\n}
message biosgeom
{BIOS geom: %d cyl, %d glowic, %d sek\n}
message reentergeom
{Wartosci podane dla geometrii sa nieprawidlowe. Sprawdz i podaj
je jeszcze raz.
}
message ovrwrite
{Twoj dysk aktualnie posiada partycje nie-NetBSD. Czy napewno chcesz ja
nadpisac z NetBSD?
}
message parttable
{Aktualnie tablica partycji na twoim dysku wyglada tak:
}
message editpart
{Edytujesz partycje %d. Podswietlona partycja to ta, ktora edytujesz.
}
message editparttable
{Wyedytuj DOSowa tablice partycji. Podswietlona partycja jest aktualnie
aktywna. Tablica partycji wyglada tak:
}
message mbrpart_start_special
{
Specjalne wartosci, ktore moga byc podane jako wartosc poczatkowa:
-N: zacznij na koncu partycji N
0: zacznij na poczatku dysku
}
message mbrpart_size_special
{
Specjalne wartoscki, ktore moga byc podane jako wartosc rozmiaru:
-N: rozciagnij partycje, az do partycji N
0: rozciagnij partycje, az do konca dysku
}
message reeditpart
{Partycje MBR sie nakladaja, lub jest wiecej niz jedna partycja NetBSD.
Powinienes zrekonfigurowac tablice partycji MBR.
Czy chcesz ja przekonfigurowac?
}
message nobsdpart
{Nie ma partycji NetBSD w tablicy partycji MBR.}
message multbsdpart
{W tablicy partycji MBR znajduje sie kilka partycji NetBSD.
Zostanie uzyta partycja %d.}
message dofdisk
{Konfigurowanie DOSowej tablicy partycji ...
}
message Choose_an_option
{Wybierz opcje}
message Use_real_geometry
{Uzyj prawdziwej geometrii}
message Use_disklabel_geometry
{Uzyj geometrii disklabel}
message dobad144
{Instalowanie tablicy zlych blokow ...
@ -187,6 +78,19 @@ message getboottype
{Czy chcesz zainstalowac normalne bootbloki, czy te do uzycia z zewn. konsola?
}
message Bootblocks_selection
{Wybor bootblokow}
message Use_normal_bootblocks
{Uzyj normalnych bootblokow}
message Use_serial_9600_bootblocks
{Uzyj bootblokow na zewn. konsole (9600)}
message Use_serial_38400_bootblocks
{Uzyj bootblokow na zewn. konsole (38400)}
message Use_serial_57600_bootblocks
{Uzyj bootblokow na zewn. konsole (57600)}
message Use_serial_115200_bootblocks
{Uzyj bootblokow na zewn. konsole (115200)}
message dobootblks
{Instalowanie bootblokow na %s....
}
@ -227,6 +131,13 @@ konczy sie poza 1024 cylindrem BIOS. Aby byc pewnym, ze system bedzie
mogl sie zawsze uruchomic, cala glowna partycja powinna znajdowac sie ponizej
tego ograniczenia. Mozesz ponadto: }
message Reedit_both_MBR_and_label
{Zmien MBR i disklabel}
message Reedit_the_label
{Zmien disklabel}
message Use_it_anyway
{Uzyj, mimo to}
message onebiosmatch
{Ten dysk odpowiada ponizszemu dyskowi BIOS:
@ -240,6 +151,13 @@ message onebiosmatch_header
message onebiosmatch_row
{%-6x %-10d %-7d %d\n}
message This_is_the_correct_geometry
{To jest prawidlowa geometria}
message Set_the_geometry_by_hand
{Ustaw geometrie recznie}
message Use_one_of_these_disks
{Uzyj jednego z tych dyskow}
message biosmultmatch
{Ten dysk odpowiada ponizszym dyskom BIOS:
@ -252,7 +170,7 @@ message biosmultmatch_header
message biosgeom_advise
{
Notatka: od kiedy sysinst jest w stanie unikalnie rozpoznac dysk, ktory
Notatka: od kiedy sysinst jest w stanie unikalnie rozpoznac dysk, ktory
wybrales i powiazac go z dyskiem BIOS, wartosci wyswietlane powyzej sa
bardzo prawdopodobnie prawidlowe i nie powinny byc zmieniane. Zmieniaj je
tylko wtedy jesli sa naprawde _obrzydliwie_ zle.
@ -274,64 +192,84 @@ chcesz to zrobic?
(Odpowiedz 'nie' zabierze cie spowrotem do menu edycji partycji.)}
message installbootsel
{Wyglada na to, ze masz wiecej niz jeden system operacyjny zainstalowany
na dysku. Czy chcesz zainstalowac program pozwalajacy na wybranie, ktory
system ma sie uruchomic kiedy wlaczasz/restartujesz komputer?}
message installmbr
{Poczatek dysku NetBSD lezy poza zakresem, ktory BIOS moze zaadresowac.
Inicjujacy bootcode w MBR musi miec mozliwosc korzystania z rozszerzonego
interfejsu BIOS aby uruchomic system z tej partycji. Czy chcesz
zainstalowac bootcode NetBSD do MBR aby bylo to mozliwe? Pamietaj, ze
taka operacja nadpisze istniejacy kod w MBR, np. bootselector.}
message installnormalmbr
{Wybrales aby nie instalowac bootselectora. Jesli zrobiles to poniewaz
masz juz taki program zainstalowany, nic wiecej nie musisz robic.
Jakkolwiek, jesli nie masz bootselectora, normalny bootcode musi byc
uzyty, aby system mogl sie prawidlowo uruchomic. Czy chcesz uzyc normalnego
bootcode NetBSD?}
message configbootsel
{Skonfiguruj rozne opcje bootselectora. Mozesz zmienic podstawowe wpisy
menu do odpowiednich partycji, ktore sa wyswietlane kiedy system sie
uruchamia. Mozesz takze ustawic opoznienie czasowe oraz domyslny system
do uruchomienia (jesli nic nie wybierzesz przy starcie w bootmenu).\n
}
message bootseltimeout
{Opoznienie bootmenu: %d\n}
message defbootselopt
{Domyslna akcja bootmenu: }
message defbootseloptactive
{uruchom pierwsza aktywna partycje.\n}
message defbootseloptpart
{uruchom partycje %d.\n}
message defbootseloptdisk
{uruchom twardy dysk %d.\n}
message bootselitemname
{Podaj nazwe dla opcji}
message bootseltimeoutval
{Opoznienie w sekundach (0-3600)}
message bootsel_header
{Numer Typ Wpis Menu
------ -------------------------------- ----------
}
message bootsel_row
{%-6d %-32s %s\n}
message emulbackup
{Albo /emul/aout albo /emul w twoim systemie byl symbolicznym linkiem
wskazujacym na niezamontowany system. Zostalo mu dodane rozszerzenie '.old'.
Kiedy juz uruchomisz swoj zaktualizowany system, mozliwe ze bedziesz musial
zajac sie polaczeniem nowo utworzonego /emul/aout ze starym.
}
message Change_a
{Zmien a}
message Change_b
{Zmien b}
message NetBSD_partition_cant_change
{partycja NetBSD - nie mozna zmienic}
message Whole_disk_cant_change
{Caly dysk - nie mozna zmienic}
message Change_e
{Zmien e}
message Change_f
{Zmien f}
message Change_g
{Zmien g}
message Change_h
{Zmien h}
message Change_i
{Zmien i}
message Change_j
{Zmien j}
message Change_k
{Zmien k}
message Change_l
{Zmien l}
message Change_m
{Zmien m}
message Change_n
{Zmien n}
message Change_o
{Zmien o}
message Change_p
{Zmien p}
message Set_new_allocation_size
{Ustaw nowy przydzial rozmiarow}
message Selection_toggles_inclusion
{Wybierz}
message Kernel_GENERIC
{Kernel (GENERIC)}
message Kernel_GENERIC_TINY
{Kernel (GENERIC_TINY)}
message Kernel_GENERIC_LAPTOP
{Kernel (GENERIC_LAPTOP)}
message Kernel_GENERIC_DIAGNOSTIC
{Kernel (GENERIC_DIAGNOSTIC)}
message Kernel_GENERIC_PS2TINY
{Kernel (GENERIC_PS2TINY)}
message Base
{Base}
message System_etc
{System (/etc)}
message Compiler_Tools
{Compiler Tools}
message Games
{Games}
message Online_Manual_Pages
{Online manual pages}
message Miscellaneous
{Miscellaneous}
message Text_Processing_Tools
{Text Processing Tools}
message X11_base_and_clients
{X11 base and clients}
message X11_fonts
{X11 fonts}
message X11_servers
{X11 servers}
message X_contrib_clients
{X contrib clients}
message X11_programming
{X11 programming}
message X11_Misc
{X11 Misc.}