LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-06-2006, 09:08 AM   #1
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Rep: Reputation: 15
how do i mount my fc6 files while running an ubuntu live cd?


on my dell inspiron 510m laptop i've installed fedora core 6. i think i even managed to put my home directory on its own partition. i put in an ubuntu live cd and now i'm wondering how i access my files on my hard drive (i really only need my /home directory). i've searched quite a bit, but can't find a straight answer.
i think the file system is type tmpfs (but how do i find a drive/partition file system type?) and i have no clue if its on /dev/hda1 or /dev/hda2 or LogVol01 or what...

basically i wondering:
*how do i find out where the drive is
*and what file system type it is

i assume that when i mount something it is read/write (if not, how do i ensure that it gets mounted read/write?)...

thanks for any help =)

Last edited by nickleus; 12-06-2006 at 09:09 AM.
 
Old 12-06-2006, 01:57 PM   #2
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
1. Can you not access your fc6 install?
2. Do you not have the DVD or 1st CD/ Rescue CD?

If you can access fc6, boot up in it and give us the output of fdisk -l.

If you have the discs I've mentioned in 2, boot up with one of them. At the prompt type linux rescue
Go through the options till you get to the command prompt. Then
# chroot /mnt/sysimage
# fdisk -l

After that we should be able to tell you how to mount from the LiveCD. When installing did you choose the default options to partition?
 
Old 12-06-2006, 09:08 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You should be able to run 'fdisk -l /dev/hda' from Ubuntu to see how many partition and their respective type.

Then just mount then one at a time to view the contents in a file manager such as Konqueror.m
Something like: mount /dev/hda1 /mnt

Then look at the contents of /mnt in Konqueror.
 
Old 12-07-2006, 08:27 AM   #4
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
Code:
sudo fdisk -l /dev/hda
gives:

Quote:
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 7296 58500697+ 8e Linux LVM
ok so i want to mount hda2 then, but i tried before and it didn't seem to work, maybe i just had the wrong file system type. so i guess i just follow this thread then to mount a linux file system type of "Linux LVM":
http://www.linuxformat.co.uk/index.p...t=1276&start=0
 
Old 12-08-2006, 02:43 AM   #5
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Post the output of pvscan
 
Old 12-08-2006, 03:16 AM   #6
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
PV /dev/hda2 VG VolGroup00 lvm2 [55.78 GB / 32.00 MB free]
Total: 1 [55.78 GB] / in use: 1 [55.78 GB] / in no VG: 0 [0 ]
that was cool. so its of file system type lvm2 then? this is for the whole disk, so if i just want my /home partition, how do i find out where that one is?

Last edited by nickleus; 12-08-2006 at 03:40 AM.
 
Old 12-08-2006, 07:58 AM   #7
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
try:

# sudo -i
# mkdir /mnt/fc
# mount -t ext3 /dev/VolGroup00/lvol0 (if this does not work, can you post the output of ls /dev/VolGroup00)
# cd /mnt/fc/home/<user>

Last edited by Jongi; 12-08-2006 at 08:01 AM.
 
Old 12-08-2006, 10:12 AM   #8
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
hey ya'll give it up fo ma man jongi! you da man!
here's what i did:
Code:
sudo -i
mkdir /mnt/fc
mount -t ext3 /dev/VolGroup00/LogVol00 /mnt/fc/
cd /mnt/fc/home/nickleus
there was no folder there so i was like what?

Code:
ls /mnt/fc/
i saw that everything else on the disk was there, so i knew that that was not my home partition obviously..
Code:
umount /mnt/fc
so i tried the next one:
Code:
mount -t ext3 /dev/VolGroup00/LogVol01 /mnt/fc/
that command gave me a wrong file system type error so i knew it couldn't be that one either...

Code:
umount /mnt/fc/
this last one worked:
Code:
mount -t ext3 /dev/VolGroup00/LogVol02 /mnt/fc/
cd /mnt/fc/nickleus/
thanks for the help jongi! you rule =)

Last edited by nickleus; 12-08-2006 at 10:16 AM.
 
Old 12-08-2006, 11:09 AM   #9
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Glad to have been of help.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing swap between FC6 and Ubuntu Regulus Ubuntu 4 11-04-2006 07:08 AM
LXer: HOWTO Recover Files from a Non-Bootable Windows PC using Ubuntu Live LXer Syndicated Linux News 0 02-13-2006 11:01 AM
Ubuntu 5.04 Live CD - retrieving files nasanta Linux - Newbie 2 12-11-2005 07:29 PM
How do I mount hda while using a Ubuntu Live CD? witiwap Linux - Newbie 10 10-22-2005 07:24 PM
running Ubuntu from a live CD Gatewood Linux - Newbie 2 08-31-2005 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:37 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
Open Source Consulting | Domain Registration