[Bug 1171421] Re: Boot loader fails to install from Live CD on 12.10

Phillip Susi psusi at ubuntu.com
Mon Apr 22 18:24:50 UTC 2013


Your sda appears to contain a leftover GPT partition table that has been
removed.  If you want to partition it with the msdos partition table and
install grub, you will have to wipe out the GPT signatures and create at
least one partition.  I also notice that your sdb cliams it is GPT but
isn't.  You should correct the partition type code there.

To wipe out the GPT signatures on sda, you can run sudo dd if=/dev/zero
of=/dev/sda count=64


** Changed in: grub-installer (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1171421

Title:
  Boot loader fails to install from Live CD on 12.10

Status in “grub-installer” package in Ubuntu:
  Invalid

Bug description:
  Unfortunately, I do not know where I need to look to provide further
  information. The error dialog was terse and gave no indication as to
  what the problem was. If you can make any suggestions as to how I
  should troubleshoot this problem I would be grateful. The disk
  configuration was as follows:

  /dev/sda: 2GB SATA hard drive which was configured to receive the boot loader. It only had a standard MS-DOS partition table on it.
  The drive wasnot used during the installation, except to receive the boot loader.

  /dev/sdb: 120GB SSD SATA drive. This drive was configured as a one
  volume LVM group with 4 logical volumes and Linux was installed on it.

  /dev/sdc: 120GB SSD SATA drive. This drive was configured as a LVM
  physical volume and was not used during the installation.

  This was a re-installation of Linux over a previously working system.
  The reinstallation was done because an attempt to convert /dev/sda to
  a one volume LVM group with 2 logical volumes had resulted in the boot
  loader disappearing from it, and I was hoping to repair the situation.

  In summary, I expected the GRUB-2 boot loader to be installed on
  /dev/sda where the installer proposed it should go and where it had
  previously existed.

  Below is the output from lsb_release from the Live CD
  l
  Below is the output from fdisk -l
  ubuntu at ubuntu:~$ sudo fdisk -l
  ubuntu at ubuntu:~$ lsb_release -rd
  Description:	Ubuntu 12.10
  Release:	12.10

  
  Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
  255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 4096 bytes
  I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  Disk identifier: 0x000af25b

     Device Boot      Start         End      Blocks   Id  System

  WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util
  fdisk doesn't support GPT. Use GNU Parted.

  
  Disk /dev/sdb: 120.0 GB, 120034123776 bytes
  255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x1cc612c5

     Device Boot      Start         End      Blocks   Id  System
  /dev/sdb1               1   234441647   117220823+  ee  GPT

  Disk /dev/sdc: 120.0 GB, 120034123776 bytes
  255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

  Disk /dev/sdc doesn't contain a valid partition table

  Disk /dev/mapper/HectorLvg-BootLV: 1073 MB, 1073741824 bytes
  255 heads, 63 sectors/track, 130 cylinders, total 2097152 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

  Disk /dev/mapper/HectorLvg-BootLV doesn't contain a valid partition
  table

  Disk /dev/mapper/HectorLvg-SystemLV: 21.5 GB, 21474836480 bytes
  255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

  Disk /dev/mapper/HectorLvg-SystemLV doesn't contain a valid partition
  table

  Disk /dev/mapper/HectorLvg-HomeLV: 10.7 GB, 10737418240 bytes
  255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

  Disk /dev/mapper/HectorLvg-HomeLV doesn't contain a valid partition
  table

  Disk /dev/mapper/HectorLvg-VarLV: 21.5 GB, 21474836480 bytes
  255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

  Disk /dev/mapper/HectorLvg-VarLV doesn't contain a valid partition table
  ubuntu at ubuntu:~$

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ubiquity 2.12.16
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  CasperVersion: 1.328
  Date: Mon Apr 22 06:06:28 2013
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  LiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  ProcEnviron:
   TERM=unknown
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1171421/+subscriptions




More information about the foundations-bugs mailing list