Re: urgent :( winxp reinstallation made sarge kernel panic...help please
Prakash Jose Kokkatt <[email protected]> Mon, 5 Dec 2005 07:14:47 +0530
| Newsgroups | gmane.org.region.india.fsug-kochi |
|---|---|
| Message-ID | <[email protected]> |
Yes.I have Ubuntu breezy and RHEL4 AS and M$ OS also.anoop alias i already told i recovered grub.this is weird thing as the kernel is searching for non existing partn for root while i edited /etc/fstab and corrected to / as /dev/sda8 /boot as /dev/sda9.also grub menu.lst.since after this also kernel panics.. this time i need to mention about my sarge; been a 'mixed' one as it is updated manually to latest glibc and udev etc from unstable distro's repository.since udev >0.76 needs hotplug to be removed i did the same and i must confess i dont know anything about these packages..any way luckily i have another kernel(default 2.6.8smp) through which i booted and removed,reinstalled linux-image-2.6.14,,,smp and other dependent packages afterwards i rebooted and entered 2.6.14smp..now its working fine.onlythingis if u reinstall XP and partition number changes.sarge with 2.6.14kernel fails..i doubt it may have to do with udev package.will someone explain about udev configuration../files.Thank You All. On 12/4/05, Anoop Alias <[email protected]> wrote: > > As you have recovered from bootloader > At the boot prompt type C for grub command line > Now identify the root for grub (this is whr the kernel and initrd > images reside...that is if if ur having /dev/hda1 as /boot > partition...your root will be (hd0,0) ) in grub syntax > root (hd0,0) ........u can use tab to auto complete > > Now u have tell grub about the kernel image is ! > in the above setup it will be > kernel (hd0,0)/ .............press tab and u will see the > files inside ,fill it with the kernel image name > > Next you will have to pass the location of root file system to > kernel..and kernel will take it in /dev/hd? format > MAKE SURE YOU DO IT CORRECTLY..as kernel will search for init in this > root only ie /sbin/init > so the entire line will be > kernel (hd0,0)/vmlinuz......... root=/dev/hda? > now tell grub where initrd is ..in same format > initrd (hd0,0)/ini.................pressing tab will auto complete > -------------------------------------------------------------- > Make sure you change the (hd0,?) and /dev/hd? to whatever is ur setup > > type boot at the command prompt and u must boot > if everythings working fine change ur grub.conf accordingly! > ----------------------------------------------------------------- > Now if thr is some problem with init! (if ur damn sure u choose the > root partition correctly!) > try substituting init with a shell > give a kernel argument like init=/bin/bash > if u had chosen / correctly u will be dropped into a shell > ---------------------------------------------------------------------- > HAPPY RECOVERY! > > _______________________________________________ > FSUG-Kochi-Discuss mailing list > FSUG-Kochi-Discuss-8H24Gfgyrqprzt3WPRo2bV6hYfS7NtTn@public.gmane.org > http://puggy.symonds.net/cgi-bin/mailman/listinfo/fsug-kochi-discuss > _______________________________________________ FSUG-Kochi-Discuss mailing list FSUG-Kochi-Discuss-8H24Gfgyrqprzt3WPRo2bV6hYfS7NtTn@public.gmane.org http://puggy.symonds.net/cgi-bin/mailman/listinfo/fsug-kochi-discuss