LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-29-2008, 01:45 PM   #1
renek7
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Rep: Reputation: 0
Kernel panic: unable to access device ... swap or others..


Hi guys!
I got stacked even before seeing the welcome screen!

I've installed fedora core 8 (and i've tried several times with different type of installations), but even when I manage to boot the OS I got an error message, a kernel panic, that is usually something like: I cannot access the swap partition, or I cannot access (/mount) /dev/root.

What I am supposed to do to make it run?

The configuration of my Pc is:
Intel Core 2 Duo 2.40ghz
4 Gb ram
3 hard disk:
- the first two are used in fakeRaid (using intel matrix storage) and are ntfs partitions with win xp;
- the third one is the one where I installed fedora (version x86_64).

Other info:
My bios has no problems in booting from the usb drive and since I was confused about what would have happened in overwriting the MBR of a disk in fake Raid, I decided first to try to install linux on my third drive with the /boot partition installed on my pen drive (/dev/sda) and grub installed on my pen drive too; the second try I installed all the fedora on the third drive and grub on the MBR of this third drive (/dev/sdd) and I was selecting this drive to be booted first from the BIOS, in order to avoid that the PC starts with windows.

In both cases I ended up with kernel panics...

What did I do wrong?

If I need to post further information about my pc's configuration just tell me... ;-)

Thanks a lot guys....I really don't know what to do now..

Matteo
 
Old 02-29-2008, 02:45 PM   #2
renek7
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Additional Information: Complete error message

"
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
[Linux-bzImage, setup=0x2c00, size=0x1d3c18]
initrd /initrd-2.6.23.1-42.fc8.img
[Linux-initrd @ 0x37c2e000, 0x3e1fdb bytes]
.
Decompressing Linux...done.
Booting the kernel.
Red Hat nash version 6.0.19 starting
Reading all physical volumes - This may take a while...
No volume group found.
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem 'dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory

Kernel panic - not syncing: Attempted to kill init!

"

I just noticed that, if I understand well the previous message, the system is looking for a filesystem of type ext2 [Filesystem type is ext2fs, partition type 0x83], while I'm quite sure that I formatted the linux partition with ext3 (during the installation process), may is this the source of the error???
 
Old 02-29-2008, 03:28 PM   #3
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Did you use entire third hard disk for your root partition,did you created root partition and did you created swap partition?
 
Old 02-29-2008, 05:01 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,155

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Looks like you don't have a valid LVM setup.
Don't worry about ext3 - it's just ext2 plus a journal; often reports (and is treated) as ext2.
 
Old 02-29-2008, 05:14 PM   #5
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by syg00 View Post
Looks like you don't have a valid LVM setup.
Agreed,but it could be something else that can solve the problem,anyway I suggest OP to visit this link;
http://aplawrence.com/Linux/lvm.html
 
Old 03-01-2008, 09:28 AM   #6
renek7
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Solved

Ok...I really don't know how...but I """fixed it""".

I simply re-did the installation and instead of following the default LVM configuration I erased the Logical Volume and I used the standard three partitions (boot, swap, mount) and it worked...(boot loader installed on the MBR of the third (non-raid) disk, therefore avoiding troubles with my raid 1 with windows).

Apparently my pc didn't like the logical volume...

:-)

Last edited by renek7; 03-02-2008 at 01:47 AM.
 
  


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
Unable to access resume device jdege Linux - General 9 12-20-2007 10:32 PM
Kernel Panic-not syncing: mm/swap.c nayabingi Linux - General 2 05-02-2007 06:14 PM
Kernel Panic - VFS unable to open root device JcB Slackware 17 10-30-2004 11:27 AM
kernel panic -=- Deleted swap? rockybalboa Linux - Hardware 2 06-29-2004 12:56 AM
kernel panic -=- Deleted swap? rockybalboa VectorLinux 1 06-28-2004 01:27 PM


All times are GMT -5. The time now is 08:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration