Bug#598182: Adding bootstrap-base udeb

2011-03-04 Thread Jose Luis Zabalza
Hello everybody

I've gotten insert bootstrap-base udeb into a USB live image, copying
the .udeb file, adding package information on
dists/squeeze/main/debian-installer/binary-i386/Packages, building
compressed file, and patching md5sum.txt. Now, install proccess is
correct but don't work.

Now

1.- live-installer and bootstrap-base were installed.
2.- bootstrap-base.isinstallable and bootstrap-base.postinst were
installed on /var/lib/dpkg/info directory
3.- Install the system item appear when live-installer/enable=false
was preseeded.
4.- If Install the system item is selected, bootstrap-base is
executed instead of live-installer.

The problem now is bootstrap-base doesn't work. I don't know anything
else is required.

any ideas?

Thanks in advance.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#598182: Posible lack of package bootstrap-base

2011-03-03 Thread Jose Luis Zabalza
Hello everybody

Is it possible that this error is due to the lack of package
bootstrap-base on live image?

I guess that live-installer is executed when
live-installer/enable=false because is the only one package on image
that provide installed-base although  live-installer.isinstallable
return false. If bootstrap-base were installed,
bootstrap-base.isinstallable will be return true, as
live-installer.isinstallable return false, so bootstrap-base will be
installed in place of live-installer.

is this posible?

Thanks in advance.

-- 
José Luis Zabalza
jlz.3008  a t  gmail.com
Linux Counter 172551



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#598182: This bug persist on v30

2011-02-19 Thread Jose Luis Zabalza
I guess these problems are the same.

With these entries on syslinux cfg on a USB Live Debian image

- the first install from live rootfs image and boot OK (live-installer runs OK)
- the second install succesfull but don't boot (don't find rootfs in hd)
- third install and boot but from live rootfs too.


label Success
menu label Success
kernel /install/vmlinuz
append initrd=/install/initrd.gz auto=true priority=critical
vga=normal quiet  file=/cdrom/install/preseed.cfg

label Error1
menu label Error 1
kernel /install/vmlinuz
append initrd=/install/initrd.gz auto=true priority=critical
live-installer/mode=live vga=normal quiet
file=/cdrom/install/preseed.cfg

label Error2
menu label Error 2
kernel /install/vmlinuz
append initrd=/install/initrd.gz auto=true priority=critical
live-installer/enable=false vga=normal quiet
file=/cdrom/install/preseed.cfg



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604783: needs to have entries for regular installer

2011-01-26 Thread Jose Luis Zabalza
2011/1/26 joseangon joseango...@gmail.com:
 Hola.

 Sorry, I was wrong files, je je, I'm very tired today.

 I just wanted them to see that possibility. And now would align it so that
 it can be used as live or normal.



Confirmed. This patch fix the problem and progress bar is showed again.
I guest is not the best way to fix but it may give ideas of what
causes the problem.

Bye.

-- 
José Luis Zabalza
jlz.3008  a t  gmail.com
Linux Counter 172551



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#608201: Patch

2011-01-13 Thread Jose Luis Zabalza
2011/1/13 Otavio Salvador ota...@ossystems.com.br:
 On Thu, Jan 13, 2011 at 03:11, Jose Luis Zabalza jlz.3...@gmail.com wrote:
 Yes. I guest it work but, when you build a live with

            lb config -a i386 -b usb-hdd -d squeeze

 preseed say  cdrom-detect/hybrid=false because it is not a hybrid
 image, but I don't know what is the way to detect that we are
 installig a usb-hdd image or a hybrid image and modify the 40cdrom
 script. The difference is the filesystem, but I don't sure of this
 either.

 If this is the case, the right place to fix it is on live-build. Not d-i.

 Daniel, could you give it a shot and tell us?


Please, don't begin again. The problem is not in live-build. The
problem is in apt-setup package that not taking into account the
usb-hdd media to install.

The patch is running. What more do you want?

Bye

-- 
José Luis Zabalza
jlz.3008  a t  gmail.com
Linux Counter 172551



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#608201: Patch

2011-01-12 Thread Jose Luis Zabalza
Please, acept this path to apt-setup package to fix this bug.

Bye


40cdrom.usb.patch
Description: Binary data


Bug#608201: Patch

2011-01-12 Thread Jose Luis Zabalza
2011/1/12 Otavio Salvador ota...@ossystems.com.br:
 On Wed, Jan 12, 2011 at 12:16, joseangon joseango...@gmail.com wrote:
 Then try it with the hybrid.

 That's the point.

 It seems it just needs set

 cdrom-detect/hybrid as true by preseeding and let it go.

 Does it work?

