Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab not mount correctly
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
Cruel
n00b
n00b


Joined: 25 Jun 2011
Posts: 54

PostPosted: Sat Jun 25, 2011 11:50 pm    Post subject: fstab not mount correctly Reply with quote

Hello all. I don't know if this the right forum. If it's not, please move the thread. Thanks !

Today I've installed the first time gentoo on my laptop. On the first steps I got no problems.
But after installing the grub bootloader and starting the first time my new gentoo system I got a lot of errors.
Most of them are the same: "can't create lock file /etc/mtab~1495: No space left on device (use -n flag to override)"
, "Some local filesystem failed to mount", "Skipping /var and /tmp initialization (ro root?)",
"For gentoo to function properly, "/var/lib/init.d" needs to exist.", "Please mount your root partition read/write,
and execute"

I think this errors occur from the fstab mounting. So first of all my partitions:
Code:

/dev/sda1*     512MB  ext2; For /boot
/dev/sda2       2GB      swap; For swap
/dev/sda3       rest      extended;
/dev/sda5       52MB    ext3 logical; For root /
/dev/sda6       10GB    ext3 logical; For /usr
/dev/sda7       5GB      ext3 logical; For /var
/dev/sda8       260GB  ext3 logical; For /home


I thought that would be the best partition separation.
Additionally here my fstab:
Code:

/dev/sda1   /boot   ext2   noauto,noatime   1 2
/dev/sda5   /          ext3   noatime             0  1
/dev/sda2   none    swap   sw                     0 0
/dev/sda6   /usr      ext3   noatime             0 2
/dev/sda7   /var      ext3   noatime             0 2
/dev/sda8   /home   ext3   noatime             0 2

shm      /dev/shm    tmpfs     nodev,nosuid,noexec   0 0
proc      /proc           proc        defaults                    0  0


Currently I get some more messages when I type reboot in the terminal:
"shutdown: /dev/initctl: No such file or directory"
"init: /dev/initctl: No such file or directory"

Thanks in advance
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Jun 26, 2011 1:41 am    Post subject: Reply with quote

boot the cd, mount the gentoo partitions, do this: https://forums.gentoo.org/viewtopic-t-880149.html
Code:
reboot
the hard drive. Any change in symptoms?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jun 26, 2011 1:49 am    Post subject: Reply with quote

IMO, 52 MB for / is far from enough.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Jun 26, 2011 2:06 am    Post subject: Reply with quote

Amen, Brother Jag, good eye!!
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jun 26, 2011 2:10 am    Post subject: Reply with quote

You're welcome, the very reason we have these forums is to have more than one pair of eyes looking at the problem. :)
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Cruel
n00b
n00b


Joined: 25 Jun 2011
Posts: 54

PostPosted: Sun Jun 26, 2011 9:30 am    Post subject: Reply with quote

DONAHUE wrote:
boot the cd, mount the gentoo partitions, do this: https://forums.gentoo.org/viewtopic-t-880149.html
Code:
reboot
the hard drive. Any change in symptoms?


Thanks. I will try this.


Jaglover wrote:
IMO, 52 MB for / is far from enough.



Why? In the german documentation there was an example of a partitionsystem. Isn't that correct?
edit: wrote it wrong. Root has 500000 blocks so ~488MB available. That should be enough or?

Code:

df -h
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/sda5     ext3    509M  132M  351M  28% /
/dev/sda2     ext3    5.0G  3.0G  1.8G  63% /home
/dev/sda7     ext3    7.9G  6.2G  1.3G  83% /usr
/dev/sda8     ext3   1011M  483M  477M  51% /opt
/dev/sda9     ext3    2.0G  607M  1.3G  32% /var
/dev/sda1     ext2     51M   17M   31M  36% /boot
/dev/sda6     swap    516M   12M  504M   2% <not mounted>
Back to top
View user's profile Send private message
Cruel
n00b
n00b


Joined: 25 Jun 2011
Posts: 54

PostPosted: Sun Jun 26, 2011 10:09 am    Post subject: Reply with quote

I've tryed it with the fix issue but not working. Get the same messages as before.
Back to top
View user's profile Send private message
bugfarmer
n00b
n00b


Joined: 24 Sep 2006
Posts: 46

PostPosted: Wed Jul 06, 2011 11:00 pm    Post subject: Reply with quote

Ok, it is likely that udev is not installed, not started or too old.
Check that your kernel does not have depricated sysfs enabled. If you are using genkernel sources this can be ignored.
Code:

-> General setup
    [ ] enable deprecated sysfs features to support old userspace tools

Rebuild the kernel and install the kernel image.
Now install/update udev
As root:
Code:

# emerge --sync
# emerge -av --oneshot udev
# rc-update add udev boot

Now reboot your system. When it wakes up you will be able to reboot without complaint.
If udev should fail to make a dev/initctl do the following
As root:
Code:

# cd /dev
# mknod initctl p 0
# chmod a-rwx,u+rw

Udev should not remove it at boot. If it does then I will have to do a bit more thinking. There are provisions in Gentoo to work around things like this but I prefer to get things working properly.

If it works please edit the title of your first post and add [Solved] to the title.
_________________
--- If it's unreliable, It's me that's using it.! ---
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Jul 06, 2011 11:23 pm    Post subject: Reply with quote

Code:
rc-update add udev boot
should be
Code:
rc-update add udev sysinit

_________________
Defund the FCC.
Back to top
View user's profile Send private message
bugfarmer
n00b
n00b


Joined: 24 Sep 2006
Posts: 46

PostPosted: Thu Jul 07, 2011 12:22 pm    Post subject: Reply with quote

I'll have to check that. I thought it was boot.

While I'm on the subject you probably want to make sure that devfs is mounted at sysinit

Code:
# rc-update del devfs boot
# rc-update add devfs sysinit

_________________
--- If it's unreliable, It's me that's using it.! ---
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