LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how do i mount my fc6 files while running an ubuntu live cd? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-mount-my-fc6-files-while-running-an-ubuntu-live-cd-507876/)

nickleus 12-06-2006 09:08 AM

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 =)

Jongi 12-06-2006 01:57 PM

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?

bigrigdriver 12-06-2006 09:08 PM

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.

nickleus 12-07-2006 08:27 AM

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

Jongi 12-08-2006 02:43 AM

Post the output of pvscan

nickleus 12-08-2006 03:16 AM

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?

Jongi 12-08-2006 07:58 AM

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>

nickleus 12-08-2006 10:12 AM

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 =)

Jongi 12-08-2006 11:09 AM

Glad to have been of help.


All times are GMT -5. The time now is 11:28 AM.