Changeset 2758


Ignore:
Timestamp:
Apr 7, 2011, 11:31:12 AM (8 years ago)
Author:
bruno
Message:
  • Improved message for Arch Linux for rebuilding the initrd (mc_at_carreira.com.pt)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/mondorestore/mondo-rstr-tools.c

    r2682 r2758  
    12401240        ("You will now be able to re-generate your initrd.\nThis is especially useful if you changed of hardware configuration, cloned, made P2V, used multipath...\nDo you need to do it ?")) {
    12411241        log_msg(1,"Launching shell for manual initrd recreation");
    1242         popup_and_OK("You'll now be chrooted under your future / partition.\nGo under /boot and rebuild your initrd with\nmkinitrd -f -v initrd-2.x.y.img 2.x.y e.g.\nThen type exit to finish.");
     1242        if (does_file_exist(MNT_RESTORING"/etc/arch-release")) {
     1243            popup_and_OK("You'll now be chrooted under your future / partition.\nEdit /etc/mkinitcpio.conf if needed and rebuild your initrd with the kernel preset name e.g.\nmkinitcpio -p kernel26\nThen type exit to finish.\n");
     1244        } else {
     1245            popup_and_OK("You'll now be chrooted under your future / partition.\nGo under /boot and rebuild your initrd with\nmkinitrd -f -v initrd-2.x.y.img 2.x.y e.g.\nThen type exit to finish.");
     1246        }
    12431247        mvaddstr_and_log_it(g_currentY, 0, "Modifying initrd...");
    12441248        if (!g_text_mode) {
Note: See TracChangeset for help on using the changeset viewer.