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

Bug#474346: Installer keeps asking to insert CD1



Hi Gilberto,

Sorry for the late reply, but as I already said privately, I needed some 
time to think about this and to prepare some things.

As you have probably seen through the bug closure mail, I have uploaded some 
changes that should fix your problem and also some problems reported by 
others after additional changes in daily builds.

Basically I never expected that mounting a CD on two mount points at the 
same time would be a problem. And in most cases it is not, otherwise we 
would have seen a _lot_ more reports of installation problems with Beta1. 
However, it obviously is a problem in some specific cases, probably either 
hardware or kernel driver related. As both of those subjects are rather 
outside our scope and as it is very hard to work on something like that if 
you cannot reproduce it yourself, I have decided to structure things so 
that that problem is completely avoided. At least for now.

Unfortunately there is not much I can ask you to test now as there are no 
full CD or DVD images that have the latest code. They will only be built 
after the current changes migrate to testing when we start preparing for 
the Beta2 release. I may contact you again when we do though.

Partly to get things straight for myself, I've written a wiki page [1] that 
explains the issue. You may be interested to read it.

Thank you very much for your report and the information you provided. It 
definitely helped me to define the issue and to decide on the solution.

Below some comments on your last mails. Note that you can still reply to 
this, even though the bug report is closed.

Cheers,
FJP

[1] http://wiki.debian.org/DebianInstaller/LennyCDSwitchingIssue

On Monday 07 April 2008, Gilberto Segundo wrote:
> In the others installations using DVD (last 2 weeks), I verified the
> MD5sum from images .iso and I asked to "brasero 0.6.1" verify
> integrity. But, in the install process, the message (Insert CD 1 ...)
> appeared and after the programs were installed, some files from GRUB
> were not copied and appeared a message asking me if I would like to
> try again copy the files or continue the installation. I could not
> copy the files and I continued the installation without that files.
>
> Doing this, there was only one problem: The grub did not identified
> the Windows installed in the same HD and I had to edit the menu.lst
> manually.

Yes, that is expected. Because you force the CD to be ejected, it is no 
longer mounted on /cdrom, so the installer can no longer load the 
additional components it needs to detect the Windows partition.

> Now, I am downloading the new DVD image (April 7th). This will take a
> long time. After I am going to try to install using it in other DVD
> drive and I will send the results.

(These results were sent without gzipping the syslog file, so that mail 
never made the d-boot list. It is included below.)

On Friday 11 April 2008, Gilberto Segundo wrote:
>  I tried install with DVD and the installation failed. I tried with 2
>  different DVD disks and 2 different DVD drives.
>
>  Maybe, the problem occur only with the DVD disk. The CD disk is fine.

That is an interesting data point. I have never actually tried with DVDs 
myself (they are just too damn big IMO :-). On the other hand, I cannot 
really imagine what's so different between CDs and DVDs that they should 
behave differently. There is certainly no difference in the way we produce 
the images.

Did you try the CD and DVD in the same computer and in the same DVD drive?

[...]
>  Ok. But, there was not the file
>  /var/lib/dpkg/info/pkgsel/pkgsel.postinst. There was only  the file
>  /var/lib/dpkg/info/pkgsel.postinst, without the folder "pkgsel"

Sorry, that was my mistake. You found the correct file.

>  The message appeared . The exact message is:
>  "/cdrom/Please insert the disc labeled: 'Debian GNU/LInux
>  testing_Lenny_ - Official Snapshot i386 DVD Binary-1 20080407-10:15'
>  in the drive '/cdrom/' and press enter
>
>  Media Change"

That's exactly what I expected. 

>  Then, I tried to press enter several times, but it did not work.
>
>  I switched to debug shell and I typed "eject". I put the DVD again and
>  the installation continued. To do a fastest installation, I did not
>  choose to install "Desktop environment", only the "Standard system"
>
>  In the step "Install GRUB Loader in a Hard Disk" a message appeared:
>
>  "There was a problem reading data from CD-ROM. Please make sure it is
>  in the drive. If retrying does not work, you should check the
>  integrity of your CD-ROM.
>
>  Failed to copy file from CD-ROM. Retry?  YES   NO"
>
>  I pressed "YES" many times, but the DVD was not read.

OK. I've explained that above. For this to work again, the DVD has to be 
mounted manually on /cdrom from a debug shell. Basically you have to "undo" 
the eject command you gave earlier.

>  Then, I had to pressed "NO" three times to the GRUB install process
> complete.

That's probably because it tries to load three different components.

>  After, I chose the option "CHECK the CD-ROM integrity". Nothing
> happened.

Same reason: that expects the DVD to be already mounted on /cdrom.

>  Then I chose "Finish the installation" and the message appeared again:
>  "There was a problem reading data from CD-ROM. Please make sure it is
>  in the drive. If retrying does not work, you should check the
>  integrity of your CD-ROM.

Same again.

>  >  After that, please send the following files from /var/log/installer:
>  >  - hardware-summary
>  >  - status
>  >  - syslog (probably very big, must be compressed!)
>
>  I am sending the files now.

Thanks a lot for those. What I can tell from the logs is that everything 
worked as expected. There are no actual errors anywhere.

The thing is that as far as I know there is no good reason why that message
"Please insert DVD Binary-1" should appear. After all, the DVD is already 
inserted and the fact that it is already mounted on /cdrom should not 
prevent it from being mounted on /target/cdrom too.

But as the only difference is that during apt-setup (whet it was first 
scanned) the DVD was not mounted on /cdrom while during pkgsel (when you 
got that message) it was, so currently that is the only explanation.



Reply to: