LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-25-2002, 01:45 AM   #1
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
error starting mandrake 8.2


I don't know how this happened, but i just tried booting mandy and i got an error along these lines:

bad format on line 1 of /etc/fstab
and
your /etc/fstab does not contain the fsck passno field

and it tells me to fix it. but i don't know how, i cannot get into mandrake what so ever.....
 
Old 08-25-2002, 01:58 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
So that shows up during bootup? Try booting up with your rescue (plug in your Mandy disc, and during the first screen hit F1, then type 'rescue'), and then mounting the drive (actually I think rescue might do it for you) and then editing your /etc/fstab file.

The fsck line is the one that looks like '0 0' I believe. I will see what I can find, but if you don't know, post your '/etc/fstab' file here and I will see what I can find.

Cool
 
Old 08-25-2002, 02:01 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Ok, it appears that your "root" (/) filesystem should have a passno of 1, and other's a passno of 2 (I would venture to say it's ok for 0 on your cdrom's and such)

So, the last line is the fsck line, the 6th place.

That first line is probably your "root" filesystem line, so change that to a 1 if it's something else.

Let me know how it goes...

Cool
 
Old 08-25-2002, 05:28 AM   #4
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
i am not sure how to edit it........what text editor do i use?
 
Old 08-25-2002, 05:49 AM   #5
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
oh crap, i misplaced my rescue disk, i put the mandy disk in on my windows machine and it came up to make a boot disk, but that isn't the rescue is it.....
 
Old 08-25-2002, 06:08 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
The install CDROM is the disc that you would use as your rescue. Any text editor that you have installed will do, I use pico, seems very straight forward, but any will work.

You can mount the device to your /mnt directory and then edit it that way, it should seem straight forward when you put the disc in and type "rescue".

Cool
 
Old 08-25-2002, 06:36 AM   #7
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
thans MasterC, i shall try that later on tonight, after i get this darn assignment over and done with ....if i have any other problems i shall post them up here....
 
Old 08-25-2002, 06:56 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Cool, good luck! If I am still on, I will try to help you if you run into any more problems.
 
Old 08-26-2002, 02:16 AM   #9
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
well master C, i booted the rescue disk, typed rescue, tried mounting it, it was already mounted though, then i tried editing the file, but i don't have pico installed, and i can't think of anything else, plus i can't even get into the directory, i'm logged as root@rescue...any ideas?
 
Old 08-26-2002, 02:24 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You should be able to get into the directory, you have to make sure you on actually on the / disk, and not the cdrom's /

Do a cd /mnt
and then 'ls' to see if it's actually already mounted.

If it is, cd to the /etc directory by 'cd etc' or 'cd /mnt/etc'

But before you do all of that, you could think about installed pico. If not, see if you have emacs. If not, I am sure you have vi or vim.

So using vi, open the file with 'vi fstab' or 'vi /mnt/etc/fstab'

Before you do that though, hunt around either this board or www.google.com/linux and find some basic usage keys for vi(m).

Cool
 
Old 08-27-2002, 04:20 AM   #11
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
what other text editor i may have which isn't as coplicated as vi, i am reading a tutorial on it, but all i need to do is change a couple of thing(s), i don't have emacs, even though i'm pretty sure i had it....but oh well, i need something more simple.
 
Old 08-27-2002, 10:29 AM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
jed

Or, go ahead and install pico (actually need to install pine from the Mandy CD to get pico) with an "upgrade packages" install. It shouldn't mess anything up doing that, and then you will have pico installed to use as you would like.

You may need to use absolute paths, so something like (but not sure on this) '/usr/bin/emacs' would be the syntax to open the text editor. If you have the directory mounted somewhere, don't forget to include that in your absolute path command, so if in /mnt then '/mnt/usr/bin/emacs' would be the syntax (again only if emacs is located in /usr/bin).

I would really suggest installing pico though, it's very user friendly.

Some would say to learn minimum vi, it's good to know.

Cool
 
  


Reply


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
Starting MySQL OLD Error : imeout error occurred trying to start MySQL Daemon Fr33B5D Linux - Software 9 10-28-2006 07:23 AM
Error when starting X drburgh66 Debian 1 06-09-2005 01:00 PM
Error when starting X, please help Khronus Linux - Newbie 3 01-13-2005 01:40 PM
Error message when starting aclarion Fedora 1 08-06-2004 11:36 PM
Why do I get this error when starting Mandrake 10? aavgeek Mandriva 4 06-30-2004 03:47 PM


All times are GMT -5. The time now is 03:41 PM.

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