* [Comm] mkbootflash с ключем -p вылетает с ошибкой
@ 2011-04-07 12:28 Speccyfighter
0 siblings, 0 replies; only message in thread
From: Speccyfighter @ 2011-04-07 12:28 UTC (permalink / raw)
To: ALT Linux Community general discussions
Доброго времени суток всем!
Собственно сабж.
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
#
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-07 12:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-07 12:28 [Comm] mkbootflash с ключем -p вылетает с ошибкой Speccyfighter
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git