<div class="gmail_quote">On Sun, Jul 18, 2010 at 4:24 PM, 
Parshwa Murdia <span dir="ltr">&lt;<a href="mailto:b330bkn@gmail.com" target="_blank">b330bkn@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div>

   ---------- Forwarded message ----------<br>
    From: JD &lt;<a href="mailto:jd1008@gmail.com" target="_blank">jd1008@gmail.com</a>
 &lt;mailto:<a href="mailto:jd1008@gmail.com" target="_blank">jd1008@gmail.com</a>&gt;&gt;<br>
    To: Community support for Fedora users<br></div>
    &lt;<a href="mailto:users@lists.fedoraproject.org" target="_blank">users@lists.fedoraproject.org</a>
 &lt;mailto:<a href="mailto:users@lists.fedoraproject.org" target="_blank">users@lists.fedoraproject.org</a>&gt;&gt;<br>



    Date: Sat, 17 Jul 2010 14:31:48 -0700<br>
    Subject: Re: Can one now help?<br></blockquote></blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



</blockquote>
Live CD also allows you to just boot the cd without installing it.<br>
So, do not select install. just boot it and the desktop will come up.<br>
in desktop, open a terminal:<br>
Click Applications -&gt; System Tools -&gt; Terminal<br>
<br>
in the shell terminal, mount your fedora partition:<br>
su -<br>
No password needed. just press enter.<br>
mkdir /mydisk<br>
mount /dev/sdXN /mydisk<br>
<br>
where X is the drive letter and N is the partition number (starts at 1) 
where you installed fedora.<br>
<br>
Now cd to your /etc and edit fstab and fix the problem.<br>
<br>
If you do not know how to do that, post the contents of your fstab to 
this list<br>
and I am certain someone will tell you what is wrong.<br></blockquote><div><br>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:<br>


<br>
mount /dev/sdXN /mydisk<br><br>but the error i get is:<br><b><br>mount: 
you must specify the filesystem type</b> (which comes in the terminal)<br><br><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>---------- Forwarded message ----------<br>From: Marko
 Vojinovic &lt;<a href="mailto:vvmarko@gmail.com" target="_blank">vvmarko@gmail.com</a>&gt;<br>


To: <a href="mailto:users@lists.fedoraproject.org" target="_blank">users@lists.fedoraproject.org</a><br></div>Date: Sun,
 18 Jul 2010 19:50:22 +0100<br>Subject: Re: Can one now help?<br>On 
Sunday, July 18, 2010 15:39:43 Parshwa Murdia wrote: </blockquote>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You are right not to touch the install icon again. You do not want to 
install<br>
the system all over again. Instead, once you have booted the Live CD and
 have<br>
the desktop show up, you should do several things.<br>
<br>
First open the terminal (find it in the menus, its exact position 
depends on<br>
KDE/Gnome Live CD, and I don&#39;t know which one you are using).<br></blockquote><div><br>Yes,
 i am using Gnome and the live CD of fedora 11.<br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



Then you need to find out which partition is the root partition of your<br>
installed Fedora. You do not want to confuse that to your *current* root<br>
partition which is on the Live CD. Hard disk partitions in Fedora are 
named<br>
sda1, sda2, ... for the master hd on the primary IDE controller,<br>
sdb1, sdb2, ... for the slave hd on the primary IDE, then sdc1/2/... and<br>
sdd1/2/... for the master and slave on the secondary IDE, etc. Of 
course, if<br>
you have a SATA drive this may be different. If you have a dual-boot<br>
configuration (ie. Windows), then it typically takes sda1 for Windows 
drive C:,<br>
sda2 for windows drive D: (if you have one, not counting the CD/DVD 
drive) and<br>
so on, while Fedora partitions go after those.<br></blockquote><div><br>yes,
 its sata harddisk i think and dual booted with windows. in windows i 
have partitions for C, D, E, F (four drives).<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<br>
I am writing all this to show you that partition layout depends a lot on
 your<br>
hardware and software configuration, and no one on this list can guess 
it for<br>
you --- you have to find it out yourself for your particular machine. 
One way<br>
to do it is to use fstab:<br>
<br>
(1) once in the terminal, type &quot;su -&quot; to become root (without quotes)<br>
(2) type &quot;fdisk -l /dev/sda&quot;<br>
(3) fdisk will list the partition table of your hard disk --- look 
carefully<br>
on that list, and try to figure out which partition is the Linux root<br>
partition. If you cannot guess it yourself, post the partition table 
layout to<br>
us so we can help you with guessing.<br></blockquote><div><br>the result
 of &quot;fdisk -l /dev/sda&quot; is as follows:<br><br>Disk /dev/sda: 250.0 GB, 
250059350016 bytes<br>255 heads, 63 sectors/track, 30401 cylinders<br>


Units = cylinders of 16065 * 512 = 8225280 bytes<br>Disk identifier: 
0xfedcfedc<br><br>   Device Boot      Start         End      Blocks   
Id  System<br>/dev/sda1               1        5737    46082421    7  
HPFS/NTFS<br>


/dev/sda2            5738       30400   198105547+   f  W95 Ext&#39;d (LBA)<br>/dev/sda5           
 5738        9561    30716248+   7  HPFS/NTFS<br>/dev/sda6            
9562       13385    30716248+   7  HPFS/NTFS<br>/dev/sda7           
13386       15935    20482843+   7  HPFS/NTFS<br>


/dev/sda8   *       15936       15961      204799+  83  Linux<br>/dev/sda9          
 15961       28596   101487615+  8e  Linux LVM<br><br>I don&#39;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?<br>


 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
After you have determined which partition is the Fedora root (in what 
follows<br>
I will assume that it is /dev/sda2, while you should substitute the 
relevant<br>
/dev/sd?? instead), you want to mount it somewhere --- typically to /mnt<br>
directory of your running LiveCD Fedora. This is done as follows:<br>
<br>
(1) create a new directory in /mnt, by typing &quot;mkdir /mnt/oldfedora&quot;<br>
(2) mount the partition to that directory by typing<br>
&quot;mount /dev/sda2 /mnt/oldfedora&quot; (and don&#39;t forget to substitute 
/dev/sda2<br>
with whatever is relevant for your case)<br></blockquote><div><br>mounting
 this (for both sda8 and sda9), it shows me the error:<br><b><br>mount: 
unknown filesystem type &#39;lvm2pv&#39;</b> (in the terminal)<br><br>and once:<br>


<b><br>mount: you must specify the filesystem type</b> (in the terminal)<br><br>so
 again it is not getting either mounted.<br></div></div></div></div>
</blockquote></div><br><br>After this all, I searched the google and 
then, at the following web-page:<br><br><a href="http://fedoraforum.org/forum/showthread.php?t=213000" target="_blank">http://fedoraforum.org/forum/showthread.php?t=213000</a><br>

<br>I got some details to how mount the LVM2 and resolving the error.<br><br>I
 typed the following three commands first:<br><br>[liveuser@localhost 
~]$ su -<br>[root@localhost ~]# kpartx -av /dev/sda<br>[root@localhost 
~]# vgscan<br>

