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 05-02-2010, 09:09 AM   #1
RileyTheWiley
Member
 
Registered: Dec 2007
Posts: 59

Rep: Reputation: 15
Question chroot lost my partition, how to get it back?


I was upgrading Fedora11-->12. Booted from DVD, chose to install over the top of my OS (retaining settings), completed upgrade, rebooted. The splash screen appeared, then went black. I had a cursor in the upper left of the screen and could type but the system was not responsive. I had invented the typewriter! Yippee! Not. When I hit Ctrl-Alt-Del, I saw the usual shutdown sequence appearing on screen, of drivers unloading, etc.

So I decided that X-Windows was not working but the rest of the system was.

Here is where I made the Big Mistake: I put in the disk and chose Recovery. It told me I could fire up a shell and chroot to a certain partition, and I did. Now the reinstall forces me to blow away everything and start over (I haven't) and Knoppix will not mount the partition,and does not see my old data.

So, whatever chroot did, I need to undo. Then I need to fix X-windows.
I already had backed up the important stuff, so this is not the end of the world. But I would like to avoid a format reinstall.

Where to go from here?
 
Old 05-03-2010, 02:07 AM   #2
Gnuru-the-1
LQ Newbie
 
Registered: Dec 2009
Location: Sweden
Distribution: all Slack, Gnewsence, Debian...
Posts: 9

Rep: Reputation: 1
Try a Rescue start again and try edit you're root in /etc/fstab by using (mount) instead of chroot

in boot try initdefault=4 ore initdefault=3 one of them is windowless and driv X whith the startx comand when its working you could drive the X-winlogin

and after that check for errors in you're boot directory /boot

And yes it sounds like you have a faulty X maybe an Xlock on 0:0
edit the /etc/initab to boot in consol mode and start youre system agin in blackmode :-) Consol

Last edited by Gnuru-the-1; 05-03-2010 at 02:32 AM.
 
  


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
HDD partition lost. xandros DVD + me = lost data lein Linux - General 18 05-22-2007 05:47 AM
chroot jail - jumps back to password prompt The_JinJ Linux - Newbie 1 12-05-2005 10:14 AM
can't chroot back into LFS after install shotokan Linux From Scratch 8 06-01-2005 03:09 PM
Lost Gui How do I get it Back Chancelor Linux - Hardware 1 01-17-2004 05:54 PM
Lost passwords, how can I get back in? Skidlid Red Hat 10 09-22-2003 01:05 AM

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

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