Ignore:
Timestamp:
Jul 24, 2007, 1:20:40 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Add the possibiilty to edit in interactive mode mtab and device.map for grub
  • Remove blkid cache files after restore to avoid problems in cloning mode
File:
1 edited

Legend:

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

    r1541 r1547  
    16791679        mvaddstr_and_log_it(g_currentY,
    16801680                            0,
    1681                             "Modifying fstab and grub.conf, and running GRUB...                             ");
     1681                            "Modifying fstab, mtab, device.map and grub.conf, and running GRUB...                             ");
    16821682        for (done = FALSE; !done;) {
    16831683            popup_and_get_string("Boot device",
     
    16961696                done = TRUE;
    16971697            }
    1698             popup_and_OK("You will now edit fstab and grub.conf");
     1698            popup_and_OK("You will now edit fstab, mtab, device.map and grub.conf");
    16991699            if (!g_text_mode) {
    17001700                newtSuspend();
     
    17021702            sprintf(tmp, "chroot %s %s /etc/fstab", MNT_RESTORING, editor);
    17031703            paranoid_system(tmp);
     1704            sprintf(tmp, "chroot %s %s /etc/mtab", MNT_RESTORING, editor);
     1705            paranoid_system(tmp);
    17041706            sprintf(tmp, "chroot %s %s /etc/grub.conf", MNT_RESTORING, editor);
     1707            paranoid_system(tmp);
     1708            sprintf(tmp, "chroot %s %s /boot/grub/device.map", MNT_RESTORING, editor);
    17051709            paranoid_system(tmp);
    17061710            if (!g_text_mode) {
Note: See TracChangeset for help on using the changeset viewer.