Yes. I guest it work but, when you build a live with

lb config -a i386 -b usb-hdd -d squeeze

preseed say  cdrom-detect/hybrid=false because it is not a hybrid
image, but I don't know what is the way to detect that we are
installig a usb-hdd image or a hybrid image and modify the 40cdrom
script. The difference is the filesystem, but I don't sure of this
either.

bye.

-- 
José Luis Zabalza
jlz.3008  a t  gmail.com
Linux Counter 172551



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#608201: Install with network solve the problem.

2011-01-09 Thread Jose Luis Zabalza
Hi

2011/1/9 Miguel Figueiredo el...@debianpt.org:

 afaiu the first generator (01setup) is the starting point, and that line
 comments existing sources.list as it is 'old stuff'. Then each of the
 generators runs and generate a sources.list according the package source
 such as a netinst cd, a cd set or network mirror.
 I suspect for a single cd the generator that creates the sources.list
 should be 40cdrom.


Yes. But 40cdrom don't run succesfull if media is hd-media because
it's hopes a iso filesystem and in our case is vfat.

Bye

-- 
José Luis Zabalza
jlz.3008  a t  gmail.com
Linux Counter 172551



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#608201: apt-setup problem

2011-01-04 Thread Jose Luis Zabalza
Yes. I guess the problem is in apt-setup package.

I install with expert mode and fails in Configure the Package Manager step.

I think there is any generator script that handles the hd-media media.

The 40cdrom script begins OK but after check iso system and out gracefully.

=== cut 
file=$1

if [ ! -e /cdrom/.disk/base_installable ]; then
exit 0
fi

cd_mountable=1
db_get cdrom-detect/hybrid || true
if [ $RET = true ] || [ -d /hd-media ]; then
cd_mountable=
fi

fs=iso9660
if db_get cdrom-detect/cdrom_fs  [ $RET ]; then
fs=$RET
fi

if [ $fs != iso9660 ]; then
exit 0
fi
=== end cut 

$fs as a vfat value and out without modify sources.list file

Appears to be an old problem

=== cut 
apt-setup (1:0.36) unstable; urgency=low

  * Don't scan the installation CD if it does not include base packages.
  * Because of reported issues with accessing the CD in the /target environment
if it is already mounted in the D-I environment, base-installer has been
reverted to loop-mounting the installation CD. In order to still allow
CD-changing while avoiding these issues and keeping installs idempotent, we
now need to allow apt-cdrom to manage mounting/unmounting for all types of
CD images (except for hd-media installs). See: #474346, #475639.
Requires: base-installer (= 1.90), pkgsel (= 0.19), di-utils (= 1.57).

=== end cut 

Bye



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#608201: Install with network solve the problem.

2011-01-03 Thread Jose Luis Zabalza
Just on http://lists.debian.org/debian-live/2011/01/msg00023.html

joseangon say a possible cause for this bug. If installer configure the
network, the installation is OK. In my case, all the test were performed
without network. If I setup the local network, with the same usb-stick, the
installation is OK.

So it seems that the problem may be because apt does not know where to get
packages grub if the network is not configure.

Bye


Bug#608201: /target/etc/apt/sources.list incorrect when network is not configured

2011-01-03 Thread Jose Luis Zabalza
This is the sources.list on target when I install without configuring the
network at the moment of grub fail.

If I uncomment the squeeze line  and retry, grub-pc is found and
installation is OK.

==cut=
#

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot i386
LIVE/NETINST Binary 20110103-10:39]/ frozen main
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot i386
LIVE/NETINST Binary 20110103-10:39]/ squeeze main
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot i386
LIVE/NETINST Binary 20110103-10:39]/ stable main
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot i386
LIVE/NETINST Binary 20110103-10:39]/ testing main
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot i386
LIVE/NETINST Binary 20110103-10:39]/ unstable main

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ squeeze/updates main
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ squeeze/updates main
==cut=

So, it seems that the problem is when sources.list is generated.


Bug#608201: More info

2011-01-03 Thread Jose Luis Zabalza
I was monitoring /target/apt/sources.list and it changes (the lines
are commented) between this points of installation.

I guest that the sources.list file is writen incorrectly (the lines
are commented) by a script executed on this section.

pciutils package is on pool directory.

