Ignore:
Timestamp:
Dec 17, 2008, 5:26:31 PM (15 years ago)
Author:
Bruno Cornec
Message:

Use /boot/grub/menu.lst everywhere instead of meesing up with /etc/grub.conf

File:
1 edited

Legend:

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

    r2094 r2095  
    13951395
    13961396    backup_crucial_file(MNT_RESTORING, "/etc/fstab");
    1397     backup_crucial_file(MNT_RESTORING, "/etc/grub.conf");
     1397    backup_crucial_file(MNT_RESTORING, "/boot/grub/menu.lst");
    13981398    backup_crucial_file(MNT_RESTORING, "/etc/lilo.conf");
    13991399    backup_crucial_file(MNT_RESTORING, "/etc/elilo.conf");
     
    15301530        mvaddstr_and_log_it(g_currentY,
    15311531                            0,
    1532                             "Modifying fstab, mtab, device.map and grub.conf, and running GRUB...                             ");
     1532                            "Modifying fstab, mtab, device.map and menu.lst, and running GRUB...                             ");
    15331533        for (done = FALSE; !done;) {
    15341534            popup_and_get_string("Boot device",
     
    15471547                done = TRUE;
    15481548            }
    1549             popup_and_OK("You will now edit fstab, mtab, device.map and grub.conf");
     1549            popup_and_OK("You will now edit fstab, mtab, device.map and menu.lst");
    15501550            if (!g_text_mode) {
    15511551                newtSuspend();
     
    15551555            sprintf(tmp, "chroot %s %s /etc/mtab", MNT_RESTORING, editor);
    15561556            paranoid_system(tmp);
    1557             sprintf(tmp, "chroot %s %s /etc/grub.conf", MNT_RESTORING, editor);
     1557            sprintf(tmp, "chroot %s %s /boot/grub/menu.lst", MNT_RESTORING, editor);
    15581558            paranoid_system(tmp);
    15591559            sprintf(tmp, "chroot %s %s /boot/grub/device.map", MNT_RESTORING, editor);
Note: See TracChangeset for help on using the changeset viewer.