LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant Load (from anything, bootdisk included) (https://www.linuxquestions.org/questions/linux-newbie-8/cant-load-from-anything-bootdisk-included-158656/)

mattp 03-16-2004 06:38 PM

Cant Load (from anything, bootdisk included)
 
I installed slack, with lilo. I restarted when prompted. When it started up again, the computer freezes at the point where the OS *should* be loaded. If I put in the boot cdrom, it says "Cannot find cd rom device" or something similar. I know the CDROM works because I just got finished installing slack. If I put in the boot disk, I put:

mount root=/dev/hdg1

...when it gave me the boot: prompt.

It started to boot, but then gave me a kernal panic, no init found.

How can I fix this?

aaa 03-16-2004 06:41 PM

Elaborate on you device and partition configuration.

mattp 03-16-2004 07:05 PM

3 hds: hde, f, g

First 100mb of G is boot, the rest is root.

F is swap (its only a 1gig HD)

E has one partition.

All 3 hds are hooked into PCI IDE cards.

aaa 03-16-2004 08:13 PM

I'm guessing "the rest is root" means the root partition is hdg2. Use that in your 'root=' line. The boot partition is different form the root partition. You can boot the cd and use 'fdisk -l' to view all partitions.

mattp 03-16-2004 08:52 PM

Ill try the hdg2 one. I cannot boot from CD, so I can't fdisk -l. That would be very usefull right now, because to be honest, I kind of forgot my layout. Im pretty sure that what I described is accurate, but I want to be 100% sure.

aaa 03-17-2004 09:36 AM

The cd has image files on it for you to make a boot floppy.

mattp 03-18-2004 08:37 AM

Heres an update:

On my system, I have:
/dev/hdg1 as /boot
/dev/hdg2 as /
/dev/hde1 as /mnt/hd2
/dev/hdf1 as SWAP

When I boot, when the OS *should* load, I get nothing. I put in the boot disk, mount my root at the boot: prompt (mount root=/dev/hdg2) and log in as root. I checked lilo.conf and fstab, they looked okay (I guess). I ran "lilo" and it gives me this:

Warning: /dev/hdg is not on the first disk
Added Linux*


All times are GMT -5. The time now is 04:41 AM.