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

Bug#341665: installation-report: cd-detect fails to set mirror/suite



Gws wrote:
> Initial boot: To get the boot parameters for grub I booted from a cd 
> populated with the iso on another machine and picked them up from 
> syslog. There must be an easier way.

Well, there is the hd-media installation method which is documented in
the installation manual including boot parameters for this case. It also
doesn't require manul CD mounting, BTW.

> Detect CD: My first thought was to 'mount /dev/hda /cdrom' but found 
> that I needed to run this step so mount points and such would be 
> created. Then I could mount /dev/hda on /cdrom and re-execute the Detect 
> CD step and it would complete successfully.
> 
> Install Base: This step failed attempting to read the package files from 
> /cdrom/debian/dists//main. The blank component in the path name should 
> have been 'testing'. I figured out that 'Detect CD' would normally 
> 'db_set mirror/suite' but the manual mount caused the script to exit and 
> this code was never reached. The cd mount test and db_set are at lines 
> 16 and 168 of cdrom-detect.postinst.

I suppose it's a valid bug that cdrom-detect assumes that if the CD is
mounted it's already pulled info from it and doesn't check to see if it
has the info. Although very much an edge case since you should really be
using hd-media in this situation.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: