[Bug 1018419] Re: grub fails to boot OS images on second hard drive

dlotton 1018419 at bugs.launchpad.net
Fri Jun 29 03:49:17 UTC 2012


No errors logged in SMART status...


smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-25-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Blue Serial ATA
Device Model:     WDC WD3200AAKS-75B3A0
Serial Number:    WD-WMAT12896977
LU WWN Device Id: 5 0014ee 000a74d1e
Firmware Version: 01.03A01
User Capacity:    320,072,933,376 bytes [320 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Thu Jun 28 21:45:09 2012 MDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		( 6000) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  73) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x303f)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   156   154   021    Pre-fail  Always       -       3166
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       124
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   063   063   000    Old_age   Always       -       27612
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       113
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       31
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       124
194 Temperature_Celsius     0x0022   104   098   000    Old_age   Always       -       39
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0
240 Head_Flying_Hours       0x0032   061   061   000    Old_age   Always       -       29054
241 Total_LBAs_Written      0x0032   200   200   000    Old_age   Always       -       5576466588
242 Total_LBAs_Read         0x0032   200   200   000    Old_age   Always       -       1444161409

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       102         -
# 2  Short offline       Completed without error       00%         0         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

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

Title:
  grub fails to boot OS images on second hard drive

Status in “grub2” package in Ubuntu:
  New

Bug description:
  
  Dell Precision T3400
  SATA Slot0: (sda) Xubuntu 12.04 + Win7 (new hard drive)
  SATA Slot1: DVD-RW drive
  SATA Slot2: (sdb) Kubuntu 10.04 + Win Vista (old hard drive moved from SATA slot0)

  
  I recently installed Xubuntu 12.04 on my machine. I wanted to preserve the Win Vista and Kubuntu 10.04 installs that already existed on the machine and add a Win7 install.

  Here are the steps I took:
  1) remove original hard drive from SATA slot0
  2) install new hard drive on SATA slot0
  3) install win7 on first partition of new HD
  4) install the old HD in SATA slot2 (SATA slot1 has DVD)
  5) install Xubuntu 12.04 on second partition of new HD

  During Xubuntu install, all of the OS's were detected (Xubuntu 12.04 +
  Win7 on SATA slot0, and Kubuntu 10.04 + Vista on SATA slot2).

  When I boot, there are grub menu entries for all four OS's, but only
  Win7 and Xubuntu (both on the new HD in SATA slot0 - sda) are
  bootable.

  If I select either OS (Vista or Kubuntu 10.04) on the original HD (now
  in SATA slot2 - sdb) I get the message "you need to load the kernel
  first" and I eventually get returned to the grub menu.

  
  On advice in this thread (http://ubuntuforums.org/showthread.php?t=2007743) I used the boot-repair utility to try to fix the problem.  

  Boot info output from boot-repair is here
  (http://paste.ubuntu.com/1053651/), or see attached text file.

  
  After running boot-repair, the error I now get when trying to boot from either OS on sdb is "no such partition".  **Intersetingly**, If I hit 'c' on the grub menu and type in the 'ls (hd1,5)/' command, I get 'no such partition'.  I then type 'exit' to get back to the menu and hit 'c' again and repeat 'ls (hd1,5)/' and it works. There is a vmlinuz and an initrd.img. If I continue with the commands below, the screen eventually goes blank and seems to hang.

  linux (hd1,5)/vmlinuz root=/dev/sdb5 ro
  initrd (hd1,5)/initrd.img
  boot

  
  Note that if I boot into the Xubuntu 12.04 OS I can mount and inspect all of the other OS partitions on sda and sdb.

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




More information about the foundations-bugs mailing list