ubuntu installer crashes when installing Ubuntu on the second hard drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Installing ubuntu on the second hard drive ended with an error.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.10.16
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
CasperVersion: 1.315
Date: Fri May 11 17:20:34 2012
InstallCmdLine: noprompt cdrom-detect/
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
TERM=unknown
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
Eventually I figured out what happened.
I have two hard drives, sda and sdb and decided to install Ubuntu on sdb.
There was a single partition on sda, named sda2, where Windows lives. Some time ago I had two partitions, sda1 and sda2, then I removed sda1.
Installation process went wrong on "Migrate settings from Windows" or on "Intall Grub" phase. Ubuntu installer was trying to access /dev/sda1, which doesn't exist.
It looks like installer assumes that if you have Windows on the second drive, then the Windows lives on /dev/sda1 partition, and that is not always true, because the user may have re-partitioned the hard drive.
I could fix the problem by re-creating partitions table for /dev/sda, then I installed Windows on /dev/sda1. After that I ran Ubuntu installer and installed Ubuntu on my second hard drive without any problems.