[Comm] mkbootdisk no space left
Grigory Fateyev
=?iso-8859-1?q?greg_=CE=C1_anastasia=2Eru?=
Ср Июн 6 20:05:42 MSD 2007
Здравствуйте!
Система ALC 3.0.4 с ядром 2.6.16-ovz-smp-alt7.
Захотел сделать спасательную дискетку с помощью mkbootdisk, а он
вываливается с руганью:
# mkbootdisk 2.6.16-ovz-smp-alt7
Insert a disk in /dev/floppy/0. Any information on the disk will be
lost. Press <Enter> to continue or ^C to abort:
/bin/cp: запись
`/tmp/.private/root/mkbootdisk.TGKRUg8722/mnt/boot/initrd.img': No
space left on device Failed to
copy /tmp/.private/root/mkbootdisk.TGKRUg8722/initrd.img initial
ramdisk image.
Вывод с --vebose:
# mkbootdisk --verbose 2.6.16-ovz-smp-alt7
mkinitrd: Generating module dependencies...
mkinitrd: ...done.
mkinitrd: Using
modules: /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/ide-core.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/pci/via82cxxx.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/pci/generic.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/ide-generic.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/ide-disk.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/scsi/scsi_mod.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/scsi/sd_mod.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/scsi/libata.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/scsi/sata_via.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/fs/mbcache.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/fs/jbd/jbd.ko /lib/modules/2.6.16-ovz-smp-alt7/kernel/fs/ext3/ext3.ko
Contents of linuxrc: #!/bin/sh
/bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/ide-core.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/pci/via82cxxx.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/pci/generic.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/ide-generic.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/ide/ide-disk.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/scsi/scsi_mod.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/scsi/sd_mod.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/scsi/libata.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/drivers/scsi/sata_via.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/fs/mbcache.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/fs/jbd/jbd.ko /bin/insmod
-f /lib/modules/2.6.16-ovz-smp-alt7/kernel/fs/ext3/ext3.ko EncodeDev()
{
echo $(( ($2 & 0xff) | ($1 << 8) | (($2 & ~0xff) << 12) ))
}
/bin/mount -t proc proc /proc
read cmdline </proc/cmdline
cmdline=" $cmdline "
if test -z "${cmdline##*[ ]root=*}" ; then
root="${cmdline##*[ ]root=}"
root="${root%%[ ]*}"
if test -z "${root##/dev/*}" ; then
root="${root#/dev/}"
(
read ignored
read ignored
while read major minor size name ignored; do
if test "$name" = "$root" ; then
EncodeDev $major $minor
>/proc/sys/kernel/real-root-dev break
fi
done
) </proc/partitions
fi
fi
/bin/umount /proc
mkinitrd: Inode count: 65
mkinitrd: Image size: 1012K
mkinitrd: Created image from
tree: /tmp/.private/root/initrd.RbVQNK8471/tree
--> /tmp/.private/root/initrd.RbVQNK8471/img mkinitrd: Created romfs
image file mkinitrd: Installed ramdisk
into /tmp/.private/root/mkbootdisk.AkdPiT8463/initrd.img Ramdisk size:
308K Created initial ramdisk image. Insert a disk in /dev/floppy/0. Any
information on the disk will be lost. Press <Enter> to continue or ^C
to abort: -n Formatting /dev/floppy/0:
done.
-n Installing /boot/vmlinuz-2.6.16-ovz-smp-alt7 kernel image:
done.
-n Installing /tmp/.private/root/mkbootdisk.AkdPiT8463/initrd.img
initial ramdisk image: /bin/cp: запись
`/tmp/.private/root/mkbootdisk.AkdPiT8463/mnt/boot/initrd.img': No
space left on device Failed to
copy /tmp/.private/root/mkbootdisk.AkdPiT8463/initrd.img initial
ramdisk image.
--
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/06/06 19:57
Подробная информация о списке рассылки community