You are not logged in.
Hi,
There is a problem:
After upgrade my computer, it say:
/dev/sda6 is mounted. e2fsck: Cannot continue, aborting.
Filesystem check failed.
My sda6 is mounted in /usr.
I follow this page "http://mailman.archlinux.org/pipermail/ … 24124.html" add fsck and shutdown in mkinitcpio.conf.
And now it is ```HOOKS="base udev fsck autodetect pata scsi sata filesystems usbinput shutdown" ```
But when I reboot it, it still say /dev/sda6 is mounted. e2fsck: Cannot continue, aborting.
What's wrong with me?
Thank you,
madper
China, Beijing
Offline
Because you didn't recreate your initramfs images after changing the config.
Thanks for your reply!
Did you mean using "mkinitcpio -p linux"?
After I run this command, it say:
/usr/bin/mkinitcpio: line 95: /usr/bin/file: Permission denied
Error: invalid kernel specifier: `/boot/vmlinuz-linux'
Will you tell me how to fix it?
Thank you again!
---madper from Beijing, China
Offline
better
pacman -S --needed linuxThat will recreate the initramfs correctly
do it good first, it will be faster than do it twice the saint ![]()
Offline
Offline
Moderator:
Madper: Welcome to Arch Linux. Please review the rules and do not crosspost
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
better
pacman -S --needed linuxThat will recreate the initramfs correctly
Thank you.
When I use ~~~ pacman -S --needed linux~~~ it say : "warning: linux-3.2.2-1 is up to date -- skipping there is nothing to do"
It will be same by using "pacman -Sf --needed linux"
madper
Offline
It will also do the exact same thing as calling 'mkinitcpio -p linux' directly...
Reinstall the 'file' package first, I suppose.
Thank you very much, sir.
I reinstall the file package but the "find" package also say "Permission denied". I try to use ~chmod a+x /usr/bin/find~ and then it say: "cannot execute binary file". Just the same with "file" package. And I can't use pacman reinstall it. (I can't connect to internet since I use pppoe but it can't work now.)
Is there some wrong with my /usr or all of my package? And how to fix it?
Offline
That's so strange. It seems you don't have permissions to do anything on that installation.
Make sure you're in as root.
Otherwise, better to prepare for a new installation.
do it good first, it will be faster than do it twice the saint ![]()
Offline
falconindy wrote:It will also do the exact same thing as calling 'mkinitcpio -p linux' directly...
Reinstall the 'file' package first, I suppose.
Thank you very much, sir.
I reinstall the file package but the "find" package also say "Permission denied". I try to use ~chmod a+x /usr/bin/find~ and then it say: "cannot execute binary file". Just the same with "file" package. And I can't use pacman reinstall it. (I can't connect to internet since I use pppoe but it can't work now.)
Is there some wrong with my /usr or all of my package? And how to fix it?
Have you remembered to remount the root partition read-write ?
Offline
After I run this command, it say:
/usr/bin/mkinitcpio: line 95: /usr/bin/file: Permission denied
Error: invalid kernel specifier: `/boot/vmlinuz-linux'
Since fsck failed at boot, I assume you logged in as root?
If so, you'll likely have partitions that may not be mounted. Ergo, limited functionality until you mount things manually.
To check, what's output of:
cat /etc/mtab
versus
cat /etc/fstab
?
Assuming the rest of your system can boot properly, edit /boot/grub/menu.lst:
kernel ... ... fastboot 3
to get around fsck temporarily.
--------------------------The only wasted day is one in which you learn nothing.--------------------------
Offline