Opened 11 years ago
Closed 11 years ago
#686 closed defect (fixed)
mindi grub files content
Reported by: | victor gattegno | Owned by: | victor gattegno |
---|---|---|---|
Priority: | low | Milestone: | 3.0.4 |
Component: | mindi | Version: | 3.0.3 |
Severity: | normal | Keywords: | mindi grub |
Cc: | victor gattegno |
Description
In rev [3121], device.map.lst is used, but it is device.map
So :
if [ -r /boot/grub/device.map.lst ]; then LogFile "-------------" LogFile "INFO: /boot/grub/device.map content" LogFile "-------------" cat /boot/grub/menu.lst >> $LOGFILE
Should be replaced by :
if [ -r /boot/grub/device.map ]; then LogFile "-------------" LogFile "INFO: /boot/grub/device.map content" LogFile "-------------" cat /boot/grub/device.map >> $LOGFILE LogFile "-------------"
And, as in some distribs, menu.lst is named grub.conf (RHEL) or grub.cfg (Ubuntu), should be added :
if [ -r /boot/grub/grub.conf ]; then LogFile "-------------" LogFile "INFO: /boot/grub/grub.conf content" LogFile "-------------" cat /boot/grub/grub.conf >> $LOGFILE LogFile "-------------" if [ -r /boot/grub/grub.cfg ]; then LogFile "-------------" LogFile "INFO: /boot/grub/grub.cfg content" LogFile "-------------" cat /boot/grub/grub.cfg >> $LOGFILE LogFile "-------------"
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in rev [3123].