You are not logged in.
Pages: 1
Hi,
I have been getting a filesystem check error since yesterday now and am unable to start Arch. Upon googling and searching the arch fora, I came upon some advice which I tried which has not worked yet. Hence the new post...
Basically, I was attempting to print something off and accidentally chose a printer that was not connected to my laptop. After half a minute or so, it repeatedly started giving me notifications that the printer was not connected...in excess of 200 messages that the printer was not working which continued to pop up despite me canceling the print job. The whole system got really sluggish (for the first time in the last year) and I had to restart the laptop upon which the boot messages appear.
It gets to the point where its loading the various filesystems. It mounts root and says it fine. Then it says
/dv/sda3: clean, 171642/915712 files, 1837167/3662820 blocks
/dev/sda2 is mounted. /dev/sda5 is mounted.
Filesystem check failed.
Please repair manually and reboot. Note that the root file system is currently mounted readonly. To remount it read-write type: mount -n -o remount ,rw /
When you exit the maintenance shell the system will reboot automatically.
In my system,
/dev/sda3 is root
/dev/sda2 is boot
/dev/sda5 is home
I tried fsck which tells me that home and boot are still mounted.
So I booted up using an Ubuntu Live CD and checked and repaired each file system which it successfully did. Upon rebooting into Arch, I am getting the same message.
I have not installed anything new and had upgraded the whole system a few days before the problem started.
Not sure where to go from here.
Any help, please
Thanks
Samsom
Last edited by samsom (2010-01-24 22:42:41)
Samsom
Offline
Try running fsck in the maintenence shell.
How's my programming? Call 1-800-DEV-NULL
Offline
Try running fsck in the maintenence shell.
I did. But it keeps telling me that /dev/sda2 and /dev/sda5 are mounted. Do you want to proceed? ...May cause severe damage if run on a mounted system.
When I try to unmount the partitions. It just says
umount: /dev/sda5: not mounted
Not sure what this means, but when i run fsck after this, I get the same warning.
Samsom
Samsom
Offline
Use a live CD
I have used a live CD. Managed to unmount all the partitions and check and repair them successfully ( according to Gparted anyway).
Still no success.....
Samsom
Offline
I had this problem a while ago. Repairing from the shell was successful (according to fsck) but Arch still failed with the same fsck error. The same happened with fsck from a live cd. Running check from GParted did fix it though, strangely.
Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64
Offline
Hi,
I have tried using an Ubuntu Live CD again and checked and repaired root, home and boot partitions.
I can mount all the partitions while using the Live CD. I have to log in as root to access my Arch Home folder...I am not sure why. As I can access my Arch Root folder without logging in as root.
I still cannot run fsck on the home and boot folder. When I run fsck, I get the message that the partition is mounted and I risk damage to the filesystem. When I try to unmount the home or boot partition, I get the messages
umount /dev/sda5: not mounted
I have rechecked my /etc/fstab file and it seems to be OK.
Also, when I run fsck from the Live CD, the filesystems seem OK. So why would it say in Arch, that its failing the check?
Is it possible to boot my Arch system without the filesystem check?
Samsom
Samsom
Offline
Have you tried running GParted from the Ubuntu live cd?
Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64
Offline
Have you tried running GParted from the Ubuntu live cd?
Yup. And Gparted says that the filesystems are fine.
I am having to use Windows XP now
Samsom
Offline
Fixed the problem.
The /dev/sda2 and /dev/sda5 were being mounted in the wrong place.
Instead of being mounted in /home and /boot as per /etc/fstab, they were being mounted in new directories in /media called /media/usbhd-sda2 and /media/usbhd-sda5. Upon deleting those folders, everything has gone back to normal.
I have no idea how those new folders got created...but problem solved now.
Thanks for the help, guys
Samsom
Samsom
Offline
Glad you got is sorted. I had a mysterious /media/usbhd-sda? folder appear as well. Also, recently, my IDE drive changed from sdb to hda and my dvd drives changed to hdc and hdd! Don't know what the change was (udev?) but the trays won't stay out as well.
Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64
Offline
Fixed the problem.
The /dev/sda2 and /dev/sda5 were being mounted in the wrong place.
Instead of being mounted in /home and /boot as per /etc/fstab, they were being mounted in new directories in /media called /media/usbhd-sda2 and /media/usbhd-sda5. Upon deleting those folders, everything has gone back to normal.
I have no idea how those new folders got created...but problem solved now.Thanks for the help, guys
Samsom
The problem in udev that do automount to filesystems that he find.
The config laying in /etc/udev/rules.d <--- there is some file with extention *.rules
The first string in the file is "KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end"
Mostly main fs mounted from device /dev/sda... to make udev ignore /dev/sda just change the string to:
"KERNEL!="sd[b-z][0-9]", GOTO="media_by_label_auto_mount_end
If you have more that two physical hdds sdb\sdc\sdd make the changes in config.
That help me to solve the same problem that samson had.
Last edited by m4h (2010-02-01 16:00:00)
Offline
I think I've run into a similar problem as you samson.
can you explain in more detail how you were able to fix this?
when I'm logged into root, there isn't much filesytem to work with, just some basic .bashrc folders and such. how were you able to access your /media partitions?
Thanks in advance.
Offline
when I'm logged into root, there isn't much filesytem to work with, just some basic .bashrc folders and such. how were you able to access your /media partitions?
Thanks in advance.
I am assuming that you have used a Live CD and checked all your filesystems.
How come you don't have any filesystem under root? Are you checking from withins roots home folder as opposed to root itself?
So when you cd to / and then ls -a , do you not get the whole filesystem with all the home, var, bin, etc, media...... folders?
Samsom
Samsom
Offline
I ended up trying out Knoppix, which allowed me to delete those usbhd-1 folders. Upon restart, everything was back to normal.
Yay!
Offline
This happened to me this morning after an udev update!!!!!
I booted a livecd and fsck reported all ok.
I'll try to delete those folders
Offline
It worked!!!!!!!!
Deleted those usb-hdd* folders and arch booted again
Offline
I also had/still have the usbhdd folders and when I tried to delete one of them I noticed my hdd was making noise so figured out it was actually erasing data from it
Now grub fails to boot because it lost some critical file, any suggestion to avoid a full system re-install? :\
edit: Im also clueless about how to use LiveCD to perform a fsck on my disks
Last edited by Grimn (2011-05-30 18:52:09)
Offline
That's unfortunate. Next time check a folder's contents before you go ahead and delete it.
Do you have a separate /boot partition ? Maybe it was mounted and you accidentally erased GRUB along with all the config files.
To do an fsck from a LiveCD (which can also be a USB stick), run blkid or (sudo) fdisk -l to find out what the heck you want to "fsck" and then run fsck /dev/sdb3
PS: You should open up a new topic, because this one has the SOLVED tag, meaning people will generally not bother since the OP found a solution.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Pages: 1