Changeset 2110 in MondoRescue for branches/2.2.8
- Timestamp:
- Jan 8, 2009, 10:15:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.8/mondo/src/mondorestore/mondo-rstr-tools.c
r2095 r2110 1351 1351 1352 1352 if (bkpinfo->restore_mode != nuke) { 1353 if (!ask_me_yes_or_no 1354 ("You will now be able to re-generate your initrd.\nThis specially useful if you changed of hardware configuration, cloned, made P2V, used multipath... Do you need to do it ?")) { 1353 if (ask_me_yes_or_no 1354 ("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 ?")) { 1355 mvaddstr_and_log_it(g_currentY, 0, "Modifying initrd..."); 1356 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."); 1357 if (!g_text_mode) { 1358 newtSuspend(); 1359 } 1360 (void)system("chroot " MNT_RESTORING); 1361 if (!g_text_mode) { 1362 newtResume(); 1363 } 1364 mvaddstr_and_log_it(g_currentY++, 74, "Done."); 1365 } else { 1355 1366 return; 1356 1367 } 1357 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.");1358 newtSuspend();1359 (void)system("chroot " MNT_RESTORING);1360 newtResume();1361 1368 } else { 1362 1369 log_to_screen("Non-interactive mode: no way to give you the keyboard so that you re-generate your initrd. Hope it's OK");
Note:
See TracChangeset
for help on using the changeset viewer.