Results 1 to 5 of 5
Dear Linux community,
I've had a fantastic time with my debian box, it was running really well on an old Pentium 233MMX. I know linux itself well, but I do ...
- 10-06-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
Cannot boot - grub prompt - linux only box no windows
Dear Linux community,
I've had a fantastic time with my debian box, it was running really well on an old Pentium 233MMX. I know linux itself well, but I do not have enough experience with grub version 0.95.
I'm not sure wether it was a power on/off/on/off/on thing that caused the computer not to boot, but I do remember upgrading my linux box and cautioning me about ef2progs or something to that effect. I had to do it to install tomcat. Whatever it was, I can't boot anymore, it comes up with the 'grub >' prompt
I've read a lot of posts on forums and I follow the following replys:
They read like this
root (hd0,0)
setup (hd0)
Wether that is enough to get my box to boot i'm not sure, beacuase I type boot and it says I need to load the kernel.
When I type root (hd0, and then Tab the following appears
Possible partitions are:
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type unknown, partition type 0x02
I've assumed that the right linux partition is 0 so I type root (hd0,0) then enter and the following appears:
Filesystem type is ext2fs, partition type 0x83
Then I type setup (hd0) and enter then the following appears:
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded. succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
I try boot, says I need to run the kernel first, I reset, hard reset and still it comes back to the grub > prompt. I have got the important data off the disk, but I would really like to get this great debian box running again.
I know there is a lot of great linux gurus out there, will you help?
Thank you very much for reading and thank you in advance,
Jared
- 10-07-2006 #2
Once you have set "root(hd0,0)"
Do "kernel /boot/vm hit tab" If you don't have a boot partition
Or "kernel /vm hit tab" If you have a boot partition
Then just hit enter
ps: Omit the quotes
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 10-07-2006 #3
did you try reinstallaing GRUB?
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-08-2006 #4Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
Still no luck with kernel? ...
Dear Juan Pablo and devils_casper,
Thank you for your speedy reply.
I think I have a boot partition as when I try
I don't get anything, as the only directory under boot is grub (/boot/grub ...)Code:kernel /boot/vm
But when I did try your line
There seems to be /vmlinuz directory but thats it, nothing under it, a empty directoryCode:kernel /vmlinuz Error 15: file not found grub>
I'm not sure if I can install grub again devils_casper as I don't know how to do it from the grub> prompt.
I have grave concerns that my kernel is missing/corrupted.
What should I try next? If the kernel is busted, is it possible to rebuild/repair.
I can plug my HDD up to a linux box and mount it, or perhaps load a live CD. But I'm not sure what to do.
Thank you again for you posts, and thank you for reading my post.
Kind regards,
Jared
- 10-08-2006 #5
boot up in rescue mode and chroot the file system. execute 'grub-install'.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
