LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-02-2012, 06:00 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,400

Rep: Reputation: 55
Fedora 17 CRASHED.


Fedora 17 Crashed big Time, I installed Fedora for a friend and Three days later it Crashed.

Ai Boot startup it would Stop at Rescue Grub. After further investigation I found that label for / and /home Partitions had neen changedf to "UNKNOWN" .

I'm very concern about the /home partition that has some very important data that needs to be retrieved .

I always setup my Fedora Boxes with a / /home swap , three partitions , that way I can do a next version of fedora fresh install on / and Users data will be left untouched by not Formatting the /home partition.

THE BIG QUESTION HERE IS, Can i do a fresh install by puting the labels back to / and /home from "UNKNOWN" and Save the Users Data in /home Or can I assume that the Users Data is LOST !!

My friend say the Data Has got to be SAVED. If I can't do it he will have to take the hard drive out to someone that can. I have talk him into using a /Backup hard drive on his new computer
 
Old 07-02-2012, 06:04 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,590

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Well the file system label is contained in the superblock meta data. You can try to run a fsck on it to repair it but a good troubleshooting step would be to modify the grub boot option for the root partition to map directly to the /dev/ name.

If that works, which I think it probably will in this case, you will probably just need to do a reboot and force an fsck on restart.

---------- Post added 07-02-12 at 03:05 PM ----------

Additionally, you should have no problems using a knoppix or other distro live cd/usb to boot off of and mount the drives if you want to backup the data now before you do anything else.
 
Old 07-02-2012, 06:19 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,400

Original Poster
Rep: Reputation: 55
What I think I will do is do a Fresh install from Fedora Live-CD and put the label / back in and format the / partition and change the label /home back to the partition it was in and NOT Format the /home partition.

And hope the the User Data is still in /Home so I can save and backup it up.

I'm Thinking of a possible corrupted / partition.

Last edited by mickeyboa; 07-02-2012 at 06:22 PM.
 
Old 07-02-2012, 06:23 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,590

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
That's alot of work you are going to do for a possibly simple issue. I strongly suggest attempting to boot it to the device name through grub, /dev/sda1 more than likely, and then you can run fsck and it will fix your labels. This is a big reason why I don't use labels as I don't trust them.
 
Old 07-02-2012, 06:29 PM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,400

Original Poster
Rep: Reputation: 55
Could you explain in more depth how and where you would run /dev/sda1 through grub2 ?
 
Old 07-02-2012, 08:35 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 13,452

Rep: Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798
Before you reinstall you might look into WHY

i ran into something like this a while back
with a dual boot of win7

win7 was on the second drive BUT set to boot first in the bios
EVERY new kernel on fedora would rewrite the menu.lis/ grub.conf with the WRONG drive numbers

so
was this fedora17 install a single boot or a dual boot ?
was it a ALL default install
/boot on the MBR and the rest of the drive(s) LVM
or
a custom partitioning and custom install
 
Old 07-02-2012, 09:04 PM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,400

Original Poster
Rep: Reputation: 55
Single Boot Fedora only.

I have been using Linux since RH-6 and never seen a crash like this.
 
Old 07-03-2012, 12:11 PM   #8
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,590

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Try running the following from the grub rescue command line:

Code:
grub> root (hd0,1)
grub> kernel /vmlinuz(match this to your current boot line for your kernel path) root=/dev/sda2 ro vga=791
grub> boot
notice the "root=/dev/sda2" portion. This is the equivalent of "root=/ROOT" or whatever other label you may have given it only this is the actual device path that linux sees for the drive. This would be the second parition on the first hard drive so you may have to adjust the number or letter to match where your install went.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora Crashed formes.justine Fedora 8 05-12-2011 04:04 AM
seamonkey 2.0.10 crashed in Fedora 14 TigerLinux Fedora 3 11-21-2010 08:31 PM
fedora got crashed? Manish87 Linux - Newbie 2 05-27-2010 04:57 PM
fedora crashed dinojamesw Linux - Newbie 1 08-21-2008 06:12 AM


All times are GMT -5. The time now is 06:04 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration