Some older operating systems (e.g. RHEL6) use a non-default filename on the root disk and rely on setting an EFI variable to point to the bootloader. This does not work when performing a SAN boot on a machine where the EFI variable is not present. Fix by allowing a non-default filename to be specified via the "sanboot --filename" option or the "san-filename" setting. For example: sanboot --filename \efi\redhat\grub.efi \ iscsi:192.168.0.1::::iqn.2010-04.org.ipxe.demo:rhel6 or option ipxe.san-filename code 188 = string; option ipxe.san-filename "\\efi\\redhat\\grub.efi"; option root-path "iscsi:192.168.0.1::::iqn.2010-04.org.ipxe.demo:rhel6"; Originally-implemented-by: Vishvananda Ishaya Abrams <vish.ishaya@oracle.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
1507 |
|
1507 |
|
1508 |
|
1508 |
|
1509 |
|
1509 |
|
|
1510 |
|
|
1510 |
|
1511 |
|
1511 |
|
1512 |
|
1512 |
|
1513 |
|
|
|
||
1516 |
|
1517 |
|
1517 |
|
1518 |
|
1518 |
|
1519 |
|
1519 |
|
|
|
|
1520 |
|
|
1520 |
|
1521 |
|
1521 |
|
1522 |
|
1522 |
|
1523 |
|
|
|
||
95 |
|
95 |
|
96 |
|
96 |
|
97 |
|
97 |
|
|
98 |
|
|
|
99 |
|
|
98 |
|
100 |
|
99 |
|
|
|
|
101 |
|
|
|
102 |
|
|
100 |
|
103 |
|
101 |
|
104 |
|
102 |
|
105 |
|
|
|
||
37 |
|
37 |
|
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
|
|
|
40 |
|
|
|
41 |
|
|
41 |
|
42 |
|
42 |
|
43 |
|
43 |
|
44 |
|
|
|
||
2396 |
|
2396 |
|
2397 |
|
2397 |
|
2398 |
|
2398 |
|
|
2399 |
|
|
|
2400 |
|
|
|
2401 |
|
|
|
2402 |
|
|
|
2403 |
|
|
|
2404 |
|
|
|
2405 |
|
|
|
2406 |
|
|
|
2407 |
|
|
2399 |
|
2408 |
|
2400 |
|
2409 |
|
2401 |
|
2410 |
|
|
|
||
47 |
|
47 |
|
48 |
|
48 |
|
49 |
|
49 |
|
|
50 |
|
|
|
51 |
|
|
50 |
|
52 |
|
51 |
|
53 |
|
52 |
|
54 |
|
53 |
|
55 |
|
54 |
|
|
|
55 |
|
|
|
|
56 |
|
|
|
57 |
|
|
56 |
|
58 |
|
57 |
|
59 |
|
58 |
|
60 |
|
|
|
||
65 |
|
67 |
|
66 |
|
68 |
|
67 |
|
69 |
|
|
70 |
|
|
|
71 |
|
|
68 |
|
72 |
|
69 |
|
73 |
|
70 |
|
74 |
|
|
|
||
130 |
|
134 |
|
131 |
|
135 |
|
132 |
|
136 |
|
133 |
|
|
|
|
137 |
|
|
|
138 |
|
|
134 |
|
139 |
|
135 |
|
140 |
|
136 |
|
141 |
|
|
|
||
440 |
|
440 |
|
441 |
|
441 |
|
442 |
|
442 |
|
|
443 |
|
|
|
444 |
|
|
|
445 |
|
|
|
446 |
|
|
|
447 |
|
|
|
448 |
|
|
443 |
|
449 |
|
444 |
|
450 |
|
445 |
|
451 |
|
|
|
||
155 |
|
155 |
|
156 |
|
156 |
|
157 |
|
157 |
|
|
158 |
|
|
158 |
|
159 |
|
159 |
|
160 |
|
160 |
|
|
|
|
161 |
|
|
161 |
|
162 |
|
162 |
|
163 |
|
163 |
|
164 |
|
|
|
||
452 |
|
452 |
|
453 |
|
453 |
|
454 |
|
454 |
|
|
455 |
|
|
|
456 |
|
|
455 |
|
457 |
|
456 |
|
458 |
|
457 |
|
459 |
|
|
|
||
32 |
|
32 |
|
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
|
|
|
35 |
|
|
36 |
|
36 |
|
37 |
|
37 |
|
38 |
|
38 |
|
|
|
||
518 |
|
518 |
|
519 |
|
519 |
|
520 |
|
520 |
|
|
521 |
|
|
|
522 |
|
|
521 |
|
523 |
|
522 |
|
524 |
|
523 |
|
525 |
|
524 |
|
|
|
|
526 |
|
|
525 |
|
527 |
|
526 |
|
528 |
|
527 |
|
529 |
|
|
|
||
563 |
|
565 |
|
564 |
|
566 |
|
565 |
|
567 |
|
566 |
|
|
|
|
568 |
|
|
|
569 |
|
|
|
570 |
|
|
|
571 |
|
|
567 |
|
572 |
|
568 |
|
573 |
|
569 |
|
574 |
|
|
|
||
576 |
|
581 |
|
577 |
|
582 |
|
578 |
|
583 |
|
579 |
|
|
|
580 |
|
|
|
|
584 |
|
|
|
585 |
|
|
|
586 |
|
|
|
587 |
|
|
|
588 |
|
|
|
589 |
|
|
581 |
|
590 |
|
582 |
|
591 |
|
583 |
|
592 |
|
|
|
||
609 |
|
618 |
|
610 |
|
619 |
|
611 |
|
620 |
|
|
621 |
|
|
612 |
|
622 |
|
613 |
|
623 |
|
614 |
|
|
|
|
624 |
|
|
615 |
|
625 |
|
616 |
|
626 |
|
617 |
|
627 |
|
|
|
||
649 |
|
659 |
|
650 |
|
660 |
|
651 |
|
661 |
|
652 |
|
|
|
|
662 |
|
|
653 |
|
663 |
|
654 |
|
664 |
|
655 |
|
665 |
|
|
|
||
112 |
|
112 |
|
113 |
|
113 |
|
114 |
|
114 |
|
|
115 |
|
|
115 |
|
116 |
|
116 |
|
117 |
|
117 |
|
118 |
|
|
|
||
122 |
|
123 |
|
123 |
|
124 |
|
124 |
|
125 |
|
125 |
|
|
|
|
126 |
|
|
|
127 |
|
|
126 |
|
128 |
|
127 |
|
129 |
|
128 |
|
130 |
|
|
|
||
177 |
|
179 |
|
178 |
|
180 |
|
179 |
|
181 |
|
180 |
|
|
|
181 |
|
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
|
|
182 |
|
186 |
|
183 |
|
187 |
|
184 |
|
188 |
|
|
|
||
300 |
|
304 |
|
301 |
|
305 |
|
302 |
|
306 |
|
303 |
|
|
|
304 |
|
|
|
305 |
|
307 |
|
306 |
|
308 |
|
|
309 |
|
|
|
310 |
|
|
307 |
|
311 |
|
308 |
|
312 |
|
309 |
|
313 |
|
|
|
||
316 |
|
320 |
|
317 |
|
321 |
|
318 |
|
322 |
|
|
323 |
|
|
|
324 |
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
|
|
|
330 |
|
|
|
331 |
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
|
|
|
335 |
|
|
|
336 |
|
|
|
337 |
|
|
|
338 |
|
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
|
|
|
345 |
|
|
|
346 |
|
|
|
347 |
|
|
|
348 |
|
|
|
349 |
|
|
|
350 |
|
|
|
351 |
|
|
319 |
|
352 |
|
320 |
|
353 |
|
321 |
|
354 |
|
|
|
||
351 |
|
384 |
|
352 |
|
385 |
|
353 |
|
386 |
|
|
387 |
|
|
354 |
|
388 |
|
355 |
|
389 |
|
356 |
|
390 |
|
|
|
||
379 |
|
413 |
|
380 |
|
414 |
|
381 |
|
415 |
|
|
416 |
|
|
|
417 |
|
|
|
418 |
|
|
382 |
|
419 |
|
383 |
|
420 |
|
384 |
|
421 |
|
|
|
||
400 |
|
437 |
|
401 |
|
438 |
|
402 |
|
439 |
|
403 |
|
|
|
|
440 |
|
|
404 |
|
441 |
|
405 |
|
442 |
|
406 |
|
443 |
|
407 |
|
444 |
|
408 |
|
445 |
|
|
446 |
|
|
409 |
|
447 |
|
410 |
|
448 |
|
411 |
|
449 |
|
|
|
||
378 |
|
378 |
|
379 |
|
379 |
|
380 |
|
380 |
|
381 |
|
|
|
|
381 |
|
|
382 |
|
382 |
|
383 |
|
383 |
|
384 |
|
384 |
|