Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-15-2002, 10:18 AM   #1
LQ Newbie
Registered: May 2002
Location: france
Distribution: Suse Pro 9.0
Posts: 15

Rep: Reputation: 0
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

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
Old 07-15-2002, 10:44 AM   #2
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
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.
Old 07-20-2002, 01:35 PM   #3
LQ Newbie
Registered: Jul 2002
Posts: 22

Rep: Reputation: 15

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?

Last edited by matruschka; 07-20-2002 at 01:37 PM.
Old 07-20-2002, 06:10 PM   #4
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
yes for a non-linux native drive, always 0 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
WARNING: /etc/fstab not working NTay5 Linux - Software 17 04-07-2005 06:36 PM
warning: no final newline at the end of /etc/fstab Jeebizz Slackware 2 10-12-2004 03:19 PM
fstab warning demmylls Linux - General 1 09-22-2003 07:09 AM
fstab warning Gordon Slackware 5 04-15-2003 05:41 PM
WARNING: Bad format on line 10 of /etc/fstab thetwin Linux - Newbie 22 03-05-2003 01:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration