Can one now help?
JD
jd1008 at gmail.com
Sun Jul 18 23:36:10 UTC 2010
On 07/18/2010 03:35 PM, Parshwa Murdia wrote:
> On Sun, Jul 18, 2010 at 4:24 PM, Parshwa Murdia <b330bkn at gmail.com
> <mailto:b330bkn at gmail.com>> wrote:
>
> ---------- Forwarded message ----------
> From: JD <jd1008 at gmail.com <mailto:jd1008 at gmail.com>
> <mailto: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>
> <mailto: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
> <mailto:vvmarko at gmail.com>>
> To: users at lists.fedoraproject.org
> <mailto: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.
>
>
>
> After this all, I searched the google and then, at the following web-page:
>
> http://fedoraforum.org/forum/showthread.php?t=213000
>
> I got some details to how mount the LVM2 and resolving the error.
>
> I typed the following three commands first:
>
> [liveuser at localhost ~]$ su -
> [root at localhost ~]# kpartx -av /dev/sda
> [root at localhost ~]# vgscan
> [root at localhost ~]# vgchange -ay
>
> After that i run the following command:
>
> [root at localhost ~]# ls /dev/mapper
>
> the output of which was:
>
> control live-osimg-min live-rw VolGroup-lv_root VolGroup-lv_swap
>
> [root at localhost ~]# mount /dev/mapper/VolGroup-lv_root /mnt/oldfedora/
>
> after that switched to the /mnt/oldfedora/
>
> [root at localhost ~]# cd /mnt/oldfedora
>
> and run the ls command
>
> [root at localhost oldfedora]# ls
>
> which yielded:
>
> bin dev home lost+found mnt proc sbin srv tmp var
> boot etc lib media opt root selinux sys usr
>
> Means i got to that area.
>
> The output of the following command:
>
> [root at localhost oldfedora]# cat /etc/fstab
>
> was:
>
> #
> # /etc/fstab
> # Created by anaconda on Tue Jul 6 16:51:55 2010
> #
> # Accessible filesystems, by reference, are maintained under '/dev/disk'
> # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for
> more info
> #
> # Adding (append) noatime, nodiratime after all 'defaults' entries in
> the following (back of this file already
> taken)(http://digitizor.com/2009/01/31/fedora-speed-tweaks-make-fedora-faster/)
> # See http://sites.google.com/site/indiadoor/home
>
> UUID=c6d4ce29-9af6-4c76-bbd2-c96e3fa4b8e7 /boot
> ext3 defaults, noatime, nodiratime 1 2
> /dev/mapper/VolGroup-lv_root / ext4 defaults,
> noatime, nodiratime 1 1
> /dev/mapper/VolGroup-lv_swap swap swap defaults,
> noatime, nodiratime 0 0
> tmpfs /dev/shm tmpfs defaults,
> noatime, nodiratime 0 0
> devpts /dev/pts devpts
> gid=5,mode=620 0 0
> #devpts options modified by setup update to fix #515521 ugly way
> sysfs /sys sysfs defaults,
> noatime, nodiratime 0 0
> proc /proc proc defaults,
> noatime, nodiratime 0 0
>
> # Filesystem can be used for frequently use temp folders by add the
> following lines
> (http://digitizor.com/2009/01/31/fedora-speed-tweaks-make-fedora-faster/)
>
> tmpfs /tmp tmpfs defaults 0 0
> tmpfs /var/tmp tmpfs defaults 0 0
>
> I don't understand why it is wrong?
>
> But after much pondering over, I just deleted the gap between the
> nodiratime,noatime and defaults, and really speaking after that only i
> was able to boot from the original fedora.
>
That's why I asked you to post your fstab to this list.
Almost anyone on this list could havr told you to remove
the spaces between the comma and the next mount option.
>
> > ---------- Forwarded message ----------
> >
> > > From: Marko Vojinovic <vvmarko at gmail.com
> <mailto:vvmarko at gmail.com>>
> > > To: users at lists.fedoraproject.org
> <mailto:users at lists.fedoraproject.org>
> > > Date: Sun, 18 Jul 2010 19:50:22 +0100
> > > Subject: Re: Can one now help?
>
> 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.
>
>
> yes but this was not working.
>
>
More information about the users
mailing list