LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-30-2014, 03:11 AM   #1
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Rep: Reputation: Disabled
Ubuntu 13.10 has suddenly failed to boot!


Yesterday evening, I don't know what happened but my system (Ubuntu 13.10) didn't boot. Since then I tried many times but the same issue as I explain below.

See I boot my system. GRUB menu comes; I select ubuntu (to boot); then as normal the Ubuntu symbol comes but it takes a long time there & then prompt appears in a terminal with the messages as shown below:
Code:
Gave up waiting for root device. Common problems:

- Boot args (cat /proc/cmdline)

   -check rootdelay = (did the system wait long enough?)

   -check root = (did the system wait for the right device?)

- Missing modules (cat /proc/modules ; ls /dev)

ALERT! /dev/disk/by-uuid/da5b7ccd-e161-4460-4012-1b54eaf31faa doesn't exist.
Dropping to a shell!

BusyBox v1.20.2 (Ubuntu 1:1.20.0-8.1 ubuntu1) built-in shell (ash)

Enter 'help' for a list of built-in commands.

(initramfs)_
From the message, I felt to check whether the root device (/dev/sda5 is root partition in my case) is O.K. or not.

I booted live usb of Ubuntu 14.04.1 (that I downloaded yesterday). I mounted all the partitions of the hard-disk installation having Ubuntu 13.10 (/home, /, /var/, /boot, /tmp). To my surprise, root partition didn't contain anything but others had data. root partition was empty !!!!

As the above output mentioned "ALERT! /dev/disk/by-uuid/da5b7ccd-e161-4460-4012-1b54eaf31faa doesn't exist", I thought to check if that's the UUID of the root partition & that partition is what it is saying that doesn't exist!
Code:
ubuntu@ubuntu:~$ sudo lsblk -o name,mountpoint,label,size,uuid
NAME    MOUNTPOINT LABEL             SIZE UUID
sda                                111.8G 
├─sda1             System Reserved   100M 6E60F4D460F4A3CD
├─sda2             c_drive          31.2G 0E441C8F441C7BA1
├─sda3             d_drive          36.9G 100EECEB0EECCB34
├─sda4                                 1K 
├─sda5             root               14G 5dd68245-345c-44f4-8c22-a6779472e388
├─sda6             boot              314M 84e87924-cc93-45d9-82d3-39a925110a2b
├─sda7                               2.1G 
├─sda8             var               1.9G f607795c-5f8c-4c14-a4d8-2d0e71d0319a
├─sda9             tmp               1.9G a3f24d77-7c45-4a3d-b153-478d8261c338
└─sda10            home             23.7G 735de76f-65f3-4963-ad0e-44a4a2b34e97
sdb                                  1.9G 
└─sdb1  /cdrom                       1.9G bc426250-9c5d-4d9e-8b15-43bafa7bb4ac
sr0                                 1024M 
loop0   /rofs                        952M 
ubuntu@ubuntu:~$
And I find that the UUID of the root partition is not that what the system mentioned while booting. To reconfirm I checked the listing of the directory /dev/disk/by-uuid. (This is the directory that the above output mentioned in "ALERT")
Code:
ubuntu@ubuntu:~$ ll /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 220 Jul 29 22:35 ./
drwxr-xr-x 6 root root 120 Jul 29 22:35 ../
lrwxrwxrwx 1 root root  10 Jul 29 22:35 0E441C8F441C7BA1 -> ../../sda2
lrwxrwxrwx 1 root root  10 Jul 29 22:35 100EECEB0EECCB34 -> ../../sda3
lrwxrwxrwx 1 root root  10 Jul 29 22:35 5dd68245-345c-44f4-8c22-a6779472e388 -> ../../sda5
lrwxrwxrwx 1 root root  10 Jul 29 22:35 6E60F4D460F4A3CD -> ../../sda1
lrwxrwxrwx 1 root root  11 Jul 29 22:35 735de76f-65f3-4963-ad0e-44a4a2b34e97 -> ../../sda10
lrwxrwxrwx 1 root root  10 Jul 29 22:35 84e87924-cc93-45d9-82d3-39a925110a2b -> ../../sda6
lrwxrwxrwx 1 root root  10 Jul 29 22:35 a3f24d77-7c45-4a3d-b153-478d8261c338 -> ../../sda9
lrwxrwxrwx 1 root root  10 Jul 29 22:35 bc426250-9c5d-4d9e-8b15-43bafa7bb4ac -> ../../sdb1
lrwxrwxrwx 1 root root  10 Jul 29 22:35 f607795c-5f8c-4c14-a4d8-2d0e71d0319a -> ../../sda8
ubuntu@ubuntu:~$
So, what's that alert - "ALERT! /dev/disk/by-uuid/da5b7ccd-e161-4460-4012-1b54eaf31faa doesn't exist"? What doesn't exist?

Just to troubleshoot: Yesterday before the issue happened, I'd booted live usb of Ubuntu 14.04.1. Then I mounted the partitions of Ubuntu 13.10 of my hard disk. Can the problem occur had I not unmounted them before shutting down my system or was it that the system wasn't properly shutdown !! I don't know what had happened.

I was going to install Ubuntu 14.04.1 on my laptop to get the things working back but thought to see if it it can be resolved now only because I never expected my system to get broken this way. I'd earlier faced issues with booting but that was bootloader thing that I learned to resolve; this issue I want to get it resolved too so that suppose next time anything like this happens, I do have the solution. It was fortunate that I'd bootable usb having Ubuntu 14.04.1 beside me this time which I booted up (live install) & writing this Q from there.

Last edited by ravisingh1; 07-30-2014 at 07:27 AM.
 
