← Back to team overview

kernel-packages team mailing list archive

[Bug 1357871] Re: Unable to boot to kernel higher then 3.13.0.29: attempt to read or write outside of disk 'hd0'

 

The error message mentioned here is actually a grub2 by the looks of it,
in particular the use of "hd0" to refer to a disk is not something the
kernel refer to.  Adding grub2 as an affected package.

This looks to be one of the checks in grub disk or "pc" partitioning
handling:

  static grub_err_t
  grub_disk_adjust_range (grub_disk_t disk, grub_disk_addr_t *sector,
                          grub_off_t *offset, grub_size_t size)
  {
  [...]
        return grub_error (GRUB_ERR_OUT_OF_RANGE,
                           N_("attempt to read or write outside of partition"));

I have had trouble with very very large disks in the past affecting some
installed kernels, this turned out to be due to them being placed very
high on the drive.  How big is the disk on which /boot is placed?

** Summary changed:

- Boot to kernel higher then 3.13.0.29
+ Unable to boot to kernel higher then 3.13.0.29: attempt to read or write outside of disk 'hd0'

** Also affects: grub2 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1357871

Title:
  Unable to boot to kernel higher then 3.13.0.29: attempt to read or
  write outside of disk 'hd0'

Status in “grub2” package in Ubuntu:
  New
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Any kernel Ubuntu update installed after kernel 3.13.0.29 does not boot with the error message   error: attempt to read or write outside of disk 'hd0'
  when choosing the 3.13.0.29 kernel from the advanced option in GRUB menu there is no problem to boot.

  Gilad
  --- 
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  gilad      2284 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=bc393e85-cca5-416c-9101-dab5139a92b2
  InstallationDate: Installed on 2014-03-20 (150 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
  MachineType: Gigabyte Technology Co., Ltd. G31M-ES2L
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-29-generic root=UUID=c6f5efd3-0369-4d6e-a4d3-aa09265755f5 ro quiet splash
  ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-29-generic N/A
   linux-backports-modules-3.13.0-29-generic  N/A
   linux-firmware                             1.127.5
  RfKill:
   
  Tags:  trusty
  Uname: Linux 3.13.0-29-generic i686
  UpgradeStatus: Upgraded to trusty on 2014-04-19 (120 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 02/05/2009
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F8
  dmi.board.name: G31M-S2L
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF8:bd02/05/2009:svnGigabyteTechnologyCo.,Ltd.:pnG31M-ES2L:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnG31M-S2L:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: G31M-ES2L
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1357871/+subscriptions