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

RE: Lenny 501 and presseding

Thanks for your answer..

As you mentionned it, there is a lot of changes between these two version so i restart building my own pressed using "The Fabulous Manual" and the following link http://www.debian.org/releases/lenny/example-preseed.txt.  ;)
I hope I'll be able to find previous errors..

I could get ride of my problem with a mount:
d-i preseed/late_command string mount -o bind /cdrom /target/cdrom; in-target ..etc..

In fact, the cdrom is mounted on the install system but it seems that when we chroot this bind is missing...  ;(


-----Message d'origine-----
De : Frans Pop [mailto:elendil@planet.nl] 
Envoyé : jeudi 7 mai 2009 17:37
À : debian-cd@lists.debian.org
Cc : Frédéric DONNAT
Objet : Re: Lenny 501 and presseding

On Thursday 07 May 2009, Frédéric DONNAT wrote:
> I could not successfully pressed some questions while partionning:
> - Partition disks
> 	+ First Question:
> 	+ Second Question:

Check the *lenny version* of the installantion guide for the correct way 
to preseed this. There've been some changes since Etch.

> - Launching late command
> 	Here is my late_command (works fine under etch):
> 	d-i preseed/late_command string in-target
> /cdrom/mailinblack/install.sh I get an error: Failed to run pressed
> command
> 	Execution of preseeded command "in-target
> /cdrom/mailinblack/install.sh" failed with exit code 1 In the Alt+F4
> screen I get: in-target: chroot: cannot execute
> /cdrom/mailinblack/install.sh: No such file or directory
> At that point it seems that the cdrom is not mounted when I chroot, so

AFAIK it should still be mounted at that point (late command is run at 07 
in finish-install, while the CD is only unmounted at 15).
Possibly something else went wrong earlier in the installation.


P.S. This is not the best list to report this. If you have any additional 
questions then please mail the debian-boot list and add the syslog from 
your install.
P.P.S. Only the installation guide is really reliable as documentation for 
preseeding. The other documents you used may be outdated or simply 

Reply to: