LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-06-2004, 08:06 PM   #1
CapKrugers
LQ Newbie
 
Registered: Nov 2004
Distribution: Ubuntu, Debian, Knoppix
Posts: 3

Rep: Reputation: 0
Unhappy Power-off during shutdown causes kernel panic


When I try to boot up into Ubuntu Linux, I get the error:

Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)

I think it's caused by the errors from an accidental power-off when the "Unmounting local filesystems..." part of the Linux shutdown sequence was running. Since I'm on a dual-boot with Windows XP, I checked PartitionMagic 8.0 to see what was up. There is an error on Ubuntu's ext3 partition that says the partition's beginning is overlapping with the previous partition (in Ubuntu, /dev/hda1 is Windows NTFS, /dev/hda2 is Linux ext3, /dev/hda3 is Linux swap). Is there any way I can repair this drive at all, from a bootable floppy/CD or Windows? Would any sort of reformatting or repartitioning help, and in doing so, could I save my Windows partition?

I have already tried the disk diagnostic programs for my hard drive.

The only other cause of this problem that I can think of is my installation of a 686 kernel package...but I would assume that ext3 support is contained in this update. Even if it isn't, wouldn't the error message be different if the filesystem was unrecognizable?

Thanks in advance for helping this Linux n00b!
 
Old 11-06-2004, 08:15 PM   #2
rusty_slacker
Member
 
Registered: Sep 2004
Location: Mars, right next to the UAC base
Distribution: Fedora Core 3/Knoppix 3.4
Posts: 138

Rep: Reputation: 15
I think it would be possible to resize an overlapping partition so they have clear endpoints. that should not wipe either partition, so you should be ok.
 
Old 11-06-2004, 08:31 PM   #3
CapKrugers
LQ Newbie
 
Registered: Nov 2004
Distribution: Ubuntu, Debian, Knoppix
Posts: 3

Original Poster
Rep: Reputation: 0
What sort of program should I use to do that? Could I use fdisk (does that have partition resize capabilities) or some other program in Knoppix? PartitionMagic won't even touch the physical drive.

Also, does resizing a partition only resize it from its end? I can't resize the NTFS partition in Linux, and no matter how I resize the Linux partition, its beginning will always have a conflict with the end of the previous one...I guess I'll try running the disk diagnostic program again.

Last edited by CapKrugers; 11-06-2004 at 08:37 PM.
 
Old 11-06-2004, 08:40 PM   #4
rusty_slacker
Member
 
Registered: Sep 2004
Location: Mars, right next to the UAC base
Distribution: Fedora Core 3/Knoppix 3.4
Posts: 138

Rep: Reputation: 15
mmm... donuts!

No! do not use fdisk! it has no resize capabilities. knoppix might have something, i use it often but i have never looked for a partition thing specifically...
why won't partitionmagic do the job?
 
Old 11-07-2004, 12:15 AM   #5
CapKrugers
LQ Newbie
 
Registered: Nov 2004
Distribution: Ubuntu, Debian, Knoppix
Posts: 3

Original Poster
Rep: Reputation: 0
PartitionMagic won't do the job because there are errors on the disk. When I first ran it, it gave me an info box asking me if I wanted to repair the damage and I clicked "OK" or "Yes", but sadly it did not fix the error and now the physical C: drive is "BAD" and I can't perform any partition functions on it. I'm thinking of just deleting the Linux partition and starting over (I only had it for 2 days anyways). But I really don't wanna do everything over again...any other options?
 
Old 11-08-2004, 05:01 PM   #6
rusty_slacker
Member
 
Registered: Sep 2004
Location: Mars, right next to the UAC base
Distribution: Fedora Core 3/Knoppix 3.4
Posts: 138

Rep: Reputation: 15
i think you could use chkdsk or scandisk to fix the drive or you could use disk management to fix the Linux partition from win xp. or you could back up stuff and reinstall ubudubudub linux.

btw, did you see the simpsons last night?
 
Old 11-08-2004, 06:52 PM   #7
mysterio
Member
 
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
Knoppix has qtparted for resizing partitions, but if partition magic won't work because of errors on the disk, qtparted might not either, but it's worth a try.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shutdown and power off bwtoh Linux - Newbie 4 11-02-2006 02:48 PM
vt: kernel panic during shutdown from atkbd.c -Wireless keyboard-mouse teddymills Linux - Hardware 0 11-28-2005 12:51 PM
Kernel panic on shutdown - Modul-Problems? Fonk Linux - Software 2 03-07-2005 10:18 PM
Shutdown could not power off satimis Debian 13 02-14-2004 11:05 AM
how to automatically power off after shutdown in redhat7.3(kernel 2.4.20) prad Linux - General 8 12-18-2002 02:37 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration