6

So I'm trying to install Debian 9.0 to my laptop (UEFI) via DVD and everything worked fine except that the mousepad doesn't work (yet?) and that I'm getting this error:

Debootstrap error
Failed to determine the codename for the release.

at the step "install the base system" after the partitioning.

Any suggestions for what I should try to get it working?
This thread somewhat suggests that some change to my partitioning could solve this issue.
I selected "Guided - Use entire disk and set up encrypted LVM". Changing the 2 ext4 partitions to ext3 didn't help.
Any help is welcome!

Edit: I skipped to step "Check integrity of the CD" and it says The CD of yours is not a valid Debian-CD-ROM. Please change the CD. Note that during installation I connected to the Internet and that I used the same CD for the installation on another PC. Please help.

Edit: Related question of mine. I rebooted and did the integrity-check offline where it says: "Integrity test failed The ./pool/main/k/kde-l10n-de_16.04.3-1_all.deb file failed the MD5 checksum verification. Your CR-ROM or this file may have been corrupted."

  • No, You should download a new image , you cannot install the OS with a corrupted iso. – GAD3R Jul 24 '17 at 18:34
  • @GAD3R Well I did. From what I know I used that labelled CD for the installation of Debian on my PC. Of course I won't used that CD again but it seems to have worked. – mYnDstrEAm Jul 24 '17 at 23:46
  • I had a similar issue after a lot of fiddling around to no result, I redid the partition step. After that it worked. This is probably not a general solution, but it worths a try. – Jacco van Dorp Aug 9 '18 at 8:57
10

This question is old but I just came across a working fix for this.

As it turns out, the issue was caused due to the USB drive being unmounted during the LVM setup process. It might've been a bad USB connector or USB drive.

There is a very easy fix for which you don't even have to reboot or re-do any of the setup again.

  1. Press esc to enter the menu of the installer.
  2. Select Enter a shell (or command prompt)
  3. Run fdisk -l to find out the name and partition of your USB install drive
  4. Run mount /dev/sdc1 /cdrom (replace sdc1 with your USB drive)
  5. Run exit, then go back to Install the base system from the menu

It will continue to install as normal. All credits and thanks go to this guy

0

I just had the exact same problem when trying to install with an encrypted LVM. I saw the "Failed to determine the codename for the release" error, and when I checked the validity of the image I also got that same error.

I found that by rebooting and restarting the installation but cancelling when it got into the lengthy process of overwriting the whole hard drive with random data, the error didn't reoccur.

I'm guessing that something happened to the USB mount during the multi-hour disk wiping process, and rebooting fixed it.

It's kind of weird that checking the integrity of the image is one of the last things on the list. Why not check it before using it to install everything?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.