GentooThis forum is for the discussion of Gentoo 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.
Im new to Gentoo I just installed it in my virtualbox,
Im just wondering why df is not showing my partitions as in fstab:
Quote:
GEN ~ # df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 7.3G 2.7G 4.3G 39% /
/dev/root 7.3G 2.7G 4.3G 39% /
rc-svcdir 1.0M 40K 984K 4% /lib/rc/init.d
udev 10M 172K 9.9M 2% /dev
shm 122M 0 122M 0% /dev/shm
GEN ~ # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda3 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
GEN ~ #
/boot has no need to be mounted. it is never used as part of the running operating system. It should only be mounted if you wish to make changes to the bootloader config etc.
you are not meant to mount /boot by default according to Gentoo's best practises, that's *exactly* why "noauto" was in there in the first place. You are free to change it if you want, but when did you last need to change it? By not mounting it, you're reducing the chance of anything going wrong with that filesystem which could cause boot issues.
I did change it to defaults but still same ouput from df.
Is that ok for gentoo?
Did you reboot after the change? If you did and it's still not automounted, then I think there is a problem.
However, as mentioned, you should mount /boot only if you need to messup with your boot loader (eg install a new kernel).
Yup after reboot it is still not mounted, but that ok now. However my root partition is showing /dev/root and not the one in the fstab like the other linux distro?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.