PDA

View Full Version : FSTAB keeps resetting itself to the stock version


jamiefoxer
08-03-2005, 01:44 AM
Guys,

I edited my FSTAB using SU to enter into root mode in the terminal. I added two windows partitions. They work for ONE boot...then the installation resets itself next boot and I lose access to my files. The FSTAB loses the edited text I added and reverts to the stock text. What gives?

kmoore134
08-03-2005, 03:06 AM
Edit the /PCBSD/conf/fstab.orig file instead. I'm in the middle of trying to setup a dynamic /etc/fstab file, that gets repopulated at each boot. So that your other partitions show up, Linux, NTFS, etc.

08-03-2005, 11:01 AM
well, I edited that file. It stayed the same (the text inside the conf/fstab.orig file), however, the folders I had to hold the contents of the partitions are still "empty". It's not registering it.

What next?

jamiefoxer
08-03-2005, 11:04 AM
Here's the contents of my fstab.orig

/dev/ad0s3b none swap sw 0 0
/dev/ad0s3a / ufs rw 1 1
/dev/ad0s1 /mnt/win1 ntfs rw 0 0
/dev/ad0s5 /mnt/win2 msdos rw 0 0

I added the last two lines. I have a 10GB Windows XP partition (the first on the drive), and a 50 GB "data" partition formatted in FAT32 on slice 5 (in Linux, it was SDA5, in BSD, AD0S5)

If I edit the "fstab" file directly (the /etc/fstab) and put these values, they work for one boot, then they reset to the stock version. Editing the /pcbsd/conf/fstab.orig file has kept the text I added, but it doesn't seem to have an effect. No Windows Partitions are viewable at /mnt/win1 or /mnt/win2

UPDATE: it now seems to be working everytime I boot. Strange...but...whatever. It's working. Thanks Kris!