Can one now help?

JD jd1008 at gmail.com
Sun Jul 18 22:19:55 UTC 2010


  On 07/18/2010 02:11 PM, Gene Heskett wrote:
> On Sunday, July 18, 2010 05:09:23 pm Parshwa Murdia did opine:
>
>>>     ---------- Forwarded message ----------
>>>
>>>>     From: JD<jd1008 at gmail.com<mailto:jd1008 at gmail.com>>
>>>>     To: Community support for Fedora users
>>>>     <users at lists.fedoraproject.org
>>>>     <mailto:users at lists.fedoraproject.org>>  Date: Sat, 17 Jul 2010
>>>>     14:31:48 -0700
>>>>     Subject: Re: Can one now help?
>>> Live CD also allows you to just boot the cd without installing it.
>>> So, do not select install. just boot it and the desktop will come up.
>>> in desktop, open a terminal:
>>> Click Applications ->  System Tools ->  Terminal
>>>
>>> in the shell terminal, mount your fedora partition:
>>> su -
>>> No password needed. just press enter.
>>> mkdir /mydisk
>>> mount /dev/sdXN /mydisk
>>>
>>> where X is the drive letter and N is the partition number (starts at
>>> 1) where you installed fedora.
>>>
>>> Now cd to your /etc and edit fstab and fix the problem.
>>>
>>> If you do not know how to do that, post the contents of your fstab to
>>> this list
>>> and I am certain someone will tell you what is wrong.
>> one things is that when you say sdXN, X is the drive letter means what
>> drive letter is give to the linux partition? in windows if i see, its H
>> so it should be like sdH9?? in the line:
>>
>> mount /dev/sdXN /mydisk
>>
>> but the error i get is:
>> *
>> mount: you must specify the filesystem type* (which comes in the
>> terminal)
>>
>>
>> ---------- Forwarded message ----------
>>
>>> From: Marko Vojinovic<vvmarko at gmail.com>
>>> To: users at lists.fedoraproject.org
>>> Date: Sun, 18 Jul 2010 19:50:22 +0100
>>> Subject: Re: Can one now help?
>>> On Sunday, July 18, 2010 15:39:43 Parshwa Murdia wrote:
>> You are right not to touch the install icon again. You do not want to
>>
>>> install
>>> the system all over again. Instead, once you have booted the Live CD
>>> and have
>>> the desktop show up, you should do several things.
>>>
>>> First open the terminal (find it in the menus, its exact position
>>> depends on
>>> KDE/Gnome Live CD, and I don't know which one you are using).
>> Yes, i am using Gnome and the live CD of fedora 11.
>>
>>> Then you need to find out which partition is the root partition of
>>> your installed Fedora. You do not want to confuse that to your
>>> *current* root partition which is on the Live CD. Hard disk
>>> partitions in Fedora are named sda1, sda2, ... for the master hd on
>>> the primary IDE controller, sdb1, sdb2, ... for the slave hd on the
>>> primary IDE, then sdc1/2/... and sdd1/2/... for the master and slave
>>> on the secondary IDE, etc. Of course, if
>>> you have a SATA drive this may be different. If you have a dual-boot
>>> configuration (ie. Windows), then it typically takes sda1 for Windows
>>> drive C:,
>>> sda2 for windows drive D: (if you have one, not counting the CD/DVD
>>> drive) and
>>> so on, while Fedora partitions go after those.
>> yes, its sata harddisk i think and dual booted with windows. in windows
>> i have partitions for C, D, E, F (four drives).
>>
>>> I am writing all this to show you that partition layout depends a lot
>>> on your
>>> hardware and software configuration, and no one on this list can guess
>>> it for
>>> you --- you have to find it out yourself for your particular machine.
>>> One way
>>> to do it is to use fstab:
>>>
>>> (1) once in the terminal, type "su -" to become root (without quotes)
>>> (2) type "fdisk -l /dev/sda"
>>> (3) fdisk will list the partition table of your hard disk --- look
>>> carefully
>>> on that list, and try to figure out which partition is the Linux root
>>> partition. If you cannot guess it yourself, post the partition table
>>> layout to
>>> us so we can help you with guessing.
>> the result of "fdisk -l /dev/sda" is as follows:
>>
>> Disk /dev/sda: 250.0 GB, 250059350016 bytes
>> 255 heads, 63 sectors/track, 30401 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>> Disk identifier: 0xfedcfedc
>>
>>     Device Boot      Start         End      Blocks   Id  System
>> /dev/sda1               1        5737    46082421    7  HPFS/NTFS
>> /dev/sda2            5738       30400   198105547+   f  W95 Ext'd (LBA)
>> /dev/sda5            5738        9561    30716248+   7  HPFS/NTFS
>> /dev/sda6            9562       13385    30716248+   7  HPFS/NTFS
>> /dev/sda7           13386       15935    20482843+   7  HPFS/NTFS
>> /dev/sda8   *       15936       15961      204799+  83  Linux
>> /dev/sda9           15961       28596   101487615+  8e  Linux LVM
>>
>> I don't know why there is no entry for sda3 and sda4. I guess the linux
>> root partition to be sda8? or it should be sda9?
>>
>>> After you have determined which partition is the Fedora root (in what
>>> follows
>>> I will assume that it is /dev/sda2, while you should substitute the
>>> relevant
>>> /dev/sd?? instead), you want to mount it somewhere --- typically to
>>> /mnt directory of your running LiveCD Fedora. This is done as
>>> follows:
>>>
>>> (1) create a new directory in /mnt, by typing "mkdir /mnt/oldfedora"
>>> (2) mount the partition to that directory by typing
>>> "mount /dev/sda2 /mnt/oldfedora" (and don't forget to substitute
>>> /dev/sda2 with whatever is relevant for your case)
>> mounting this (for both sda8 and sda9), it shows me the error:
>> *
>> mount: unknown filesystem type 'lvm2pv'* (in the terminal)
>>
>> and once:
>> *
>> mount: you must specify the filesystem type* (in the terminal)
>>
>> so again it is not getting either mounted.
> This is 100% correct.  Linux can understand quite a few file system
> architectures, so you need to include a '-t filesystemname' in your mount
> command line.  Man mount.
>
As I already replied, no necessarily true for all filesystem types.
To wit:
$ sudo mount /dev/sdc1 /sdc1
$ ls /sdc1
lost+found/  sdb1.bkup/  sdb3.bkup/  sdb4.bkup/

sdc1 is an ext3 partition and is automatically recognized as such.




More information about the users mailing list