LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux can't boot after installation (https://www.linuxquestions.org/questions/linux-newbie-8/linux-cant-boot-after-installation-274104/)

Husche 01-05-2005 07:26 AM

Linux can't boot after installation
 
Hi guys, i'm kinda new to Linux and because i moved i had to reinstall it on a different computer.
however, this didnt work right. i have 2 hard drives and run windows on the 1st one, hda0, and installed linux on the second one, hda1, on which it is the second, third and fourth partition.
now whenever i choose to start linux in the bootmanager an error comes up:

Booting 'RedHat Linux (2.4.20-6)'

root (hd1,2)
Filesystem type is ext2fs, partition type 0x83
Kernel (vmlinuz-2.4.20-6 ro root=dev/hdb3 hdc = ide-scsi)

and using a boot disc doesn't work either. in fact, after the installation i wasn't able to make one for some reason... it shows something like:

Kernel panic: no init found. Try passing init = option to kernel.


during the installation it says that something with my architecture has something to do with the boot and that creating a boot disc is strongly recommended.

can anyone help me out?

i have the linux version from the "Linux for dummies" book.

0pal_t0ad 01-05-2005 07:57 AM

what boot manager are you using, grub or lilo?
it looks like you need to add something like the following to your boot manager config:
init=initrd-2.4.20-6

but that should've been done automatically during setup.

Husche 01-05-2005 08:07 AM

i'm using grub.

where do i need to add what?

0pal_t0ad 01-05-2005 08:31 AM

you need to find the filename of the init file(not sure what it does) which is usually named similarly to your kernel, in your case with the version number at the end. that's where i got
initrd-2.4.20-6 from, but yours could be different.

you're going to need a live CD of some sort like knoppix or feather linux or something similar to boot to. then you need to mount your boot partition, probably /dev/hdb3

then edit /mounted_hdb3/boot/grub/grub.conf

to mount a drive use: mount /dev/*** /** (in your case *** = hdb3 and ** is what ever you want eg. /mnt/hdb3)

Husche 01-05-2005 08:56 AM

i'm downloading Morphix right now. so what do i need to do then exactly?
:newbie:


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