LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fstab warning on boot (https://www.linuxquestions.org/questions/linux-newbie-8/fstab-warning-on-boot-25798/)

rogleale 07-15-2002 09:18 AM

fstab warning on boot
 
Hi All,
Mandrake performing well, but I am having problems
mounting my Windows partition on hda1.
During the boot screens I get a line:
'Mounting local file systems (mntent)
No final new line at end of /etc/fstab'

My fstab reads:
/dev/hdb1 /ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm/tmpfs defaults 0 0
/mnt/cdrom/mnt/supermount . . . . . .etc
/mnt/floppy/mnt/floppy/supermount . . . . etc
/mnt/zip/mnt/zip/supermount . . . . . . .etc (lines too long to put here)
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0
/etc/fstab^M/etc/fstab^Mh^[heqqqq^Mqqqqqqqqqqqqqqqq^M

I am sure that I could remove this last line ( the ^, the h, and the q's
are in the blue colour of vi) but what should the last line look
like? Can anyone tell me please?

Roger Leale

Thymox 07-15-2002 09:44 AM

Your fstab looks OK, except for the last line. Try removing the last line, and then leaving a line-space at the bottom aswell. I seem to remember the the fstab needs a blank line at the end, for some obscure reason or another.

matruschka 07-20-2002 12:35 PM


Adding a line like /dev/hda1 /mnt/windows vfat defaults 0 0 (assuming you're running a windows using the FAT filesystem) maybe mounts the windows partition in /mnt/windows.
Note that I'm not sure the defaults digits are correct,since I don't have the hda1 partition mounted myself... My hdb1 partition has the digits 1 0 though,so logically hda1 ought to be 0 0,right? :D

acid_kewpie 07-20-2002 05:10 PM

yes for a non-linux native drive, always 0 0


All times are GMT -5. The time now is 02:05 PM.