LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Kernel Panic & eth0 error / First Time Linux User (https://www.linuxquestions.org/questions/slackware-installation-40/kernel-panic-and-eth0-error-first-time-linux-user-888658/)

caileb 06-27-2011 07:41 PM

Kernel Panic & eth0 error / First Time Linux User
 
Greetings,

Picked up a new laptop. Thought I should try Linux. Decided on Slackware since it's been around forever.

Installation seemed fine... but when I try to boot, it gives the following error:

http://i61.photobucket.com/albums/h6...6-27170901.jpg

Trolling around on the other theads here... seems the issue is usually an easy fix to the bootloader. Not sure how to edit it or even start it :(

Any help would be greatly appreciated.

harryhaller 06-27-2011 07:55 PM

Hi Caileb!

Welcome to LQ.

Looking at that screen shot it appears that the kernel is looking for the root directory on the the floppy drive.

Can you copy/paste the contents of the /etc/lilo.conf file please? Thanks.

caileb 06-27-2011 08:03 PM

Thank you for the quick reply & warm welcome, it is much appreciated.

I apologize for being such a neophyte :( How do I access the /etc/lilo.conf file if I'm unable to boot into Linux? I can hit <TAB> to see my boot options... but I don't believe I can open up a text editor or pico or anything from LILO ...

harryhaller 06-27-2011 08:28 PM

You can still boot into the system. Boot from the installation cd and read the message that appears - it makes a suggestion of how to boot your machine.

It'll be something like this:
Code:

boot: kernelname root=/dev/sda2 rdinit= ro
It is the items in red with which you are going to have to play.

Use the first of all the kernel name suggested in the example given by the installation CD, The sda2 you will have to change to the partition in which you have installed Linux.

Note that there is a blank between "rdinit=" and "ro".

caileb 06-27-2011 08:45 PM

This may sound like a stupid question, but is it possible my hardware is just not supported by Linux? http://us.toshiba.com/computers/lapt...0/C655D-S5192/

Both seem to give a similar error.

boot: huge.s root=/dev/sda1 rdinit= ro
http://i61.photobucket.com/albums/h6...6-27183605.jpg

boot: huge.s root=/dev/sda2 rdinit= ro
http://i61.photobucket.com/albums/h6...6-27183940.jpg

... same for /dev/sda3 as well :(

harryhaller 06-27-2011 08:59 PM

Into which partition did you install linux? The both screen shots seem to indicate that the partitions sda1 and sda2 have ntfs file systems - windows?

If you can't remember which partition it was, just try sda3 sda4 etc.
I assume you already have a windows system on the box - is that right? So that will be probably be in sda1 and maybe you have another partition for windows in sda2.

The other thing you can try is explained in this thread:
What to do when you forgot to 'lilo'.

caileb 06-27-2011 09:07 PM

Thank you for your continued patience. I really want to try to get this set up :(

You are correct, I do have Windows setup. Instead of typing in the above boot commands... I just hit enter, which I am assuming just made it boot to the CD. I tried the following commands:
Code:

root@slackware:/# mount /dev/hda3 /mnt
mount: special device /dev/hda3 does not exist
root@slackware:/# mount /dev/hda4 /mnt
mount: special device /dev/hda4 does not exist
root@slackware:/# mount /dev/hda5 /mnt
mount: special device /dev/hda5 does not exist

Is there a way to view current partitions from the command prompt?

harryhaller 06-27-2011 09:10 PM

The disk devices are called sda not hda. So repeat the commands using /dev/sdaX instead of /dev/hdaX.

harryhaller 06-27-2011 09:13 PM

Quote:

Is there a way to view current partitions from the command prompt?
Why certainly :)

With
Code:

cfdisk /dev/sda
Give us a screen shot of that - then press "q" to quit the program - it is the program for formatting the disk into partitions.

caileb 06-27-2011 09:20 PM

I apologize :( Typo. I was able to mount the following, or at least... I assume so:

Code:

root@slackware:/# mount /dev/sda3 /mnt
Although I'm not sure I see SDA3.

Code:

root@slackware:/mnt# ls
System.map-2.6.38.6-26.rc1.fc15.x86_64
config-2.6.38.6-26.rc1.fc15.x86_64
efi/
grub/
initramfs-2.6.38.6-26.rc1.fc15.x86_64
initrd-plymouth.img
lost+found/
vmlinuz-2.6.38.6-26.rc1.fc15.x86_64*


caileb 06-27-2011 09:24 PM

Quote:

Originally Posted by harryhaller (Post 4397512)
Why certainly :)

With
Code:

cfdisk /dev/sda
Give us a screen shot of that - then press "q" to quit the program - it is the program for formatting the disk into partitions.


Ok, I have the following:

Code:

sda1...Boot...Primary...ntfs...[System Reserved]...104.86
sda2..........Primary...ntfs....................209610.35
sda3..........Primary...ext4.......................524.29
sda5...NC.....Logical...LVM2_member..............39818.63


*EDIT*

Booting back into the CD...
I get the following error:

Code:

root@slackware:/# mount /dev/sda5 /mnt
mount: unknown fileystem type 'LVM2_member'


harryhaller 06-27-2011 09:40 PM

Ok, it seems to me that you should re-install linux.

But first of all, you have to fix the partitions. sda3 is far too small - I would allocate 10GB and it appears you have only allocated 500MB. Also you need to create a swap parition about twice the size of your ram.

I would have preferred a screen shot - but going by what you have posted, you don't have room for the system in a primary partition, so you will have to create a new logical partition for the swap: /dev/sda6 and a new logical partition for the system: /dev/sda7.

The partition /dev/sda3 isn't needed - it's too small.

Have you used cfdisk? How did you create /dev/sda3?

I would be happier with a screen shot since there is information missing from what you posted - the amount of free space you have left on the disk, for example.

caileb 06-27-2011 09:47 PM

I don't have any free space left.

I have not used cfdisk. Is it possible to resize/delete sda3 and sda5... without it interfering with my Windows setup?

Screenshot of complete cfdisk to come...
http://i61.photobucket.com/albums/h6...6-27195036.jpg

harryhaller 06-27-2011 09:48 PM

Quote:

Should I unmount sda3 before trying to mount sda5?
What is sda5? I'm not familiar with that. Are you setting up logical volumes? Was that your intention?

caileb 06-27-2011 09:55 PM

I'm not familiar with that either. My only intentions - was to set up Linux. :-X


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