You are not logged in.

#1 2009-02-16 09:54:13

kingheaven
Member
From: China
Registered: 2009-02-13
Posts: 17
Website

A kernel 2.6.28 boot problem

Hey , Guys

I just installed kernel 2.6.28 ten minutes agao , using command : sudo pacman -S nvidia , it recommended me to install kernel 2.6.28 , so I said , yes . but when it's done and I rebooted , i can't get into my arch , the error is /dev/sda4 does not exist , well , I remembered my root device is /dev/sda3 , but it changed to /dev/sda4 , the wirest thing is , whatever i changed that to /dev/sda3 or /dev/sda4 , it always said that device doesn't exist . And I don't know why .

Please help me with this , I can't even get into the system now , whenever i boot , it took me the ramfs , and I don't know how to do with that .
Thanks , Guys.


Archlinux is the best choice for using linux !!!

Offline

#2 2009-02-16 12:12:38

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: A kernel 2.6.28 boot problem

Try setting it to hda3. Yes, I know, weird suggestion, but if it gets you past the initramfs prompt you'll need to reconfigure mkinitcpio.conf (not hard to do). It's just an idea.

Last edited by dav7 (2009-02-16 12:13:26)


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#3 2009-02-17 00:52:51

kingheaven
Member
From: China
Registered: 2009-02-13
Posts: 17
Website

Re: A kernel 2.6.28 boot problem

I've tried hda3 , but I've got the same problem .
I noticed that you mentioned mkinitcpio.conf , but I can't boot into the system , how can I edit that file ?

Please teach me how to do that , Thanks .


Archlinux is the best choice for using linux !!!

Offline

#4 2009-02-17 01:02:10

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: A kernel 2.6.28 boot problem

With a rescue CD. The Arch install CD would work.

Offline

#5 2009-02-17 01:48:35

kingheaven
Member
From: China
Registered: 2009-02-13
Posts: 17
Website

Re: A kernel 2.6.28 boot problem

Now I can boot from an installation disk , and ran the commands below :

mkdir /mnt/my
mount -t auto /dev/sda4 /mnt/my
mount -t proc proc /mnt/my/proc
mount -t sysfs sys /mnt/my/sys
mount -o bind /dev /mnt/my/dev
chroot /mnt/my /bin/bash

but when I used mkinitcpio -k 2.6.27-ARCH , I can't get a 2.6.27 kernel , So I tried to download it from network . I used pacman -Sy kernel26 , howere , what I download and installed is 2.6.28 , not 2.6.27 .

So I have got 2 questions here :
1. Can kernel 2.6.28 work well with my machine , if so , how can i configure it to fit the machine ?
2. If kernel 2.6.28 deosn't work well , how can I downgrade to 2.6.27 ?

Last edited by kingheaven (2009-02-17 01:49:05)


Archlinux is the best choice for using linux !!!

Offline

#6 2009-02-17 02:13:05

Maggie34
Member
From: Poland/Austria
Registered: 2009-02-17
Posts: 4

Re: A kernel 2.6.28 boot problem

Hi
I have also this problem with new kernel.

Root device '/dev/sda1' doesn't exist, attempting to create it
ERROR: Failed to parse block device name for 'dev/sda1'
ERROR: Unable to create/detect root device '/dev/sda1'
Dropping to a recovery shell... type 'exit' to reboot
NOTE: klibc contains no 'ls' binary, use 'echo *' instead

@ kingheaven
http://wiki.archlinux.org/index.php/Kernel_panic


Root be or not be smile

Offline

#7 2009-02-17 02:48:10

kingheaven
Member
From: China
Registered: 2009-02-13
Posts: 17
Website

Re: A kernel 2.6.28 boot problem

I've tried ten of thunsands of methods .
I reinstalled kernel 2.6.25 from my 200806-core.iso , but it said glibe requires kernel 2.6.27-6, so I intalled that , and reinstall kernel 2.6.25 , got the same error.
So I reinstall kernel 2.6.28 , still can't get into the sys , did I miss something ?

Can anybody help me ? I am definitely sure it's kernel's problem and the system is ok , Also , I have some important information in mysql , so I can't reinstall arch.


Archlinux is the best choice for using linux !!!

Offline

#8 2009-02-17 03:39:05

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: A kernel 2.6.28 boot problem

Couldn't you just chroot in from the LiveCD(after mounting appropriately) and do a Pacman -S kernel26?

Offline

#9 2009-02-17 04:41:50

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: A kernel 2.6.28 boot problem

I would definitely focus on getting 2.6.28 to work. Anything else is not a long-term solution. At worst it's a kernel bug that needs to be fixed, but if you're now having the problem across releases...

Are sure the kernel was the only thing that was updated before the reboot where everything went bad? Did you try the fallback kernel? Does your fstab use UUIDs, or are you setting it to a /dev/whatever? Check the dmesg log, too.

Offline

#10 2009-02-17 16:43:20

Maggie34
Member
From: Poland/Austria
Registered: 2009-02-17
Posts: 4

Re: A kernel 2.6.28 boot problem

Ranguvar wrote:

Are sure the kernel was the only thing that was updated before the reboot where everything went bad? Did you try the fallback kernel?

Hi
   
Yes, only kernel was updated. And fallback kernel doesn't work too.
My fstab:

UUID=239fae1c-b6e0-4f63-89eb-cdac1b8c9d6b /home ext3 defaults 0 1
UUID=81ed8ccc-3938-4d29-a115-507534d107e6 swap swap defaults 0 0
UUID=f53df57c-df2d-4926-9f42-6591bc014f60 / ext3 defaults 0 1

I've written a bug report: http://bugs.archlinux.org/task/13340?pr … advanced=1

Last edited by Maggie34 (2009-02-17 16:45:56)


Root be or not be smile

Offline

#11 2009-02-18 02:00:21

kingheaven
Member
From: China
Registered: 2009-02-13
Posts: 17
Website

Re: A kernel 2.6.28 boot problem

Hi All,
I have resolved this problem.
What I did to fix this is to chroot to my system , and run

pacman -Suv

to do a full update of system , and then run

pacman -Sf kernel26

to generate a new kernel , then , it worked ~

I guess the problem for this is I just upgrated the kernel but not the module or drivers , so the kernel can't recognize my /dev/sda , when I got a -Suv , everything worked perfectly now ~

Last edited by kingheaven (2009-02-18 02:00:57)


Archlinux is the best choice for using linux !!!

Offline

Board footer

Powered by FluxBB