Old 07-30-2014, 04:11 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I would guess that alert is for the swap partition - probably /dev/sda7 looking at that list. It should have been recognised by the lsblk - so it seems to have 2 issues - the root partition and the swap.

It's possible the shutdown from the liveUSB caused the issue, as it would probably have found and used used the swap partition. Possible the hard disk is failing. Hard to say, but it is suspicious about that liveUSB. Maybe run smartctl on it to see what it says.
Backup the /home, and instal 14.04 would be my advice.
 
Old 07-30-2014, 08:21 AM   #3
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
I would guess that alert is for the swap partition - probably /dev/sda7 looking at that list. It should have been recognised by the lsblk - so it seems to have 2 issues - the root partition and the swap.
.................................................
.................................................................
Maybe run smartctl on it to see what it says.
Yes /dev/sda7 is the swap partition.
Please see below the output of the command run for 3 devces: /dev/sda, /dev/sda5 (root), /dev/sda7 (swap)

Code:
ubuntu@ubuntu:~$ sudo smartctl --all /dev/sda

smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-32-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Scorpio Blue Serial ATA
Device Model:     WDC WD1200BEVS-22UST0
Serial Number:    WD-WXE108521517
LU WWN Device Id: 5 0014ee 25644aea6
Firmware Version: 01.01A01
User Capacity:    120,034,123,776 bytes [120 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
Local Time is:    Wed Jul 30 13:00:45 2014 UTC
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
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: 		( 4560) 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: 	 (  58) 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     0x000f   200   200   051    Pre-fail  Always       -       12
  3 Spin_Up_Time            0x0003   160   159   021    Pre-fail  Always       -       1000
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4797
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   051    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -       3273
 10 Spin_Retry_Count        0x0013   100   100   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   100   100   051    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4630
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       417
193 Load_Cycle_Count        0x0032   176   176   000    Old_age   Always       -       72988
194 Temperature_Celsius     0x0022   104   083   000    Old_age   Always       -       39
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0009   100   253   051    Pre-fail  Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


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.


ubuntu@ubuntu:~$ sudo smartctl --all /dev/sda5

smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-32-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Scorpio Blue Serial ATA
Device Model:     WDC WD1200BEVS-22UST0
Serial Number:    WD-WXE108521517
LU WWN Device Id: 5 0014ee 25644aea6
Firmware Version: 01.01A01
User Capacity:    120,034,123,776 bytes [120 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
Local Time is:    Wed Jul 30 13:10:49 2014 UTC
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
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: 		( 4560) 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: 	 (  58) 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     0x000f   200   200   051    Pre-fail  Always       -       12
  3 Spin_Up_Time            0x0003   160   159   021    Pre-fail  Always       -       1000
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4797
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   051    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -       3273
 10 Spin_Retry_Count        0x0013   100   100   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   100   100   051    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4630
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       417
193 Load_Cycle_Count        0x0032   176   176   000    Old_age   Always       -       72993
194 Temperature_Celsius     0x0022   103   083   000    Old_age   Always       -       40
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0009   100   253   051    Pre-fail  Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


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.

ubuntu@ubuntu:~$ sudo smartctl --all /dev/sda7

smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-32-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Scorpio Blue Serial ATA
Device Model:     WDC WD1200BEVS-22UST0
Serial Number:    WD-WXE108521517
LU WWN Device Id: 5 0014ee 25644aea6
Firmware Version: 01.01A01
User Capacity:    120,034,123,776 bytes [120 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
Local Time is:    Wed Jul 30 13:03:50 2014 UTC
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
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: 		( 4560) 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: 	 (  58) 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     0x000f   200   200   051    Pre-fail  Always       -       12
  3 Spin_Up_Time            0x0003   160   159   021    Pre-fail  Always       -       1000
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4797
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   051    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -       3273
 10 Spin_Retry_Count        0x0013   100   100   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   100   100   051    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4630
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       417
193 Load_Cycle_Count        0x0032   176   176   000    Old_age   Always       -       72992
194 Temperature_Celsius     0x0022   104   083   000    Old_age   Always       -       39
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0009   100   253   051    Pre-fail  Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


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.
There doesn't seem to be much difference between the outputs. Say for example, when i check the difference between the output for /dev/sda5 & /dev/sda7, the result is below:
Code:
ubuntu@ubuntu:~$ diff check5 check7
14c14
< Local Time is:    Wed Jul 30 13:10:49 2014 UTC
---
> Local Time is:    Wed Jul 30 13:03:50 2014 UTC
68,69c68,69
< 193 Load_Cycle_Count        0x0032   176   176   000    Old_age   Always       -       72993
< 194 Temperature_Celsius     0x0022   103   083   000    Old_age   Always       -       40
---
> 193 Load_Cycle_Count        0x0032   176   176   000    Old_age   Always       -       72992
> 194 Temperature_Celsius     0x0022   104   083   000    Old_age   Always       -       39
ubuntu@ubuntu:~$
What conclusion can be drawn from these outputs? Could you track the problem?
 
  


Reply

Tags
sytem-boot, ubuntu 13.10



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suddenly my Ubuntu 10.4 will not boot. It goes into a "grub>" DOS mode. alpichat Linux - General 1 09-24-2010 09:54 AM
Floppy drive failed suddenly; knoppix can read diskettes but PC won't boot from them Airidh General 3 03-28-2008 02:36 PM
direct rendering failed suddenly!!! mailmaldi Ubuntu 4 07-28-2006 01:38 AM
Decryption suddenly failed Recirqie Linux - Wireless Networking 1 02-10-2006 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration