Debootstrap error

Help with issues regarding installation of Debian

Debootstrap error

Postby honest_new-b » 2014-01-16 18:44

Hello, I'm trying to install Debian for the first time and after getting to the "Install the base system" part I get a Debootstrap error. When I try to preform the installation I get the error "Failed to determine the codename for the release.". If it's any help, I'm trying to do a Unetinboot install from a SanDisk Cruzer USB drive.

Thanks.
honest_new-b
 
Posts: 1
Joined: 2014-01-16 18:30

Re: Debootstrap error

Postby TobiSGD » 2014-01-16 21:12

Don't use Unetbootin. Use dd (Linux/UNIX) or win32 image writer (Windows) to directly write the ISO image to the USB device.
User avatar
TobiSGD
 
Posts: 859
Joined: 2010-05-08 22:27
Location: Hannover, Germany

Re: Debootstrap error

Postby Illuminated » 2014-05-14 22:44

I ran into this same problem. I used unetbootin to create the image on a USB thumb drive.

unetbootin was not the problem. The problem was related to the media not being mounted under /cdrom

I had to manually mount the usb to /cdrom and when I retried the install, I was able to get past the "bootstrap error".

I did this by hitting alt-f2 and then
mount /dev/sdc1 /cdrom
then alt-f1 to get back to the install

The device for the usb drive may vary. For me it was /dev/sdc1.

I have no idea why the installer isn't smart enough to know to either mount the install media in /cdrom itself of look for it in /target/media/cdrom where it already had it mounted.
Illuminated
 
Posts: 1
Joined: 2014-05-14 22:31

Re: Debootstrap error

Postby llivv » 2014-05-16 01:38

Illuminated wrote:I ran into this same problem. I used unetbootin to create the image on a USB thumb drive.

unetbootin was not the problem. The problem was related to the media not being mounted under /cdrom

I had to manually mount the usb to /cdrom and when I retried the install, I was able to get past the "bootstrap error".

I did this by hitting alt-f2 and then
mount /dev/sdc1 /cdrom
then alt-f1 to get back to the install

The device for the usb drive may vary. For me it was /dev/sdc1.

I have no idea why the installer isn't smart enough to know to either mount the install media in /cdrom itself of look for it in /target/media/cdrom where it already had it mounted.

very inte4resting
in the kitchen with Julia ....
[...]
Get on the D bus to B Can ....
[...]
User avatar
llivv
 
Posts: 5586
Joined: 2007-02-14 18:10
Location: willo the tree

Re: Debootstrap error

Postby Byakko » 2015-01-01 06:36

Thank you very much for this answer, it helped me go through the installation !

I think the USB connection was dropped for some reason during the very very long cleaning process (LVM encrypted).
Byakko
 
Posts: 1
Joined: 2015-01-01 06:30

Re: Debootstrap error

Postby abladelnx » 2015-06-27 14:58

Illuminated wrote:I ran into this same problem. I used unetbootin to create the image on a USB thumb drive.

unetbootin was not the problem. The problem was related to the media not being mounted under /cdrom

I had to manually mount the usb to /cdrom and when I retried the install, I was able to get past the "bootstrap error".

I did this by hitting alt-f2 and then
mount /dev/sdc1 /cdrom
then alt-f1 to get back to the install

The device for the usb drive may vary. For me it was /dev/sdc1.

I have no idea why the installer isn't smart enough to know to either mount the install media in /cdrom itself of look for it in /target/media/cdrom where it already had it mounted.


Thank you. This works perfectly. Must say that I'm surprised this hasn't been fixed in the interim though!
abladelnx
 
Posts: 1
Joined: 2015-06-27 14:56

Re: Debootstrap error

Postby beefes » 2015-07-14 15:46

Thanks. Worked like a charm.
beefes
 
Posts: 1
Joined: 2015-07-14 15:43

Re: Debootstrap error

Postby bbbf0621 » 2015-09-15 15:52

Thank you! this fixed my problem too, hope it'll be fixed in next update :D
bbbf0621
 
