|
From: Heiko Z. <he...@zu...> - 2004-09-06 13:46:15
|
Diego Torres wrote:
>On Mon, Sep 06, 2004 at 01:28:01AM +0200, Diego Torres wrote:
>
>
>>sh: line 1: mcopy: command not found
>>which is suprising... could anyone try it?
>>
>>
>
>fixed by installing the mtools package.
>
>next problem:
>
>Installing syslinux MBR
>0+1 registros leídos
>0+1 registros escritos
>304 bytes transferred in 0,025659 seconds (11848 bytes/sec)
>installing SysLinux boot sector
>copying files
>cp: se omite el directorio `./tmp-install2usb/iso-mnt/boot/grub'
>cp: se omite el directorio `./tmp-install2usb/iso-mnt/boot/syslinux'
>cp: fallo al conservar el propietario de `./tmp-install2usb/disk-mnt/LICENSE': Operación no permitida
>copying source file bootcd.iso to device mounted on ./tmp-install2usb/disk-mnt/bootcd.iso
>
>Copying etc.tar.bz2 to ./tmp-install2usb/etc-mnt/etc.tar.bz2
>syncing and unmounting (this could take a while)
>#
>
>this will cause a failure, because we are using cp -p when copying the
>LICENSE file, and the file owners attribute can't be copied to a fat32
>partition.
>
>should i remove the "-p" from install-usb?
>
>----install-usb-----
>echo "copying files"
># Warnings about not copying subdirs cause spurious eixt here so ignore status...
>cp -p $TMPDIR/iso-mnt/boot/* $TMPDIR/disk-mnt/ &> /dev/null # || return 1
>cp -p $TMPDIR/iso-mnt/{DEVIL-LINUX,LICENSE} $TMPDIR/disk-mnt/ &> /dev/null || return 1
> ^^
>cat $TMPDIR/iso-mnt/isolinux.cfg | sed -e s%"/boot/"%""% > $TMPDIR/disk-mnt/syslinux.cfg || return 1
>cat $TMPDIR/iso-mnt/boot/message | sed -e s%"/boot/"%""% > $TMPDIR/disk-mnt/message || return 1
>copy_iso_file $DLISO $TMPDIR/disk-mnt/bootcd.iso || return 1
>--------------------
>
>
>
It would probably be a good idea, to make the script a little more
intelligent and use the -p only when it's not FAT.
Heiko
|