You are not logged in.
Pages: 1
Hello
I am currently in the process of installing arch and i had a networking problem i had no interfaces so i came across some thread which said that if that happens u might be loading the wrong kernel
so i ran
uname -a
: Linux 3.17.3
and also pacman -Qi linux
:linux 3.17.4
and then i looked more on that issue and i came across this thread https://bbs.archlinux.org/viewtopic.php?id=181536
in which someone said you might not be mounted to boot so i tried mount /dev/sda2(this is the boot partition) /boot and i got in return error
unknown filesystem type 'vfat'
the thing is that i made it fat according to this tutorial http://www.tomshardware.com/faq/id-1860 … -uefi.html of installing arch on a uefi motherboard and also according to this: https://wiki.archlinux.org/index.php/Un … _Partition
i just wanna state that during the installation process i dont remember any problems mounting the partition
what do i do to fix this problems?
thanks a lot
Offline
You have a chicken and egg problem. The problem is that you need the vfat kernel module to mount the vfat volume. You cannot do that since you don't have the the correct kernel modules available to the kernel that is running.
The best solution is to boot your installation media. Then use a chroot environment to enter your system and fix it. You may need to mount the boot partition prior to entering the chroot.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
EDIT: See previous post.
Last edited by teateawhy (2014-12-01 19:30:59)
Offline
You have a chicken and egg problem. The problem is that you need the vfat kernel module to mount the vfat volume. You cannot do that since you don't have the the correct kernel modules available to the kernel that is running.
The best solution is to boot your installation media. Then use a chroot environment to enter your system and fix it. You may need to mount the boot partition prior to entering the chroot.
lol ok, so can i get some more help about the part "enter your system and fix it"
im a bit clueless even links to read more
EDIT:
and what have i done wrong to got in this position?
thanks
Last edited by fokolo (2014-12-01 19:41:38)
Offline
Or if you still have the linux-3.17.3 package in pacman's cache, the following might work: downgrade to that (putting vfat module back into place), mount /boot and reinstall 3.17.4.
Offline
Follow the wiki I linked. In section 3 where it talks about mounting partitions, mount your boot partition partition as it describes separate file systems.
chroot into your system using one of the two method under Change Root. I prefere the second method (chroot).
Reinstall the linux package.
Exit the chroot environment by following the wiki.
Reboot.
At this point, your boot partition probably is not mounted. Check that by running the command mount Post that output here.
When you get to that point, I'll walk you through cleaning things up and preventing it from happening again.
Edit: Raynman and I were posting at the same time. His solution is viable as well. But we still need to clean things up.
Last edited by ewaller (2014-12-01 19:51:16)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Follow the wiki I linked. In section 3 where it talks about mounting partitions, mount your boot partition partition as it describes separate file systems.
chroot into your system using one of the two method under Change Root. I prefere the second method (chroot).
Reinstall the linux package.
Exit the chroot environment by following the wiki.
Reboot.
At this point, your boot partition probably is not mounted. Check that by running the command mount Post that output here.
When you get to that point, I'll walk you through cleaning things up and preventing it from happening again.Edit: Raynman and I were posting at the same time. His solution is viable as well. But we still need to clean things up.
ok I've done what Raynman posted downgraded and then mounted successfully the boot and then upgraded to the current linux kernel but i still dont have any intefaces or maybe i have more problems?
thanks
Offline
What is the output of mount
Also, please post your /etc/fstab file.
and what is the output of ls -l /dev/disk/by-uuid
Here are mine (for an example of what I would like to see[
ewaller@odin ~ 1023 %mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1973548k,nr_inodes=493387,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda8 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /tmp type tmpfs (rw)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda9 on /mnt/smalldisk type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda5 on /boot type ext2 (rw,relatime)
/dev/sda2 on /mnt/disk type jfs (rw,relatime)
/dev/sda7 on /home type ext4 (rw,relatime,data=ordered)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=395332k,mode=700,uid=1000,gid=100)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
ewaller@odin ~ 1024 %cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
UUID=1e70da27-41c7-43fc-963b-81bae666b1c6 /home ext4 defaults,user_xattr 0 1
UUID=73796934-070f-4e79-a973-229432222e58 / ext4 defaults 0 1
UUID=9c1fd3af-fd51-4bc5-9b43-d5ae12b47df1 /boot ext2 defaults 0 1
UUID=d4a4aafc-3dcd-4b32-974e-f3b2cb124c64 swap swap defaults 0 0
/dev/sda2 /mnt/disk/ jfs defaults 0 1
/dev/sda9 /mnt/smalldisk vfat defaults,users 0 1
/dev/sda1 /mnt/win7 ntfs defaults,users,noauto 0 1
ewaller@odin ~ 1025 %ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Nov 24 20:07 1e70da27-41c7-43fc-963b-81bae666b1c6 -> ../../sda7
lrwxrwxrwx 1 root root 10 Nov 24 20:07 2DA2DBF1421DA541 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 24 20:07 50e26992-25e2-41c0-9782-88430faaa261 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 24 20:07 567A-7203 -> ../../sda9
lrwxrwxrwx 1 root root 10 Nov 24 20:07 73796934-070f-4e79-a973-229432222e58 -> ../../sda8
lrwxrwxrwx 1 root root 10 Nov 24 20:07 9c1fd3af-fd51-4bc5-9b43-d5ae12b47df1 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 24 20:07 d4a4aafc-3dcd-4b32-974e-f3b2cb124c64 -> ../../sda6
ewaller@odin ~ 1026 %Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
What is the output of mount
Also, please post your /etc/fstab file.
and what is the output of ls -l /dev/disk/by-uuidHere are mine (for an example of what I would like to see)
thanks to your commands i figured out that boot was mounted both to home and to boot :S and also in fstab i rebooted and i got interfaces and all is mounted properly
so now how would i do cleanup and prevention or should i do more tests?
Offline
I suspect that when you tried to update the kernel at some point, your boot partition was not mounted at /boot. What happens then is that files that were supposed to have been written to the boot partition, get written to the /boot directory of your file system. When you mount the boot partition on the /boot directory, the files from the boot partition can be accessed, not the files on the root file system /boot directory.
If you unmount /boot (releasing the boot partition from the mount point), then look in /boot you will be able to see what is in that directory. I bet it is not empty. It probably has a kernel image and and initrd. You can safely remove them -- BUT BE CERTAIN you really did unmount the boot file system. If there are a lot of boot loader and EFI related files in the directory, stop and don't delete things.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1