Portál AbcLinuxu, 14. července 2025 16:42
# mkdir mnt # mkdir -p iso/boot # dd if=/dev/zero of=image bs=10k count=288 288+0 records in 288+0 records out 2949120 bytes (2.9 MB) copied, 0.0192451 seconds, 153 MB/s # mkdosfs image mkdosfs 2.11 (12 Mar 2005) # syslinux image # mount -o loop image mnt # cp vmlinuz mnt/linux # rdev mnt/linux /dev/ram0 # cp rootfs.gz mnt cp: writing `mnt/rootfs.gz': No space left on deviceZkoušel jsem vytvořit ten obraz větší, ale to zase nebere mkisofs:
# mkdir mnt # mkdir -p iso/boot # dd if=/dev/zero of=image bs=10k count=400 400+0 records in 400+0 records out 4096000 bytes (4.1 MB) copied, 0.0308646 seconds, 133 MB/s # mkdosfs image mkdosfs 2.11 (12 Mar 2005) # syslinux image # mount -o loop image mnt # cp vmlinuz mnt/linux # rdev mnt/linux /dev/ram0 # cp rootfs.gz mnt # vi mnt/syslinux.cfg # umount mnt # cp image iso/boot/boot.img # cd iso # mkisofs -r -b boot/boot.img -c boot/boot.cat -o ../bootcd.iso . I: -input-charset not specified, using utf-8 (detected in locale settings) Unknown file type (unallocated) ./.. - ignoring and continuing. Size of boot image is 8000 sectors -> genisoimage: Error - boot image './boot/boot.img' has not an allowable size.Nevíte co s tím? Děkuji...
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.