LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-28-2008, 05:13 AM   #1
bspus
Member
 
Registered: Aug 2005
Location: Greece
Distribution: Fedora
Posts: 45

Rep: Reputation: 15
Backtrack LiveCD wont mount my existing root partition!


Hi

I have fedora 8 dual boot with windows xp on a system. I've been experimenting with the backtrack live cd.

The distro boots fine. It automounts my ntfs partitions hda1 and hda5 as well as the fedora /boot partition at hda6. I know my hda7 is the root partition but it wont mount. I ran qtparted which is included in backtrack and it says hda7 is of unknown type. I'm sure I formatted it with ext3 which was the default and by its size I'm certain it was the / partition in fedora.

I then booted fedora, which booted normally. I installed qtparted in fedora as well and to my surprise it said the same thing! hda7 was of unknown type. But it was using it! Maybe there is another way or another program that will detect it correctly? Its not like I need it but just in case I ever need to use the live cd as a rescue envirronment I want my partitions mounted
 
Old 01-28-2008, 06:29 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
And what does 'fdisk -l' say?
 
Old 01-28-2008, 06:57 AM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
I suspect that your FC8 installation was using LVM for root, and thus hda7 is nothing more than a Physical Volume. You'd need to use the lvm tools to see it and then the LV should be visible in /dev/mapper. For example, my Ubuntu install has an LVM root and mounting it from a live-CD involves installing the lvm2 package (for the lvm tools) then doing the following:
Code:
modprobe dm-mod
vgchange -a y
mount /dev/mapper/ubuntu-root /mnt/root
 
Old 01-28-2008, 10:24 AM   #4
bspus
Member
 
Registered: Aug 2005
Location: Greece
Distribution: Fedora
Posts: 45

Original Poster
Rep: Reputation: 15
Indeed it is LVM. Here is the fdisk -l output

Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1e87d3e0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        6374    51199123+   7  HPFS/NTFS
/dev/sda2            6375       19456   105081165    f  W95 Ext'd (LBA)
/dev/sda5            6375       13003    53247411    7  HPFS/NTFS
/dev/sda6           13004       13028      200781   83  Linux
/dev/sda7           13029       19456    51632878+  8e  Linux LVM

Disk /dev/dm-0: 50.7 GB, 50734301184 bytes
255 heads, 63 sectors/track, 6168 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table
So I suppose I should be looking for lvm2 or something similar for backtrack And how does one install stuff on a live cd distro? Let alone one that looks quite different from fedora. I guess I have some research ahead of me. Thanks for the help thus far.
 
  


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
How to make LiveCD detect and mount extend/LVM partition satimis Linux - General 2 08-30-2007 09:01 PM
Mount An Existing ext3 Partition br00tal Linux - Newbie 3 06-10-2005 12:08 AM
existing LVM partition won't mount anymore dehuszar Linux - Software 1 09-10-2004 01:26 PM
Mount a partition to an existing folder groover Linux - Newbie 5 04-04-2004 01:43 AM
how to: mount existing partition on 2nd drive atljam Linux - General 2 07-28-2002 12:32 PM


All times are GMT -5. The time now is 02:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration