refresh /etc/fstab
I am a newbie to Linux, I worked on HP-UX systems for 7 years before I retired so i know most of the terms.
I know there is a way to do this but I just can not remember. I changed the partitions on my second harddrive so they are all primary partitions. Now in Linux I need to get this reflected in my /etc/fstab so I can mount them. the partitions on my second HD where /dev/hdb1, /dev/hdb5 and /dev/hdb6. Now they should be /dev/hdb1, /dev/hdb2 and /dev/hdb3 but the /etc/fstab still has /dev/hdb5 and /dev/hdb6 listed. Can I just edit the fstab and change hdb5 and hdb6 to hdb2 and hdb3? |
Yes you can. Actually I'm not sure if there is a way to just "refresh" fstab; there well could be, but I've always used to alter it manually. Just become root, open a text-editor, change the device file (partition) numbers to correct ones, save and try mounting.
|
Thanks I will try that.
|
That worked.... Thanks again.
|
All times are GMT -5. The time now is 07:09 AM. |