View previous topic :: View next topic |
Author |
Message |
nikon32 n00b
Joined: 09 Feb 2005 Posts: 3
|
Posted: Wed Feb 09, 2005 10:55 am Post subject: Error with df |
|
|
Hi, after having installed Gentoo I noticed there was a message error when the commmand df is executed, here is the output:
Code: |
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 14421376 58716 13630096 1% /
df: `/tmp/.initrd': No such file or directory
df: `/tmp/.initrd/proc': No such file or directory
df: `/tmp/.initrd/dev': No such file or directory
/dev/hda1 93307 8598 79892 10% /boot
/dev/hda5 14421344 50168 13638616 1% /tmp
/dev/hda6 14421344 111228 13577556 1% /home
/dev/hda7 14421344 2152848 11535936 16% /usr
/dev/hda8 18081960 489520 16673928 3% /var
none 452496 0 452496 0% /dev/shm
|
After that I did the following:
Code: |
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root /tmp/.initrd ext2 rw 0 0
/proc /tmp/.initrd/proc proc rw,nodiratime 0 0
devfs /tmp/.initrd/dev devfs rw 0 0
/dev/hda2 / ext3 rw,noatime 0 0
none /proc proc rw,nodiratime 0 0
none /sys sysfs rw 0 0
none /dev devfs rw 0 0
none /dev/pts devpts rw 0 0
/dev/hda1 /boot ext3 rw,noatime 0 0
/dev/hda5 /tmp ext3 rw,noatime 0 0
/dev/hda6 /home ext3 rw,noatime 0 0
/dev/hda7 /usr ext3 rw,noatime 0 0
/dev/hda8 /var ext3 rw,noatime 0 0
none /dev/shm tmpfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
|
Just look at the 2nd, 3rd and 4th lines, I don't know where are they mounted because they're not in the fstab, here is my /etc/fstab:
Code: |
/dev/hda1 /boot ext3 auto,noatime 1 1
/dev/hda2 / ext3 noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/hda5 /tmp ext3 defaults,noatime 0 0
/dev/hda6 /home ext3 defaults,noatime 0 0
/dev/hda7 /usr ext3 defaults,noatime 0 0
/dev/hda8 /var ext3 defaults,noatime 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
|
I really don't know where the problem is, the only thing I have to do to solve the problem is to create the non-existing directories? I think that's not a good idea because /proc would be mounted twice ... ¬____¬ '
Thanks a Lot!
P.S: Sorry for my english, I'm learning. |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Feb 09, 2005 1:01 pm Post subject: |
|
|
That fstab isn't actually being used.
The initrd also contains an fstab - there is no other way for the initrd to mount your partitions when root isn't mounted yet.
Simplest solution is to create a new initrd. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
|
|
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
|
|