==cut=
Dec 31 11:17:08 in-target: The following extra packages will be installed:
Dec 31 11:17:08 in-target:   libuuid-perl linux-base linux-image-2.6.32-5-486
Dec 31 11:17:08 in-target: Suggested packages:
Dec 31 11:17:08 in-target:   linux-doc-2.6.32 grub lilo
Dec 31 11:17:08 in-target: Recommended packages:
Dec 31 11:17:08 in-target:   firmware-linux-free
Dec 31 11:17:08 in-target: The following NEW packages will be installed:
Dec 31 11:17:08 in-target:   libuuid-perl linux-base
linux-image-2.6-486 linux-image-2.6.32-5-486
Dec 31 11:17:17 in-target: locale:
Dec 31 11:17:17 in-target: Cannot set LC_CTYPE to default locale
Dec 31 11:17:17 in-target: : No such file or directory
Dec 31 11:17:17 in-target:
Dec 31 11:17:17 in-target: locale:
Dec 31 11:17:17 in-target: Cannot set LC_MESSAGES to default locale
Dec 31 11:17:17 in-target: : No such file or directory
Dec 31 11:17:17 in-target:
Dec 31 11:17:17 in-target: locale:
Dec 31 11:17:17 in-target: Cannot set LC_ALL to default locale
Dec 31 11:17:17 in-target: : No such file or directory
Dec 31 11:17:17 in-target:
Dec 31 11:17:17 in-target: Preconfiguring packages ...
Dec 31 11:17:19 in-target: 0 upgraded, 4 newly installed, 0 to remove
and 0 not upgraded.
Dec 31 11:17:19 in-target: Need to get 0 B/27.4 MB of archives.
Dec 31 11:17:19 in-target: After this operation, 79.2 MB of additional
disk space will be used.
Dec 31 11:17:19 in-target: Selecting previously deselected package libuuid-perl.
Dec 31 11:17:19 in-target: (Reading database ...
Dec 31 11:17:19 in-target: 9539 files and directories currently installed.)
Dec 31 11:17:19 in-target: Unpacking libuuid-perl (from
.../libuuid-perl_0.02-4_i386.deb) ...
Dec 31 11:17:20 in-target: Selecting previously deselected package linux-base.
Dec 31 11:17:20 in-target: Unpacking linux-base (from
.../linux-base_2.6.32-29_all.deb) ...
Dec 31 11:17:21 in-target: Selecting previously deselected package
linux-image-2.6.32-5-486.
Dec 31 11:17:21 in-target: Unpacking linux-image-2.6.32-5-486 (from
.../linux-image-2.6.32-5-486_2.6.32-29_i386.deb) ...
Dec 31 11:17:22 in-target: locale:
Dec 31 11:17:22 in-target: Cannot set LC_CTYPE to default locale
Dec 31 11:17:22 in-target: : No such file or directory
Dec 31 11:17:22 in-target:
Dec 31 11:17:22 in-target: locale:
Dec 31 11:17:22 in-target: Cannot set LC_MESSAGES to default locale
Dec 31 11:17:22 in-target: : No such file or directory
Dec 31 11:17:22 in-target:
Dec 31 11:17:22 in-target: locale:
Dec 31 11:17:22 in-target: Cannot set LC_ALL to default locale
Dec 31 11:17:22 in-target: : No such file or directory
Dec 31 11:17:22 in-target:
Dec 31 11:17:42 in-target: Selecting previously deselected package
linux-image-2.6-486.
Dec 31 11:17:42 in-target: Unpacking linux-image-2.6-486 (from
.../linux-image-2.6-486_2.6.32+28_i386.deb) ...
Dec 31 11:17:47 in-target: Processing triggers for man-db ...
Dec 31 11:17:47 in-target: locale:
Dec 31 11:17:47 in-target: Cannot set LC_CTYPE to default locale
Dec 31 11:17:47 in-target: : No such file or directory
Dec 31 11:17:47 in-target:
Dec 31 11:17:47 in-target: locale:
Dec 31 11:17:47 in-target: Cannot set LC_MESSAGES to default locale
Dec 31 11:17:47 in-target: : No such file or directory
Dec 31 11:17:47 in-target:
Dec 31 11:17:47 in-target: locale:
Dec 31 11:17:47 in-target: Cannot set LC_ALL to default locale
Dec 31 11:17:47 in-target: : No such file or directory
Dec 31 11:17:47 in-target:
Dec 31 11:17:49 in-target: Setting up libuuid-perl (0.02-4) ...
Dec 31 11:17:50 in-target: Setting up linux-base (2.6.32-29) ...
Dec 31 11:17:50 in-target: locale:
Dec 31 11:17:50 in-target: Cannot set LC_CTYPE to default locale
Dec 31 11:17:50 in-target: : No such file or directory
Dec 31 11:17:50 in-target:
Dec 31 11:17:50 in-target: locale:
Dec 31 11:17:50 in-target: Cannot set LC_MESSAGES to default locale
Dec 31 11:17:50 in-target: : No such file or directory
Dec 31 11:17:50 in-target:
Dec 31 11:17:50 in-target: locale:
Dec 31 11:17:50 in-target: Cannot set LC_ALL to default locale
Dec 31 11:17:50 in-target: : No such file or directory
Dec 31 11:17:50 in-target:
Dec 31 11:17:52 in-target: Setting up linux-image-2.6.32-5-486 (2.6.32-29) ...
Dec 31 11:17:53 in-target: locale:
Dec 31 11:17:53 in-target: Cannot set LC_CTYPE to default locale
Dec 31 11:17:53 in-target: : No such file or directory
Dec 31 11:17:53 in-target:
Dec 31 11:17:53 in-target: locale:
Dec 31 11:17:53 in-target: Cannot set LC_MESSAGES to default locale
Dec 31 11:17:53 in-target: : No such file or directory
Dec 31 11:17:53 in-target:
Dec 31 11:17:53 in-target: locale:
Dec 31 11:17:53 in-target: Cannot set LC_ALL to default locale
Dec 31 11:17:53 

