[Solved] Re: boot problem with new kernel (was: Re: [SLUG] wireless card problem)

From: Tevfik Yücek (yucek@eng.usf.edu)
Date: Thu Jul 15 2004 - 11:34:32 EDT


On Wed, Jul 14, 2004 at 05:48:28PM -0400, Tevfik Yücek wrote:
> Hi all,
>
> I screwed the stuff in the first step.
>
> I compiled the new kernel, copied the image to /boot/ directory and
> updated lilo.cnf and run lilo. However, I commented out the part for
> old kernel image. Now I have two options in the startup, my windoze
> partition and new kernel. When I tried to boot with new kernel I get
> the following error:
>
> Kernel panic: VFS: unable to mount root fs on hda1
>
> I just copied the part in lilo.conf and changed the image= part.
> Anyway, is there a way to reboot my computer with old kernel and
> change the lilo.conf so that I can try to fix the above error? I
> have the installation disks for the linux.

I booted the system with CD1 and mounted /dev/hda1 to /mnt/hda1.
Then fixed lilo.conf and run "/mnt/hda1/sbin/lilo -C
/mnt/hda1/etc/lilo.conf" and had to fix some lines in lilo.conf to
point the directories/files *in* /mnt/hda1/xxx. Interestingly that
worked.

Another interesting point is that, I could mount /dev/hda1 only when
I use the CD to boot as "boot$ bare.i root=/dev/hda1" otherwise it
gave me some mount errors.

Now I have my old kernel back. I will try to find why the new kernel
is not working than I will try to fix the wlan card. Looong way to
go.

Thank you all for your suggestions
Tevfik

>
>
> On Tue, Jul 13, 2004 at 04:50:59PM -0400, Logan Tygart wrote:
> > On Tue, 2004-07-13 at 16:09, Tevfik Yücek wrote:
> > <snip>
> >
> > > Does anyone knows how can I solve this problem, or can I?
> >
> > I solved my laptop's wireless difficulties by hiding the large hammer I
> > was going to use to wail on my wireless NIC and then I:
> >
> > 1. Compiled my own kernel with vanilla sources. The last time I did
> > this was with 2.4.25 some 143 days ago or so my signature tells me. It
> > should work with the latest 2.4 or 2.6 source.
> >
> > When I configured my kernel, I turned on:
> >
> > General: PCMCIA/CardBus support:
> > PCMCIA/CardBus support: Yes
> > CardBus support: Yes
> > i82365 compatable bridge support: Yes (this may vary depending on your
> > laptop)
> >
> > Network Device Support: Wireless LAN (non-hamradio)
> > Wireless LAN(non-hamradio): Yes
> >
> > 2. Rebuild the pcmcia-cs package by hand with the source from
> >
> > http://pcmcia-cs.sourceforge.net
> >
> > When I ran make config, I pointed the source to my kernel source
> > directory and I only answered yes to:
> >
> > Include 32-bit (CardBus) card support (y/n) [y]:
> >
> > then make all && make install
> >
> >
> > 3. Download the newest wireless card drivers from
> > http://www.linux-wlan.com/linux-wlan
> >
> > make config and answer the questions as they pertain to your laptop
> > then, make all && make install
> >
> > Finally, type depmod -a and then restart pcmcia. I do not know where
> > slackware keeps its init.d but with my Debian box its in /etc/init.d and
> > RH based creatures tend to keep theirs in /etc/rc.d/init.d but cd there
> > and issue a ./pcmcia restart command.
> >
> > You should now hear two beeps of the same tone and the LEDS on your
> > wireless NIC "should" alight.
> >
> > HTH,
> >
> > The Logan
> > --
> > 16:25:01 up 143 days, 9:45, 6 users, load average: 0.25, 0.38, 0.32
> > War is God's way of teaching Americans about geography. -- Ambrose Bierce
> > ICQ: 72101412 AIM/MSN/Yahoo/Jabber: logantheclever
> > Registered Linux User: 277727
>
>
>
> --
> Tevfik Yucek
> Department of Electrical Engineering
> University of South Florida, Phone : (813) 974 0759 Office : ENB-245
> Url: http://www.eng.usf.edu/~yucek E-mail: yucek@eng.usf.edu
>
> -----------------------------------------------------------------------
> This list is provided as an unmoderated internet service by Networked
> Knowledge Systems (NKS). Views and opinions expressed in messages
> posted are those of the author and do not necessarily reflect the
> official policy or position of NKS or any of its employees.

-- 
Tevfik Yucek
Department of Electrical Engineering
University of South Florida,  Phone : (813) 974 0759   Office : ENB-245
Url: http://www.eng.usf.edu/~yucek            E-mail: yucek@eng.usf.edu

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:29:28 EDT