DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I'm runny Debian Testing (Squeeze) and have been for years. Since linux-image-2.6.30-686 has now trickled down to Squeeze, I thought it was time to upgrade from 2.6.26. I installed linux-image-2.6.30-1-686 (keeping my old kernel of course ) and rebooted. The new kernel will not boot and complains about not finding /dev/hda1 . Checking /boot/grub/menu.lst I see that the entries for both kernel (2.6.30 and 2.6.26) are configured identically. 2.6.26 boots with no problems and instantly finds /dev/hda1 (my hard drive) as did every kernel going back to the 2.4 days. This is the first time I've had this problem and as I said, 2.6.26 still boots flawlessly so it's not a hardware issue. Has there been a change in how to configure the kernel entries in grub or anything else which would account for this problem?
TIA,
jdk
and rebooted. No errors until it got to looking for the root filesystem and it just hung there. I can't seem to find either /dev/sda1 or /dev/hda1.
cheers,
jdk
More information:
Bootup hangs for a while at Begin: Waiting for root file system. Eventually that times out and it takes me into a Busybox shell.
Code:
cat /proc/cmdline
yields the correct result
Code:
root=/dev/sda1 ro
If I do
Code:
ls /dev
it shows no /dev/hd* and no /dev/sd* at all. Not even my 2 CD/DVD drives show up. There are a whole bunch of usb.xxx devices but nothing that has a filesystem on it. At this point my guess is that it's a udev problem in 2.6.30
I have no idea what to do now other than file a bug report.
cheers,
jdk
Yes, but it never gets that far. When I modified fstab changing /dev/hda1 to /dev/sda1 and ditto for hda5 (the swap partition) it hung up where mentioned above. I then rebooted normally into 2.6.26 and /etc/fstab was left as is. In spite of this the boot proceeded normally. My conclusion is that what is in fstab is not crucial to this problem.
Interestingly, after bootup I got a popup window saying that a device /dev/sda1 (based on fstab from the 2.6.30 attempt) had been found and what did I want to do. I would guess that in 2.6.26 I could use either /dev/sda1 or /dev/hda1 (what I do use) without any problems.
cheers,
jdk
Instead of using /dev/hda or /dev/sda you could try using uuid.
If you run blkid as root this will give you the relevant info.
Here's an example from mine:
Instead of using /dev/hda or /dev/sda you could try using uuid.
If you run blkid as root this will give you the relevant info.
Here's an example from mine:
aarrgghh! Disaster! It didn't like that at all. Kernel Panic!
Contents of blkid:
Result?
/init: line 196 syntax error 0x27569...9bbe4
Kernel Panic not syncing Attempted to kill init!
or words to that effect.
Back to the drawing board
thanks though,
jdk
?
as said: im not too sure bout the syntax... looks like voodoo to me, so you might run in the next kernel-panic.
I searched for the exact syntax, but for the life of me i cant find it no-where. The way above (root=UUID=verylongnumber) is from my fresh squeeze install (with a 30-kernel). Im not sure its by-id or by-whatever.
Thanks all,
Someone (on another forum) suggested I try booting from a Sidux 2009-2 live CD. It uses the 2.6.30 kernel. If it boots ok, then I can copy the configuration onto my Squeeze box. (no pun intended).
Some suggestions have involved editing the fstab file. I'm a bit worried about that. If getting it wrong can result in the inability to boot, then if I modify it and I still can't get 2.6.30 to boot, how do I get back to my (currently) working 2.6.26 system?
thanks,
jdk
whenever i edit such files i first copy them over to my users home-directory, top-level, so i`m able to find it. If things bork i simpy copy them back to /etc and all is as bad as it has been before. Same procedure again. :-)
besides that i copied the complete /etc/ over to /root
(its only a few MB).
(i dont think taking the sidux-fstab will work, but its worth a try and wont hurt).
Thanks all,
Someone (on another forum) suggested I try booting from a Sidux 2009-2 live CD. It uses the 2.6.30 kernel. If it boots ok, then I can copy the configuration onto my Squeeze box. (no pun intended).
Some suggestions have involved editing the fstab file. I'm a bit worried about that. If getting it wrong can result in the inability to boot, then if I modify it and I still can't get 2.6.30 to boot, how do I get back to my (currently) working 2.6.26 system?
thanks,
jdk
I know Sidux and Ubuntu kernels have been using SDA instead of HDA for a while, and it seems the Debian kernel has started doing this recently too. I would think changing the fstab and grub from HDA to SDA should fix your problem.
If you still can't boot into 2.6.30 grub should still have an entry for your 2.6.26 kernel.
?
as said: im not too sure bout the syntax... looks like voodoo to me, so you might run in the next kernel-panic.
I searched for the exact syntax, but for the life of me i cant find it no-where. The way above (root=UUID=verylongnumber) is from my fresh squeeze install (with a 30-kernel). Im not sure its by-id or by-whatever.
good luck and greetings
That's right.
My fault for giving the wrong info.
I'd definitely try the way j1alu has shown.
Edit:Better modify my original post also!.
Last edited by the trooper; 09-11-2009 at 11:57 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.