Re: Uh-Oh - boot problem
On 3 Jan 2004 , > wrote: > My Debian system won't boot. Kernel panic after a > bunch of attempts to load modules. > > I think it is because apt-get upgraded my kernel, > but I forgot to run lilo. Thanks to Tom and John on lvlug and Arnt and Kevin on debian- user I got the system working. A Mepis boot CD (I had the ISO around from previous experimentations) helped immensely as well. The key seemed to be some kind of filesystem problem as I didn't make progress until I ran fsck from Mepis. I reverted to the 2.4.22 kernel image, removed the 2.4.23 image and then reinstalled it using synaptic. The apt tools do run lilo unless you tell them not to, but even then lilo should have been able to boot the 2.4.22 kernel. Now, on to messing things up with my own kernels :) Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Uh-Oh - boot problem
On Sat, 3 Jan 2004 21:44:46 -0500, Kevin Mark <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > On Sat, Jan 03, 2004 at 05:35:56PM -0800, Chris Cothrun wrote: > > Hi, > > > > My sid system won't boot. Kernel panic after a > > bunch of attempts to load modules. > > > > Output is something like: > > modprobe can't open dependancies file /lib/modules > > mount: you must specify filesystem type > > pivot_root: no such file or directory > > /sbin/init: cannot open /dev/console: no such file > > attempted to kill init > > kernel panic > > > > I think it is because apt-get upgraded my kernel, > > but I forgot to run lilo. Would that do it? > > > > I've got the Debian Woody install disk and I've > > tried booting my partitions from that but no luck, > > I get a kernel panic (but not the long list of > > module loading attempts). > > > > I can boot the install CD and get a console, any > > pointers on fixing things from here? I think I can > > mount the partition and then run lilo, right? > > Hi Chris, > kernels are not deleted automatically. So, if you install another one, > it is there still. If you have a GOOD LILO.CONF, the this will work. > 1) get Knoppix > 2) boot knoppix > 3) go to a console (with ctrl-alt-fn1) or using the knoppix menu > 4) mount the root parition from your HD (mount /dev/hda1 /mnt) ...as in:' mount -v -o,rw /dev/hda1 /mnt '... > where hda1 is the location of your root. > 5) chroot /mnt ...as in:' chroot /mnt /bin/bash ', or whatever shell you prefer. > 6) lilo -v > assuming lilo runs it will re-install lilo and when you reboot > everything works. ..before playing with more disks, or if you need to scp the disk image or whatever;' mount -v -t proc /proc proc ', but do remember to ' umount -v /proc ', or ugly things happen. > 7) just to be safe, also run 'mkboot' this will prompt you for a > floppy and will make a 'boot disk' incase lilo doesnt install ok on > the HD-Kev > > > > > Trying the above, I've gone to the console and run > > e2fsck /dev/hda2, it listed a couple of inodes and > > then reported everything OK. After that I'm able to > > mount /dev/hda2 (root) but lilo complains about > > libc5.so (GLIBC_2.3 not found). -- ..med vennlig hilsen = with Kind Regards from Arnt... ;-) ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Uh-Oh - boot problem
On Sat, Jan 03, 2004 at 05:35:56PM -0800, Chris Cothrun wrote: > Hi, > > My sid system won't boot. Kernel panic after a > bunch of attempts to load modules. > > Output is something like: > modprobe can't open dependancies file /lib/modules > mount: you must specify filesystem type > pivot_root: no such file or directory > /sbin/init: cannot open /dev/console: no such file > attempted to kill init > kernel panic > > I think it is because apt-get upgraded my kernel, > but I forgot to run lilo. Would that do it? > > I've got the Debian Woody install disk and I've > tried booting my partitions from that but no luck, > I get a kernel panic (but not the long list of > module loading attempts). > > I can boot the install CD and get a console, any > pointers on fixing things from here? I think I can > mount the partition and then run lilo, right? Hi Chris, kernels are not deleted automatically. So, if you install another one, it is there still. If you have a GOOD LILO.CONF, the this will work. 1) get Knoppix 2) boot knoppix 3) go to a console (with ctrl-alt-fn1) or using the knoppix menu 4) mount the root parition from your HD (mount /dev/hda1 /mnt) where hda1 is the location of your root. 5) chroot /mnt 6) lilo -v assuming lilo runs it will re-install lilo and when you reboot everything works. 7) just to be safe, also run 'mkboot' this will prompt you for a floppy and will make a 'boot disk' incase lilo doesnt install ok on the HD -Kev > > Trying the above, I've gone to the console and run > e2fsck /dev/hda2, it listed a couple of inodes and > then reported everything OK. After that I'm able to > mount /dev/hda2 (root) but lilo complains about > libc5.so (GLIBC_2.3 not found). > > TIA! > > Chris > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] signature.asc Description: Digital signature
Uh-Oh - boot problem
Hi, My sid system won't boot. Kernel panic after a bunch of attempts to load modules. Output is something like: modprobe can't open dependancies file /lib/modules mount: you must specify filesystem type pivot_root: no such file or directory /sbin/init: cannot open /dev/console: no such file attempted to kill init kernel panic I think it is because apt-get upgraded my kernel, but I forgot to run lilo. Would that do it? I've got the Debian Woody install disk and I've tried booting my partitions from that but no luck, I get a kernel panic (but not the long list of module loading attempts). I can boot the install CD and get a console, any pointers on fixing things from here? I think I can mount the partition and then run lilo, right? Trying the above, I've gone to the console and run e2fsck /dev/hda2, it listed a couple of inodes and then reported everything OK. After that I'm able to mount /dev/hda2 (root) but lilo complains about libc5.so (GLIBC_2.3 not found). TIA! Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]