LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-06-2003, 08:47 AM   #1
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
Cant get this sucker to boot!


Hello,

I'm running into an odd problem that either I'm simply not experienced enough to fix on my own or cannot be fixed at all. Perhaps one of you fine people could give me some ideas as to what to do next.

It all started after I loaded VMware after installing knoppix (effectively installing a Debian woody box). Everything seemed to work fine but one day it all just froze up on me and on a reboot I got an error like "L 99 99 99 99 ..." halfway across the screen. I was able to fix this by doing a fdisk /mbr w/ a dos disk. Well it froze up again and fdisk /mbr didn't bring the system up again.

I'm trying to use a boot partition I created at hda1:

hda1 = boot (ext2)
hda2 = swap
hda3 = root (ext2)

I've already done a western digital drive scan to see if there are any issues with the drive, the boot utility reported no issues whatsoever.

After trying unsuccessfully to reinstall lilo I finally just installed grub. Now grub does come up at boot. I have grub installed at the MBR and the box boots into the grub prompt just fine. But when I do this:

Quote:
grub> root (hd0,0)
grub> kernel (hd0,0)/vmlinuz
grub> boot
it detects my hard drive and CD-ROMs but then it seems to continue to try to detect and load up other hd devices in order. It will improperly detect hda4, 5, then 6 and freeze up saying that it couldn't boot the kernel.

I can access/edit all the information on the drive with a knoppix CD though.

any thoughts?
 
Old 09-06-2003, 03:43 PM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Don't shoot me if I'm wrong

I don't hink you can put boot on a seprate partition. I'm not sure on that. I may be wrong. You may want to read up on that.
You may can boot from the #1 CD and hit F1 then type in rescue. Follow instructions from there. Never did it but that's what I have read.

Hope it helps.

 
Old 09-06-2003, 04:00 PM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
You can install /boot on a sepreate partition. In fact, it is best to do so.

This is how mine looks in /etc/grub.conf
root (hd0,1)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda3
initrd /initrd-2.4.7-10.img

If you can get into the system with a rescue disk. Try editing the file. Look in boot to see what the name of your kernel is and your initrd file and make corrections in the above as necessary.
 
Old 09-06-2003, 04:05 PM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Exclamation I warned you

I said I may be wrong. I guess I was.

 
Old 09-06-2003, 04:16 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
We're all wrong some time Linux is a lifetime learning experience
 
Old 09-07-2003, 01:48 AM   #6
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Original Poster
Rep: Reputation: 30
This is what I had done:

I installed grub to the hda1 mbr but didn't really complete the setup. Once this was created I booted into the grub prompt and pointed initrd to /dev/hda3/etc/init, the kernel to vmlinuz on the boot partition and root as my root partition (hda3). That got me into the system after typing in boot. I had to make it permanent by creating a menu.lst file with the update-grub utility. Then I went into the grub prompt again and instead of typing in boot at the end of the setup I did the setup (hda) command. That finally fixed it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
failed features: boot.shm boot.loadmodules boot.swap cccc SUSE / openSUSE 1 08-08-2005 07:23 AM
DUAL BOOT - WIN XP cant be seen/boot on boot - pls help Bluiee Linux - Newbie 1 05-25-2004 05:29 AM
<sucker> how do i get files with CVS? <sucker> funkymunky Linux - General 2 02-21-2004 12:12 AM
Memory sucker sallas Linux - Newbie 2 08-24-2003 11:18 AM
sucker newbie needs some god-like info on iptables ironChimp Linux - Networking 9 02-28-2003 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:39 AM.

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
Open Source Consulting | Domain Registration