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

Bug#186443: base-installer: can't find /target/etc/fstab



On Thu, Mar 27, 2003 at 07:15:21PM -0500, Joe Nahmias wrote:
> Thorsten Sauter wrote:
> > you need to download the busybox-cvs-udeb package manually. This package
> > contains the mkswap command.
> Ok, this worked.
this is fixed in cvs already. So please wait for the next upload of
di-utils.

> > > I ran into this error in base-installer's postinst:
> > > 
> > > cp: /target/etc/fstab: No such file or directory
> > yes, please.
> > 
> > Please check, if the fstab generation file exists:
> > 	/usr/lib/prebaseconfig.d/40fstab
> > If it's exist try to run it from hand on console 2 (tty2) and check teh
> > output, maybe this program failes with some errors.
> I was able to run this successfully ($?=0) from tty2, with no error
> messages.  It created the correct /target/etc/fstab.  How can I diagnose
> why this didn't get automatically done?
ok, the script itself runs.

So, please take a look at
	/usr/share/debian-installer/mount/mount.sh
this script should run the fstab script at the following position.

#
# create now the filesystems
do_mount() {
[...]
	# update fstab for baseinstaller
	sh /usr/lib/prebaseconfig.d/40fstab
	return 0
}

maybe you can put a "set -x" before the 40fstab file?

If the above file doesn exist, then you have an outdated version of
di-utils. Then please take a look at
	/var/lib/dpkg/info/di-utils-mount-partitions.postinst

These must also be the same lines as above.


Oh, and btw it works for me here.


Thanks
Thorsten

-- 
Thorsten Sauter
<tsauter@gmx.net>

				(Is there life after /sbin/halt -p?)

Attachment: pgp6ltUqHM0Fl.pgp
Description: PGP signature


Reply to: