USB CD boot and autoinstall (preseeding)

2008-06-05 Thread Alexandre Conrad

Hello,

I'm attempting to remaster a CD (xubuntu) and automate its installation 
for multiple identical installs.


First of all, I added the following to my isolinux/isolinux.cfg file 
with a new menu that would load my preseed/mediaplayer.seed file:


LABEL ks
  menu label ^Auto-install (preseed)
  kernel /install/vmlinuz
  append  locale=en_US console-setup/layoutcode=fr 
console-setup/variantcode=oss_latin9 
file=/cdrom/preseed/mediaplayer.seed initrd=/install/initrd.gz


So the BIOS correctly boots my CDROM, I do get the xubuntu splash 
screen. I then go down to the "Auto-install (preseed)" menu, and press 
enter.


The next thing is that it complains not finding the CD-ROM. Of course, I 
just booted from the CD to get the splash screen. I guess some USB 
module is not installed. So I press "continue".


Further, it proposes to load a driver from floppy, I select "no", then 
it asks if I want to load some cdrom driver, I say "yes", I choose 
"cdrom" from the choice list (choices: none, cdrom). Finally, I type 
"/dev/cdrom" as the device, although, I'm not even sure this is correct, 
as it normaly should be "/dev/scd0". At last, it finds the CDROM and my 
.seed file.


How can I make this step automatic? I guess I need to append extra 
argument parameters in my isolinux.cfg file... please help!


Regards,
--
Alexandre CONRAD


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: USB CD boot and autoinstall (preseeding)

2008-06-05 Thread Alexandre Conrad

Hi,

I think I have a bug here. I have found a workaround though. See below.

Alexandre Conrad wrote:

LABEL ks
  menu label ^Auto-install (preseed)
  kernel /install/vmlinuz
  append  locale=en_US console-setup/layoutcode=fr 
console-setup/variantcode=oss_latin9 
file=/cdrom/preseed/mediaplayer.seed initrd=/install/initrd.gz


I finally have set the following to have my USB CD found after the 
xubuntu install splash screen (right after the BIOS):


"""
append  locale=en_US console-setup/layoutcode=fr 
console-setup/variantcode=oss_latin9 cdrom-detect/load_floppy?=false 
cdrom-detect/manual_config=true cdrom-detect/cdrom_module=none 
cdrom-detect/cdrom_device=/dev/scd0 file=/cdrom/preseed/mediaplayer.seed 
initrd=/install/initrd.gz

"""

Note the "load_floppy" has a ?=false value. Which means we're setting 
the default to false but still keep the user interaction. This is 
because when "cdrom-detect/load_floppy=false" is set, it turns out it 
doesn't detect the CD drive. If I put some latency (user interaction), 
it works. Also, if I press "false" really fast (human reflexe timing), I 
get the error as well. If I take my time and wait a second or so, the CD 
is found no problem and the media starts being scanned.


This is very odd. But it seems that the "cdrom module" or whatever loads 
to get the USB CD to work doesn't have enough time to be loaded and the 
detection fails. If the detection fails, I press continue, and I retry 
CDROM detection, it works just fine.


So this doesn't make a *fully* automatic install. Has anyone experienced 
this before?


Regards,
--
Alexandre CONRAD


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



concentrators for PPPoE

2008-06-05 Thread Alexandre Conrad

Hello,

I remastered a xubuntu CD, and during the installation process, I'm 
getting a "detecting concentrators for eth0" regarding PPPoE. Other than 
adding one extra .deb package and regenerating Packages with 
apt-ftparchives (and a new gpg key), I haven't changed anything... This 
is something I didn't have before on the same PC, any idea what would 
cause this?


Regards,
--
Alexandre CONRAD


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



retrieve a package's questions for debconf-set-selections

2008-06-09 Thread Alexandre Conrad

Hi,

I'd like to use debconf-set-selections to pre-seed the debconf database 
with answers. But how can I retrieve/extract/query the questions that 
the .deb file will ask me? For example, that could be used for the java 
.deb to accept terms and conditions for an automatic installation.


Thanks.

Regards,
--
Alexandre CONRAD


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]