View previous topic :: View next topic |
Author |
Message |
ak47gen n00b

Joined: 15 Feb 2007 Posts: 43
|
Posted: Thu Feb 15, 2007 3:59 am Post subject: Grub word + blinking cursor (Solved) |
|
|
This is my first post, though i created a few gentoo machines. I usually search for my answerers and find them, but this one got me stumped. The problem is grub installs but my m30 toshiba laptop will not boot from it. After many hours of seaching and troubleshooting i gave up and put in a windows install disc, on accident i hit escape to boot from the first hard drive. Funny thing is after that it came up with the grub command screen so i put in the kernel name and booted fine into the terminal.
Right now i am trying to figure out a way to boot into the hard drive without using windows disc to default to the first hard drive. The bios is limited and only allows you to change boot order for the most part, i have changed prorities to both cd-rom and hard drive.
Please help me get around this situation i appreciate it very much if you can.
thank you
P.S.
Code: | fdisk -l
Device Boot Start End Blocks Id System
/dev/hda1 * 1 5250 42170593+ 7 HPFS/NTFS
/dev/hda2 5251 9729 35977567+ 5 Extended
/dev/hda5 5251 5255 40131 83 Linux
/dev/hda6 5256 9571 34668238+ 83 Linux
/dev/hda7 9572 9729 1269103+ 82 Linux swap / Solaris
|
i used root (hd0,4), setup (hd0) for grub.
Last edited by ak47gen on Fri Feb 16, 2007 7:31 pm; edited 1 time in total |
|
Back to top |
|
 |
Kartagis n00b


Joined: 15 May 2006 Posts: 20 Location: Turkey
|
Posted: Thu Feb 15, 2007 7:06 am Post subject: Re: Grub word + blinking cursor |
|
|
ak47gen wrote: |
Code: | fdisk -l
Device Boot Start End Blocks Id System
/dev/hda1 * 1 5250 42170593+ 7 HPFS/NTFS
/dev/hda2 5251 9729 35977567+ 5 Extended
/dev/hda5 5251 5255 40131 83 Linux
/dev/hda6 5256 9571 34668238+ 83 Linux
/dev/hda7 9572 9729 1269103+ 82 Linux swap / Solaris
|
i used root (hd0,4), setup (hd0) for grub. |
I believe it should be root (hd0,0) not root (hd0,4). I think root (hd0,4) denotes to /dev/hda4 or something like that. _________________ Registered Linux user #388977 |
|
Back to top |
|
 |
tdennist Tux's lil' helper


Joined: 11 May 2004 Posts: 145
|
Posted: Thu Feb 15, 2007 12:27 pm Post subject: |
|
|
Posting your /boot/grub/menu.lst would probably help. Also, I'm not quite sure I understand what you're saying. Without no CD in the drive, does the Grub prompt show up when booting? By "first hard drive" do you mean first hard drive partition, or do you have more than one hard disk? _________________ Registered Linux user #356840
Fleens??! YOU'RE not FLEENS! Well, whatever you are....MAKE ME A PIZZA!!? |
|
Back to top |
|
 |
ak47gen n00b

Joined: 15 Feb 2007 Posts: 43
|
Posted: Thu Feb 15, 2007 2:07 pm Post subject: |
|
|
I only have one hard drive.
my grub.conf which is linked also to menu.lst is
Code: |
# Boot automatically after 30 secs.
timeout 5
# By default, boot the first entry.
default 0
# Fallback to the second entry.
fallback 1
# Splash image to show behind grub.
splashimage=(hd0,4)/grub/splash.xpm.gz
# For booting GNU/Linux
title Gentoo
root (hd0,4)
kernel /linux root=/dev/hda6
#initrd /initrd.img
# For booting Gentoo with the static rescue shell
#title Gentoo (rescue shell)
#root (hd1,0)
#kernel /vmlinuz root=/dev/hdb1 init=/bin/bb
# For booting Windows NT or Windows95
title Windows NT / Windows 95 boot menu
rootnoverify (hd0,0)
makeactive
chainloader +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos
# For installing GRUB into the hard disk
#title Install GRUB into the hard disk
#root (hd0,0)
#setup (hd0)
# Change the colors.
title Change the colors
color light-green/brown blink-red/blue
|
P.S.
I got it now to show the menu (instead of grub prompt) with the cd boot to the hard drive, since i didn't have the menu configured right, but booting just to the hard drive i still just get grub word + blink curser and nothing other than restart from there.
I was thinking it has to do something with the bios, but i also looked that up and its flashed to the recent bios. |
|
Back to top |
|
 |
Kartagis n00b


Joined: 15 May 2006 Posts: 20 Location: Turkey
|
Posted: Thu Feb 15, 2007 2:14 pm Post subject: Re: Grub word + blinking cursor |
|
|
Kartagis wrote: | ak47gen wrote: |
Code: | fdisk -l
Device Boot Start End Blocks Id System
/dev/hda1 * 1 5250 42170593+ 7 HPFS/NTFS
/dev/hda2 5251 9729 35977567+ 5 Extended
/dev/hda5 5251 5255 40131 83 Linux
/dev/hda6 5256 9571 34668238+ 83 Linux
/dev/hda7 9572 9729 1269103+ 82 Linux swap / Solaris
|
i used root (hd0,4), setup (hd0) for grub. |
I believe it should be root (hd0,0) not root (hd0,4). I think root (hd0,4) denotes to /dev/hda6 or something like that. |
Read this dude _________________ Registered Linux user #388977 |
|
Back to top |
|
 |
ak47gen n00b

