LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-21-2004, 07:12 PM   #1
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Rep: Reputation: 30
kernel panic after resizing /


Hello everybody,

Here is my system config.
1 HD partitioned as following

- win2000 pro (16 GB)
- linux swap (256 MB)
- unallocated space (1.5 GB)
- linux partition ext3 (2.8 GB)

and I already had debian up and running very well on the ext3 part.
What I wanted to do is to resize the ext3 part. by allocating the free
space (1.5 GB) to it.
I used the re-distrubuted free space tool in partition magic 8 and it finished
successfully. I rebooted my machine and here is what I got:

LI99999999999999999999999999
999999999999999999999999
999999999999999999999999

no LILO, no menus, nothing. I was shocked cuz I spent alot of time tweaking my linux system till I got it running perfectly.
So I had to boot from the debian(woody) cd and installed LILO once again in the MBR. Now I got the famous LILO menu with winNT,linux and linuxold.
Any choice gives the famous kernel panic :

Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block

my 1st question : did the PM 8 corrupt the ext3 or something of that sort?
my 2nd question : somebody help me plzzzzzzzzz

thanx in advance .
 
Old 05-22-2004, 04:17 AM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
seems your lilo can't find the partition or MBR any more. try to boot with a floppy, maybe correct the C/H/S or LBA and rerun lilo. for more info look at the manual.txt in your /usr/share/doc/lilo dir.

sl mritch.
 
Old 05-23-2004, 07:23 AM   #3
sterrenkijker
Member
 
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 31
Maybe you can download damnsmalllinux or knoppix to take a look at your partitions: if they can't mount your partitions PM8 has probably screwed them up. If you can mount them you could try saving config-files and stuff, which could make a reinstall and reconfigure easier.

It doesn't solve the problem, I know...
 
Old 05-23-2004, 10:13 AM   #4
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
Thanx for all of ur replies. I got the problem finally solved.
For some reason when resizing the linux root partition
the PM messed up with the LILO location.........something
of that sort I dont knw exactly.
But what I have done is that I installed a new lilo
(by booting from the CD and choosing to write a new LiLo to
the MBR). and since the new lilo have fresh settings which
doesnt take into account the locations of my kernels.........etc.
so I obviously got a kernelpanic when I tried booting any of them.

which meant that if I can edit the lilo.conf I can get the problem
solved. So I booted from the debian CD and when getting the boot prompt
I typed: rescure root=/dev/hda3
which got me logged into my linux system.Then I opened a console session
and edited /etc/lilo.conf and added the following line initrd=/initrd.img ,saved
the file and lilo and reboot and finito
 
Old 05-23-2004, 01:50 PM   #5
sterrenkijker
Member
 
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 31
great (y)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic after resizing partitions mrb Linux - Hardware 1 01-09-2005 10:49 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration