install of bootloader failed without RAID or LVM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubiquity
hardware: DELL T300, 4 SAS physical disks building 2 logical disks, 2Gb RAM, CPU X3363@2.83GHz
software: Ubuntu 10.04 LTS live DVD for amd64 architecture
I partitioned the first logical disk with only one partition of 5Gb as /dev/sda1, then complete the install forms and waited. After a few minutes I got a popup window displaying and error while installing bootloader and prompting about a new device to install bootloader on, or continue without booloader, or cancel the installation.
Of course I selected first option using the suggested device name /dev/sda, but I got the very same problem.
Second time, I selected option 2: continue without a bootloader.
This is a relevant part from /var/log/messages:
May 13 04:31:07 ubuntu 40grub: debug: parsing menu.lst
May 13 04:31:07 ubuntu 40grub: result: /dev/sdc1:
nitrd.img-
May 13 04:31:07 ubuntu 40grub: result: /dev/sdc1:
6-server:
May 13 04:31:07 ubuntu 40grub: result: /dev/sdc1:
nitrd.img-
May 13 04:31:07 ubuntu 40grub: result: /dev/sdc1:
4-server:
May 13 04:31:07 ubuntu 40grub: result: /dev/sdc1:
nitrd.img-
May 13 04:31:07 ubuntu 40grub: result: /dev/sdc1:
May 13 04:31:07 ubuntu 40grub: result: /dev/sdc1:
May 13 04:31:07 ubuntu 40grub: result: /dev/sdc1:
May 13 04:31:07 ubuntu 50mounted-tests: debug: /usr/lib/
May 13 04:31:08 ubuntu linux-boot-prober: debug: linux detected by /usr/lib/
May 13 04:31:11 ubuntu ubiquity: grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
May 13 04:31:11 ubuntu ubiquity: grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
May 13 04:48:14 ubuntu grub-installer: info: architecture: amd64/generic
May 13 04:48:21 ubuntu grub-installer: info: Identified partition label for /dev/sda1: msdos
May 13 04:48:23 ubuntu grub-installer: dpkg: attenzione: viene ignorata la richiesta di rimuovere grub poiché non è installato.
May 13 04:48:23 ubuntu grub-installer: dpkg: attenzione: viene ignorata la richiesta di rimuovere grub-legacy poiché non è installato.
May 13 04:48:23 ubuntu grub-installer: info: Installing grub on '/dev/sda'
May 13 04:48:23 ubuntu grub-installer: info: grub-install supports --no-floppy
May 13 04:48:23 ubuntu grub-installer: info: Running chroot /target grub-install --no-floppy --force "/dev/sda"
May 13 04:48:25 ubuntu grub-installer: Installation finished. No error reported.
May 13 04:48:25 ubuntu grub-installer: info: grub-install ran successfully
May 13 04:48:31 ubuntu ubiquity: grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
May 13 04:48:31 ubuntu ubiquity: grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
please note /dev/sdc is an external usb storage I plugged in while installing the system on /dev/sda1
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ubiquity 2.2.24
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
Architecture: amd64
Date: Thu May 13 06:41:17 2010
ExecutablePath: /usr/share/
InterpreterPath: /usr/bin/python2.6
LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
PATH=(custom, no user)
LANG=it_IT.UTF-8
SHELL=/bin/bash
LANGUAGE=
LC_COLLATE=C
SourcePackage: ubiquity
affects: | ubiquity (Ubuntu) → grub-installer (Ubuntu) |
Reading again /var/log/messages I better understand the problem: the disk I plugged in as /dev/sdc1 is a copy of complete file system from a different machine. Basically, I would copy all that data to the new machine I was installing 10.04.
So, /dev/sdc1 included /boot and /boot/grub directories, and this tricked os-prober thinking it should add all those information on the newly created boot configuration. Nevertless, that disk should be completely ignored.
BTW, the problem being /dev/sdc missing from device,map, as written in /var/log/messages.