Differences between revisions 166 and 237 (spanning 71 versions)
Revision 166 as of 2005-11-15 23:08:52
Size: 28016
Editor: PeMac
Comment:
Revision 237 as of 2020-12-05 20:01:47
Size: 18900
Comment: Adjusted phrasing.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## Auto-converted by kwiki2moinmoin v2005-10-07
= Debian-Installer: FAQ =
#language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]:
English - [[fr/DebianInstaller/FAQ|Français]] -~
Line 4: Line 5:
<<TableOfContents(2)>>

== Note ==
Before attempting an installation or reporting a problem, remember to check the errata page (either the [[http://www.debian.org/releases/stable/debian-installer/#errata|errata of Debian/Stable D-I ]] or the [[http://www.debian.org/devel/debian-installer/errata|errata of DI Development version]]) to see if your problem is already well known.

If you are experiencing problems with an older version of the installer, please try a more recent version from the [[http://www.debian.org/devel/debian-installer/|Debian-Installer home page]], as your problem might
already be solved.

Please don't edit this page to ask new questions here! This page is only for frequently asked questions. Please '''do''' edit this page to add questions that you know are frequently asked, or to improve the answers.
Line 6: Line 16:
== Note ==
Before attempting an installation or reporting a problem, remember to check the [http://www.debian.org/devel/debian-installer/errata errata] page to see if your problem is already well known.

It might also be worthwhile to check [http://www.debian.org/devel/debian-installer/ports-status this page] to see the status of the DebianInstaller on different architectures and with different installation methods.

Finally, if you are experiencing problems with an older version of the installer, please try a more recent version from the [http://www.debian.org/devel/debian-installer/ Debian-Installer home page], as your problem might
already be solved.

----

----
== List of questions ==
 1. Hardware is detected at install time but not after reboot.
 1. Why use DHCP automatically?
 1. I don't agree that DHCP should run automatically.
 1. Why not use an existing installer from another distro?
 1. Will there be a graphical installer?
 1. Will there be support for software RAID?
 1. How do I install using LVM?
 1. Is Serial ATA (SATA) hardware supported?
 1. How can I add support for a driver for which I have the sources?
 1. Is the 2.6 version of the Linux kernel supported?
 1. How to install with boot floppies + netinst.iso mounted as a loop device in the ramdisk from a ext2 partition?
 1. How can I create boot iso with my own set of packages?
 1. How can I build the DebianInstaller
 1. After installation, my machine just keeps rebooting!
 1. Problems with ide-scsi module
 1. Why do I have to choose twice which mirror to use?
 1. Why doesn't the installer automatically choose an optimized kernel?
 1. How about SMP support?
 1. Why isn't the installed system configured to use the language I chose during installation?
 1. Why isn't X configured to use the keyboard I chose during installation?
 1. When I run the DebianInstaller, my keyboard doesn't work!
 1. Why isn't my NIC supported by DebianInstaller, I know the "tg3" driver supports it!
 1. There seem to be errors reading the CD!
 1. How can I install sid (unstable) with DebianInstaller?
 1. How do I copy d-i (log)files to a remote host?
 1. How do I use netinst over ppp(oe)?
 1. What do I do if I can no longer boot Windows after installing Debian?
 1. Can I use d-i as a rescue system? What pitfalls are there?
 1. How to use preseeding? Howto use network console with preseeding?
 1. How to shrink an existing windows installation?
 1. Which are the different versions of DebianInstaller?
 1. How can I install Debian in a bootable USB stick memory using DebianInstaller?
----

----

'''Question 1''': The installer detects my ethernet card and loads the proper modules for it, but when I reboot, no drivers are loaded (the card doesn't work).

'''Answer''': This is most probably a known problem with discover-data. The problem will go away once discover-data is upgraded to a more recent version. This should have already happened now, so if you see the problem, let us know.

----

'''Question 2''': Why does DebianInstaller always use DHCP? I want a static address!

'''Answer''': There are currently two different ways of configuring a static IP setup:

 1. Run in normal mode and wait when the DHCP step is performed, if it fails you are given the option of configuring a static setup.
 1. Boot the installer in expert mode ("boot: expert"), and you will be able to configure a static address, and many other things besides. (Press F2 in boot screen for more information.)


== Q: Why does DebianInstaller always use DHCP? I want a static address! ==

'''A:''' There are currently three different ways of configuring a static IP setup:

 1. Run the installer in normal mode (select "Install") and either wait until the DHCP detection fails or cancel the DHCP detection (available in recent versions of the installer). Then you are thrown to the manual configuration of name servers. If you need to configure everything manually, you need to go back twice(!). Then select "Configure network manually". (Visit Debian Bug [[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794662|794662]] to see when this not very user friendly behaviour is fixed.)
 1. Run the installer in expert mode (select "Advanced options > Expert"), and you will be able to configure a static address, and many other things besides.
 1. Supply installer boot argument: 'netcfg/disable_autoconfig=true'.
Line 69: Line 28:
----

'''
Question 3''': But DHCP shouldn't run automatically, it breaks on my system/gets the wrong information/is not what I want.

'''Answer''': DebianInstaller is targeting a larger base of users than have historically installed Debian, including users who don't know what DHCP or static IP addresses are. Thus default behavior is chosen to use DHCP.

You can force static network configuration by providing boot parameter netcfg/disable_dhcp=true at the boot prompt.  (Press F7 in boot screen for more information.)

----

'''
Question 4''': Why are you doing this? Why not use Anaconda/PGI/whatever? Why reinvent the wheel?

'''Answer''': We're doing this because it's time. Debian has been burdened with a sub-par installer for a full decade, and it's time to change all that. Debian's installer needs to work on more platforms and more types of install media than any other. We need to support installs to S/390 mainframes that have only a teletype console. We need to support installs to m68k boxes that boot from floppies, as well as to netbooting Sun hardware.

And yes, we want to support flashy easy installs on Intel clones booting from CD (and USB sticks). And many more; all the currently targeted installation methods are listed [http://www.debian.org/devel/debian-installer/ports-status here].
== Q: But DHCP shouldn't run automatically, it breaks on my system/gets the  wrong information/is not what I want. ==

'''A''': DebianInstaller is targeting a larger base of users that have historically installed Debian, including users who don't know what DHCP or static IP addresses are. Thus default behavior is chosen to use DHCP.

You can force static network configuration by providing boot parameter netcfg/disable_dhcp=true at the boot prompt.

== Q: Why are you doing this? Why not use Anaconda/PGI/whatever? Why reinvent the wheel? ==

'''A''': We're doing this because it's time. Debian has been burdened with a sub-par installer for a full decade, and it's time to change all that. Debian's installer needs to work on more platforms and more types of install media than any other. We need to support installs to S/390 mainframes that have only a teletype console. We needed to support installs to m68k boxes that boot from floppies, as well as to netbooting Sun hardware.

And yes, we want to support flashy and easy installs on Intel clones booting from CD (and USB sticks). And many more. All the [[http://www.debian.org/devel/debian-installer/|currently targeted installation methods]] are available for download.

Also installs for experienced users with higher control using the same installer are a must.
Line 87: Line 44:
----

'''Question 5''': Is the DebianInstaller going to be graphical in nature? / Is there any prebuilt/downloadable graphical DebianInstaller?

'''Answer''': The DebianInstaller will not be graphical by nature, but modularity is a key in its design. It would allow the use of different kinds of frontends, including those of a graphical nature.

Actually a GTK+ based graphical frontend is being actively developed ( see ["DebianInstallerGUI"] ) : this was built on the
GTK frontend that has been developed during the last years by many members of the debian-installer team.

sarge will not ship with any kind of graphical installer; the project is simply way too unfinished. The main reason for this is that creating a graphical installer around DebianInstaller's current design is inherently very hard; just adding GTK+ or Qt widgets on top of cdebconf will not produce a friendlier installer than what is already available from the newt front end.
In order to make a user-friendly graphical installer, one will have to do a lot of thinking as of how to combine multiple questions into one screen, do partitioning etc. most effectively in a graphical setting while still working well with the rest of the installer. This is definitely something that will not be done for sarge, but any help for future releases would be greatly appreciated.

----

'''Question 6''': Will the DebianInstaller support creating and installing to software RAID devices?

'''Answer''': The installer supports RAID 0, 1, and 5. Note that if you use RAID for /boot, you will be forced to use lilo since grub doesn't support RAID.
([http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=251905 #251905]).

[http://linux.yyz.us/sata/faq-sata-raid.html SATA RAID] Chipset's or PCI/PCIe-card's software RAIDs are not supported yet, or not completely, see dmraid [http://lists.debian.org/debian-boot/2005/11/msg00297.html 1] [http://packages.debian.org/unstable/admin/dmraid 2], if you do not need to dual boot to a MS Windows installed on a such software raid system, please use the debian-installer default raid manager, above mentioned, it is far more tested.

----

'''Question 7''': How do I install using LVM? Is there any more information about using the LVM installer? LVM installation doesn't work!

'''Answer''': LVM is fairly straightforward to configure using the menu item in the partitioner titled "Configure the Logical Volume Manager". Please note that it will probably help a lot if you know some [http://www.tldp.org/HOWTO/LVM-HOWTO/ LVM terminology] - it's recommended that you know the following three concepts: volume group (VG), physical volume (PV) and logical volume (LV) and how these relate to each other.

You can even build an LVM on top of a RAID device even for root. Nevertheless Grub has still some troubles ([http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=251905 #251905]).

----

'''Question 8''': Is installation on SATA harddrives supported by DebianInstaller?

'''Answer''': There are currently three options for SATA users:

 1. You can try the 2.4.27 kernel which is default in the sarge installer. This kernel includes some support for SATA.
 1. Install using the Linux 2.6 kernel which should have better support for your SATA hardware (boot the installer with "linux26"). A newer version of the 2.6 kernel than what was released in sarge is available in recent daily builds.
 1. See if you can change your SATA settings in the BIOS from something like "Native mode" to "Compatibility mode" (might be labeled differently)

For a list of supported chipsets and their status of support you may want to be assisted by [http://www.linuxmafia.com/faq/Hardware/sata.html]

If you have a Gigabyte GA-["K8NS"] Pro or similar mainboard, you may want to take a look at [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281843 #281843] (for i386 installation) or [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281839 #281839] (for ["AMD64"] installation).

----

'''Question 9''': DebianInstaller does not include a driver for my xyz network card, but I have (tarball) driver sources. What are the steps for building that driver? Do the steps include the phrase, "Assume you have kernel-headers?" Do you think you'll be able to include kernel-headers for the installer's kernel image(s) in the CD image, so we don't have to sneaker-net them around?

'''Answer''': It's possible to do this, but we do not yet have good end-user docs explaining how to do so. We're waiting for an end user to accomplish it and write them from experience. We're glad to help you through the process when you mail us at debian-boot@lists.debian.org (do not forget to add lspci -v output).

----

'''Question 10''': Will there be support for Linux 2.6 kernels?

'''Answer''': Boot with "linux26". Note that 2.6 is the default for at least powerpc installs, is not yet available for all architectures, and is not available when booting i386 from floppies. It is the default in daily builds for more architectures, including i386.

----

'''Question 11''': How to install with boot floppies + netinst.iso mounted as a loop device in the ramdisk from a ext2 partition?

'''Answer''': You can boot the installer directly from a hard disk
using LILO or GRUB, and the hd-media initrd will find your netinst.iso. See the ["InstallationHOWTO"] for details

----

'''Question 12''': How can I create boot iso with my own set of packages?

'''Answer''': see DebianInstallerModify

----

'''Question 13''': How can I build the DebianInstaller?

'''Answer''': see DebianInstallerBuild

----

'''Question 14''': Why after installer tells me it's finished and reboot it ejects the cdrom and then after the machine start up, it enters the welcome debian screen, but then it keep rebooting?

'''Answer''': This [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249600&archive=yes bug #249600 against hotplug] should be fixed now. Please let us know if not.

----

'''Question 15''': Why does the installer ask for the ide-scsi module to install the system, when it clearly can use the normal ide-cd module to do this? Why is the ide-scsi module not included on the cd install, and where can we get it (I have tried the cd drivers boot floppy, no good)?

'''Answer''': Please file an installation report with the details if you see this; we never have encountered such a problem. The installer does not know about, or need the ide-scsi hack.

----

'''Question 16''': Why do I have to choose twice which mirror to use (at installation and later when base-config is performed)?

'''Answer''': This is a known bug and it's being worked on (see bug number [http://bugs.debian.org/220269 220269] for the current status).

----

'''Question 17''': Why doesn't the installer automatically choose the appropriate kernel to install (for example an i686 kernel instead of the generic i386)?

'''Answer''': The netinst CD image includes only the generic i386 kernel, so if you're using that you will always have install the proper kernel for your system manually after the installation.

If using any other installation method than the netinst CD you should get a kernel installed that is optimised for your hardware.

----

'''Question 18''': What about SMP support?

'''Answer''': The installer itself does not need any SMP support and will not boot with an SMP enabled kernel since it merely needs to install the system to your machine.

When the system is being installed, it would be nice if SMP was automatically detected and the appropriate kernel was chosen though (which would mean that SMP was enabled when you boot into your newly installed Debian system).

There is currently a bug filed against the DebianInstaller, requesting this feature. You can see its current status by looking at [http://bugs.debian.org/246483 the bug report].

----

'''Question 19''': Why isn't the installed system configured to use the language I chose during installation?

'''Answer''': This problem has been fixed, so if you see it using any current image, please let us know.

----

'''Question 20''': Why isn't X configured to use the keyboard I chose during installation?

'''Answer''': This is a known problem, to check if it has been fixed or to track its progress, see bug report [http://bugs.debian.org/238778 238778].

----

'''Question 21''': When I run the DebianInstaller, my keyboard doesn't work!

'''Answer''': This seems to be especially common on laptops. Try booting with no APIC and no local APIC support ("boot: linux noapic nolapic").

----

'''Question 22''': Why isn't my NIC supported by DebianInstaller, I know the "tg3" driver supports it!

'''Answer''': As tg3 contains firmware which does not seem to meet the requirements of DFSG (the Debian Free Software Guidelines), a decision was made to remove the driver from debian packaged kernels (more information [http://lists.debian.org/debian-devel/2004/04/msg00405.html here] and [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239952 here]). Now this has mostly been resolved with a version of the driver that does not contain such firmware and should work with most cards. You should not have problems with the latest version of the installer. (On 9/14/2005 this was certainly not true. The Current daily of the netinst disc does not recognize the presence of a tg3 NIC when I tried to install.) (On 9/21/2005 I found a workaround for tg3 installs. The tg3 hardware is autodetected so the "Detect network hardware" dialog will fail. When it does, flip to the second virtual terminal and manually load the tg3 driver with "modprobe -a tg3" flip back to the first terminal and enter "No" to the FireWire ethernet question and then Go Back and restart the "Detect network hardware" dialog and everything should proceed ok from there.)

(FYI: last I heard the Debian kernel maintainers refused to maintain
a forked tg3, and the upstream kernel maintainers refused to accept any
changes. Currently the non-free version is in Debian, but it will probably have to be removed again, unnecessary though that is --Nathanael Nerode)

----

'''Question 23''': There seem to be errors reading the CD!

'''Answer''': First of all, check that the ["MD5"]-sum of the ISO file you downloaded is correct; the md5sum for each of the ["ISOs"] is available in the same directory as the ISO download. After booting the installer you can also check the CD-ROM: use the {{{<go back>}}} button to back up to the main menu and select the option to check the CD-ROM's integrity.

If you are positive that the CD is correct, it could be that the CD-ROM is old and/or flaky when using DMA. You can try disabling DMA for the CD-ROM (by booting with "linux ide=nodma"); unfortunately this boot option is currently broken (see bug [http://bugs.debian.org/226057 226057]).
== Q: Is the DebianInstaller going to be graphical in nature? / Is there any prebuilt/downloadable graphical DebianInstaller? ==

'''A''': The DebianInstaller is not graphical by nature, but modularity is a key in its design and allows the use of different kinds of frontends, including a graphical one.

Since Etch, a [[DebianInstaller/GUI|graphical version of the installer]] is available for i386, amd64. For powerpc the graphical installer is only available as a separate, experimental image.

See the [[http://www.debian.org/releases/stable/installmanual|Installation Guide]] for further information.

== Q: Does the DebianInstaller support creating and installing to software RAID devices? ==

'''A''': The installer supports software RAID levels 0, 1, 4, 5, 6 and 10, and [[DebianInstaller/SataRaid|SATA RAID]]. Note that if you use RAID for /boot, you will be forced to use lilo since grub doesn't support RAID.
(DebianBug:251905).

If you do not need to dual boot to MS Windows installed on such a RAID system, please use the DebianInstaller default (software) RAID manager ([[http://packages.debian.org/mdadm|mdadm]]) as listed above: it is far better tested and seems equally fast.

== Q: How do I install using LVM? Is there any more information about using the LVM installer? LVM installation doesn't work! ==

'''A''': LVM is fairly straightforward to configure using the menu item in the partitioner titled "Configure the Logical Volume Manager". Please note that it will probably help a lot if you know some [[http://www.tldp.org/HOWTO/LVM-HOWTO/|LVM terminology]] - it's recommended that you know the following three concepts: volume group (VG), physical volume (PV) and logical volume (LV) and how these relate to each other.

You can even build an LVM on top of a RAID device even for root. Nevertheless Grub has still some troubles (DebianBug:251905).

Recent versions of the installer can also set up LVM as part of the guided partitioning process.

== Q: DebianInstaller does not include a driver for my xyz network card, but I have (tarball) driver sources. What are the steps for building that driver? ==

'''A''': It's possible to do this, but we do not yet have good end-user docs explaining how to do so. We're waiting for an end user to accomplish it and write them from experience. We're glad to help you through the process when you mail us at debian-boot@lists.debian.org (do not forget to add lspci -v output).

See also DebianInstaller/NetInstWithThirdPartyNetworkDriver for a lengthy manual procedure of re-packaging netinst with a regular Debian kernel and the third party driver compiled against it. That procedure should give way to the install-time compilation of the driver against the installer's and the target kernels, a la module-assistant.

== Q: How do I install using the hd-media? ==

'''A''': A [[https://www.debian.org/distrib/netinst|netinst]] or [[https://www.debian.org/CD/http-ftp/#stable|CD/DVD]] installation image can be booted directly from a hard disk (or [[https://wiki.debian.org/Installation+Archive+USBStick|a USB drive]]) using [[https://www.debian.org/releases/stable/amd64/ch05s01.html.en#boot-initrd|LILO or GRUB]]. For GRUB, ''/etc/grub.d/40_custom'' would be a convenient place to put a stanza; then run `update-grub`. An hd-media kernel (linux) and an initrd (initrd.gz) for the Debian 9 i-386 architecture are available [[http://deb.debian.org/debian/dists/stretch/main/installer-i386/current/images/netboot/debian-installer/i386/|here]].

After selecting the entry in the boot menu to boot from, the ISO is [[https://www.debian.org/releases/stable/amd64/ch06s03.en.html#di-setup|searched for]] and, when found, mounted using the initrd's loop module. From there the Debian installer takes over and installation of the OS proceeds as normal.

== Q: How can I create boot iso with my own set of packages? ==

'''A''': see [[DebianInstaller/Modify]]

== Q: How can I build the DebianInstaller? ==

'''A''': see [[DebianInstaller/Build]]

== Q: Why doesn't the installer automatically choose the appropriate kernel to install (for example an i686 kernel instead of the generic i386)? ==

'''A''': The netinst CD image includes only the generic i386 kernel, so if you're using that you will always have install the proper kernel for your system manually after the installation if you want an optimized version. Including all the kernels on the netinst CD would use too much space.

If using any other installation method than the netinst CD you should get a kernel installed that is optimized for your hardware.

Update: recent netinst images also include the 686 flavor of the kernel.

== Q: What about SMP support? ==

'''A''': The installer itself does not need any SMP support and will not boot with an SMP enabled kernel since it merely needs to install the system to your machine.

When the system is being installed, the installer attempts to automatically detect SMP and chose and the appropriate kernel, so that SMP is enabled when you boot into your newly installed Debian system. If it fails to notice that it needs a SMP kernel on your machine, please file a [[https://www.debian.org/releases/stable/i386/ch05s04.html#submit-bug|detailed installation report]].

On some architectures (including i386 and amd64), the standard Debian kernel image has been compiled with SMP-alternatives support. This means that the kernel will detect the number of processors (or processor cores) and will automatically deactivate SMP on uniprocessor systems.

== Q: Why isn't the installed system configured to use the language I chose during installation? ==

'''A''': This problem has been fixed, so if you see it using any current image, please file a detailed installation report.

== Q: When I run the DebianInstaller, my keyboard doesn't work! ==

'''A''': This seems to be especially common on laptops. Try booting with no APIC and no local APIC support ("boot: linux noapic nolapic").

== Q: Why isn't my hardware supported by DebianInstaller, I know there is a Linux driver for it! ==

'''A''': Some firmwares do not meet the requirements of DFSG (the Debian Free Software Guidelines) and are therefore distributed separately from Debian proper, in the ''non-free'' area of our archive: [[http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/|installer iso image file]] , [[http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/|firmware driver file]]. See section 2.2 (Devices Requiring Firmware) of [[http://www.debian.org/releases/stable/installmanual|the installation guide]] for detailed instructions.

== Q: There seem to be errors reading the CD! ==

'''A''': First of all, check that the [[MD5]]-sum of the ISO file you downloaded is correct; the md5sum for each of the [[ISOs]] is available in the same directory as the ISO download. After booting the installer you can also check the CD-ROM: use the {{{<go back>}}} button to back up to the main menu and select the option to check the CD-ROM's integrity.

If you are positive that the CD is correct, it could be that the CD-ROM is old and/or flaky when using DMA. You can try disabling DMA for the CD-ROM (by booting with "linux ide=nodma").
Line 243: Line 131:
----

'''Question 24''': How can I install sid (unstable) with DebianInstaller?

'''Answer''': Start an installation in expert mode. Before||||After choosing the mirror you will be asked which distribution to install: stable, testing or unstable. We recommend using a daily build of the installer to install testing or unstable.

----

'''Question 25''': How do I copy d-i (log)files to a remote host?

'''Answer 0''': Use the included mini web server:

 1. This method requires a newer version of the installer than shipped with sarge, but it is the easiest way.
== Q: How can I install sid (unstable) with DebianInstaller? ==

'''A''': A very common and reliable method to install sid is first to install {{{stable}}} using a [[https://www.debian.org/distrib/netinst|netinst]] or [[https://www.debian.org/CD/http-ftp/|DVD-1]] image and then upgrade to {{{unstable}}} after altering ''/etc/apt/sources.list'' to have the single line

{{{
deb http://deb.debian.org/debian unstable main
}}}

If the sole purpose is to end up with an unstable installation, it is probably best to skip to installing the boot loader after the base files have been installed. This gives a minimal system to work with and saves time.

It is not possible to install sid directly from a netinst or full DVD but it can be done using the [[http://deb.debian.org/debian/dists/stretch/main/installer-i386/current/images/netboot/|mini.iso]] provided as part of the [[https://www.debian.org/distrib/netinst|network boot]] installation method.
Start the installation in expert mode. Mirror selection comes early in the process and you will be asked which distribution to install: stable, testing or unstable.

== Q: How do I copy d-i logfiles to a remote host? ==

'''A''': Use the included mini web server.
Line 257: Line 149:
 1. Tell it to start up the web server, and follow the prompts to download the logs from the web server to your other computer. If your other machine runs a version of debian after sarge, you can also use "apt-get install installation-report reportbug; reportbug installation-report" and follow the prompts to let it download the log files for you and produce a nice installation report.

'''Note''': Both methods described below will only work __after__ you have configured a network interface, and assume some familiarity with the shell.

'''Answer 1''': Use netcat (included in busybox):

 1. Make sure you have netcat installed on the remote system.
 1. On the remote system: start a shell, cd to a directory where you wish to save the files, and run {{{nc -l -p 1234 >syslog}}}. This will make the remote system listen on port 1234 for a connection from another netcat process.
 1. On the system you are installing: go to ["VT2"] and run '{{{nc <remote_system> 1234 <remote_system>}}}' by the name or ip address of the remote system.

'''Answer 2''': Use the '''open-ssh-client''' installer module:

 1. Start the installer in expert mode (or medium priority).
 1. At ''Load installer components'' select '''open-ssh-client-udeb''' from the list.
 1. From the system you are installing, you should now be able to use ''scp'' to copy files to a remote system using e.g. '{{{scp /var/log/syslog <username>@<remote_system>:}}}', again replacing ''<remote_system>'' by the name or ip address of the remote system.
 1. By default the file will be copied to the home directory of <username> on the remote system; optionally a path can be added after the ':'.

In the examples above I've used {{{/var/log/syslog}}} as the file to be transferred and, for netcat, 1234 as the port to be used for the transfer; both can of course be changed.

Both methods above can also be used to copy files from a remote system to the system being installed. This is left as an exercise to the reader.

----

'''Question 26''': How do I use netinst over ppp(oe)?

You can't use PPP or ["PPPoE"] with the '''''businesscard''''' CD-ROM image!
That's because these packages are not included in it.
With the '''''netinst''''' CD-ROM image this is done in 2nd stage (= after first reboot).

 * '''PPP''' configuration is provided automatically by {{{pppconfig}}}, if you skipped '''Configure the network''' in 1st stage (= before first reboot). If you accidently configure network in 1st stage, then you have to choose '''Configure and enable ppp''' manually in the 2nd stage main menu. If you are not using expert mode, then you have to press ''Cancel'' when Debian-Installer gets to '''Apt configuration'''.
 1. Tell it to start up the web server, and follow the prompts to download the logs from the web server to your other computer.

 You can also use "apt-get install installation-report reportbug; reportbug installation-report" and follow the prompts to let it download the log files for you and produce a nice installation report.

'''A''': Use the mini ssh client to push log files to a different host. See [[DebianInstaller/AsSshClient]].

== Q: How do I install via PPPoE? ==

'''A''': Debian Installer, starting with February 2007, supports installing a system via PPPoE and will configure the system accordingly. At the regular Debian Installer boot line just append modules=ppp-udeb.

{{{
e.g.: type "installgui modules=ppp-udeb" to start a graphical installation via PPPoE
}}}

Installing via PPPoE is not supported yet for installations done via netboot.

More information in the [[http://d-i.debian.org/manual/en.i386/apds05.html|corresponding chapter in the Installation Guide]].

== Q: How do I use netinst over PPP? ==

'''A''': With the '''''netinst''''' CD-ROM image, or a full CD or DVD, you can set up PPP after the system is installed.

'''PPP''' configuration is provided by {{{pppconfig}}}.
Line 290: Line 174:

 * Network configuration is not automatic for machines using '''["PPPoE"]''' for their ADSL connection. It it possible to setup an ADSL/["PPPoE"] connection with the Debian-Installer but there isn't any menu item for it in the installer yet. This will be addressed soon. In the meanwhile the workaround is, at the beginning of the second phase (after the reboot done by the installer), to switch to a virtual console (Ctrl-Alt-Functionkey) and then run pppoeconf from here.

Network configuration fails for computers using router modems like Alcatel SpeedTouch 530, that is some DSL modems which provide both DHCP and PPP services. Using Debian-Installer with such a configuration is still possible but not automated yet. The manual workaround is described in the [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=265183 #265183] bug report.

----

'''Question 27''': What do I do if I can no longer boot Windows after installing Debian?
If all goes well, Debian Installer should automatically add a menu item for an existing Windows installation. Currently there are two known issues that may result you not being able to boot into Windows after the installation.

'''Issue 1''': There is no menu item in the bootloader
If you decided to select a mountpoint for your Windows partition during partitioning, the installer may have been unable to find Windows due to bug [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=251794 #251794]. You can fix this by manually adding the Windows partition to your bootloader configuration.
== Q: What do I do if I can no longer boot Windows after installing Debian? ==

'''A''': If all goes well, DebianInstaller should automatically add a working menu item for an existing Windows installation.

If no menu item was added, please file a [[https://www.debian.org/releases/stable/i386/ch05s04.html#submit-bug|detailed installation report]].
Line 311: Line 187:
Line 318: Line 193:
'''Issue 2''': There is a menu entry, but you get errors when you try to boot Windows
There could be different reasons for this. First you should check that the configuration of your bootloader is correct. See issue 1 for some pointers.

If you installed using the 2.6 kernel, another cause may be that the hard disk geometry as reported in the partition table was altered during installation. See [http://lwn.net/Articles/86835 this article] in LWN for a good explanation of this issue and information on how to rectify it.
If there is a menu entry, but you get errors when you try to boot Windows
There could be different reasons for this. First you should check that the configuration of your bootloader is correct. See above for some pointers.

== Q: Can I use d-i as a rescue system? What pitfalls are there? ==

'''A''': Yes, you can use d-i to mount your hard disks and fix {{{/etc/shadow}}} if you forgot your password.

And you can also use d-i to boot your system to chroot into your installation and execute your boot-loader (grub, lilo, yaboot, ...) if you cannot boot from hard disk any more.

Just boot the installer with "rescue" and follow the prompts until it mounts your hard disk and gives you a shell chrooted into your system.

Alternatively, just boot the installation system as if you were starting a new installation, proceed to the point where you get to partitioning harddisks and '''stop there'''. Next, switch to VT2 (using alt-F2) or back out to the menu and start a shell from there. Create a directory {{{/target}}}, manually mount the partition(s) where you installed Debian on {{{/target}}} and execute {{{chroot /target}}}.
You cannot use the d-i menu item "install boot-loader" because the menu systems uses dependencies which require a Debian install (on a clean partition...), which you don't want.

== Q: How to use preseeding? How to use network console with preseeding? ==

'''A''': see [[DebianInstaller/Preseed]] and DebianInstaller/NetworkConsole

== Q: How to shrink an existing Windows installation? ==

'''A''': Please see the Installation Guide, chapter 6.3.3.3 (Manual Partitioning). Basically, you need to select the item displaying the size of the partition to change the size. Please make sure that you check the partition for correctness before (best with chkdsk), and that you have a backup of your data, and also are able to re-install Windows (or forget about it totally) in case something breaks.

== Q: What types of media are available? What versions are available? Where to download? ==

'''A''': See http://www.debian.org/devel/debian-installer/

== Q: Your amd64 CD does not boot. I downloaded it from http://someplace/foo/ia64/bar ==

'''A''': The ia64 architecture is not the same as the amd64 architecture and you downloaded the wrong CD image.

== Q: Why is ping not available in the debug shell ==

'''Note: as of Wheezy Debian Installer Beta 3, ping is now available.'''

'''A''': Every utility that is included uses valuable memory, so the installer is as lean as possible and ping is just not essential.

To test connections to other hosts, you can use {{{wget}}} instead:{{{
wget http://hostname
}}}
You can tell a lot from the answers {{{wget}}} returns; some examples:
 * host can be reached and is a webserver: an {{{index.html}}} file will be downloaded
 * host can be reached but is not a webserver: 'Connection refused'
 * host exists (IP address resolved), but cannot be reached: 'No route to host'
 * DNS works but IP address cannot be resolved: 'Name or service not known'
 * DNS does not work: 'Temporary failure in name resolution'

== Q: Running the installer from an iso file on a hdd ... ==
... requires a kernel, such as vmlinuz, and initrd [[https://en.wikipedia.org/wiki/RAM_disk|RAM disk]], such as initrd.gz. Can the vmlinuz and initrd.gz in the iso file be extracted and used as in [[https://wiki.debian.org/DebianLive/MultibootISO|many old examples]]?

'''A''': No. The vmlinuz and initrd.gz in the iso file serve when booting from an optical drive. When an iso file is used directly from a HDD, "hd-media" vmlinuz and initrd.gz are required. For the Debian stable release the files are in the [[http://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/hd-media/|"hd-media" directory]].
Line 324: Line 245:

'''Question 28''': Can I use d-i as a rescue system? What pitfalls are there?

Yes, you can use d-i to mount your hard disks and fix {{{/etc/shadow}}} if you forgot your password.

And you can also use d-i to boot your system to chroot into your installation and execute your boot-loader (grub, lilo, yaboot, ...) if you cannot boot from hard disk any more.

If you have a version of the installer that is later than that released in sarge, proper rescue support is included, just boot the installer with "rescue" and follow the prompts until it mounts your hard disk and gives you a shell
chrooted into your system.

Otherwise, just boot the installation system as if you were starting a new installation, proceed to the point where you get to partitioning harddisks and '''stop there'''. Next switch to ["VT2"] (using alt-F2) or back out to the menu and start a shell from there. Create a directory {{{/target}}}, manually mount the partition(s) where you installed Debian on {{{/target}}} and execute {{{chroot /target}}}.
Note: the installer uses ''devfs'', so you will find your harddisks under {{{/dev/discs}}}. You cannot use the d-i menu item "install boot-loader" because the menu systems uses dependencies which require a Debian install (on a clean partition...) which you don't want.

'''Rescue with post-Sarge daily built images'''

The post-Sarge daily built images have a new ''rescue'' boot option. This will use the first part of the installation process to set up a working system, ask you to select the device that holds your root partition, and will then mount that partition and chroot to it.

Note: you will need to mount any other file systems (including proc) manually, despite what 'mount' will tell you.

----

'''Question 29''': How to use preseeding? Howto use network console with preseeding?

'''Answer''': see DebianInstallerPreseed and DebianInstallerNetworkConsole

----

'''Question 30''': How to shrink an existing windows installation?

'''Answer''': please see the manual, chapter 6.3.2. Basically, you need to select the item displaying the size of the partition to change the size. Please make sure that you check the partition for correctness before (best with chkdsk), and that you have a backup of your data, and also are able to re-install Windows (or forget about it totally) in case something breaks.

----
'''Question 31''' : Which are the different versions of DebianInstaller?.

'''Answer''':
 * netinst CD image (100 Mb)
 * businesscard CD image (50 Mb)
 * full CD sets and full CD and DVD sets (via ["jigdo"])
 * graphical installer
 * other images (netboot, ["usb stick"], floppy, etc)
----
'''Question 32''' How can I install Debian in a bootable USB stick memory using DebianInstaller ?.

'''Answer''': ?
----
== List of changes ==
 * FJP -- 2005-Okt-13
   * Document how to disable ["DMA"] for CD-ROM drives manually

 * FJP -- 2005-Aug-15
   * Document rescue option for post-Sarge images

 * JoeyH -- 2005-Aug-3
   * Many improvements and updates.

 * ["ABa"] -- 2005-May-27
   * Windows shrinking

 * ["LiamOB"] -- 2005-May-19
   * Noted location of ["MD5sums"] for ["ISOs"]

 * h01ger -- 2005-Feb-22
   * finally answered #29

 * ["LMClapp68"] -- 2005-Jan-29
   * s/its/it's/ where appropriate, and vice versa
   * spell checked

 * h01ger -- 2005-Jan-25
   * corrected answer 24 (it is now possible to install unstable with d-i
   * added Question 29

 * FJP -- 2004-Dec-19
   * Added extra instructions on using d-i as rescue system
   * Improved some formatting

 * h01ger -- 2004-Dec-14
   * added entry about rescue system

 * h01ger -- 2004-Dec-13
   * Answered question 26 (copied from debian-boot) on the pppoe part

 * ATLF -- 2004-Dec-09
   * Changed "hd(0,0)" to "(hd0,0)"

 * FJP -- 2004-Dec-06
   * Added question 27 on Windows boot problems
   * Added info on Gigabyte GA-["K8NS"] Pro mainboards to question 8

 * Mars DeLapp -- 2004-Nov-02
   * Added info on CD read errors

 * FJP -- 2004-Oct-31
   * reverted to version 1.99, which is the last properly formatted version

 * FJP -- 2004-Oct-06
   * Modified info on copying files to a remote system

 * Sesse -- 2004-Aug-27
   * Added more information on why we don't have a graphical installer in sarge

 * TheOrb -- 2004-Aug-10
   * Added link to bug and more info on how to work around it to question 14.

 * FJP -- 2004-July-12
   * Added info on copying files using ssh

 * Osamu -- 2004-June-18
   * Added info on DHCP/FIX IP issue

 * AlexeyS -- 2004-June-06
   * Added question 26 about ru_RU

 * DavidH -- 2004-05-09
   * Answered sid question

 * DavidH -- 2004-05-06
   * Added CD-ROM read errors question

 * DavidH -- 2004-05-05
   * Added X keyboard question
   * Added dead keyboard question
   * Added missing tg3 driver question
   * Corrected question numbering

 * DavidH -- 2004-05-03
   * Added more information to LVM question
   * Added 3 more questions (locales, SMP, auto-kernel selection)
 * Changed layout a bit, added more text to initial Note
## This page is referenced from http://www.debian.org/doc/user-manuals
CategoryPermalink

Translation(s): English - Français


Contents

  1. Note
  2. Q: Why does DebianInstaller always use DHCP? I want a static address!
  3. Q: But DHCP shouldn't run automatically, it breaks on my system/gets the wrong information/is not what I want.
  4. Q: Why are you doing this? Why not use Anaconda/PGI/whatever? Why reinvent the wheel?
  5. Q: Is the DebianInstaller going to be graphical in nature? / Is there any prebuilt/downloadable graphical DebianInstaller?
  6. Q: Does the DebianInstaller support creating and installing to software RAID devices?
  7. Q: How do I install using LVM? Is there any more information about using the LVM installer? LVM installation doesn't work!
  8. Q: DebianInstaller does not include a driver for my xyz network card, but I have (tarball) driver sources. What are the steps for building that driver?
  9. Q: How do I install using the hd-media?
  10. Q: How can I create boot iso with my own set of packages?
  11. Q: How can I build the DebianInstaller?
  12. Q: Why doesn't the installer automatically choose the appropriate kernel to install (for example an i686 kernel instead of the generic i386)?
  13. Q: What about SMP support?
  14. Q: Why isn't the installed system configured to use the language I chose during installation?
  15. Q: When I run the DebianInstaller, my keyboard doesn't work!
  16. Q: Why isn't my hardware supported by DebianInstaller, I know there is a Linux driver for it!
  17. Q: There seem to be errors reading the CD!
  18. Q: How can I install sid (unstable) with DebianInstaller?
  19. Q: How do I copy d-i logfiles to a remote host?
  20. Q: How do I install via PPPoE?
  21. Q: How do I use netinst over PPP?
  22. Q: What do I do if I can no longer boot Windows after installing Debian?
  23. Q: Can I use d-i as a rescue system? What pitfalls are there?
  24. Q: How to use preseeding? How to use network console with preseeding?
  25. Q: How to shrink an existing Windows installation?
  26. Q: What types of media are available? What versions are available? Where to download?
  27. Q: Your amd64 CD does not boot. I downloaded it from http://someplace/foo/ia64/bar
  28. Q: Why is ping not available in the debug shell
  29. Q: Running the installer from an iso file on a hdd ...

Note

Before attempting an installation or reporting a problem, remember to check the errata page (either the errata of Debian/Stable D-I or the errata of DI Development version) to see if your problem is already well known.

If you are experiencing problems with an older version of the installer, please try a more recent version from the Debian-Installer home page, as your problem might already be solved.

Please don't edit this page to ask new questions here! This page is only for frequently asked questions. Please do edit this page to add questions that you know are frequently asked, or to improve the answers.


Q: Why does DebianInstaller always use DHCP? I want a static address!

A: There are currently three different ways of configuring a static IP setup:

  1. Run the installer in normal mode (select "Install") and either wait until the DHCP detection fails or cancel the DHCP detection (available in recent versions of the installer). Then you are thrown to the manual configuration of name servers. If you need to configure everything manually, you need to go back twice(!). Then select "Configure network manually". (Visit Debian Bug 794662 to see when this not very user friendly behaviour is fixed.)

  2. Run the installer in expert mode (select "Advanced options > Expert"), and you will be able to configure a static address, and many other things besides.

  3. Supply installer boot argument: 'netcfg/disable_autoconfig=true'.

Besides you may set your dhcpd to serve a fixed address to your chosen network card (identified by its mac).

Q: But DHCP shouldn't run automatically, it breaks on my system/gets the wrong information/is not what I want.

A: DebianInstaller is targeting a larger base of users that have historically installed Debian, including users who don't know what DHCP or static IP addresses are. Thus default behavior is chosen to use DHCP.

You can force static network configuration by providing boot parameter netcfg/disable_dhcp=true at the boot prompt.

Q: Why are you doing this? Why not use Anaconda/PGI/whatever? Why reinvent the wheel?

A: We're doing this because it's time. Debian has been burdened with a sub-par installer for a full decade, and it's time to change all that. Debian's installer needs to work on more platforms and more types of install media than any other. We need to support installs to S/390 mainframes that have only a teletype console. We needed to support installs to m68k boxes that boot from floppies, as well as to netbooting Sun hardware.

And yes, we want to support flashy and easy installs on Intel clones booting from CD (and USB sticks). And many more. All the currently targeted installation methods are available for download.

Also installs for experienced users with higher control using the same installer are a must.

PGI can't do this. Anaconda can't do this. Only a system designed from the ground up to be completely modular and highly flexible can do so. DebianInstaller is that installer.

Q: Is the DebianInstaller going to be graphical in nature? / Is there any prebuilt/downloadable graphical DebianInstaller?

A: The DebianInstaller is not graphical by nature, but modularity is a key in its design and allows the use of different kinds of frontends, including a graphical one.

Since Etch, a graphical version of the installer is available for i386, amd64. For powerpc the graphical installer is only available as a separate, experimental image.

See the Installation Guide for further information.

Q: Does the DebianInstaller support creating and installing to software RAID devices?

A: The installer supports software RAID levels 0, 1, 4, 5, 6 and 10, and SATA RAID. Note that if you use RAID for /boot, you will be forced to use lilo since grub doesn't support RAID. (251905).

If you do not need to dual boot to MS Windows installed on such a RAID system, please use the DebianInstaller default (software) RAID manager (mdadm) as listed above: it is far better tested and seems equally fast.

Q: How do I install using LVM? Is there any more information about using the LVM installer? LVM installation doesn't work!

A: LVM is fairly straightforward to configure using the menu item in the partitioner titled "Configure the Logical Volume Manager". Please note that it will probably help a lot if you know some LVM terminology - it's recommended that you know the following three concepts: volume group (VG), physical volume (PV) and logical volume (LV) and how these relate to each other.

You can even build an LVM on top of a RAID device even for root. Nevertheless Grub has still some troubles (251905).

Recent versions of the installer can also set up LVM as part of the guided partitioning process.

Q: DebianInstaller does not include a driver for my xyz network card, but I have (tarball) driver sources. What are the steps for building that driver?

A: It's possible to do this, but we do not yet have good end-user docs explaining how to do so. We're waiting for an end user to accomplish it and write them from experience. We're glad to help you through the process when you mail us at debian-boot@lists.debian.org (do not forget to add lspci -v output).

See also DebianInstaller/NetInstWithThirdPartyNetworkDriver for a lengthy manual procedure of re-packaging netinst with a regular Debian kernel and the third party driver compiled against it. That procedure should give way to the install-time compilation of the driver against the installer's and the target kernels, a la module-assistant.

Q: How do I install using the hd-media?

A: A netinst or CD/DVD installation image can be booted directly from a hard disk (or a USB drive) using LILO or GRUB. For GRUB, /etc/grub.d/40_custom would be a convenient place to put a stanza; then run update-grub. An hd-media kernel (linux) and an initrd (initrd.gz) for the Debian 9 i-386 architecture are available here.

After selecting the entry in the boot menu to boot from, the ISO is searched for and, when found, mounted using the initrd's loop module. From there the Debian installer takes over and installation of the OS proceeds as normal.

Q: How can I create boot iso with my own set of packages?

A: see DebianInstaller/Modify

Q: How can I build the DebianInstaller?

A: see DebianInstaller/Build

Q: Why doesn't the installer automatically choose the appropriate kernel to install (for example an i686 kernel instead of the generic i386)?

A: The netinst CD image includes only the generic i386 kernel, so if you're using that you will always have install the proper kernel for your system manually after the installation if you want an optimized version. Including all the kernels on the netinst CD would use too much space.

If using any other installation method than the netinst CD you should get a kernel installed that is optimized for your hardware.

Update: recent netinst images also include the 686 flavor of the kernel.

Q: What about SMP support?

A: The installer itself does not need any SMP support and will not boot with an SMP enabled kernel since it merely needs to install the system to your machine.

When the system is being installed, the installer attempts to automatically detect SMP and chose and the appropriate kernel, so that SMP is enabled when you boot into your newly installed Debian system. If it fails to notice that it needs a SMP kernel on your machine, please file a detailed installation report.

On some architectures (including i386 and amd64), the standard Debian kernel image has been compiled with SMP-alternatives support. This means that the kernel will detect the number of processors (or processor cores) and will automatically deactivate SMP on uniprocessor systems.

Q: Why isn't the installed system configured to use the language I chose during installation?

A: This problem has been fixed, so if you see it using any current image, please file a detailed installation report.

Q: When I run the DebianInstaller, my keyboard doesn't work!

A: This seems to be especially common on laptops. Try booting with no APIC and no local APIC support ("boot: linux noapic nolapic").

Q: Why isn't my hardware supported by DebianInstaller, I know there is a Linux driver for it!

A: Some firmwares do not meet the requirements of DFSG (the Debian Free Software Guidelines) and are therefore distributed separately from Debian proper, in the non-free area of our archive: installer iso image file , firmware driver file. See section 2.2 (Devices Requiring Firmware) of the installation guide for detailed instructions.

Q: There seem to be errors reading the CD!

A: First of all, check that the MD5-sum of the ISO file you downloaded is correct; the md5sum for each of the ?ISOs is available in the same directory as the ISO download. After booting the installer you can also check the CD-ROM: use the <go back> button to back up to the main menu and select the option to check the CD-ROM's integrity.

If you are positive that the CD is correct, it could be that the CD-ROM is old and/or flaky when using DMA. You can try disabling DMA for the CD-ROM (by booting with "linux ide=nodma").

You can also disable DMA using the following procedure.

  • switch to VT2 (using alt-F2)
  • cd /proc/ide/hdX (X varies depending on where your CD drive is connected)

  • cat settings

  • check the current setting for using_dma
  • change it using the command echo "using_dma:0" >settings (or ":1")

  • switch back to VT1 (using alt-F1)

A tightly folded IDE cable can also cause read errors, try repositioning the cable.

Q: How can I install sid (unstable) with DebianInstaller?

A: A very common and reliable method to install sid is first to install stable using a netinst or DVD-1 image and then upgrade to unstable after altering /etc/apt/sources.list to have the single line

deb http://deb.debian.org/debian unstable main

If the sole purpose is to end up with an unstable installation, it is probably best to skip to installing the boot loader after the base files have been installed. This gives a minimal system to work with and saves time.

It is not possible to install sid directly from a netinst or full DVD but it can be done using the mini.iso provided as part of the network boot installation method. Start the installation in expert mode. Mirror selection comes early in the process and you will be asked which distribution to install: stable, testing or unstable.

Q: How do I copy d-i logfiles to a remote host?

A: Use the included mini web server.

  1. Get to the main menu and choose the "Save debug logs" menu item.
  2. Tell it to start up the web server, and follow the prompts to download the logs from the web server to your other computer. You can also use "apt-get install installation-report reportbug; reportbug installation-report" and follow the prompts to let it download the log files for you and produce a nice installation report.

A: Use the mini ssh client to push log files to a different host. See DebianInstaller/AsSshClient.

Q: How do I install via PPPoE?

A: Debian Installer, starting with February 2007, supports installing a system via PPPoE and will configure the system accordingly. At the regular Debian Installer boot line just append modules=ppp-udeb.

e.g.: type "installgui modules=ppp-udeb" to start a graphical installation via PPPoE

Installing via PPPoE is not supported yet for installations done via netboot.

More information in the corresponding chapter in the Installation Guide.

Q: How do I use netinst over PPP?

A: With the netinst CD-ROM image, or a full CD or DVD, you can set up PPP after the system is installed.

PPP configuration is provided by pppconfig. Be aware that so called winmodems are not supported yet!

Q: What do I do if I can no longer boot Windows after installing Debian?

A: If all goes well, DebianInstaller should automatically add a working menu item for an existing Windows installation.

If no menu item was added, please file a detailed installation report. If you are using GRUB as your bootloader, add the following lines at the end of the file /boot/grub/menu.lst:

  title           Windows
  root            (hd0,0)
  savedefault
  makeactive
  chainloader     +1

You should change (hd0,0) to refer to the correct partition: (hd0,0) is Grub's notation for the first partition on the first harddisk (/dev/hda1 or /dev/sda1); (hd1,3) is the fourth partition on the second harddisk (/dev/hdb4). If you are using LILO as your bootloader, add the following lines at the end of the file /etc/lilo.conf:

  other=/dev/hda1
        label=Windows

Again, change /dev/hda1 to refer to your Windows partition. After updating this file, you will need to run 'lilo' as root.

If there is a menu entry, but you get errors when you try to boot Windows There could be different reasons for this. First you should check that the configuration of your bootloader is correct. See above for some pointers.

Q: Can I use d-i as a rescue system? What pitfalls are there?

A: Yes, you can use d-i to mount your hard disks and fix /etc/shadow if you forgot your password.

And you can also use d-i to boot your system to chroot into your installation and execute your boot-loader (grub, lilo, yaboot, ...) if you cannot boot from hard disk any more.

Just boot the installer with "rescue" and follow the prompts until it mounts your hard disk and gives you a shell chrooted into your system.

Alternatively, just boot the installation system as if you were starting a new installation, proceed to the point where you get to partitioning harddisks and stop there. Next, switch to VT2 (using alt-F2) or back out to the menu and start a shell from there. Create a directory /target, manually mount the partition(s) where you installed Debian on /target and execute chroot /target. You cannot use the d-i menu item "install boot-loader" because the menu systems uses dependencies which require a Debian install (on a clean partition...), which you don't want.

Q: How to use preseeding? How to use network console with preseeding?

A: see DebianInstaller/Preseed and DebianInstaller/NetworkConsole

Q: How to shrink an existing Windows installation?

A: Please see the Installation Guide, chapter 6.3.3.3 (Manual Partitioning). Basically, you need to select the item displaying the size of the partition to change the size. Please make sure that you check the partition for correctness before (best with chkdsk), and that you have a backup of your data, and also are able to re-install Windows (or forget about it totally) in case something breaks.

Q: What types of media are available? What versions are available? Where to download?

A: See http://www.debian.org/devel/debian-installer/

Q: Your amd64 CD does not boot. I downloaded it from http://someplace/foo/ia64/bar

A: The ia64 architecture is not the same as the amd64 architecture and you downloaded the wrong CD image.

Q: Why is ping not available in the debug shell

Note: as of Wheezy Debian Installer Beta 3, ping is now available.

A: Every utility that is included uses valuable memory, so the installer is as lean as possible and ping is just not essential.

To test connections to other hosts, you can use wget instead:

wget http://hostname

You can tell a lot from the answers wget returns; some examples:

  • host can be reached and is a webserver: an index.html file will be downloaded

  • host can be reached but is not a webserver: 'Connection refused'
  • host exists (IP address resolved), but cannot be reached: 'No route to host'
  • DNS works but IP address cannot be resolved: 'Name or service not known'
  • DNS does not work: 'Temporary failure in name resolution'

Q: Running the installer from an iso file on a hdd ...

... requires a kernel, such as vmlinuz, and initrd RAM disk, such as initrd.gz. Can the vmlinuz and initrd.gz in the iso file be extracted and used as in many old examples?

A: No. The vmlinuz and initrd.gz in the iso file serve when booting from an optical drive. When an iso file is used directly from a HDD, "hd-media" vmlinuz and initrd.gz are required. For the Debian stable release the files are in the "hd-media" directory.


CategoryPermalink