On Sun, Jul 18, 2010 at 4:24 PM, Parshwa Murdia b330bkn@gmail.com wrote:
---------- Forwarded message ----------
From: JD <jd1008@gmail.com mailto:jd1008@gmail.com> To: Community support for Fedora users <users@lists.fedoraproject.org <mailto:users@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@gmail.com To: users@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@localhost ~]$ su - [root@localhost ~]# kpartx -av /dev/sda [root@localhost ~]# vgscan [root@localhost ~]# vgchange -ay
After that i run the following command:
[root@localhost ~]# ls /dev/mapper
the output of which was:
control live-osimg-min live-rw VolGroup-lv_root VolGroup-lv_swap
[root@localhost ~]# mount /dev/mapper/VolGroup-lv_root /mnt/oldfedora/
after that switched to the /mnt/oldfedora/
[root@localhost ~]# cd /mnt/oldfedora
and run the ls command
[root@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@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.
---------- Forwarded message ----------
From: Marko Vojinovic vvmarko@gmail.com To: users@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.
---------- Forwarded message ----------
From: Marko Vojinovic vvmarko@gmail.com To: users@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.
Thanks Marko. You elaborated description worked.
On 07/18/2010 03:35 PM, Parshwa Murdia wrote:
On Sun, Jul 18, 2010 at 4:24 PM, Parshwa Murdia <b330bkn@gmail.com mailto:b330bkn@gmail.com> wrote:
---------- Forwarded message ---------- From: JD <jd1008@gmail.com <mailto:jd1008@gmail.com> <mailto:jd1008@gmail.com <mailto:jd1008@gmail.com>>> To: Community support for Fedora users <users@lists.fedoraproject.org <mailto:users@lists.fedoraproject.org> <mailto:users@lists.fedoraproject.org <mailto:users@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@gmail.com <mailto:vvmarko@gmail.com>> To: users@lists.fedoraproject.org <mailto:users@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@localhost ~]$ su - [root@localhost ~]# kpartx -av /dev/sda [root@localhost ~]# vgscan [root@localhost ~]# vgchange -ay
After that i run the following command:
[root@localhost ~]# ls /dev/mapper
the output of which was:
control live-osimg-min live-rw VolGroup-lv_root VolGroup-lv_swap
[root@localhost ~]# mount /dev/mapper/VolGroup-lv_root /mnt/oldfedora/
after that switched to the /mnt/oldfedora/
[root@localhost ~]# cd /mnt/oldfedora
and run the ls command
[root@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@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@gmail.com <mailto:vvmarko@gmail.com>> > > To: users@lists.fedoraproject.org <mailto:users@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.
On Sunday, July 18, 2010 23:35:34 Parshwa Murdia wrote:
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?
Ok, as an aftermath, for educational purposes :-) :
* The partition /dev/sda1 is what corresponds to the C: partition on Windows. It is the so-called "primary" partition, and only 4 of those can exist on the disk. They are named /dev/sda1 through /dev/sda4 in Linux. * You don't have any more primary partitions, and /dev/sda2 is instead a so- called "extended" partition, which is actually only a "container label" for all other partitions that follow, which are not primary. * The first partition contained inside the extended one is /dev/sda5 (if the number were less than 5 it would correspond to a primary partition, and could not be inside the extended one). This one is probably the Windows D: partition. * As above, /dev/sda6 and /dev/sda7 are also members of the extended partition, and correspond to your Windows drives E: and F:. Now, somewhere in between those letters Windows might stick the CD/DVD drives and assign its letters differently. The CD/DVD drives are *not* listed by the above fdisk command, and I can only guess how Windows will order its drive letters. * The /dev/sda8 partition is also a member of the extended one, and most probably the Fedora /boot partition, where the kernel and grub files reside. Windows does not show a letter for that one, since it doesn't recognize Linux partitions in general. * Finally, the /dev/sda9 partition is again not a real partition, but again a container like /dev/sda2 (although of quite different type). It is contained inside /dev/sda2, and it contains yet more partitions. This container is of LVM type, and contains all other Linux partitions (probably root and swap) inside. These partitions are not listed by fstab.
I know it sounds complicated. And believe me, it is. That is what you get when you mix very old standards (only four partitions allowed on the disk) with patched technologies and new hyped ideas --- you get one primary partition, and several of them inside LVM which is inside the extended partition which is a bogus primary one.
Don't ask me how did disk partitioning evolve into such a stupid state. When IDE disks were being standardized (long time ago), nobody dreamed that one day you might wish to have more than 4 partitions on the disk, dual boot system and wish to be able to resize partitions on a live disk. So they invented a stupid and shortsighted standard which had to be patched after it became *obviously* shortsighted...
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.
Of course, as you already found out yourself, mounting partitions inside the LVM container is not the same as trying to mount the LVM container itself (the latter is bound to fail, since it is just a container, not an actual partition...). Hence the errors.
Although I am confused about sda8, it is type 83 (ext2/3/4), that one *should* have worked. But nevermind now... ;-)
And of course, I missed to remember that you probably have a LVM container by default, so my original instructions didn't work as I thought they should. My bad. But you found out what is the proper procedure for that case via google. :-)
[root@localhost oldfedora]# cat /etc/fstab
[snip]
I don't understand why it is wrong?
Well, the fstab file is a file that contains rows and columns. Specifically, each row must contain 6 columns. Column entries are separated with a space. So for example, the line
tmpfs /tmp tmpfs defaults 0 0
has "tmpfs" in the first column, "/tmp" in the second, "tmpfs" in the third, "defaults" in the fourth, and "0" in fifth and sixth. And that is ok.
Now, if you look at one of the lines you modified initially, for example:
/dev/mapper/VolGroup-lv_root / ext4 defaults, noatime, nodiratime 1 1
I am counting 7 spaces total, which means that line has 8 columns, which the computer does not tolerate. The "defaults,", "noatime," and "nodiratime" are distributed into three columns, when they should all be in only one (4-th column). When you introduced extra spaces, you introduced extra columns, which is wrong. The right line should be
/dev/mapper/VolGroup-lv_root / ext4 defaults,noatime,nodiratime 1 1
Now there are no extra columns, you have 5 spaces delimiting 6 columns total, and the data in the 4-th column is "defaults,noatime,nodiratime", as it should be. The computer knows how to interpret and understand this.
If you want to read more about the structure and syntax of the fstab file, type "man fstab" in the terminal, and read on.
The "man" command stands for "manual", and gives you usage instructions for whatever command you wish to know about. Try "man mount", "man ls", "man cd", "man vgscan", and so on. Try even "man man", there is a manual about using the manual. :-)
If you want to be able to use Linux with greater power, you need to be skillful in using the terminal. Reading manual pages is the first place to start learning. If you are very determined to learn, read "man bash".
If you are a masochist, read "man bash" twice. ;-)
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.
Precisely. After the explanation above, it should be clear what was wrong and why it is now correct.
Best, :-) Marko
On 07/18/2010 08:35 PM, Marko Vojinovic wrote:
On Sunday, July 18, 2010 23:35:34 Parshwa Murdia wrote:
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?
Ok, as an aftermath, for educational purposes :-) :
- The partition /dev/sda1 is what corresponds to the C: partition on Windows.
It is the so-called "primary" partition, and only 4 of those can exist on the disk. They are named /dev/sda1 through /dev/sda4 in Linux.
- You don't have any more primary partitions, and /dev/sda2 is instead a so-
called "extended" partition, which is actually only a "container label" for all other partitions that follow, which are not primary.
- The first partition contained inside the extended one is /dev/sda5 (if the
number were less than 5 it would correspond to a primary partition, and could not be inside the extended one). This one is probably the Windows D: partition.
- As above, /dev/sda6 and /dev/sda7 are also members of the extended
partition, and correspond to your Windows drives E: and F:. Now, somewhere in between those letters Windows might stick the CD/DVD drives and assign its letters differently. The CD/DVD drives are *not* listed by the above fdisk command, and I can only guess how Windows will order its drive letters.
- The /dev/sda8 partition is also a member of the extended one, and most
probably the Fedora /boot partition, where the kernel and grub files reside. Windows does not show a letter for that one, since it doesn't recognize Linux partitions in general.
- Finally, the /dev/sda9 partition is again not a real partition, but again a
container like /dev/sda2 (although of quite different type). It is contained inside /dev/sda2, and it contains yet more partitions. This container is of LVM type, and contains all other Linux partitions (probably root and swap) inside. These partitions are not listed by fstab.
I know it sounds complicated. And believe me, it is. That is what you get when you mix very old standards (only four partitions allowed on the disk) with patched technologies and new hyped ideas --- you get one primary partition, and several of them inside LVM which is inside the extended partition which is a bogus primary one.
Don't ask me how did disk partitioning evolve into such a stupid state. When IDE disks were being standardized (long time ago), nobody dreamed that one day you might wish to have more than 4 partitions on the disk, dual boot system and wish to be able to resize partitions on a live disk. So they invented a stupid and shortsighted standard which had to be patched after it became *obviously* shortsighted...
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.
Of course, as you already found out yourself, mounting partitions inside the LVM container is not the same as trying to mount the LVM container itself (the latter is bound to fail, since it is just a container, not an actual partition...). Hence the errors.
Although I am confused about sda8, it is type 83 (ext2/3/4), that one *should* have worked. But nevermind now... ;-)
And of course, I missed to remember that you probably have a LVM container by default, so my original instructions didn't work as I thought they should. My bad. But you found out what is the proper procedure for that case via google. :-)
[root@localhost oldfedora]# cat /etc/fstab
[snip]
I don't understand why it is wrong?
Well, the fstab file is a file that contains rows and columns. Specifically, each row must contain 6 columns. Column entries are separated with a space. So for example, the line
tmpfs /tmp tmpfs defaults 0 0
has "tmpfs" in the first column, "/tmp" in the second, "tmpfs" in the third, "defaults" in the fourth, and "0" in fifth and sixth. And that is ok.
Now, if you look at one of the lines you modified initially, for example:
/dev/mapper/VolGroup-lv_root / ext4 defaults, noatime, nodiratime 1 1
I am counting 7 spaces total, which means that line has 8 columns, which the computer does not tolerate. The "defaults,", "noatime," and "nodiratime" are distributed into three columns, when they should all be in only one (4-th column). When you introduced extra spaces, you introduced extra columns, which is wrong. The right line should be
/dev/mapper/VolGroup-lv_root / ext4 defaults,noatime,nodiratime 1 1
Now there are no extra columns, you have 5 spaces delimiting 6 columns total, and the data in the 4-th column is "defaults,noatime,nodiratime", as it should be. The computer knows how to interpret and understand this.
If you want to read more about the structure and syntax of the fstab file, type "man fstab" in the terminal, and read on.
The "man" command stands for "manual", and gives you usage instructions for whatever command you wish to know about. Try "man mount", "man ls", "man cd", "man vgscan", and so on. Try even "man man", there is a manual about using the manual. :-)
If you want to be able to use Linux with greater power, you need to be skillful in using the terminal. Reading manual pages is the first place to start learning. If you are very determined to learn, read "man bash".
If you are a masochist, read "man bash" twice. ;-)
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.
Precisely. After the explanation above, it should be clear what was wrong and why it is now correct.
Best, :-) Marko
I wonder why the fedora installer did not create a gpt partitioned disk, instead of old dos partitioning scheme.
On Monday, July 19, 2010 04:48:25 JD wrote:
I wonder why the fedora installer did not create a gpt partitioned disk, instead of old dos partitioning scheme.
Maybe because Windows was already installed previously, and had created the old dos scheme first?
Best, :-) Marko