LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-09-2006, 02:22 PM   #31
rawplug89
LQ Newbie
 
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24

Original Poster
Rep: Reputation: 15

Its on a different pc

i just get a single ~ on everyline and then at the bottom
ECTFSTAB[NEWFILE] 0,0-1 All


no idea what it means tho...
 
Old 05-09-2006, 02:29 PM   #32
voger
Member
 
Registered: Oct 2005
Distribution: Arch
Posts: 68

Rep: Reputation: 15
The right command is

vi /etc/fstab

you probably are typing

vi /ETCFSTAB or something like that. Keep in mind that linux is case sensitive and we need the file fstab in folder /etc
 
Old 05-09-2006, 02:33 PM   #33
rawplug89
LQ Newbie
 
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24

Original Poster
Rep: Reputation: 15
nope, i typed what it says although what it acutally says at the bottom is
"/ect/fstab" [NEWFILE]

if that makes any difference
 
Old 05-09-2006, 02:35 PM   #34
voger
Member
 
Registered: Oct 2005
Distribution: Arch
Posts: 68

Rep: Reputation: 15
Quote:
nope, i typed what it says although what it acutally says at the bottom is
"/ect/fstab" [NEWFILE]
is etc not ect
 
Old 05-09-2006, 02:35 PM   #35
rawplug89
LQ Newbie
 
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24

Original Poster
Rep: Reputation: 15
right that might explain a lot, ill go try again
 
Old 05-09-2006, 02:41 PM   #36
rawplug89
LQ Newbie
 
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24

Original Poster
Rep: Reputation: 15
okay here is what it says
<file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda2 / ext3 defaults,errors=remount-ro 0
/dev/hda4 /home vfat defaults 0 0
/dev/hda1 /windows mtfs defaults 0 0
/dev/hda3 none swap sw 0 0



does this tell you anything?
 
Old 05-09-2006, 02:53 PM   #37
voger
Member
 
Registered: Oct 2005
Distribution: Arch
Posts: 68

Rep: Reputation: 15
Ok. First

Code:
sudo vi /etc/fstab
and add in front of the line nr4 the # charcter. Now it should look like this

Code:
#/dev/hda4 /home vfat defaults 0 0
You said you CAN login as root so i guess you have set a root password.

Just to keep things simple reboot and login as root

Code:
mkdir /home/tom
chown tom /home/tom
chgrp tom /home/tom
reboot

Last edited by voger; 05-09-2006 at 02:55 PM.
 
Old 05-09-2006, 03:59 PM   #38
rawplug89
LQ Newbie
 
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24

Original Poster
Rep: Reputation: 15
how do i reboot, once i enter the fstab i can't seem to execute commands there fore any changes i make aren't being saved
when i type the mkdir bits, i get the same errors as earlier.
File exists
operation not permitted

any ideas why
 
Old 05-10-2006, 11:54 AM   #39
voger
Member
 
Registered: Oct 2005
Distribution: Arch
Posts: 68

Rep: Reputation: 15
in vi editor you should press Esc several times and then type :wq! (exactly as seen) to save changes.
 
Old 05-12-2006, 10:33 AM   #40
rawplug89
LQ Newbie
 
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24

Original Poster
Rep: Reputation: 15
Ok, i've done that and no errors there,
but now when i start up, ubuntu loads all the modules... goes throught the list ok until mounting local filesystem- it fails on that.

How do i fix this ?

Please help
 
Old 05-12-2006, 01:53 PM   #41
rawplug89
LQ Newbie
 
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24

Original Poster
Rep: Reputation: 15
d/w fresh install and properly partitioned hard drive fixes everything.
Thanks for the help
 
  


Reply

Tags
help



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
boot CLI vs GUI weazy Linux - Software 2 08-04-2006 09:15 PM
CLI and GUI Question desmondlewissmith Linux - Software 1 01-20-2006 03:46 PM
Suse 8.2 Boots to CLI not to GUI porkchopexpress Linux - Newbie 5 06-22-2005 08:27 AM
changing gui from cli twistedrhymes Linux - Newbie 3 06-14-2005 02:44 AM
Stuck with CLI on post install Kyl3 Fedora - Installation 4 07-26-2004 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:39 AM.

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
Open Source Consulting | Domain Registration