You are not logged in.

#1 2012-02-16 10:54:28

archnewby
Member
Registered: 2011-10-19
Posts: 29

System wont boot after -Syu

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

#2 2012-02-16 11:23:22

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: System wont boot after -Syu

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

#3 2012-02-16 11:24:25

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: System wont boot after -Syu

Ok sorry, ill just boot arch and report back hang on

Offline

#4 2012-02-16 11:42:13

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: System wont boot after -Syu

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

#5 2012-02-16 11:55:09

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: System wont boot after -Syu

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

#6 2012-02-16 11:59:30

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: System wont boot after -Syu

OK, ill try that thanks

Offline

#7 2012-02-16 12:14:35

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: System wont boot after -Syu

[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

#8 2012-02-16 12:29:43

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: System wont boot after -Syu

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

#9 2012-02-16 12:36:43

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: System wont boot after -Syu

[EDIT]

Thanks!

Last edited by archnewby (2012-02-16 12:37:59)

Offline

#10 2012-02-16 16:28:48

Avant-texte
Member
Registered: 2012-02-13
Posts: 136

Re: System wont boot after -Syu

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

#11 2012-02-17 02:50:08

greenpoise
Member
Registered: 2011-05-29
Posts: 5

Re: System wont boot after -Syu

so mad...cant fix this one, getting exact same error. can you guys guide me through??  thanks

Offline

#12 2012-02-17 06:19:55

Avant-texte
Member
Registered: 2012-02-13
Posts: 136

Re: System wont boot after -Syu

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

#13 2012-02-17 06:27:06

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: System wont boot after -Syu

greenpoise wrote:

so mad...cant fix this one, getting exact same error. can you guys guide me through??  thanks

https://wiki.archlinux.org/index.php/Ke … all_kernel


Burninate!

Offline

#14 2012-02-18 11:30:09

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: System wont boot after -Syu

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

Board footer

Powered by FluxBB