Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Read Only
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
joong
n00b
n00b


Joined: 19 Apr 2002
Posts: 1
Location: Boulder, Colorado, USA

PostPosted: Fri Apr 19, 2002 2:01 am    Post subject: Read Only Reply with quote

Ok.. I got everything all set-up everything went beautifully. I fired up my freshly installed gentoo 1.1a distro and the root partition loaded read-only...

I tried to modify my /etc/fstab to make /dev/hda4 ext3 noatime,rw 0 0... not knowing if this was totally correct, which was no help.

Maybe I did something wrong with the kernel config?
Back to top
View user's profile Send private message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Fri Apr 19, 2002 5:12 am    Post subject: Reply with quote

Same problem. so what's up with that fstab file?

Also, mine says Line 16 in /etc/fstab is bad when attempting to mount /proc (line 16 because I added mounting my ntfs partition and another cdrom). Anyone here know some fstab stuff to help me and joong with these two problems?
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 5:17 am    Post subject: Reply with quote

If you can, please run
Code:
fdisk -l /dev/hda; cat /etc/fstab

and post the output here. (Change hda for whatever your drive is.)
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Fri Apr 19, 2002 5:52 am    Post subject: Reply with quote

well I can't boot because "line 16 is bad" :(

So I'm reading like a madman...
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
Guest






PostPosted: Fri Apr 19, 2002 5:59 am    Post subject: Reply with quote

Can you boot from the install CD, mount your hard disk partition and then get that info?
Back to top
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 6:01 am    Post subject: Reply with quote

(That was me, the login timed out...)
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Fri Apr 19, 2002 12:56 pm    Post subject: Reply with quote

So, I just boot off the cd, type
Code:
mount /dev/hda(x) /mnt/gentoo -t ext3
then type in that
Code:
fdisk -l /dev/hda; cat /mnt/gentoo/etc/fstab
?

Also, that semi-colon, does that tell it to do one command, then the other (like &&)? or should I just do it on two lines? sorry slight newbie at work...
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 5:24 pm    Post subject: Reply with quote

That's it.
You can do it in one line or in two lines, at your pleasure. The difference between using ";" or "&&" to separate them is that with ";" all commands will be executed in turn, and with "&&" the next command will only be executed if the previous one succeeds.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Fri Apr 19, 2002 5:57 pm    Post subject: Reply with quote

Will do, thanks.

Here's my situation:

I installed XP on C: as NTFS
made a D: as fat32 for sharing files between XP and linux
linux / on hda6, swap on 7

is this what I should have in my fstab?
Code:

(other stuff like root...)

/dev/hda1 /mnt/winNTFS ntfs ro,umask=0 0 0

/dev/hda5 /share vfat rw,iocharset=iso8859-1,umask=0,codepage=850 0 0

none  /proc  proc  defaults  0 0

-------------------------------
Questions:

  1. Does the ntfs need the iocharset or codepage?
  2. Does the vfat need 'em?
  3. Is my ro & rw correct?
  4. Shouldn't that "none" be before the proc line?
  5. Will "defaults" work?


That's all that's halting me from using gentoo - On boot I get this message
Quote:
(something like) Attempting to mount /proc...

mount failed and returned this error

Line 16 in/etc/fstab is bad (and static is pretty sure that's the proc line :()

Serious prob, can't boot further

Thanks in advance,
static
-----------------------------------------------------------------

EDIT: fixed unmask typo to umask - thanks ! That may have even been my problem if it's in the real deal D'OH! I'll check as soon as I get home
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________


Last edited by static on Fri Apr 19, 2002 6:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 6:12 pm    Post subject: Reply with quote

static wrote:
Does the ntfs need the iocharset or codepage?
Does the vfat need 'em?
Is my ro & rw correct?

Don't know about these...

static wrote:
Shouldn't that "none" be before the proc line?
Will "defaults" work?

The procs line seems correct to me, but... just to account for everything... did you answer Yes to "/proc filesystem support" while configuring your kernel?
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
user99
Guest





PostPosted: Fri Apr 19, 2002 6:25 pm    Post subject: Reply with quote

:( It has been my experience that fdisk will not mount a drive that ntfs bootloader is on.
:wink: It is my hope someone will correct me.
Back to top
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Fri Apr 19, 2002 6:30 pm    Post subject: Reply with quote

proc line correct with the "none" in front or without? will check proc filesystem support in kernel when I get home from work... Thanks again - you're saving my life here :o

user99 - by fdisk I take it you mean fstab - I'll try noauto and mount it by hand if I have to... I JUST WANT TO BOOT GENTOO! Is that so much to ask :( I was mounting it OK in mandrake automatically every boot in fstab...
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________


Last edited by static on Fri Apr 19, 2002 6:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
sawsedge
n00b
n00b


Joined: 19 Apr 2002
Posts: 20
Location: Boston

PostPosted: Fri Apr 19, 2002 6:43 pm    Post subject: possible typo in that fstab? Reply with quote

That fstab example shows unmask=xxx instead of umask. I am not aware of an unmask option. Typo?
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 6:48 pm    Post subject: Reply with quote

static wrote:
proc line correct with the "none" in front or without?

It is correct if it looks like this:
Code:
none  /proc  proc  defaults  0 0

_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Fri Apr 19, 2002 6:50 pm    Post subject: Reply with quote

fixed unmask typo to umask - thanks ! That may have even been my problem if it's in the real deal D'OH! I'll check as soon as I get home

thanks fghellar! I'll also check that when I get home
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Fri Apr 19, 2002 8:31 pm    Post subject: Reply with quote

OK, had an n in there (damn) fstab is good, except...

I get a line on boot saying
Code:
VFS: root mounted (ext3 filesystem) readonly
(so we're still on topic)

is that the / or some other root for whatever the hell VFS is?
Actually, wait; Nevermind that - below that it says
Code:
Remounting root filesystem as readonly (if necessary)    [ok]
Checking root filesystem...                              [ok]
/dev/hda6, clean blah blah ####                          [ok]
Remounting root filesystem as read/write...              [ok]
_

So the VFS thing is OK I guess, however - frozen there! The OK for the remounting is there, and it's frozen on the next line...

Boot also Freezes if my usb printer is turned off.

Please help! I'm sooo close!
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Sun Apr 21, 2002 9:59 pm    Post subject: Reply with quote

anybody? I'm using windows!! :(
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Tue Apr 23, 2002 1:30 pm    Post subject: Reply with quote

UPDATE: For those with similar problems

I had found (see previous posts in this thread) that my machine would freeze while booting if my USB HP deskjet 640C was turned off. I also have an HP scanjet 3300C which doesn't have a eral on/off button, it just turns on when you press the scan button *if the software to recognize this button press is in place* I realized maybe it was similar to the printer boot prob, so I just unplugged both from my PC and I can boot now! Emerging KDE as I type this!

Geronimo! On to Gentoo!
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum