Changeset 3225 in MondoRescue
- Timestamp:
- Dec 30, 2013, 10:46:31 AM (11 years ago)
- Location:
- branches/3.2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo-doc/mondoarchive.8
r3202 r3225 223 223 .TP 224 224 .BI "\-k " "path" 225 Path of user's kernel. If you are a Debian (<3.0) or Gentoo (<1.4) user then specify 226 .B \-k FAILSAFE 227 as your kernel. Otherwise, you will rarely need this option. 225 Path of user's kernel. Generally your native kernel should be found and work 226 appropriately. Otherwise, you may use this option to point to another one. 228 227 229 228 .TP -
branches/3.2/mondo-doc/mondorescue-howto.sgml
r3111 r3225 343 343 </row> 344 344 <row> 345 <entry>346 <ulink url="images/makernel.png"><inlinemediaobject><imageobject>347 <imagedata fileref="images/makernel-mini">348 </imageobject></inlinemediaobject>349 </ulink>350 </entry>351 <entry>352 Is your kernel sane? Red Hat, Mandrake, SuSE, Debian and Slackware users353 should in general say 'yes' because these vendors are good at354 producing reliable kernels. If you are using Gentoo or LFS355 then your kernel might be non-standard, in which case say 'no' to356 use Mondo's failsafe kernel (provided separately).357 </entry>358 345 </row> 359 346 <row> -
branches/3.2/mondo/src/common/libmondo-cli.c
r3205 r3225 663 663 if ((flag_set['k']) && (! bkpinfo->restore_data)) { 664 664 strncpy(bkpinfo->kernel_path, flag_val['k'], MAX_STR_LEN); 665 if (!strcmp(bkpinfo->kernel_path, "failsafe")) { 666 strcpy(bkpinfo->kernel_path, "FAILSAFE"); 667 } 668 if (strcmp(bkpinfo->kernel_path, "FAILSAFE") 669 && !does_file_exist(bkpinfo->kernel_path)) { 665 if (!does_file_exist(bkpinfo->kernel_path)) { 670 666 retval++; 671 667 log_to_screen("You specified kernel '%s', which does not exist\n", bkpinfo->kernel_path); -
branches/3.2/mondo/src/common/libmondo-tools.c
r3205 r3225 940 940 run_program_and_log_output("modprobe brd 2> /dev/null > /dev/null",FALSE); 941 941 if (run_program_and_log_output("grep ramdisk /proc/devices", FALSE)) { 942 if (!ask_me_yes_or_no("Your kernel has no ramdisk support. That's mind-numbingly stupid but I'll allow it if you're planning to use a failsafekernel. Are you?")) {942 if (!ask_me_yes_or_no("Your kernel has no ramdisk support. That's mind-numbingly stupid but I'll allow it if you're planning to use another kernel. Are you?")) { 943 943 // retval++; 944 944 log_to_screen("It looks as if your kernel lacks ramdisk and initrd support."); -
branches/3.2/mondo/src/common/mondostructures.h
r3191 r3225 548 548 549 549 /** 550 * Path to the user's kernel, or "FAILSAFE" or "SUCKS" to use the kernel 551 * included with Mindi. 550 * Path to the user's kernel 552 551 */ 553 552 char kernel_path[MAX_STR_LEN];
Note:
See TracChangeset
for help on using the changeset viewer.