Lines 351-356
Link Here
|
351 |
# Create a safe temporary file. |
351 |
# Create a safe temporary file. |
352 |
test -n "$mklog" && log_file=`$mklog` |
352 |
test -n "$mklog" && log_file=`$mklog` |
353 |
|
353 |
|
|
|
354 |
# Before all invocations of the grub shell, call sync to make sure |
355 |
# the raw device is in sync with any bufferring in filesystems. |
356 |
sync |
357 |
|
354 |
$grub_shell --batch $no_floppy --device-map=$device_map <<EOF >$log_file |
358 |
$grub_shell --batch $no_floppy --device-map=$device_map <<EOF >$log_file |
355 |
quit |
359 |
quit |
356 |
EOF |
360 |
EOF |
Lines 457-462
Link Here
|
457 |
# Create a safe temporary file. |
461 |
# Create a safe temporary file. |
458 |
test -n "$mklog" && log_file=`$mklog` |
462 |
test -n "$mklog" && log_file=`$mklog` |
459 |
|
463 |
|
|
|
464 |
# Before all invocations of the grub shell, call sync to make sure |
465 |
# the raw device is in sync with any bufferring in filesystems. |
466 |
sync |
467 |
|
460 |
# Now perform the installation. |
468 |
# Now perform the installation. |
461 |
$grub_shell --batch $no_floppy --device-map=$device_map <<EOF >$log_file |
469 |
$grub_shell --batch $no_floppy --device-map=$device_map <<EOF >$log_file |
462 |
root $root_drive |
470 |
root $root_drive |