Quote:
Originally Posted by Alien Bob
The thing to change in your command is the "4050" because that does not provide sufficient space to copy all the Slackware files to the USB image.
You should be safe (assuming your pen driver is 8 GB) with
Code:
# SLACKROOT=/mnt/cdrom sh create_multipartboot.sh -m 7500
Eric
|
Executing:
SLACKROOT=/mnt/cdrom sh create_multipartboot.sh -m 7500
gives this:
------------------------------------------------------------------------#
# $Id: create_multipartboot.sh,v 1.26 2008/10/09 18:04:56 root Exp root $ #
# ------------------------------------------------------------------------#
--- Copying all of the Slackware tree to the USB image: ---
--- Cleaning up the staging area... ---
--- Creating 7500 MB disk image: ---
14880+0 records in
14880+0 records out
7679508480 bytes (7.7 GB) copied, 228.623 s, 33.6 MB/s
--- Ignore the 'WARNING: Re-reading the partition table failed'... ---
--- Partitioning image with FAT type 4 (FAT16) and Linux partitions: ---
Disk /dev/loop1: 7679 MB, 7679508480 bytes
16 heads, 63 sectors/track, 14880 cylinders, total 14999040 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x01a9fc2f
Device Boot Start End Blocks Id System
/dev/loop1p1 63 1007 472+ 4 FAT16 <32M
/dev/loop1p2 1008 14999039 7499016 da Non-FS data
*** FAT startsector: 63 - numblocks: 472 ***
*** ext2 startsector: 1008 - numblocks: 7499016 ***
0+1 records in
0+1 records out
440 bytes (440 B) copied, 0.016724 s, 26.3 kB/s
mkdosfs 2.11 (12 Mar 2005)
Warning: block count mismatch: found 7499488 but assuming 472.
Loop device does not match a floppy size, using default hd params
WARNING: Not enough clusters for a 16 bit FAT! The filesystem will be
misinterpreted as having a 12 bit FAT without mount option "fat=16".
tune2fs 1.41.3 (12-Oct-2008)
Setting interval between checks to 0 seconds
>>> Extracting Slackware initrd.img
63418 blocks
--- Patching the Slackware 'initrd.img' for use with USB: ---
patching file /home/olek/slackboot/newinitrd/usr/lib/setup/SeTmedia
patching file /home/olek/slackboot/newinitrd/etc/rc.d/rc.usb
--- Gzipping the resulting initrd image (initramfs format): ---
63426 blocks
--- Copying installer files to the image file's FAT partition: ---
--- Available space: 463k ---
cp: writing `/home/olek/slackboot/fat/initrd.img': No space left on device
*** create_multipartboot.sh FAILED at line 127 ***
--- Cleaning up the staging area... ---
Goal not yet achieved, I suppose.
Is it possible that relatively small (3.9GB) root partition's free space area where "/tmp" belongs too has any effect on our issue ?
Earlier, I redirected "/slackboot/*" output directory to "/home/olek/" equipped with 75 GB of free space.