LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-14-2007, 01:48 PM   #1
fkeith
LQ Newbie
 
Registered: May 2006
Posts: 10

Rep: Reputation: 0
problem mounting a linux partion from another ext3 partion


Hi
I had a an ide hdd which i was using.for some reason rhel 5 refused to boot I also have some data stored along with some configration files.
I have attached a sata hdd and reinstalled another os rhel 5 on that.
I am unable to mount the hdd partions.need some help here
here are the details of fdisk of my 2 drives.

[root@localhost mnt]# fdisk -l

Disk /dev/hda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/hda2 6375 24791 147934552+ f W95 Ext'd (LBA)
/dev/hda5 6375 12748 51199123+ 7 HPFS/NTFS
/dev/hda6 12749 12761 104391 83 Linux
/dev/hda7 12762 24791 96630943+ 8e Linux LVM

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 9729 57665317+ f W95 Ext'd (LBA)
/dev/sda5 2551 9082 52468258+ 7 HPFS/NTFS
/dev/sda6 9083 9095 104391 83 Linux
/dev/sda7 9096 9729 5092573+ 8e Linux LVM

also tried the mount command this is with i get.

[root@localhost mnt]# mount -t ext3 /dev/hda7 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/hda7,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

what am i doing wrong here.

some help please?
 
Old 10-14-2007, 07:33 PM   #2
w_barnes
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
hda7 is managed by LVM. The only thing I know about LVM is that it is a software layer above the hard drive partitions and you must use LVM tools to work with it (format/resize partitions etc.). Don't make any changes to your partitions on any of your disks using the usual tools (fdisk, etc.); doing so will trash your data, you'll need to read the docs for LVM.

Any LVM experts out there?
 
  


Reply

Tags
from, hdd, linux, lvm, mounting


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
my current primary partion is ext3 with linux installed in it . i want to create a pr amolgupta Linux - Software 1 07-28-2005 08:16 PM
Ext3 partion corrupts with RH8/CentOS 4 dual boot simonb Red Hat 1 05-31-2005 04:29 AM
Merging empty hard drive with root partion on ext3? crayolarx Linux - General 11 03-06-2004 03:29 PM
how do i move files from my windows partion to my linux partion awesome_man Linux - Newbie 2 01-30-2004 12:51 PM
Mounting NTFS partion in Linux saravan29 Linux - Newbie 6 07-28-2002 01:29 PM


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