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

Re: Lenny 501 and presseding



On Tuesday 12 May 2009, Frédéric DONNAT wrote:
> 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...  ;(

Ah, yes. That is correct. For Lenny the cd is only mounted in the /target 
environment on demand by apt-cdrom in order to be able to support CD 
changing during the installation of packages.

Make sure you unmount the CD again at the end of your script or things 
might blow up (although that's somewhat unlikely to happen at the late 
stage preseed/late is executed).


Reply to: