LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-05-2005, 07:26 AM   #1
Husche
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
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.
 
Old 01-05-2005, 07:57 AM   #2
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
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.
 
Old 01-05-2005, 08:07 AM   #3
Husche
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Original Poster
Rep: Reputation: 0
i'm using grub.

where do i need to add what?
 
Old 01-05-2005, 08:31 AM   #4
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
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)
 
Old 01-05-2005, 08:56 AM   #5
Husche
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Original Poster
Rep: Reputation: 0
i'm downloading Morphix right now. so what do i need to do then exactly?
 
  


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
How to boot lost linux installation tacticsWiz Linux - Newbie 6 09-30-2004 05:48 PM
Linux wont boot after installation Sporndog Linux - Newbie 2 03-24-2004 02:08 AM
Linux will not boot up after installation? ashreves Linux - General 1 10-24-2003 03:09 PM
Dual boot Linux installation aksood Linux - General 3 09-30-2001 06:38 AM
Dual Boot! Help! 3 days into linux installation! Can u believe it! newbabe Linux - Software 1 05-07-2001 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 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