You are not logged in.

#1 2011-12-11 15:26:03

miky76
Banned
From: Italy
Registered: 2011-10-27
Posts: 137

After upgrade System fail to boot

Hi,

few days ago I did the system upgrade and after reboot i get several errors and the system doesn't boot, the first one in the list is:

FATAL could not load "/lib/modules/3.0-ARCH/modules.dep" no such file or directory

I think the problem is that in my /lib/modules/ dir there is no /3.0-ARCH dir but there is the 3.1.4.1-ARCH and the 3.1 extramodules.

why that? Is this problem coming from the upgrade?

also the network is not recognized
and the RAID disks are not mounted

the only thing I found on internet is this article:

https://bbs.archlinux.org/viewtopic.php?id=129970

but I cannot downgrade because the pkg dir is empty and I cannot connect to internet for get it

can you please help me?

thanks

Offline

#2 2011-12-11 15:36:06

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: After upgrade System fail to boot

I am just guessing, but it seems that mkinitcpio didn't run properly. Unfortunatelly, I don't know how to fix this, but you will probably be able to fix this with an updated arch installation cd and running mkinitcpio through it.

Offline

#3 2011-12-11 15:39:43

miky76
Banned
From: Italy
Registered: 2011-10-27
Posts: 137

Re: After upgrade System fail to boot

I saw here

http://projects.archlinux.org/svntogit/ … ages/linux

that the new version linux 3.1.5-1 is available since few hours, do you think it will solve the problem?

Last edited by miky76 (2011-12-11 15:40:11)

Offline

#4 2011-12-11 15:44:01

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: After upgrade System fail to boot

Updating linux will run mkinitcpio again, so, if this was your problem, it will probably fix it. Hoepfully, someone more experienced will give you more feedback.

Offline

#5 2011-12-11 15:52:09

miky76
Banned
From: Italy
Registered: 2011-10-27
Posts: 137

Re: After upgrade System fail to boot

i thought this to, but I do not know how install it because linux, now, doesn't recognize the network anymore, so i'm isolated.

can I download it from another machine and copy it in the /var/cache/pacman/pkg/ ?

can I after it install it, just with the command

pacman -S /var/cache/pacman/pkg/linux-3.1.5-1 ??

thanks

Offline

#6 2011-12-11 16:21:03

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: After upgrade System fail to boot

Sounds like your /boot partition wasnt' mounted when you did the upgrade. Your'e still booting off the old kernel image.

Offline

#7 2011-12-11 16:36:50

miky76
Banned
From: Italy
Registered: 2011-10-27
Posts: 137

Re: After upgrade System fail to boot

@falconindy

I don't know how it could happen that the /boot wasn't mounted

anyway, what can I do for fix it?
I'm quite new in Linux, and I'm not sure what do

I've commeted out, in fstab the mounting of the raid disks, so now, the OS start, but I still have all the other errors and I can't connect to the network.

Offline

#8 2011-12-11 18:08:01

miky76
Banned
From: Italy
Registered: 2011-10-27
Posts: 137

Re: After upgrade System fail to boot

if I run this command will it re-generate the image?

# mkinitcpio -p linux

Offline

#9 2011-12-11 18:12:44

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: After upgrade System fail to boot

miky76 wrote:

if I run this command will it re-generate the image?

# mkinitcpio -p linux

Yes... but that isn't going to solve your problem. You need to either rescue the kernel image from underneath your /boot partition (on the real root) or mount your install from a liveCD and reinstall the kernel package.

Offline

#10 2011-12-11 18:52:37

miky76
Banned
From: Italy
Registered: 2011-10-27
Posts: 137

Re: After upgrade System fail to boot

I'm not sure what do you mean with

You need to either rescue the kernel image from underneath your /boot partition

if I go in /boot dir, it's not empty and I see:

- grub directory
- initramfs-linux-fallback.img
- initramfs-linux.img
- vmlinuz-linux

are the 2 .img files the images you are referring to?

Offline

#11 2011-12-11 19:01:15

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: After upgrade System fail to boot

vmlinuz-linux in particular, if you're looking at the file with /boot unmounted. Use the 'file' utility to check the version of the kernel.

Offline

#12 2011-12-11 20:27:35

miky76
Banned
From: Italy
Registered: 2011-10-27
Posts: 137

Re: After upgrade System fail to boot

I found something maybe useful...

in the dmesg I found that the boot disk is loaded as sdc but, I'm sure it was sda before the upgrade.

in the menu.lst there is

- title Arch lunix [/boot/vmlinuz.linux]
- root (hd0,0)
- kernel /vmlinuz-linuz root=/dev/sda3 ro
- initrd /initramfs-linux.img

do you think that changing something in this I can have back my boot partition?

Offline

Board footer

Powered by FluxBB