Bug#608201: grub-installer: fails on live usb-hdd images (not on any other types)

2010-12-29 Thread Jose Luis Zabalza
2010/12/29 Miguel Figueiredo el...@debianpt.org:
 Hi,

 Ter, 2010-12-28 às 18:05 +0100, Daniel Baumann escreveu:

 I'm not sure this bug belongs to grub-installer or to live-build.

 [...]

 see the following thread for more information:
 http://lists.debian.org/debian-live/2010/12/msg00113.html

 [...]

 from the url above, on the script lb_binary_debian_installer:

 DI_REQ_PACKAGES=elilo lilo grub

 grub-pc is missing.
 Can you try with the attached patch?

I already tried, patching lb_binary_debian_installer with

DI_REQ_PACKAGES=elilo lilo grub grub2
#DI_REQ_PACKAGES=elilo lilo grub

and also fails.


As someone commented in the same thread, grub2 package is not on the
media, buy I guest is not important because grub2 package can safety
deleted.


-- 
José Luis Zabalza
jlz.3008  a t  gmail.com
Linux Counter 172551



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#607832: Bug persist

2010-12-28 Thread Jose Luis Zabalza
The bug persist with initrd.gz and vmlinuz downloaded from
~joeyh/d-i/images/daily/hd-media   daily=28-Dec-2010 and
/cdimage/squeeze_di_beta2/i386/iso-cd/debian-squeeze-di-beta2-i386-CD-1.iso
as iso image following the standard procedure to create a usb-stick

sudo fdisk /dev/sdd
 create a FAT 16 bootable partition.
 sudo mkdosfs /dev/sdd1
 sudo syslinux /dev/sdd1
 mkdir x
 sudo mount /dev/sdd1 x
 sudo cp initrd.gz  x
 sudo cp vmlinuz x
 sudo cp debian-squeeze-di-beta2-i386-CD-1.iso x
 sudo sh -c 'echo default vmlinuz\nappend initrd=initrd.gz  x/syslinux.cfg'
 sudo umount x

The message grub-install /dev/sda  appear on screen but selected
device to install is hd on /dev/sdb. /dev/sda was assigned to
usb-stick in hd selecction screen.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#598130: similar from i386 architecture

2010-12-19 Thread Jose Luis Zabalza
I created a usb image with live-debian tool and I get the same error.

Seems the error is on apt-get command on line 33 of apt-install command.
apt-get return 100

in-target sh -c debconf-apt-progress --no-progress --logstderr -- apt-get
-q -y --no-remove install $packages || ERRCODE=$?

Seems grub packages are not on /target/var/cache/apt/archives directory.

I copied grub packages to archives directory and regenerated
/target/var/cache/apt/pkgcache.bin file by hand using in-target command, but
no success.

I grep pkgcache.bin. It only found grub package and not grub-pc package. I
don't know if this is correct or no.

Bye