LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2016, 09:41 PM   #1
emfex
LQ Newbie
 
Registered: Aug 2014
Posts: 7

Rep: Reputation: Disabled
Unhappy Generating "/run/initramfs/rdsosreport.txt" in Korora 23


I am new to Korora but just loved it... :-)

It gives the following error at boot. Kindly guide me. My data is into the harddisk and I am dying to need them.

**************************************************
Generating "/run/initramfs/rdsosreport.txt"

Entering emergency mode. Exit the shell to continue. Type ""Journalctl" to view system logs. You might wait to save "/run/initramfs/rdsosreport.txt" to a usb stick or /boot after mounting them and attach it to a bug report.
*******************************************************
and nothing comes... !!!

Please help...

Thanks & regards,

Saptarshi
 
Old 07-30-2016, 03:05 PM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Have a look at "/run/initramfs/rdsosreport.txt" -it might contain relevant diagnostics (if you can read them).

Otherwise, boot from a live DVD or USB.
Code:
mkdir /media/user
mkdir /media/run
mount /home/your-user-name /media/user
mount /run /media/run
You will probably need to gain some extra authorities to do these things.
One solution might be to use sudo...

/media/run should contain a file, initramfs/rdsosreport.txt
/media/user should contain all your home directories.

NOTE - You have read/write authorities to your hard disk, so be careful.
 
Old 08-01-2016, 06:18 AM   #3
emfex
LQ Newbie
 
Registered: Aug 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
I have solved the issue in a bad way ... :-)

~ I have purchased a HDD.
~ Install korora 23 again.
~ Add the harddisk with bad sectors.
~ Go to disk option. Mount and Access the old hdd.
~ Copied the data from the bad one to the new one.

Thanks brothers for the help..

Saptarshi
 
Old 08-01-2016, 06:54 AM   #4
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
You omitted to say that your old disk had hardware errors.

You used the correct method - replace the disk!
It is rare that data can be recovered so easily from a faulty disk.

Perhaps you will be considering regular backups in future?
 
Old 08-01-2016, 12:21 PM   #5
emfex
LQ Newbie
 
Registered: Aug 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
I only came to know that the disk has 5 bad sectors when
I had a look at the disk details of korora !!!

Yes, you are absolutely right.
I will take regular back ups.

I had another experience which I would like to share with
the newbies like me.. :-)

The harddisk 'western digital' is proved to be very unpredictable...
Seagate is still a golden choice... :-)

Thank you very much for your prompt guidance.
 
Old 08-01-2016, 01:47 PM   #6
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Some people will tell you that Seagate are terrible.

Personally, I always get Seagate.
You can use SMART to monitor the disk. When the "reallocated sector count" starts to increase or becomes numerical too big, then its time to replace the disk.
 
Old 08-01-2016, 09:27 PM   #7
emfex
LQ Newbie
 
Registered: Aug 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Great to know about SMART.
Kindly let me know where to get the utility ?
 
Old 08-02-2016, 07:12 AM   #8
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I'm not familiar with korora, but Debian (and probably Ubuntu) contains a package called smartmontools

You can use this to test a disk non-destructively or simply to report on SMART statistics.
man smartctl is very detailed - but the first couple of pages is sufficient.

Example (omitting some of the output) - the most important line is highlighted:-
Code:
sudo smartctl -a  /dev/sda
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST1000DM003-1ER162
Serial Number:    Z4Y1WX2W
LU WWN Device Id: 5 000c50 07944aacb
Firmware Version: CC45
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Aug  2 12:54:31 2016 BST
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

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   115   099   006    Pre-fail  Always       -       85422368
  3 Spin_Up_Time            0x0003   097   097   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1352
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   078   060   030    Pre-fail  Always       -       4358653228
  9 Power_On_Hours          0x0032   088   088   000    Old_age   Always       -       10981
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1352
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0 0 0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   071   065   045    Old_age   Always       -       29 (Min/Max 19/29)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       18
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1953
194 Temperature_Celsius     0x0022   029   040   000    Old_age   Always       -       29 (0 11 0 0 0)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       11045h+00m+24.597s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       16061799747
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       782815789909

No Errors Logged
 
  


Reply



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
Stuck reboot @ "BusyBox v1.21.1" then "initramfs" prompt, plz help?! Wolfshadow Linux - Newbie 2 05-20-2015 10:08 PM
LXer: Review: Korora 21 "Darla" Cinnamon LXer Syndicated Linux News 0 03-24-2015 06:50 AM
LXer: Review: Korora 19 "Bruce" GNOME LXer Syndicated Linux News 0 07-10-2013 04:00 AM
LXer: Review: Korora 18 "Flo" KDE LXer Syndicated Linux News 0 05-24-2013 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 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