Joined: 15 Feb 2007 Posts: 43
|
Posted: Thu Feb 15, 2007 2:24 pm Post subject: |
|
|
Grub can't mount NTFS, also the root has to be where the /boot folder is so grub can install it. In other words i didn't work for me unless i am doing something wrong. |
|
Back to top |
|
 |
EzInKy Veteran


Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Thu Feb 15, 2007 2:31 pm Post subject: |
|
|
Quote: |
# For booting GNU/Linux
title Gentoo
root (hd0,4)
kernel /linux root=/dev/hda6
#initrd /initrd.img
|
You did not tell grub which kernel to use. But (hd0,4) though is correct if that is your linux boot partition. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
 |
ak47gen n00b

Joined: 15 Feb 2007 Posts: 43
|
Posted: Thu Feb 15, 2007 2:39 pm Post subject: |
|
|
I can boot to the linux os with the cd directing it to the hard drive so the kernel i don't think is the problem, it lies withing grub not allowing me to boot diretly from the bios to the hard drive.
This may be a bit confusing the way i worded it sometimes, but i'll make a simple explanation on the next line.
Grub will boot fine into the linux os, when i use a windows cd to redirect it to the hard drive. But when i change boot order from cd to hard drive it only shows the grub word with a blinking cursor no prompt, then only thing i can do from there is hit Ctrl + Alt + Del or turn it off. Also i have booted from the hard drive before with windows so the bios can boot from the hard drive. |
|
Back to top |
|
 |
EzInKy Veteran


Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Thu Feb 15, 2007 2:50 pm Post subject: |
|
|
ak47gen wrote: |
Grub will boot fine into the linux os, when i use a windows cd to redirect it to the hard drive. But when i change boot order from cd to hard drive it only shows the grub word with a blinking cursor no prompt, then only thing i can do from there is hit Ctrl + Alt + Del or turn it off. Also i have booted from the hard drive before with windows so the bios can boot from the hard drive.
|
It sounds like grub can't find the files it needs to boot. Run grub setup again.
Code: |
#grub
grub>root (hd0,4)
grub>setup (hd0)
grub>quit
|
You will also need to fix this...
Code: |
kernel /linux root=/dev/hda6
|
...to boot linux from the hard drive. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
 |
ak47gen n00b

Joined: 15 Feb 2007 Posts: 43
|
Posted: Thu Feb 15, 2007 2:57 pm Post subject: |
|
|
Code: |
#grub
grub>root (hd0,4)
grub>setup (hd0)
grub>quit
|
Trust me i did that like 50 times already, lol, still no go.
Quote: |
kernel /linux root=/dev/hda6
|
I am not sure where your going with this one. linux boots find have no problem when i do the cd trick. |
|
Back to top |
|
 |
EzInKy Veteran


Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Thu Feb 15, 2007 3:07 pm Post subject: |
|
|
ak47gen wrote: | Code: |
#grub
grub>root (hd0,4)
grub>setup (hd0)
grub>quit
|
Trust me i did that like 50 times already, lol, still no go.
Quote: |
kernel /linux root=/dev/hda6
|
I am not sure where your going with this one. linux boots find have no problem when i do the cd trick. |
You told grub that your kernel's name is linux and it resides in the / directory. Is that how your system is set up or is your kernel in the /boot directory? _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
 |
ak47gen n00b

Joined: 15 Feb 2007 Posts: 43
|
Posted: Thu Feb 15, 2007 3:28 pm Post subject: |
|
|
lol, i get you now. Well i just got lazy and didn't feel like writing out the kernel number so i just called the kernel linux. lol, sorry for the confusion.
Also hda5 (hd0,4) is the boot directory. |
|
Back to top |
|
 |
EzInKy Veteran


Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Thu Feb 15, 2007 3:35 pm Post subject: |
|
|
ak47gen wrote: | lol, i get you now. Well i just got lazy and didn't feel like writing out the kernel number so i just called the kernel linux. lol, sorry for the confusion.
Also hda5 (hd0,4) is the boot directory. |
So your kernel is /boot/linux then, right? _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
 |
ak47gen n00b

Joined: 15 Feb 2007 Posts: 43
|
Posted: Thu Feb 15, 2007 5:04 pm Post subject: |
|
|
yes the kernel is /boot/linux or hda5/linux |
|
Back to top |
|
 |
EzInKy Veteran


Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Fri Feb 16, 2007 12:27 am Post subject: |
|
|
ak47gen wrote: | yes the kernel is /boot/linux or hda5/linux |
Still, the problem you are describing sounds like grub can not find the stage files on your hard drive that it needs to boot. If you are still having problems getting grub to boot why not, just for laughs, install and configure grub in standard Gentoo fashion? _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
 |
jburns Veteran

Joined: 18 Jan 2007 Posts: 1238 Location: Massachusetts USA
|
|
Back to top |
|
 |
ak47gen n00b

Joined: 15 Feb 2007 Posts: 43
|
Posted: Fri Feb 16, 2007 4:11 am Post subject: |
|
|
Thanks so much jburns for the info, man i googled it for over 4 hours and i couldn't find that. One last question, do you think i do a Code: | dd if=/dev/zero of=/dev/hda bs=1M | would that remover the so called Express Media Player? |
|
Back to top |
|
 |
ak47gen n00b

Joined: 15 Feb 2007 Posts: 43
|
Posted: Fri Feb 16, 2007 7:32 pm Post subject: |
|
|
I ended up solving it by doing a low level format to get rid of express media player, with this command Code: | dd if=/dev/zero of=/dev/hda bs=1M |
|
|
Back to top |
|
 |
|