View previous topic :: View next topic |
Author |
Message |
Cruel n00b
Joined: 25 Jun 2011 Posts: 54
|
Posted: Sat Jun 25, 2011 11:50 pm Post subject: fstab not mount correctly |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Jun 26, 2011 2:06 am Post subject: |
|
|
Amen, Brother Jag, good eye!! _________________ Defund the FCC. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Cruel n00b
Joined: 25 Jun 2011 Posts: 54
|
Posted: Sun Jun 26, 2011 9:30 am Post subject: |
|
|
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 |
|
|
Cruel n00b
Joined: 25 Jun 2011 Posts: 54
|
Posted: Sun Jun 26, 2011 10:09 am Post subject: |
|
|
I've tryed it with the fix issue but not working. Get the same messages as before. |
|
Back to top |
|
|
bugfarmer n00b
Joined: 24 Sep 2006 Posts: 46
|
Posted: Wed Jul 06, 2011 11:00 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jul 06, 2011 11:23 pm Post subject: |
|
|
Code: | rc-update add udev boot | should be Code: | rc-update add udev sysinit |
_________________ Defund the FCC. |
|
Back to top |
|
|
bugfarmer n00b
Joined: 24 Sep 2006 Posts: 46
|
Posted: Thu Jul 07, 2011 12:22 pm Post subject: |
|
|
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 |
|
|
|