LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-13-2010, 02:11 PM   #1
gusblake
LQ Newbie
 
Registered: Feb 2010
Posts: 24

Rep: Reputation: 15
Can Linux only see the boot partition of other Linux installations?


Hi,

I have two hard drives, each with Fedora 12 installed. I messed up the first installation by uninstalling some packages that were apparently important, and now I'm running the second installation.

When I plug the first drive in to get the files back, it appears as a '210mb filesystem' and I can only see system files.

This has happened twice, so it seems unlikely that each drive has broken in the time it takes to install Fedora and plug it back in.

I have logged in as root, in case it was a security issue, but I still can't see the main partition. Is there any way I can get my files back?

Any advice would be appreciated.

Cheers,
Gus
 
Old 02-13-2010, 02:20 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I'm not sure what you mean by plugging in the first drive. Did you boot to it or are you adding it and trying to access the filesystems on it? Did you have the default /boot,swap,LVM installation?

If it did use an LVM volume, you can run "vgmknodes" to create the logical volume devices. Then mount the logical volumes.
 
Old 02-13-2010, 02:29 PM   #3
gusblake
LQ Newbie
 
Registered: Feb 2010
Posts: 24

Original Poster
Rep: Reputation: 15
Yeah, I'm still booting from the good (2nd) installation and trying to view the filesystems on the messed up installation.

Yes I selected 'use whole drive and create default layout' in the install process.

I'll try vgmknodes and post back.

Thanks for your help,

Gus
 
Old 02-13-2010, 02:52 PM   #4
gusblake
LQ Newbie
 
Registered: Feb 2010
Posts: 24

Original Poster
Rep: Reputation: 15
Code:
vgmknodes /dev/sdc1
(I'm using a USB enclosure)

outputs this:

Code:
  Volume group "sdc1" not found
  Skipping volume group sdc1
does the drive have to be plugged in to the motherboard (as opposed to USB) in order for the volume group to exist?

Edit - just worked out what it stands for. But after this,

Code:
vgmknodes vg_hoggblake
everything is still the same...

Last edited by gusblake; 02-13-2010 at 03:01 PM.
 
Old 02-13-2010, 03:53 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,755

Rep: Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446
A similar system ought to be able to view the files and the partition.

I guess it could be possible that the drive geometry is off somehow.


I think a live fedora cd would have worked. Put it back in the old system and boot to a live distro.
 
Old 02-13-2010, 06:25 PM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Please you post the output of "sudo /sbin/fdisk -l /dev/sdc".

If you aren't running Fedora on your computer, using a Fedora live CD would be a good idea. It will have LVM support, and support for the version of the filesystem on the drive. For example, if the distro doesn't have support for ext4.
 
  


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
Deleted linux partition, how to boot Windows partition? mysak Linux - General 3 12-14-2005 04:22 PM
LILO several linux installations - 2. wont boot TroelsSmit Linux - Newbie 1 09-30-2004 05:32 AM
Linux & Windows 98SE dual boot... will defrag mess up linux partition? herrtool Linux - General 5 10-31-2003 02:43 PM


All times are GMT -5. The time now is 12:53 AM.

Main Menu
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