[root@localhost ~]# vgchange -ay<br><br>After that i run the following 
command:<br><br>[root@localhost ~]# ls /dev/mapper<br><br>the output of 
which was:<br><br>control  live-osimg-min  live-rw  VolGroup-lv_root  
VolGroup-lv_swap<br>

<br>[root@localhost ~]#  mount /dev/mapper/VolGroup-lv_root 
/mnt/oldfedora/<br><br>after that switched to the /mnt/oldfedora/<br><br>[root@localhost
 ~]# cd /mnt/oldfedora<br><br>and run the ls command<br><br>[root@localhost
 oldfedora]# ls<br>

<br>which yielded:<br><br>bin   dev  home  lost+found  mnt  proc  
sbin     srv  tmp  var<br>boot  etc  lib   media       opt  root  
selinux  sys  usr<br><br>Means i got to that area.<br><br>The output of 
the following command:<br>

<br>[root@localhost oldfedora]# cat /etc/fstab<br><br>was:<br><br>#<br>#
 /etc/fstab<br># Created by anaconda on Tue Jul  6 16:51:55 2010<br>#<br>#
 Accessible filesystems, by reference, are maintained under &#39;/dev/disk&#39;<br>

# See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more 
info<br>#<br># Adding (append) noatime, nodiratime after all &#39;defaults&#39; 
entries in the following (back of this file already taken)(<a href="http://digitizor.com/2009/01/31/fedora-speed-tweaks-make-fedora-faster/" target="_blank">http://digitizor.com/2009/01/31/fedora-speed-tweaks-make-fedora-faster/</a>)<br>


# See <a href="http://sites.google.com/site/indiadoor/home" target="_blank">http://sites.google.com/site/indiadoor/home</a><br><br>UUID=c6d4ce29-9af6-4c76-bbd2-c96e3fa4b8e7
 /boot                   ext3    defaults, noatime, nodiratime        1 2<br>

/dev/mapper/VolGroup-lv_root /                       ext4    defaults, 
noatime, nodiratime        1 1<br>/dev/mapper/VolGroup-lv_swap 
swap                    swap    defaults, noatime, nodiratime        0 0<br>tmpfs                  
 /dev/shm                tmpfs   defaults, noatime, nodiratime        0 0<br>

devpts                  /dev/pts                devpts  
gid=5,mode=620        0 0<br>#devpts options modified by setup update to
 fix #515521 ugly way<br>sysfs                   /sys                   
 sysfs   defaults, noatime, nodiratime        0 0<br>

proc                    /proc                   proc    defaults, 
noatime, nodiratime        0 0<br><br># Filesystem can be used for 
frequently use temp folders by add the following lines (<a href="http://digitizor.com/2009/01/31/fedora-speed-tweaks-make-fedora-faster/" target="_blank">http://digitizor.com/2009/01/31/fedora-speed-tweaks-make-fedora-faster/</a>)<br>


<br>tmpfs /tmp tmpfs defaults 0 0<br>tmpfs /var/tmp tmpfs defaults 0 0<br><br>I
 don&#39;t understand why it is wrong?<br><br>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.<br>

<br>
<br>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
&gt; ---------- Forwarded message ----------<br>
&gt;<br>
&gt; &gt; From: Marko Vojinovic &lt;<a href="mailto:vvmarko@gmail.com">vvmarko@gmail.com</a>&gt;<br>
&gt; &gt; To: <a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
&gt; &gt; Date: Sun, 18 Jul 2010 19:50:22 +0100<br>
&gt; &gt; Subject: Re: Can one now help?<br>
<br>
This is 100% correct.  Linux can understand quite a few file system<br>
architectures, so you need to include a &#39;-t filesystemname&#39; in your 
mount<br>
command line.  Man mount.<br></blockquote><div><br>yes but this was not working. <br></div></div>
<br>

<br>