LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-18-2009, 06:33 AM   #1
tuubaaku
Member
 
Registered: Oct 2004
Distribution: Slackware, Mint
Posts: 122

Rep: Reputation: 16
create_multipartboot.sh rsync error


I'm trying to create a USB image with AlienBob's script, but I get this output:
Quote:
root@me:/mnt/data# SLACKROOT=/mnt/data/slack-mirror/slackware-13.0 sh create_multipartboot.sh 1024
# ------------------------------------------------------------------------#
# $Id: create_multipartboot.sh,v 1.32 2009/08/06 18:06:00 root Exp root $ #
# ------------------------------------------------------------------------#

--- Creating 1000 MB image for a 1024 MB USB drive: ---
--- Cleaning up the staging area... ---
--- Creating 1000 MB disk image: ---
1984+0 records in
1984+0 records out
1023934464 bytes (1.0 GB) copied, 17.7858 s, 57.6 MB/s
--- Ignore the 'WARNING: Re-reading the partition table failed'... ---
--- Partitioning image with FAT type 6 (FAT16) and Linux partitions: ---

Disk /dev/loop0: 1023 MB, 1023934464 bytes
16 heads, 63 sectors/track, 1984 cylinders, total 1999872 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x14ef3a0a

Device Boot Start End Blocks Id System
/dev/loop0p1 * 63 47375 23656+ 6 FAT16
/dev/loop0p2 47376 1999871 976248 da Non-FS data
*** FAT startsector: 63 - numblocks: 23656 ***
*** ext2 startsector: 47376 - numblocks: 976248 ***
Public domain syslinux master boot record successfully written to /dev/loop0
mkdosfs 2.11 (12 Mar 2005)
Warning: block count mismatch: found 999904 but assuming 23656.
Loop device does not match a floppy size, using default hd params
tune2fs 1.41.8 (11-July-2009)
Setting interval between checks to 0 seconds
>>> Extracting Slackware initrd.img
cpio: .installer-version not created: newer or same age version exists
43980 blocks
--- Patching the Slackware 'initrd.img' for use with USB: ---
patching file /tmp/slackboot/newinitrd/usr/lib/setup/SeTmedia
patching file /tmp/slackboot/newinitrd/etc/rc.d/rc.usb
--- Gzipping the resulting initrd image (initramfs format): ---
43987 blocks
--- Copying installer files to the image file's FAT partition: ---
--- Available space: 25M ---
--- Kernels not copied to the USB image: 'speakup.s' ---
--- FAT partition: 664k free space left ---
--- Making the image bootable: ---
--- Copying packages to the image file's ext2 partition: ---
--- Available space: 982M ---
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (22936 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
*** create_multipartboot.sh FAILED at line 145 ***
--- Cleaning up the staging area... ---
Filesystem is ext3, with 117GB free space, if that's relevant.

Any ideas what the problem is?
 
Old 11-18-2009, 09:12 PM   #2
tuubaaku
Member
 
Registered: Oct 2004
Distribution: Slackware, Mint
Posts: 122

Original Poster
Rep: Reputation: 16
I tried again, and got an rsync out-of-space error. Tried removing a lot of the packages that it was supposed to use for the 1024 image, and finally it stopped giving the out-of-space errors and gave the same error posted above.

Maybe it would be useful to create an image that could just be downloaded?
 
Old 11-19-2009, 06:40 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by tuubaaku View Post
Maybe it would be useful to create an image that could just be downloaded?
I have no storage capacity to host several Slackware USB images (if I hosted a 1GB image, other people would request to see the 2GB and the 4GB as well). That is precisely why I made the script available, so that you can create the image yourself.

To double-check I ran the script with the same parameters you use:
Code:
./create_multipartboot.sh -m 1024
And this is the last part of the output (I made it overlap a bit with your output lines so that you can see the difference):

Code:
--- FAT partition: 666k free space left ---
--- Making the image bootable: ---
--- Copying packages to the image file's ext2 partition: ---
--- Available space: 982M ---
--- ext2 partition: 2.0M free space left ---
--- Only copied Slackware package series that would fit on 1024 MB sticks ---
--- You could try adding more yourself afterwards ---

--- Ext2 partition mount command: ---
    mount -t ext2 -o loop,offset=24256512 /tmp/slackboot/usbhd.img /tmp/slackboot/ext
--- The following package series were copied to the USB image: ---
    'a ap d f kde l n tcl x xap y'
--- ... of which the following individual packages were omitted: ---
    'd/gcc-java d/gcc-gnat kde/kdevelop kde/kdewebdev x/sazanami-fonts-ttf x/tibmachuni-font-ttf x/xorg-docs'

------------------------------------------------------------------------
The new image file (for USB boot and install) is:
    '/tmp/slackboot/usbhd.img'
------------------------------------------------------------------------

--- Cleaning up the staging area... ---
You can see that I get no rsync errors. Everything fits on the image with 2MB free space left at the end.

Where do you keep your Slackware 13.0 package tree, and how did you get it there? Perhaps there is an issue with what's inside the directory. I use an exact mirror of slackware-13.0 as you can find them on any Internet mirror, but pointing the script to a mounted Slackware DVD should work just as well (unless there is a physical problem with the DVD medium).

Eric
 
Old 11-19-2009, 05:17 PM   #4
tuubaaku
Member
 
Registered: Oct 2004
Distribution: Slackware, Mint
Posts: 122

Original Poster
Rep: Reputation: 16
thanks, AlienBob. My package tree was the problem - I mounted a CD, pointed the script to that, and it worked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create_multipartboot.sh script returns: "Parameter not set" mslzr Slackware - Installation 1 09-07-2009 04:34 PM
rsync error: IO error encountered - skipping file deletion lwainscott Linux - General 1 08-21-2009 12:15 PM
rsync error saghi Linux - Software 1 01-21-2009 03:00 AM
rsync error ufmale Linux - Newbie 2 05-31-2008 11:53 AM
[rsync] IO error noir911 Linux - Server 1 04-30-2007 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration