LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel panic: unable to access device ... swap or others.. (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-unable-to-access-device-swap-or-others-624802/)

renek7 02-29-2008 01:45 PM

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

renek7 02-29-2008 02:45 PM

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???

alan_ri 02-29-2008 03:28 PM

Did you use entire third hard disk for your root partition,did you created root partition and did you created swap partition?

syg00 02-29-2008 05:01 PM

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.

alan_ri 02-29-2008 05:14 PM

Quote:

Originally Posted by syg00 (Post 3074323)
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

renek7 03-01-2008 09:28 AM

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...

:-)


All times are GMT -5. The time now is 08:03 AM.