[Comm] mkbootflash с ключем -p вылетает с ошибкой
Speccyfighter
zxwarior на yandex.ru
Чт Апр 7 12:28:42 UTC 2011
Доброго времени суток всем!
Собственно сабж.
mkbootflash с ключем -p на второй стадии записи вылетает с ошибкой
не закончив процесс записи.
Подскажите, как грабли убрать и заставить mkbootflash нормально работать.
Похоже проблема внутри скрипта.
И ему без разницы в каком состоянии automount.
Проблема такого рода:
# chkconfig --list | grep autofs
autofs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
#
# service autofs status
automount is running
#
# service autofs stop
Stopping automount service: [ DONE ]
#
# service autofs status
automount is stopped
#
# fdisk -l /dev/sdd
Disk /dev/sdd: 4013 MB, 4013948928 bytes
255 heads, 63 sectors/track, 488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbec3d3f9
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 488 3919828+ b W95 FAT32
#
# mkfs.vfat /dev/sdd1
mkfs.vfat 2.11 (12 Mar 2005)
#
# mount | grep /dev/loop
#
# mount -o loop
/path/altlinux-5.9.9-20110401-centaurus-i586-ru-install-dvd5.iso /mnt/disk/
#
# mount | grep /dev/loop
/dev/loop0 on /mnt/disk type iso9660 (rw)
#
# mkbootflash -irl /dev/sdd1 -p /mnt/disk/
making install syslinux.cnf
making rescue syslinux.cnf
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: No such file or directory
#
# mount | grep /dev/loop
#
# ls /mnt/disk/
#
# service autofs status
automount is stopped
#
Подробная информация о списке рассылки community