Posts: 1
Joined: 2015-09-15 15:43

Re: Debootstrap error

Postby milomak » 2015-12-25 19:41

am i to believe that the installer doesn't know to identify that it is being installed via usb?
iMac - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop (64-bit) - Debian Sid, Win10,
Kodi Box - Debian Sid
milomak
 
Posts: 1678
Joined: 2009-06-09 22:20

Re: Debootstrap error

Postby GarryRicketson » 2015-12-25 20:23

TobiSGD wrote:Don't use Unetbootin. Use dd (Linux/UNIX) or win32 image writer (Windows) to directly write the ISO image to the USB device.

+1
Illuminated »unetbootin was not the problem.

Usually it does not work with unebootin, that is the problem.
From:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775689Unetbootin is wasting massive amounts of developer and user time. :-(

Please add:

* An entry in the Debian package description to say "Do not use
unetbootin for Debian CD images, just write them raw using dd" or
similar.


I have no idea why the installer isn't smart enough to know to either mount the install media in /cdrom itself of look for it in /target/media/cdrom where it already had it mounted.

The installer is fine, but when people do not read manuals on how to use it, this is where the problems start.
https://www.debian.org/releases/stable/installmanual

https://wiki.debian.org/BootUsb
If one does go through the Debian Documentation, ( I have), and I have not ever been able to find any where that they suggest or recommend using "unebootin".
These are good places to start, before trying to install,
https://debian-handbook.info/browse/stable/installation.html#sect.installation-methods

https://debian-handbook.info/browse/stable/sect.installation-steps.html
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4260
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Debootstrap error

Postby spacex » 2015-12-26 09:53

Garry. Stop throwing all that documentation at people. The problem was solved, and unetbootin was not the issue in this case. Just accept it and move on. Your latest post was redundant. You don't need to defend your answer just because someone chooses to fix their issue in another way. Whatever works, works. Easy as that. You can never argue with results. :)
spacex
 
Posts: 633
Joined: 2015-01-17 01:27

Re: Debootstrap error

Postby dzz » 2015-12-27 11:08

This issue has been discussed here and solved, at least for wheezy, already. You don't have to trash your nicely customized 64GB multiboot sandisk cruzer with dd. viewtopic.php?f=17&t=75604

Here's the documentation everyone missed (which, like "unetbootin", uses syslinux not dd): https://www.debian.org/releases/stable/ ... y-flexible
dzz
 
Posts: 257
Joined: 2007-02-05 20:39
Location: Devon, England

Re: Debootstrap error

Postby kellt » 2016-11-09 23:49

I had same problem installing jessie on a laptop, I'd left the installer alone for several hours and the cdrom had unmounted itself somehow. When I plugged it back in, it came up as sr1, instead of sr0. Then this error. Mounting the DVD to /cdrom fixed the issue.
kellt
 
Posts: 9
Joined: 2015-03-05 06:32

Re: Debootstrap error

Postby jkbgbr » 2017-01-08 10:45

The problem still exists on a Thinkpad x61 when installing jesse from USB written using Etchy. The workaround is effective, however, as a first-time linux installing user I find it _very_ annoying to have to deal with a such a problem in 2017!
jkbgbr
 
Posts: 1
Joined: 2017-01-08 10:39

Re: Debootstrap error

Postby Head_on_a_Stick » 2017-01-08 12:29

jkbgbr wrote:as a first-time linux installing user I find it _very_ annoying to have to deal with a such a problem in 2017!

As a long-time forum member, I find it _very_ annoying when the n00bs don't even bother to read TFM...

https://www.debian.org/releases/jessie/ ... -isohybrid

EDIT: welcome to the forums! :mrgreen:
"Are you quite sure that all those bells and whistles, all those wonderful facilities of your so called powerful programming languages, belong to the solution set rather than the problem set?" — Edsger W. Dijkstra
User avatar
Head_on_a_Stick
 
Posts: 6576
Joined: 2014-06-01 17:46
Location: /dev/chair

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable