@@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: libDrakX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-04-29 01:59+0200\n" +"POT-Creation-Date: 2011-08-05 21:16+0200\n" "PO-Revision-Date: 2008-03-24 03:26+0200\n" "Last-Translator: Dotan Kamber <kamberd@yahoo.com>\n" "Language-Team: Hebrew\n" @@ -24,21 +24,21 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" -#: any.pm:258 any.pm:955 diskdrake/interactive.pm:648 +#: any.pm:270 any.pm:967 diskdrake/interactive.pm:648 #: diskdrake/interactive.pm:871 diskdrake/interactive.pm:931 #: diskdrake/interactive.pm:1033 diskdrake/interactive.pm:1263 #: diskdrake/interactive.pm:1315 do_pkgs.pm:241 do_pkgs.pm:287 -#: harddrake/sound.pm:303 interactive.pm:587 pkgs.pm:285 +#: harddrake/sound.pm:270 interactive.pm:587 pkgs.pm:285 #, c-format msgid "Please wait" msgstr "נא להמתין" -#: any.pm:258 +#: any.pm:270 #, c-format msgid "Bootloader installation in progress" msgstr "התקנת מנהל האתחול" -#: any.pm:269 +#: any.pm:281 #, c-format msgid "" "LILO wants to assign a new Volume ID to drive %s. However, changing\n" @@ -54,12 +54,12 @@ msgstr "" "\n" "האם להקצות תג זיהוי חדש?" -#: any.pm:280 +#: any.pm:292 #, c-format msgid "Installation of bootloader failed. The following error occurred:" msgstr "התקנת מנהל האתחול נכשלה. השגיאות הבאות התרחשו:" -#: any.pm:286 +#: any.pm:298 #, c-format msgid "" "You may need to change your Open Firmware boot-device to\n" @@ -75,7 +75,7 @@ msgstr "" "Command-Option-O-F בזמן האתחול ולהזין setenv boot-device %s,\\\\:tbxi\n" "אחר כך יש להקליד shut-down. באתחול הבא צפוי להופיע מנהל האתחול." -#: any.pm:326 +#: any.pm:338 #, c-format msgid "" "You decided to install the bootloader on a partition.\n" @@ -89,268 +89,268 @@ msgstr "" "\n" "מהו הכונן ממנו נטענת המערכת? " -#: any.pm:337 +#: any.pm:349 #, fuzzy, c-format msgid "Bootloader Installation" msgstr "התקנת מנהל האתחול" -#: any.pm:341 +#: any.pm:353 #, c-format msgid "Where do you want to install the bootloader?" msgstr "איפה ברצונך להתקין את מנהל האתחול?" -#: any.pm:365 +#: any.pm:377 #, fuzzy, c-format msgid "First sector (MBR) of drive %s" msgstr "מקטע ראשון של הכונן (MBR)" -#: any.pm:367 +#: any.pm:379 #, c-format msgid "First sector of drive (MBR)" msgstr "מקטע ראשון של הכונן (MBR)" -#: any.pm:369 +#: any.pm:381 #, c-format msgid "First sector of the root partition" msgstr "מקטע ראשון של מחיצת השורש" -#: any.pm:371 +#: any.pm:383 #, c-format msgid "On Floppy" msgstr "על תקליטון" -#: any.pm:373 pkgs.pm:281 ugtk2.pm:526 +#: any.pm:385 pkgs.pm:281 ugtk2.pm:526 #, c-format msgid "Skip" msgstr "דילוג" -#: any.pm:408 +#: any.pm:420 #, c-format msgid "Boot Style Configuration" msgstr "הגדרת סגנון מנהל אתחול" -#: any.pm:418 any.pm:451 any.pm:452 +#: any.pm:430 any.pm:463 any.pm:464 #, c-format msgid "Bootloader main options" msgstr "הגדרות עיקריות של מנהל האתחול" -#: any.pm:422 +#: any.pm:434 #, c-format msgid "Bootloader" msgstr "מנהל אתחול" -#: any.pm:423 any.pm:455 +#: any.pm:435 any.pm:467 #, c-format msgid "Bootloader to use" msgstr "מנהל אתחול (ברירת מחדל):" -#: any.pm:426 any.pm:458 +#: any.pm:438 any.pm:470 #, c-format msgid "Boot device" msgstr "מחיצת האתחול (ברירת מחדל):" -#: any.pm:429 +#: any.pm:441 #, c-format msgid "Main options" msgstr "אפשרויות ראשיות" -#: any.pm:430 +#: any.pm:442 #, c-format msgid "Delay before booting default image" msgstr "השהייה לפני אתחול מערכת ברירת המחדל" -#: any.pm:431 +#: any.pm:443 #, c-format msgid "Enable ACPI" msgstr "הפעלת ACPI (ניהול צריכת אנרגיה מתקדמת)" -#: any.pm:432 +#: any.pm:444 #, fuzzy, c-format msgid "Enable SMP" msgstr "הפעלת ACPI (ניהול צריכת אנרגיה מתקדמת)" -#: any.pm:433 +#: any.pm:445 #, c-format msgid "Enable APIC" msgstr "הפעלת APIC" -#: any.pm:435 +#: any.pm:447 #, c-format msgid "Enable Local APIC" msgstr "הפעלת APIC מקומי" -#: any.pm:436 security/level.pm:51 +#: any.pm:448 security/level.pm:63 #, c-format msgid "Security" msgstr "הגדרות אבטחה" -#: any.pm:437 any.pm:890 any.pm:909 authentication.pm:252 +#: any.pm:449 any.pm:902 any.pm:921 authentication.pm:252 #: diskdrake/smbnfs_gtk.pm:181 #, c-format msgid "Password" msgstr "סיסמה" -#: any.pm:440 authentication.pm:263 +#: any.pm:452 authentication.pm:263 #, c-format msgid "The passwords do not match" msgstr "הסיסמאות לא זהות" -#: any.pm:440 authentication.pm:263 diskdrake/interactive.pm:1490 +#: any.pm:452 authentication.pm:263 diskdrake/interactive.pm:1490 #, c-format msgid "Please try again" msgstr "יש לנסות שנית" -#: any.pm:442 +#: any.pm:454 #, c-format msgid "You cannot use a password with %s" msgstr "אסור להשתמש בסיסמה עם %s" -#: any.pm:446 any.pm:893 any.pm:911 authentication.pm:253 +#: any.pm:458 any.pm:905 any.pm:923 authentication.pm:253 #, c-format msgid "Password (again)" msgstr "סיסמה (שוב)" -#: any.pm:447 +#: any.pm:459 #, c-format msgid "Clean /tmp at each boot" msgstr "ניקוי קבצים זמניים בספריית tmp/ בכל אתחול" -#: any.pm:457 +#: any.pm:469 #, c-format msgid "Init Message" msgstr "הודעת אתחול" -#: any.pm:459 +#: any.pm:471 #, c-format msgid "Open Firmware Delay" msgstr "השהיית קושחה (Firmware) פתוחה" -#: any.pm:460 +#: any.pm:472 #, c-format msgid "Kernel Boot Timeout" msgstr "משך המתנה מירבי לאתחול גרעין" -#: any.pm:461 +#: any.pm:473 #, c-format msgid "Enable CD Boot?" msgstr "האם לאפשר אתחול מתקליטור?" -#: any.pm:462 +#: any.pm:474 #, c-format msgid "Enable OF Boot?" msgstr "האם לאפשר אתחול OF?" -#: any.pm:463 +#: any.pm:475 #, c-format msgid "Default OS?" msgstr "מהי מערכת הפעלה שתיטען כברירת מחדל?" -#: any.pm:536 +#: any.pm:548 #, c-format msgid "Image" msgstr "תצורה" -#: any.pm:537 any.pm:551 +#: any.pm:549 any.pm:563 #, c-format msgid "Root" msgstr "מנהל מערכת (root)" -#: any.pm:538 any.pm:564 +#: any.pm:550 any.pm:576 #, c-format msgid "Append" msgstr "הוספה" -#: any.pm:540 +#: any.pm:552 #, c-format msgid "Xen append" msgstr "הוספת Xen" -#: any.pm:542 +#: any.pm:554 #, c-format msgid "Requires password to boot" msgstr "" -#: any.pm:544 +#: any.pm:556 #, c-format msgid "Video mode" msgstr "תצורת תצוגה" -#: any.pm:546 +#: any.pm:558 #, c-format msgid "Initrd" msgstr "Initrd" -#: any.pm:547 +#: any.pm:559 #, c-format msgid "Network profile" msgstr "תצורת רשת" -#: any.pm:556 any.pm:561 any.pm:563 diskdrake/interactive.pm:407 +#: any.pm:568 any.pm:573 any.pm:575 diskdrake/interactive.pm:407 #, c-format msgid "Label" msgstr "תווית" -#: any.pm:558 any.pm:566 harddrake/v4l.pm:438 +#: any.pm:570 any.pm:578 harddrake/v4l.pm:438 #, c-format msgid "Default" msgstr "ברירת מחדל" -#: any.pm:565 +#: any.pm:577 #, c-format msgid "NoVideo" msgstr "ללא תצוגה" -#: any.pm:576 +#: any.pm:588 #, c-format msgid "Empty label not allowed" msgstr "אסור להגדיר תווית שם ריקה" -#: any.pm:577 +#: any.pm:589 #, c-format msgid "You must specify a kernel image" msgstr "חובה להגדיר תמונת גרעין" -#: any.pm:577 +#: any.pm:589 #, c-format msgid "You must specify a root partition" msgstr "חובה להגדיר מחיצת שורש" -#: any.pm:578 +#: any.pm:590 #, c-format msgid "This label is already used" msgstr "התווית הזאת כבר בשימוש" -#: any.pm:596 +#: any.pm:608 #, c-format msgid "Which type of entry do you want to add?" msgstr "איזה סוג כניסה ברצונך להוסיף?" -#: any.pm:597 +#: any.pm:609 #, c-format msgid "Linux" msgstr "לינוקס" -#: any.pm:597 +#: any.pm:609 #, c-format msgid "Other OS (SunOS...)" msgstr "מערכת הפעלה אחרת (SunOS...)" -#: any.pm:598 +#: any.pm:610 #, c-format msgid "Other OS (MacOS...)" msgstr "מערכת הפעלה אחרת (MacOS...)" -#: any.pm:598 +#: any.pm:610 #, c-format msgid "Other OS (Windows...)" msgstr "מערכת הפעלה אחרת (חלונות...)" -#: any.pm:645 +#: any.pm:657 #, fuzzy, c-format msgid "Bootloader Configuration" msgstr "הגדרת סגנון מנהל אתחול" -#: any.pm:646 +#: any.pm:658 #, c-format msgid "" "Here are the entries on your boot menu so far.\n" @@ -359,195 +359,195 @@ msgstr "" "להלן הרשומות שהוגדרו כבר בתפריט האתחול\n" "ניתן להוסיף רשומות או לשנות רשומות קיימות." -#: any.pm:851 +#: any.pm:863 #, c-format msgid "access to X programs" msgstr "גישה ליישומים גרפיים" -#: any.pm:852 +#: any.pm:864 #, c-format msgid "access to rpm tools" msgstr "גישה לכלי התקנת תוכנה" -#: any.pm:853 +#: any.pm:865 #, c-format msgid "allow \"su\"" msgstr "איפשור שינוי למנהל מערכת (\"su\")" -#: any.pm:854 +#: any.pm:866 #, c-format msgid "access to administrative files" msgstr "אפשרות גישה לקבצי ניהול" -#: any.pm:855 +#: any.pm:867 #, c-format msgid "access to network tools" msgstr "אפשרות גישה לכלי רשת" -#: any.pm:856 +#: any.pm:868 #, c-format msgid "access to compilation tools" msgstr "אפשרות גישה לכלי הידור" -#: any.pm:862 +#: any.pm:874 #, c-format msgid "(already added %s)" msgstr "(כבר נוסף %s)" -#: any.pm:868 +#: any.pm:880 #, c-format msgid "Please give a user name" msgstr "עליך להגדיר שם משתמש" -#: any.pm:869 +#: any.pm:881 #, fuzzy, c-format msgid "" "The user name must start with a lower case letter followed by only lower " "cased letters, numbers, `-' and `_'" msgstr "שם המשתמש יכול להכיל אך ורק אותיות קטנות, מספרים, `-' ו `_'" -#: any.pm:870 +#: any.pm:882 #, c-format msgid "The user name is too long" msgstr "שם המשתמש ארוך מדי" -#: any.pm:871 +#: any.pm:883 #, c-format msgid "This user name has already been added" msgstr "שם משתמש זה כבר קיים" -#: any.pm:877 any.pm:913 +#: any.pm:889 any.pm:925 #, c-format msgid "User ID" msgstr "קוד זיהוי משתמש" -#: any.pm:877 any.pm:914 +#: any.pm:889 any.pm:926 #, c-format msgid "Group ID" msgstr "קוד זיהוי קבוצה" -#: any.pm:878 +#: any.pm:890 #, c-format msgid "%s must be a number" msgstr "הערך %s חייב להיות מספר" -#: any.pm:879 +#: any.pm:891 #, c-format msgid "%s should be above 500. Accept anyway?" msgstr "%s צריך להיות מעל 500. האם להמשיך בכל זאת?" -#: any.pm:883 +#: any.pm:895 #, c-format msgid "User management" msgstr "ניהול משתמשים" -#: any.pm:888 +#: any.pm:900 #, c-format msgid "Enable guest account" msgstr "" -#: any.pm:889 authentication.pm:239 +#: any.pm:901 authentication.pm:239 #, c-format msgid "Set administrator (root) password" msgstr "קביעת סיסמת מנהל" -#: any.pm:895 +#: any.pm:907 #, c-format msgid "Enter a user" msgstr "הזנת משתמש" -#: any.pm:897 +#: any.pm:909 #, c-format msgid "Icon" msgstr "סמל" -#: any.pm:900 +#: any.pm:912 #, c-format msgid "Real name" msgstr "שם אמיתי" -#: any.pm:907 +#: any.pm:919 #, c-format msgid "Login name" msgstr "שם משתמש" -#: any.pm:912 +#: any.pm:924 #, c-format msgid "Shell" msgstr "מעטפת" -#: any.pm:955 +#: any.pm:967 #, c-format msgid "Please wait, adding media..." msgstr "נא להמתין, מוסיף מקור..." -#: any.pm:985 security/l10n.pm:14 +#: any.pm:997 security/l10n.pm:14 #, c-format msgid "Autologin" msgstr "כניסה-אוטומטית" -#: any.pm:986 +#: any.pm:998 #, c-format msgid "I can set up your computer to automatically log on one user." msgstr "" "ניתן להגדיר שכאשר המערכת תופעל היא תכנס אוטומטית לחשבון של אחד המשתמשים." -#: any.pm:987 +#: any.pm:999 #, c-format msgid "Use this feature" msgstr "הפעל אפשרות זו" -#: any.pm:988 +#: any.pm:1000 #, c-format msgid "Choose the default user:" msgstr "בחירת משתמש ברירת המחדל: " -#: any.pm:989 +#: any.pm:1001 #, c-format msgid "Choose the window manager to run:" msgstr "יש לבחור את מנהל החלונות:" -#: any.pm:1000 any.pm:1020 any.pm:1088 +#: any.pm:1012 any.pm:1032 any.pm:1100 #, c-format msgid "Release Notes" msgstr "הערות שחרור" -#: any.pm:1027 any.pm:1376 interactive/gtk.pm:819 +#: any.pm:1039 any.pm:1388 interactive/gtk.pm:819 #, c-format msgid "Close" msgstr "סגור" -#: any.pm:1074 +#: any.pm:1086 #, c-format msgid "License agreement" msgstr "הסכם משתמש" -#: any.pm:1076 diskdrake/dav.pm:26 +#: any.pm:1088 diskdrake/dav.pm:26 #, c-format msgid "Quit" msgstr "יציאה" -#: any.pm:1083 +#: any.pm:1095 #, fuzzy, c-format msgid "Do you accept this license ?" msgstr "האם יש לך עוד אחד?" -#: any.pm:1084 +#: any.pm:1096 #, c-format msgid "Accept" msgstr "הסכמה" -#: any.pm:1084 +#: any.pm:1096 #, c-format msgid "Refuse" msgstr "סירוב" -#: any.pm:1110 any.pm:1172 +#: any.pm:1122 any.pm:1184 #, c-format msgid "Please choose a language to use" msgstr "יש לבחור את השפה העיקרית" -#: any.pm:1138 +#: any.pm:1150 #, fuzzy, c-format msgid "" "%s can support multiple languages. Select\n" @@ -558,82 +558,82 @@ msgstr "" "את השפות שברצונך להתקין. השפות יהיו זמינות כאשר\n" "ההתקנה תסתיים והמחשב יופעל מחדש." -#: any.pm:1140 fs/partitioning_wizard.pm:172 +#: any.pm:1152 fs/partitioning_wizard.pm:172 #, c-format msgid "Mageia" msgstr "" -#: any.pm:1141 -#, c-format -msgid "Multi languages" +#: any.pm:1153 +#, fuzzy, c-format +msgid "Multiple languages" msgstr "ריבוי שפות" -#: any.pm:1150 any.pm:1181 +#: any.pm:1162 any.pm:1193 #, c-format msgid "Old compatibility (non UTF-8) encoding" msgstr "קידוד עם תאימות לאחור (לא UTF-8)" -#: any.pm:1151 +#: any.pm:1163 #, c-format msgid "All languages" msgstr "כל השפות" -#: any.pm:1173 +#: any.pm:1185 #, c-format msgid "Language choice" msgstr "בחירת שפה" -#: any.pm:1227 +#: any.pm:1239 #, c-format msgid "Country / Region" msgstr "מדינה / אזור" -#: any.pm:1228 +#: any.pm:1240 #, c-format msgid "Please choose your country" msgstr "עליך לבחור את המדינה שלך" -#: any.pm:1230 +#: any.pm:1242 #, c-format msgid "Here is the full list of available countries" msgstr "להלן הרשימה המלאה של המדינות הזמינות" -#: any.pm:1231 +#: any.pm:1243 #, c-format msgid "Other Countries" msgstr "מדינות אחרות" -#: any.pm:1231 interactive.pm:488 interactive/gtk.pm:445 +#: any.pm:1243 interactive.pm:488 interactive/gtk.pm:445 #, c-format msgid "Advanced" msgstr "מתקדם" -#: any.pm:1237 +#: any.pm:1249 #, c-format msgid "Input method:" msgstr "שיטת קלט:" -#: any.pm:1240 +#: any.pm:1252 #, c-format msgid "None" msgstr "כלום" -#: any.pm:1321 +#: any.pm:1333 #, c-format msgid "No sharing" msgstr "ללא שיתוף" -#: any.pm:1321 +#: any.pm:1333 #, c-format msgid "Allow all users" msgstr "הרשה לכל המשתמשים" -#: any.pm:1321 +#: any.pm:1333 #, c-format msgid "Custom" msgstr "מותאם אישית" -#: any.pm:1325 +#: any.pm:1337 #, c-format msgid "" "Would you like to allow users to share some of their directories?\n" @@ -647,7 +647,7 @@ msgstr "" "\n" "\" התאמה אישית\" תאפשר התאמה לכל משתמש.\n" -#: any.pm:1337 +#: any.pm:1349 #, c-format msgid "" "NFS: the traditional Unix file sharing system, with less support on Mac and " @@ -655,7 +655,7 @@ msgid "" msgstr "" "NFS: מערכת שיתוף הקבצים המסורתית של יוניקס, עם תמיכה פחותה במק וחלונות." -#: any.pm:1340 +#: any.pm:1352 #, c-format msgid "" "SMB: a file sharing system used by Windows, Mac OS X and many modern Linux " @@ -664,18 +664,18 @@ msgstr "" "SMB: מערכת שיתוף קבצים הנמצאת בשימוש בחלונות, Mac OS X ומערכות לינוקס " "מודרניות רבות." -#: any.pm:1348 +#: any.pm:1360 #, c-format msgid "" "You can export using NFS or SMB. Please select which you would like to use." msgstr "ניתן לייצא בעזרת NFS או SMB. עליך לבחור במה להשתמש." -#: any.pm:1376 +#: any.pm:1388 #, c-format msgid "Launch userdrake" msgstr "הפעלת userdrake" -#: any.pm:1378 +#: any.pm:1390 #, c-format msgid "" "The per-user sharing uses the group \"fileshare\". \n" @@ -684,54 +684,54 @@ msgstr "" "השיתוף לכל משתמש, משתמש בהגדרתקבוצה \"שיתוף-קבצים\".\n" "ביכולתך להשתמש בעורך המשתמשים כדי להוסיף משתמשים לקבוצה זו." -#: any.pm:1485 +#: any.pm:1498 #, fuzzy, c-format msgid "" "You need to logout and back in again for changes to take effect. Press OK to " "logout now." msgstr "עליך להתנתק ולהתחבר שנית כדי שהשינויים יחולו." -#: any.pm:1489 +#: any.pm:1502 #, c-format msgid "You need to log out and back in again for changes to take effect" msgstr "עליך להתנתק ולהתחבר שנית כדי שהשינויים יחולו." -#: any.pm:1524 +#: any.pm:1537 #, c-format msgid "Timezone" msgstr "אזור זמן" -#: any.pm:1524 +#: any.pm:1537 #, c-format msgid "Which is your timezone?" msgstr "מהו אזור הזמן שלך?" -#: any.pm:1547 any.pm:1549 +#: any.pm:1560 any.pm:1562 #, c-format msgid "Date, Clock & Time Zone Settings" msgstr "הגדרות תאריך, שעון ואזור-זמן" -#: any.pm:1550 +#: any.pm:1563 #, c-format msgid "What is the best time?" msgstr "מה הזמן הנכון?"
initrd=$type.rdz
append=" ramdisk_size=120000"
read-only
image=vmlinux
label=rescue
initrd=$type.rdz
append=" rescue ramdisk_size=120000"
"));
_ "sync";
_ "df $tmp_mnt";
}
sub boot_img_sparc {
my ($type, $I, $_img) = @_;
if ($type =~ /^live(.*)/) {
#- hack to produce directly into /export the needed file for cdrom boot.
my $dir = "/export";
my $boot = "boot"; #- non-absolute pathname only!
_ "mkdir -p $dir/$boot";
_ "cp -f /boot/cd.b /boot/second.b $dir/$boot";
_ "cp -f vmlinux$1 $dir/$boot/vmlinux$1";
-f "live$1.rdz" ? _ "cp -f live$1.rdz $dir/$boot" : initrd($tmp_mnt_initrd, $type, $I, "$dir/$boot/live$1.rdz");
output("$dir/$boot/silo.conf", qq(
partition=1
default=linux
timeout=100
read-write
message=/$boot/boot.msg
image="cat /$boot/boot.msg"
label=1
single-key
image="cat /$boot/general.msg"
label=2
single-key
image="cat /$boot/expert.msg"
label=3
single-key
image="cat /$boot/rescue.msg"
label=4
single-key
image="cat /$boot/kickit.msg"
label=5
single-key
image="cat /$boot/param.msg"
label=6
single-key
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
label=linux
alias=install
initrd=/$boot/live.rdz
append="ramdisk_size=128000"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
label=text
initrd=/$boot/live.rdz
append="ramdisk_size=128000 text"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
label=expert
initrd=/$boot/live.rdz
append="ramdisk_size=128000 expert"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
label=ks
initrd=/$boot/live.rdz
append="ramdisk_size=128000 ks"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
label=rescue
initrd=/$boot/live.rdz
append="ramdisk_size=128000 rescue"
image[sun4u]=/$boot/vmlinux64
label=linux
alias=install
initrd=/$boot/live64.rdz
append="ramdisk_size=128000"
image[sun4u]=/$boot/vmlinux64
label=text
initrd=/$boot/live64.rdz
append="ramdisk_size=128000 text"
image[sun4u]=/$boot/vmlinux64
label=expert
initrd=/$boot/live64.rdz
append="ramdisk_size=128000 expert"
image[sun4u]=/$boot/vmlinux64
label=ks
initrd=/$boot/live64.rdz
append="ramdisk_size=128000 ks"
image[sun4u]=/$boot/vmlinux64
label=rescue
initrd=/$boot/live64.rdz
append="ramdisk_size=128000 rescue"
"));
output("$dir/$boot/README", "
To Build a Bootable CD-ROM, try:
mkisofs -R -o t.iso -s /$boot/silo.conf /export
");
} elsif ($type =~ /^tftprd(.*)/) {
my $dir = "/export";
my $boot = "images";
my $setarch = $1 ? "sparc64" : "sparc32";
_ "mkdir -p $dir/$boot";
-f "$type.rdz" or initrd($tmp_mnt_initrd, $type, $I, "$type.rdz");
_ "cp -f vmlinux$1.aout $dir/$boot/$type.img";
_ "$setarch kernel$1/src/arch/sparc$1/boot/piggyback $dir/$boot/$type.img kernel$1/boot/System.map $type.rdz";
} elsif ($type =~ /^tftp(.*)/) {
my $dir = "/export";
my $boot = "images";
_ "mkdir -p $dir/$boot";
_ "cp -f vmlinux$1.aout $dir/$boot/$type.img";
} else {
my $dir = "floppy";
__ "$sudo umount $tmp_mnt 2>/dev/null";
_ "rm -rf $dir";
_ "mkdir -p $dir";
_ "cp -f /boot/fd.b /boot/second.b $dir";
_ "cp -f vmlinuz$I $dir/vmlinux$I.gz";
-f "$type.rdz" ? _ "cp -f $type.rdz $dir" : initrd($tmp_mnt_initrd, $type, $I, "$dir/$type.rdz");
output("$dir/boot.msg", "
Welcome to Mandrakelinux 7.1
Press <Enter> to install or upgrade a system 7mMandrakelinux7m
");
output("$dir/silo.conf", qq(
partition=1
default=linux
timeout=100
read-write
message=/boot.msg
image=/vmlinux$I.gz
label=linux
initrd=/$type.rdz
append="ramdisk_size=128000 $type"
"));
_ "genromfs -d $dir -f /dev/ram -A 2048,/.. -a 512 -V 'DrakX boot disk'";
_ "$sudo mount -t romfs /dev/ram $tmp_mnt";
_ "silo -r $tmp_mnt -F -i /fd.b -b /second.b -C /silo.conf";
_ "$sudo umount $tmp_mnt";
_ "dd if=/dev/ram of=$type.img bs=1440k count=1";
_ "sync";
_ "$sudo mount -t romfs /dev/ram $tmp_mnt";
_ "df $tmp_mnt";
}
}
sub boot_img_ppc() {
#- hack to produce directly into /export the needed file for cdrom boot.
my $dir = "/export";
my $boot = "boot"; #- non-absolute pathname only!
_ "rm -rf $dir/$boot"; mkdir "$dir/$boot", 0777;
foreach (glob("kernel/all.kernels/*")) {
my $ext = basename($_);
if ($ext =~ /power4/) {
_ "cp $_/boot/vmlinuz-$ext* $dir/$boot/vmlinux-power4";
_ "cp images/all.rdz-$ext $dir/$boot/all-power4.gz";
}
elsif ($ext =~ /2.6/) {
_ "cp $_/boot/vmlinuz-$ext $dir/$boot/vmlinux";
_ "cp images/all.rdz-$ext $dir/$boot/all.gz";
}
elsif ($ext =~ /2.4/) {
_ "cp $_/boot/vmlinux $dir/$boot/vmlinux-2.4";
_ "cp images/all.rdz-$ext $dir/$boot/all-2.4.gz";
}
}
_ "cp -f /usr/lib/yaboot/yaboot $dir/$boot/yaboot";
output("$dir/$boot/ofboot.b", '<CHRP-BOOT>
<COMPATIBLE>
MacRISC
</COMPATIBLE>
<DESCRIPTION>
Mandrakelinux PPC bootloader
</DESCRIPTION>
<BOOT-SCRIPT>
" screen" output
load-base release-load-area
dev screen
" "(0000000000aa00aa0000aaaaaa0000aa00aaaa5500aaaaaa)" drop 0 8 set-colors
" "(5555555555ff55ff5555ffffff5555ff55ffffff55ffffff)" drop 8 8 set-colors
device-end
3 to foreground-color
0 to background-color
" "(0C)" fb8-write drop
" Booting Mandrakelinux PPC..." fb8-write drop 100 ms
boot cd:,\boot\yaboot
</BOOT-SCRIPT>
<OS-BADGE-ICONS>
1010
000000000000F8FEACF6000000000000
0000000000F5FFFFFEFEF50000000000
00000000002BFAFEFAFCF70000000000
0000000000F65D5857812B0000000000
0000000000F5350B2F88560000000000
0000000000F6335708F8FE0000000000
00000000005600F600F5FD8100000000
00000000F9F8000000F5FAFFF8000000
000000008100F5F50000F6FEFE000000
000000F8F700F500F50000FCFFF70000
00000088F70000F50000F5FCFF2B0000
0000002F582A00F5000008ADE02C0000
00090B0A35A62B0000002D3B350A0000
000A0A0B0B3BF60000505E0B0A0B0A00
002E350B0B2F87FAFCF45F0B2E090000
00000007335FF82BF72B575907000000
000000000000ACFFFF81000000000000
000000000081FFFFFFFF810000000000
0000000000FBFFFFFFFFAC0000000000
000000000081DFDFDFFFFB0000000000
000000000081DD5F83FFFD0000000000
000000000081DDDF5EACFF0000000000
0000000000FDF981F981FFFF00000000
00000000FFACF9F9F981FFFFAC000000
00000000FFF98181F9F981FFFF000000
000000ACACF981F981F9F9FFFFAC0000
000000FFACF9F981F9F981FFFFFB0000
00000083DFFBF981F9F95EFFFFFC0000
005F5F5FDDFFFBF9F9F983DDDD5F0000
005F5F5F5FDD81F9F9E7DF5F5F5F5F00
0083DD5F5F83FFFFFFFFDF5F835F0000
000000FBDDDFACFBACFBDFDFFB000000
000000000000FFFFFFFF000000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFFFF00000000
00000000FFFFFFFFFFFFFFFFFF000000
00000000FFFFFFFFFFFFFFFFFF000000
000000FFFFFFFFFFFFFFFFFFFFFF0000
000000FFFFFFFFFFFFFFFFFFFFFF0000
000000FFFFFFFFFFFFFFFFFFFFFF0000
00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
00FFFFFFFFFFFFFFFFFFFFFFFFFFFF00
00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
000000FFFFFFFFFFFFFFFFFFFF000000
</OS-BADGE-ICONS>
</CHRP-BOOT>
');
output("$dir/$boot/yaboot.conf", '
init-message = "\nWelcome to Mandrakelinux PPC!\nHit <TAB> for boot options.\n\n"
timeout = 150
device=cd:
default = install-gui
message=/boot/yaboot.msg
image = /boot/vmlinux
label = install-gui
initrd = /boot/all.gz
initrd-size = 34000
append = " ramdisk_size=128000"
image = /boot/vmlinux-power4
label = install-gui-power4
initrd = /boot/all-power4.gz
initrd-size = 34000
append = " ramdisk_size=128000"
image = /boot/vmlinux
label = install-text
initrd = /boot/all.gz
initrd-size = 34000
append = " text ramdisk_size=128000"
image = /boot/vmlinux-power4
label = install-text-power4
initrd = /boot/all-power4.gz
initrd-size = 34000
append = " text ramdisk_size=128000"
image = /boot/vmlinux
label = install-gui-old
initrd = /boot/all.gz
initrd-size = 34000
append = " gui-old ramdisk_size=128000"
image = /boot/vmlinux-power4
label = install-gui-old-power4
initrd = /boot/all-power4.gz
initrd-size = 34000
append = " gui-old ramdisk_size=128000"
image = enet:0,vmlinux
label = install-net
initrd = enet:0,all.gz
initrd-size = 34000
append = " ramdisk_size=128000"
image = enet:0,vmlinux-power4
label = install-net-power4
initrd = enet:0,all-power4.gz
initrd-size = 34000
append = " ramdisk_size=128000"
image = enet:0,vmlinux
label = install-net-text
initrd = enet:0,all.gz
initrd-size = 34000
append = " text ramdisk_size=128000"
image = enet:0,vmlinux-power4
label = install-net-text-power4
initrd = enet:0,all-power4.gz
initrd-size = 34000
append = " text ramdisk_size=128000"
image = /boot/vmlinux
label = rescue
initrd = /boot/all.gz
initrd-size = 34000
append = " rescue ramdisk_size=128000"
image = /boot/vmlinux-power4
label = rescue-power4
initrd = /boot/all-power4.gz
initrd-size = 34000
append = " rescue ramdisk_size=128000"
image = enet:0,vmlinux
label = rescue-net
initrd = enet:0,all.gz
initrd-size = 34000
append = " rescue ramdisk_size=128000"
image = enet:0,vmlinux-power4
label = rescue-net-power4
initrd = enet:0,all-power4.gz
initrd-size = 34000
append = " rescue ramdisk_size=128000"
');
output("$dir/$boot/yaboot.msg", '
Thanks for choosing Mandrakelinux PPC. The following is a short
explanation of the various options for booting the install CD.
All options ending with "-power4" use the BOOT kernel for ppc 9xx and POWER4.
The default syntax with no suffix uses the BOOT kernel for ppc 6xx 7xx and 7xxx.
The default if you just hit enter is "install-gui".
install-gui: uses Xorg fbdev mode
install-text: text based install
install-net: allows you to use a minimal boot CD,
pulling the rest of the install from
a network server
install-net-text: text mode network install
rescue: boots the rescue image
rescue-net: boots the rescue image from a network server
');
}
sub VERSION {
my ($kernels) = @_;
map { "$_\n" }
$ENV{DISTRIB_DESCR},
scalar gmtime(),
'', @$kernels;
}
sub syslinux_all_files {
my ($dir, $kernels) = @_;
eval { rm_rf($dir) }; mkdir_p($dir);
@$kernels or die "syslinux_all_files: no kernel\n";
$default_vga =~ /788/ or die 'we rely on vga=788 for bootsplash';
my $bootspash_cfg = '/etc/bootsplash/themes/Mandrakelinux/config/bootsplash-800x600.cfg';
-e $bootspash_cfg or die "can't find $bootspash_cfg";
each_index {
mkdir "$dir/alt$::i", 0777;
_ "cp kernel/all.kernels/$_/vmlinuz $dir/alt$::i";
initrd($tmp_mnt_initrd, 'all', '', "images/all.rdz-$_");
_ "splash -s -f $bootspash_cfg >> images/all.rdz-$_" if !/BOOT/;
rename("images/all.rdz-$_", "$dir/alt$::i/all.rdz");
} @$kernels;
_ "lilo-bmp2mdk file:isolinux-graphic.bmp >$dir/boot.msg";
_ "install -m 644 -D /boot/memtest* $dir/test/memtest.bin";
output("$dir/help.msg", syslinux_msg('help.msg.xml'));
output("$dir/advanced.msg", syslinux_msg('advanced.msg.xml',
"\nYou can choose the following kernels :\n",
map_index { " o " . syslinux_color('white') . "alt$::i" . syslinux_color('default') . " is kernel $_\n" } @$kernels));
}
sub isolinux {
my ($main, @kernels) = @_;
@kernels = ($main, grep { $_ ne $main } @kernels);
syslinux_all_files('isolinux', \@kernels);
_ "cp /usr/lib/syslinux/isolinux.bin isolinux/isolinux.bin";
output("isolinux/isolinux.cfg", syslinux_cfg_all('cdrom'));
}
sub boot_iso {
my ($iso, $kernels) = @_;
syslinux_all_files('.boot_iso/isolinux', $kernels);
output('.boot_iso/VERSION', VERSION($kernels));
_ "cp /usr/lib/syslinux/isolinux.bin .boot_iso/isolinux/isolinux.bin";
output('.boot_iso/isolinux/isolinux.cfg', syslinux_cfg_all(''));
_ "mkisofs -r -f -J -cache-inodes -V 'Mdk Boot ISO' -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o $iso .boot_iso";
rm_rf('.boot_iso');
}
sub isolinux_move {
my ($main) = @_;
_ "cp kernel/all.kernels/$main/vmlinuz move/isolinux";
initrd($tmp_mnt_initrd, 'all', '', "move/isolinux/all.rdz-$main", '-with-busybox');
rename "move/isolinux/all.rdz-$main", "move/isolinux/all.rdz";
_ "lilo-bmp2mdk file:move/data/isolinux-graphic.bmp >move/isolinux/boot.msg";
_ "cp /usr/lib/syslinux/isolinux.bin move/isolinux/isolinux.bin";
}
sub hd_grub {
my ($img) = @_;
my $mapfile = '/tmp/device.map.tmp';
my @grub_files = map { "/boot/grub/$_" } qw(stage1 stage2);
my $size = 40_000 + sum(map { -s $_ } @grub_files);
__ "$sudo umount $tmp_mnt 2>/dev/null";
_ "dd if=/dev/zero of=$img bs=1 count=$size";
_ "mkdosfs $img";
_ "$sudo mount -t vfat -o umask=0 $img $tmp_mnt -o loop";
_ "cp @grub_files $tmp_mnt";
output("$tmp_mnt/menu.lst", <<EOF);
timeout 10
default 0
fallback 1
title Mandrake Install
root (hd0,0)
kernel /cooker/isolinux/alt0/vmlinuz $default_append $default_acpi $default_vga automatic=method:disk
initrd /cooker/isolinux/alt0/all.rdz
title Help
pause To display the help, press <space> until you reach "HELP END"
pause .
pause Please see http://qa.mandrakesoft.com/hd_grub.cgi for a friendlier solution
pause .
pause To specify the location where Mandrakelinux is copied,
pause choose "Mandrake Install", and press "e".
pause Then change "root (hd0,0)". FYI:
pause - (hd0,0) is the first partition on first bios hard drive (usually hda1)
pause - (hd0,4) is the first extended partition (usually hda5)
pause - (hd1,0) is the first partition on second bios hard drive
pause Replace /cooker to suits the directory containing Mandrakelinux
pause .
pause HELP END
EOF
_ "$sudo umount $tmp_mnt";
output($mapfile, "(fd0) $img\n");
open(my $G, "| grub --device-map=$mapfile --batch");
print $G <<EOF;
root (fd0)
install /stage1 d (fd0) /stage2 p /menu.lst
quit
EOF
close $G;
unlink $mapfile;
}
sub drivers {
my ($type, $I, $img) = @_;
_ "dd if=/dev/zero of=$img bs=1k count=1440";
mke2fs($img);
_ "$sudo mount -t ext2 $img $tmp_mnt -o loop";
my ($ext) = $img =~ /img-(.*)/ or die "bad image name ($img)";
_ "$sudo cp -f kernel/all.kernels$I/$ext/${type}_modules.mar $tmp_mnt/modules$I.mar";
_ "sync";
_ "df $tmp_mnt";
_ "$sudo umount $tmp_mnt";
}
|