Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-09-2006, 02:22 PM
|
#31
|
LQ Newbie
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24
Original Poster
Rep:
|
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...
|
|
|
05-09-2006, 02:29 PM
|
#32
|
Member
Registered: Oct 2005
Distribution: Arch
Posts: 68
Rep:
|
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
|
|
|
05-09-2006, 02:33 PM
|
#33
|
LQ Newbie
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24
Original Poster
Rep:
|
nope, i typed what it says although what it acutally says at the bottom is
"/ect/fstab" [NEWFILE]
if that makes any difference
|
|
|
05-09-2006, 02:35 PM
|
#34
|
Member
Registered: Oct 2005
Distribution: Arch
Posts: 68
Rep:
|
Quote:
nope, i typed what it says although what it acutally says at the bottom is
"/ect/fstab" [NEWFILE]
|
is etc not ect 
|
|
|
05-09-2006, 02:35 PM
|
#35
|
LQ Newbie
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24
Original Poster
Rep:
|
right that might explain a lot, ill go try again
|
|
|
05-09-2006, 02:41 PM
|
#36
|
LQ Newbie
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24
Original Poster
Rep:
|
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?
|
|
|
05-09-2006, 02:53 PM
|
#37
|
Member
Registered: Oct 2005
Distribution: Arch
Posts: 68
Rep:
|
Ok. First
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.
|
|
|
05-09-2006, 03:59 PM
|
#38
|
LQ Newbie
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24
Original Poster
Rep:
|
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
|
|
|
05-10-2006, 11:54 AM
|
#39
|
Member
Registered: Oct 2005
Distribution: Arch
Posts: 68
Rep:
|
in vi editor you should press Esc several times and then type :wq! (exactly as seen) to save changes.
|
|
|
05-12-2006, 10:33 AM
|
#40
|
LQ Newbie
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24
Original Poster
Rep:
|
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
|
|
|
05-12-2006, 01:53 PM
|
#41
|
LQ Newbie
Registered: May 2006
Location: UK- Glos- Cheltenham
Distribution: Ubuntu
Posts: 24
Original Poster
Rep:
|
d/w fresh install and properly partitioned hard drive fixes everything.
Thanks for the help
|
|
|
All times are GMT -5. The time now is 10:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|