You are not logged in.
Pages: 1
Hello, well I have a problem as a few minutes ago i ran pacman -Syu and it updated the linux kernel. Now whenever i boot, after starting udev it prints a really long file paths then says no such file or directory. Isnt there anything i can do to fix this without reinstalling my system?
Offline
A bit more info wouldn't hurt. My physic abilities aren't all that optimal today.
- Which packages were upgraded?
- What is the exact udev error that's being displayed when booting?
Last edited by Gcool (2012-02-16 11:23:34)
Burninate!
Offline
Ok sorry, ill just boot arch and report back hang on
Offline
Ok, this might not be very accurate cause i just had to write it down and now type it up, but it boots normally up until:
Starting udevd
done.
Udevd[68]:open(/lib/modules/3.2.6-1ARCH/modules.dep.bin, 0_RDONLY|0_CLOEXEC):
No such file or directory
::Running Hook [udev]
::Triggering uevents...done
Waiting 10 seconds for /dev/sda6
ERROR: Unable to find root device '/dev/sda6'. You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: Can't access tty; job control turned off
And then I am brought to some kind of shell but i can't type.
As I said I had to write that down and type it up so it isnt very accurate. There were infact two packages updated, the first one was linux, I think the version was 3.2.6 and I'm not sure what the other was, could have been pciutils
Thanks.
[EDIT]
I have no testing repos active
Last edited by archnewby (2012-02-16 11:44:09)
Offline
Ok, I see kernel 3.2.6-1-ARCH has been released. Most likely some kernel modules didn't get built correctly during your update. Try booting from a livecd (Arch or anything else you have lying around), mount the root partition and reinstall the kernel (pacman -S linux).
Burninate!
Offline
OK, ill try that thanks
Offline
[from the arch cd]
mkdir /mnt/arch
mount /dev/sda6 /mnt/arch
cd /mnt/arch
chroot . /bin/bash
pacman -S linux
Total installed size: 55MiB
Net Upgrade Size: -2.75MiB
proceed with installation? (Y/n)Y
Checking package intergrity
loading package files
checking package files
error: could not determine filesystem mountpoints
error: not enough disk space
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded
hm hm looks like i am doing something wrong
[EDIT]
ill try again following https://wiki.archlinux.org/index.php/Chroot
Last edited by archnewby (2012-02-16 12:20:24)
Offline
My bad. It's a kernel install, so you'll need to mount /boot as well (assuming you have a separate boot partition).
Last edited by Gcool (2012-02-16 12:30:06)
Burninate!
Offline
[EDIT]
Thanks!
Last edited by archnewby (2012-02-16 12:37:59)
Offline
I actually had the same problem this week and this was the solutuion.
Note:
If that did it for you, please mark this thread's title as "[SOLVED]". It helps others who come across this in a search at a later time.
Offline
so mad...cant fix this one, getting exact same error. can you guys guide me through?? thanks
Offline
ERROR: Unable to find root device '/dev/sda6'.
If you replaced the kernel and still are getting this error, try switching the meathod used for informing the kernel of the root partition. This is done with the kernel line in GRUB. In my experience, using UUIDs is one of the most dependable and least problematic ways to go. It's actually the only way I can get Arch to boot on some hardwares.
https://wiki.archlinux.org/index.php/Pe … ice_naming
Last edited by Avant-texte (2012-02-17 06:22:56)
Offline
so mad...cant fix this one, getting exact same error. can you guys guide me through?? thanks
Burninate!
Offline
Okay here's a solution, udev hook was not found by the linux-3.2.6 kernel; installing udev again worked for me arch x64 after chrooting to my linux partition:
Gain filesystem access just as we do for 'grub' restore, i.e., boot from cd
mkdir /mnt/arch
partition=$(fdisk -l |grep Linux|cut -f1 -d ' ')
mount $partition /mnt/arch ; #replace $partition with /dev/sdxy with your partition
cd /mnt/arch
mount -o bind /dev dev/
mount -t proc proc proc/
mount -t sysfs sys sys/
chroot . /bin/bash ; #there is a space around dot
grep -v rootfs /proc/mounts > /etc/mtab
Now for the fix:
cd /var/cache/pacman/pkg
pacman -U linux-3.2.6-2*.xz; #this may give hook udev not found error
pacman -U udev-181-2*.xz ; #or whichever is newer there
pacman -U linux-3.2.6-2*.xz; # reinstall hopefully no hook udev not found error will be there
reboot; #we are done.
thanks.
Last edited by fast_rizwaan (2012-02-18 11:36:22)
Offline
Pages: 1