putting extended hda into /etc/mtab & /etc/fstab
On installation I created an extended partition hda. it has reiserfs format and on suse 10.0.
when I go to mount it says I have nothing in the /etc/fstab and /etc/mtab. what goes into those two files? thanks. |
In a nutshell an extended partition is a container for logical partitions and can not be mounted. Logical partitions start at ID5 so you would want to mount /dev/hda5. However you may have more then one logical partition. To find out exactly how your drive is partition look at the output of the fdisk command (as root)
fdisk -l /dev/hda |
I tried that. acutally I think I messed up the 4 gb drive. I am trying to reinstall and the hba won't come up... first time installing onto 2 hd. live and learn...
|
Mount only goes looking in fstab/mtab if you don't specify enough on the command. You can't just say something like "mount /media/whatever" you need (at least) the physical device - maybe type as well.
|
Thanks. fyi
I did get the 4 gb drive to be readable again. nt is good for something. :) I half way installed nt. it fixed it. it was readable again. I will keep that in mind. thanks, tom |
You can use the YaST partitioner to mount a new partition. This will edit your /etc/fstab file also.
The mtab file is written by the system to indicate what partitions are currently mounted. |
I had formatted the extended partion. it said 0 bytes. and I cleared the partition table. YaST partitioner wouldn't read it. thanks for the info about mtab and fstab. next time I will use the partitioner first thing. :)
|
All times are GMT -5. The time now is 12:35 AM. |