[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

diskless-createbasetgz error






diskless-createbasetgz  error



Al ejecutat el siguiente comando, para crear "base.tgz", necesario para
una imagen con el paquete "diskless"

De la pagina man:

elias@debinfor:~$ man diskless-createbasetgz

diskless-createbasetgz(8)                      diskless manual
diskless-createbasetgz(8)

NAME
       diskless-createbasetgz - create a base.tgz file for diskless
initialization

SYNOPSIS
       diskless-createbasetgz  [temporal  work  directory  name]
[debian release tag] [mirror site address]
       [base.tgz absolute path location]

Linea de comando :

debinfor:/home/elias# diskless-createbasetgz /tmp woody
http://http.us.debian.org/debian /home/elias/SinDisco

realiza todo el proceso en forma correcta y termina asi:

Setting up klogd (1.4.1-10) ...
Stopping kernel log daemon: klogd
Warning: Fake start-stop-daemon called, doing nothing
.
Starting kernel log daemon: klogd
Warning: Fake start-stop-daemon called, doing nothing
.

Setting up sysklogd (1.4.1-10) ...
Stopping system log daemon: syslogd
Warning: Fake start-stop-daemon called, doing nothing
.
Starting system log daemon: syslogd
Warning: Fake start-stop-daemon called, doing nothing
.

I: Base system installed successfully.
umount: /tmp/dev/pts: not mounted
umount: /tmp/dev/shm: not found
umount: /tmp/proc/bus/usb: not mounted
bin/
bin/bash
tar: /home/elias/SinDisco: No se puede open: Es un directorio
tar: El error no es recuperable: salida ahora
debinfor:/home/elias# 

En este punto reviso los permisos de /tmp y los ha cambiado a 755

debinfor:/home/elias# ls -l /
total 773
drwxr-xr-x    2 root root    4096 2004-04-17 14:41 Bartomeo
drwxr-xr-x    2 root root    4096 2005-01-28 19:02 bin
drwxr-xr-x    4 root root    1024 2005-01-28 19:10 boot
drwxr-xr-x    2 root root    4096 2004-04-13 12:07 cdrom
drwxr-xr-x    2 root root    4096 2004-06-23 22:58 Control
drwxr-xr-x   29 root root    4096 2005-01-12 12:49 DebSid
drwxr-xr-x   10 root root    4260 2005-01-29 10:17 dev
drwxr-xr-x   97 root root    8192 2005-01-29 10:17 etc
drwxr-xr-x    2 root root    4096 2004-04-17 14:41 Ezequiel
drwxr-xr-x    2 root root    4096 2004-04-13 12:07 floppy
drwxrwsr-x    8 root staff   4096 2004-10-26 12:58 home
drwxr-xr-x    2 root root    4096 2004-04-13 12:07 initrd
-rw-r--r--    1 root root  670816 2004-04-17 02:12
j2re-1.4.2-rc1-linux-i586-gcc3.2.bin
drwxr-xr-x    2 root root    4096 2004-04-17 14:41 Job
drwxr-xr-x   10 root root    8192 2005-01-28 19:07 lib
drwx------    2 root root   16384 2004-04-13 12:00 lost+found
drwxr-xr-x    2 root root    4096 2005-01-05 08:54 media
drwxr-xr-x    2 root root    4096 2002-02-08 12:42 mnt
drwxr-xr-x    3 root root    4096 2004-04-17 03:05 opt
dr-xr-xr-x  118 root root       0 2005-01-29 09:43 proc
drwxr-xr-x    2 root root    4096 2004-05-05 11:25 Pruebas
drwxr-xr-x   25 root root    4096 2005-01-28 19:21 root
drwxr-xr-x    2 root root    4096 2005-01-29 10:17 sbin
drwxr-xr-x    9 root root       0 2005-01-29 09:43 sys
drwxr-xr-x    2 root root    4096 2004-10-26 18:57 tftpboot
drwxr-xr-x   30 root root    4096 2005-01-29 10:17 tmp
drwxr-xr-x   14 root root    4096 2004-05-04 12:08 usr
drwxr-xr-x   17 root root    4096 2005-01-29 10:06 var
lrwxr-xr-x    1 root root      18 2004-11-10 19:10 vmlinuz-2.6.4 ->
boot/vmlinuz-2.6.4
lrwxr-xr-x    1 root root      19 2004-10-26 12:47 vmlinuz-2.6.8
-> /boot/vmlinuz-2.6.8
debinfor:/home/elias#

Normalmente los permisos de /tmp son 1777

debinfor:/home/elias# ls -l /
total 773
drwxr-xr-x    2 root root    4096 2004-04-17 14:41 Bartomeo
drwxr-xr-x    2 root root    4096 2005-01-28 19:02 bin
drwxr-xr-x    4 root root    1024 2005-01-28 19:10 boot
drwxr-xr-x    2 root root    4096 2004-04-13 12:07 cdrom
drwxr-xr-x    2 root root    4096 2004-06-23 22:58 Control
drwxr-xr-x   29 root root    4096 2005-01-12 12:49 DebSid
drwxr-xr-x   10 root root    4260 2005-01-29 10:17 dev
drwxr-xr-x   97 root root    8192 2005-01-29 10:17 etc
drwxr-xr-x    2 root root    4096 2004-04-17 14:41 Ezequiel
drwxr-xr-x    2 root root    4096 2004-04-13 12:07 floppy
drwxrwsr-x    8 root staff   4096 2004-10-26 12:58 home
drwxr-xr-x    2 root root    4096 2004-04-13 12:07 initrd
-rw-r--r--    1 root root  670816 2004-04-17 02:12
j2re-1.4.2-rc1-linux-i586-gcc3.2.bin
drwxr-xr-x    2 root root    4096 2004-04-17 14:41 Job
drwxr-xr-x   10 root root    8192 2005-01-28 19:07 lib
drwx------    2 root root   16384 2004-04-13 12:00 lost+found
drwxr-xr-x    2 root root    4096 2005-01-05 08:54 media
drwxr-xr-x    2 root root    4096 2002-02-08 12:42 mnt
drwxr-xr-x    3 root root    4096 2004-04-17 03:05 opt
dr-xr-xr-x  117 root root       0 2005-01-29 09:43 proc
drwxr-xr-x    2 root root    4096 2004-05-05 11:25 Pruebas
drwxr-xr-x   25 root root    4096 2005-01-28 19:21 root
drwxr-xr-x    2 root root    4096 2005-01-29 10:17 sbin
drwxr-xr-x    9 root root       0 2005-01-29 09:43 sys
drwxr-xr-x    2 root root    4096 2004-10-26 18:57 tftpboot
drwxrwxrwt   30 root root    4096 2005-01-29 10:17 tmp
drwxr-xr-x   14 root root    4096 2004-05-04 12:08 usr
drwxr-xr-x   17 root root    4096 2005-01-29 10:06 var
lrwxr-xr-x    1 root root      18 2004-11-10 19:10 vmlinuz-2.6.4 ->
boot/vmlinuz-2.6.4
lrwxr-xr-x    1 root root      19 2004-10-26 12:47 vmlinuz-2.6.8
-> /boot/vmlinuz-2.6.8
debinfor:/home/elias#

Le vuelvo a asignar los permisos correctos y al llegar a este punto me
vuelve a suceder lo mismo y esto pasa tanto en Sarge como en Sid, no he
probado en Woody, no lo tengo instalado:

I: Base system installed successfully.
umount: /tmp/dev/pts: not mounted
umount: /tmp/dev/shm: not found
umount: /tmp/proc/bus/usb: not mounted
bin/
bin/bash
tar: /home/elias/SinDisco: No se puede open: Es un directorio
tar: El error no es recuperable: salida ahora
debinfor:/home/elias#

Gracias.





Reply to: