Bug#510666: Installer run from USB stick should prefer iso image on stick over one on hard drive
Package: installation-reports
Boot method: USB stick
Image version:
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso
Date: 2008 December 31
Machine: IBM Thinkpad T42
Processor: Intel(R) Pentium(R) M processor 1.70GHz
Memory: 1280MiB
Partitions:
sudo fdisk -l /dev/hda
Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00004eef
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1459 11719386 83 Linux
/dev/hda2 1460 1702 1951897+ 82 Linux swap / Solaris
/dev/hda3 1703 30401 230524717+ 8e Linux LVM
Output of lspci -knn (or lspci -nn):
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot: [O]
Detect network card: [O]
Configure network: [O]
Detect CD: [ ]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives: [E]
Install base system: [O]
Clock/timezone setup: [O]
User/password setup: [O]
Install tasks: [O]
Install boot loader: [O]
Overall install: [O]
Comments/Problems:
I wanted to try the USB install of lenny, so from a working lenny
installation on my machine (which I intended to overwrite) I put the
installer on a 2 GB USB thumb drive using:
http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz
and then downloaded debian-testing-i386-netinst.iso onto my hard drive
and then copied it onto on the same partition on the USB drive.
Booting the installer went fine, but instead of finding the iso image on
the USB drive, the installer found the iso image on the hard drive and
mounted it. I was unable to wipe the root partition, /dev/hda1, as the
installer refused saying the device was in use (or something similar). I
had to boot back into the old system, remove the iso image from the
drive, and boot back into the USB installer. After this the installer
ran without problems.
I recommend the installer prefer to use an iso image on the same device
from which the installer itself is running.
Reply to: