Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub Error Collection [Part 3]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Sun Sep 25, 2005 3:45 pm    Post subject: Reply with quote

Look at your grub.conf and make sure you've spelled everything correctly. This error means GRUB couldn't find the file you are specifying in the kernel line. It's also very common that you copied the files into your / partition rather than the /boot parition. (Are you sure you had /boot mounted when you copied the kernel files over?)

Try requesting a Grub prompt (hit 'c' at the Grub menu) and type the commands manually using tab completion to make sure the files exist and you don't get a typo in the file name.
_________________
Kent

Planes are dangerous, get out of 'em quick
Back to top
View user's profile Send private message
fattboy
n00b
n00b


Joined: 21 Jul 2005
Posts: 5

PostPosted: Thu Sep 29, 2005 4:57 pm    Post subject: Grub loading, please wait. help. Reply with quote

I started installing Gentoo and then ran into this problem. I tried rebooting into Grub and I get the infamous "Grub loading, please wait screen" then it shows the bottom information of my grub.conf file and then reboots. I tried adding (hd0,0) after the kernel (insert) / command and it appeared as if it brought up Grub. But my Graphics looked really bad... grey and black lines everywhere, and I could barely make out my login for Grub. Nevertheless, I would select what appeared to be the words: Gentoo Linux 2.6.12-r6 - but didnt load anything (no console window, ect.).
Please help.


Heres my grub.conf file:

default 0
timeout 30
splashimage= (hd0,0) /grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r6
root (hd0,0)
kernel /kernel -2.6.12-gentoo-r6 root=/dev/hda3
Back to top
View user's profile Send private message
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 701
Location: Columbus, OH

PostPosted: Sat Oct 01, 2005 5:26 pm    Post subject: Help! GRUB won't install Reply with quote

grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
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)"... failed (this is not
fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not
fatal)
Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p
/boot/grub/menu.lst "... succeeded
Done.

Here are the errors I'm getting. If I try to boot it, the system just skips it and goes to the next device like there isn't a valid MBR. This is a mini-ITX system that I just built, it only has one hd. This is the first time that this hasn't worked for me, I've set up 3 other Gentoo systems without a problem. /dev/hda1 is a separate 64MB /boot partition. Any ideas?
Back to top
View user's profile Send private message
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 701
Location: Columbus, OH

PostPosted: Sat Oct 01, 2005 5:38 pm    Post subject: Strange GRUB installation problem. Help! Reply with quote

grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
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)"... failed (this is not
fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not
fatal)
Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p
/boot/grub/menu.lst "... succeeded
Done.

Here are the errors I'm getting. If I try to boot it, the system just skips it and goes to the next device like there isn't a valid MBR. This is a mini-ITX system that I just built, it only has one hd. This is the first time that this hasn't worked for me, I've set up 3 other Gentoo systems without a problem. /dev/hda1 is a separate 64MB /boot partition. Any ideas? On all the other computers I've set it up on, I've actually installed GRUB on the MBR of a Windows drive, but this system is Linux-only. The only things that have been used on the hd are fdisk and mke2fs.
Back to top
View user's profile Send private message
Deathwing00
Moderator
Moderator


Joined: 13 Jun 2003
Posts: 4078
Location: Barcelona, Spain

PostPosted: Sat Oct 01, 2005 5:44 pm    Post subject: Reply with quote

"Strange GRUB installation problem. Help!"
merged to
"grub error collection [POST GRUB QUESTIONS HERE!]"
Back to top
View user's profile Send private message
oldunion
n00b
n00b


Joined: 28 Sep 2005
Posts: 23

PostPosted: Mon Oct 03, 2005 4:09 pm    Post subject: error 15 Reply with quote

i am getting error 15, this message comes up:

booting gentoo linux 2.6.12-r10
root (hd0,0)
filesystem type is ext2fs, partition type 0x83
kernel /kernel-2.6.11-gentoo-r10 root/dev/hda3

error 15: file not found

press any key



So i came onto here and printed out the error 15 guidelines. the only thing i was able to do from the livecd is cd /boot and then ls
this is what came up:
system.map-2.6.9-gentoo-r1 boot (this was highlighted teal) initrd-2.6.9-gentoo-r1 kernel-2.6.9-gentoo-r1

cd /usr/src/linux directory not found. during install however, i was able to get into it. hda1 is boot, hda2 swap, hda3 root. again i dont know how to get into the makeconfig or anything like that because these commands dont seem to work from livecd /root.....do i chroot?

What can i do with the command line at grub, i dont know these commands but is there a way to check .conf files from here or something useful like that?

I dont think grub is loading the right kernel, the one i use isnt in boot.

This is a 2004.3 livecd.
Back to top
View user's profile Send private message
oldunion
n00b
n00b


Joined: 28 Sep 2005
Posts: 23

PostPosted: Tue Oct 04, 2005 4:42 am    Post subject: Reply with quote

Sorry for the double-post. This problem was solved, somehow i did. But theres a new problem aven though it works.

When grub starts up you cant see it, and if you do nothing linux will boot up eventually. If you hit the down arrow on the keyboard and then press enter, you load windows. Anyway to get a gui?
Back to top
View user's profile Send private message
Ox-
Guru
Guru


Joined: 19 Jun 2003
Posts: 305

PostPosted: Tue Oct 04, 2005 6:39 am    Post subject: Reply with quote

I'm getting an error 15 when I try to boot, but my grub.conf has the right filenames.

I've verfiified this from a live CD, but regardless of that my .conf file has been working since I last changed it over a week ago. What's new is apparently a rebuild of grub and all these "stage" files in /boot/grub.

I also get the error 15 when trying to boot from my debian partition, and that grub entry has been working for almost a year.

Both the debian partition and /boot are ext 3. I can't image that being a problem, but possibly?

At the end of the ebuild this command is run:
Code:
/sbin/grub --batch --device-map=/boot/grub/device.map  < /boot/grub/grub.conf > /dev/null 2>&1
.

What is this doing? If, for some reason, it wasn't run could this cause my problem?
Back to top
View user's profile Send private message
oldunion
n00b
n00b


Joined: 28 Sep 2005
Posts: 23

PostPosted: Tue Oct 04, 2005 3:36 pm    Post subject: Reply with quote

Ox- wrote:
I'm getting an error 15 when I try to boot, but my grub.conf has the right filenames.

I've verfiified this from a live CD, but regardless of that my .conf file has been working since I last changed it over a week ago. What's new is apparently a rebuild of grub and all these "stage" files in /boot/grub.

I also get the error 15 when trying to boot from my debian partition, and that grub entry has been working for almost a year.

Both the debian partition and /boot are ext 3. I can't image that being a problem, but possibly?

At the end of the ebuild this command is run:
Code:
/sbin/grub --batch --device-map=/boot/grub/device.map  < /boot/grub/grub.conf > /dev/null 2>&1
.

What is this doing? If, for some reason, it wasn't run could this cause my problem?


I know the handbook recommends using ext2 for /. Something to try if no one else helps you.
Back to top
View user's profile Send private message
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 701
Location: Columbus, OH

PostPosted: Tue Oct 04, 2005 10:08 pm    Post subject: Reply with quote

My problem is weird too. root (hd0,0) setup (hd0) acts like it goes through, but it gives (supposedly) non-fatal errors on stage1_5. I tried grub-install instead and it said it was successful with no errors, but in both cases nothing was installed to the MBR. LILO works fine. In fact, after I had LILO installed I tried the GRUB shell and grub-install again, once again saying it was successful, but on reboot LILO still comes up. What gives? I've used GRUB on 3 other computers with no problems. I at first had my /boot ext3, but I changed it to ext2 on the advice of a friend who was trying to help me with this and there was no change. I even tried dd if=/dev/zero of=/dev/hda on the advice of a friend before repartitioning the drive (he thought it might've been a corrupt boot sector)...same problem! This is getting very irritating. I can boot my system with LILO, but I don't like LILO much and want to use GRUB. Any assistance would be appreciated. 2 other computers have 2 HD's, with Windows on the first and Linux on the second. On those, GRUB was installed to the MBR on /dev/hda (the Windows drive), overwriting the Windows MBR stuff, that worked fine. This computer only has 1 HD, Linux only.

Same errors resulted after zeroing and repartitioning the HD and making /boot ext2:

grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
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)"... failed (this is not
fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not
fatal)
Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p
/boot/grub/menu.lst "... succeeded
Done.


Last edited by Akaihiryuu on Wed Oct 05, 2005 2:21 am; edited 1 time in total
Back to top
View user's profile Send private message
vaxio
n00b
n00b


Joined: 07 Oct 2005
Posts: 5

PostPosted: Fri Oct 07, 2005 3:30 pm    Post subject: Reply with quote

Hi to all, I've a BIG problem with GRUB,

first of all:

fdisk -l
>
/dev/hda1 * HPFS/NTFS -->win xp
/dev/hda2 W95 Ext'd(LBA) --EXT
/dev/hda5 HPFS/NTFS -->documents
/dev/hda6 Linux --> gentoo /
/dev/hda7 Linux --> gentoo /boot
/dev/hda8 Linux Swap --> swap

Setting grub

root (hd0,6)
setup (hd0)
quit

/boot/grub/grub.conf
>
timeout 10
default 0
fallback 0

title=WinXp
rootnoverify (hd0,0)
makeactive
chainloader +1

title=Gentoo
root (hd0,6)
kernel (hd0,6)/vmlinuz ro root=/dev/hda6 vga=791

1.
When I start grub from livecd, and type

root (hd0,6) //OK!
Filesystem...is ext2...0x83

kernel (hd0,6)/vmlinuz

Error 15:File not found

2.
When I reboot my laptop (Centrino Sony Vaio)
I saw the cursor for some second runs on the screen and then stops at bottom-right and dispaly a sigle smile face,like this one :o but "shell like".
The only thing I can do is reboot with live CD.

Please, help me?
I lost Win Xp???Why it happens?
_________________
>phantom<
Back to top
View user's profile Send private message
slaapkop
n00b
n00b


Joined: 04 Mar 2004
Posts: 66
Location: Nijmegen

PostPosted: Fri Oct 07, 2005 7:13 pm    Post subject: Reply with quote

Hello,

I bought a new computer a few weeks ago.
On the computer was Windows installed. It is a dell demension 9100.
The harddisk that came with it is a 160 gig. I wan't to run kde on the same machine as well. So i bought an extra harddisk.
To put linux on that drive.

My configuration is like this:



Drive 0 Controller = Serial ATA --> Drive 0 (windows installed on it).
Drive 4 Controller = parallel ATA --> Drive 4 (PRI IDE MASTER) for linux



My boot configuration:
Code:


livecd ~ # fdisk -l

Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           5       40131   83  Linux
/dev/hda2               6         255     2008125   82  Linux swap / Solaris
/dev/hda3             256        7726    60010807+  83  Linux
/dev/hda4            7727       10217    20008957+   5  Extended
/dev/hda5            7727       10217    20008926    c  W95 FAT32 (LBA)

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           8       64228+  de  Dell Utility
/dev/sda2   *           9       19060   153035190    7  HPFS/NTFS
/dev/sda3           19061       19452     3148740   db  CP/M / CTOS / ...
livecd ~ #


So i read some forums and read the info given by grub (info grub)

So i thaugtht my grub file had too look like this(/boot/grub/grub.conf):
Code:


# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux
# Partition where the kernel image (or operating system) is located
root (hd0,0)
#kernel /kernel-2.6.11-gentoo-r11 root=/dev/hda3
kernal /kernal-2.6.12-gentoo-r6 root=/dev/hda3


# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
title=Windows XP
map (hd0) (hd1) # Tell the first hard drive to pretend to be the second
map (hd1) (hd0) # Tell the second hard drive to pretend to be the first


root (hd1,1)
rootnoverify (hd1,1)
makeactive # Sets the partition to active
chainloader +1 # Tells GRUB to load the Windows bootloader when done




My boot sequence is first floppy, then cdrom, then PATA0 PRI IDE MASTER(Linux) and then SATA0(Windows)

But when i rebooted i only was able too boot into windows. And even worse, this morning when i tried too reboot i could t into anything.. :(

Did i Messed my windows harddisk? Is my data lost?

Can someone please put me into the right direction?

I installed grub into /dev/hda. So that the dsa disk would'nt be bothered. But even when i take the IDE disk out of it and change the bios still cannot boot into windows..

please help..

Thanks
Back to top
View user's profile Send private message
empie
n00b
n00b


Joined: 08 Oct 2005
Posts: 2

PostPosted: Sat Oct 08, 2005 1:14 pm    Post subject: Reply with quote

Hi,

This is my first attempt to install gentoo on my thinkpad T43p and I'm having some weird problems when trying to install grub and getting it to work.

First of all, this is mij output from fdisk -l after i chrooted from the Live CD. sda8 is my boot partition, sda10 is the root partition and sda11 is the home partition (also see fstab below) The other partitions are Windows partitions.
Code:

Device     Boot Start    End         Blocks     Id    System
/dev/sda1  *          1   1355   10243768+   7     HPFS/NTFS
/dev/sda2         1356   7752   48361320     f      W95 Ext'd (LBA)
/dev/sda5         1356   2032    5118088+   7      HPFS/NTFS
/dev/sda6         2033   2709    5118088+   7      HPFS/NTFS
/dev/sda7         2710   5418   20480008+   b     W95 FAT32
/dev/sda8         5419   5425        52888+   83    Linux
/dev/sda9         5426   5561     1028128+   82    Linux swap / Solaris
/dev/sda10       5562   6916   10243768+   83    Linux
/dev/sda11       6917   7752     6320128+   83    Linux


This is my /etc/fstab file
Code:

/dev/sda8                 /boot          ext2   defaults,noatime 0 2
/dev/sda10               /                 ext3   noatime             0 1 
/dev/sda11               /home         ext3   noatime             0 2
/dev/sda9                 none           swap  sw                     0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto   noauto,user        0 0
none                        /proc           proc   defaults             0 0
none                        /dev/shm     tmpfs nodev,nosuid,noexec 0 0


This is my grub.config file
Code:

timeout 30
default 0
fallback 1
splashimage=(hd0,7)/grub/splash.xpm.gz

title Gentoo
root (hd0,7)
kernel /kernel-2.6.13-gentoo-r3 root=/dev/sda10
savedefault
boot

title windows
root (hd0,0)
savedefault
makeactive
chainloader +1


I installed grub on the MBR by performing the following commands
Code:

grub --no-floppy
grub>root (hd0,7)
grub>setup (hd0)
quit


When I reboot the system, the menu contains the gentoo linux entry and the windows XP entry. Booting windows works perfectly but when I select the Linux entry in the list, I get the following error:
Code:

Booting Gentoo Linux 2.6.13-gentoo-r3

root (hd0,7)
 Filesystem type is ext2fs, partition type 0x83
kernel /kernel-2.6.13-gentoo-r3 root=/dev/sda10
 [Linux-bzImage,setup=0x1200, size=0x236b0c]
savedefault

Error 1: Filename must be either an absolute pathname or blocklist

Press any key to continue...



When I press "c" in the grub menu and perform the following commands, the system boots (note that The first attempt failed when there was no / before the kernel name. At the second attempt,with the / in place, it worked. in my grub.conf file, the kernel entry also starts with a / (I tried removing it, but no effect)
Code:

grub>root (hd0,7)
 Fylesystem type is ext2fs, partition type 0x83
grub>kernel kernel-2.6.16-gentoo-r3 root=/dev/sda10
 Error 1: Filename must be either an absolute pathname or blocklist
grub>kernel /kernel-2.6.16-gentoo-r3 root=/dev/sda10
 [Linux-bzImage, setup=0x1200, size=0x236b0c]
grub> boot


Why is it working when I type in the commands and more important, why isn't it working via the grub.conf file. In my opinion, both ways of working should be identical. I checked over and over for typing errors, but everything seems ok.

Thanks in advance for the help
Back to top
View user's profile Send private message
hungrigerhaifisch
n00b
n00b


Joined: 19 Sep 2005
Posts: 69
Location: Germany

PostPosted: Sun Oct 09, 2005 9:21 pm    Post subject: "Partition table entries are not in disk order" Reply with quote

Code:
fdisk -l

gives me
Quote:
Partition table entries are not in disk order
(plus the actual partition table(s) from my disks)

When I reboot Grub should start, but it (GRUB loading...) just sits there doing nothing,no error message.
My fstab and grub.conf ARE correct. Anybody out there who could give me a clue before I format the entire disk and start again?
Another hint, I cannot install windows xp on my system, (lucky me...) as its setup programm immediatly crashes once started.

For anyone wondering, it was windows setup that muddled everything up, before that I had gentoo next to(or on top of) windows running perfectly.A simple reinstall, and I'm back in hell...
_________________
"...and also because he is one of those people who find reasons to blame Microsoft for almost all their problems in life."
Back to top
View user's profile Send private message
fattboy
n00b
n00b


Joined: 21 Jul 2005
Posts: 5

PostPosted: Mon Oct 10, 2005 4:38 pm    Post subject: Come on... all those Gentoo guru's Reply with quote

**Can anyone offer some kind of suggestion... even if its an uneducated one**

Same post from last time :


Started installing Gentoo and then ran into this problem. I tried rebooting into Grub and I get the infamous "Grub loading, please wait screen" then it shows the bottom information of my grub.conf file and then reboots. I tried adding (hd0,0) after the kernel (insert) / command and it appeared as if it brought up Grub. But my Graphics looked really bad... grey and black lines everywhere, and I could barely make out my login for Grub. Nevertheless, I would select what appeared to be the words: Gentoo Linux 2.6.12-r6 - but didnt load anything (no console window, ect.).
Please help.


Heres my grub.conf file:

default 0
timeout 30
splashimage= (hd0,0) /grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r6
root (hd0,0)
kernel /kernel -2.6.12-gentoo-r6 root=/dev/hda3

**I've gotta be missing something from my grub file** | Or maybe I should just start over :( :D :D
Back to top
View user's profile Send private message
Cabalist
n00b
n00b


Joined: 17 Feb 2004
Posts: 32

PostPosted: Mon Oct 10, 2005 11:47 pm    Post subject: Reply with quote

I am not sure how to phrase this succinctly. I have a partion scheme something like this:

hda1 == winXP

hdb1 == storage

hde1 == storage
hde2 == storage
hde3 == New Gentoo (experimental)

hdf1 == Old Gentoo
hdf2 == Swap
hdf3 == Home Directory

hdc == CDROM
hdd == CDROM

I had previously used lilo and been booting fine. How do I install Grub on hda and have it boot hde3? Here is my grub.conf:

Code:

timeout 10
default 0
splashimage=/boot/grub/splash.xpm.gz

title GentooNEW
root (hd2,2)
kernel /boot/vmlinuz quiet root=/dev/hde3 video=vesafb:ywrap,mtrr,1024x768-16@72 splash=silent,theme:emergence CONSOLE=/dev/tty1
initrd /boot/fbsplash-emergence-1024x768

title GentooOLD
root (hd3,0)
kernel /boot/vmlinuz root=/dev/hdf1

title Stupid
rootnoverify (hd0,0)
makeactive
chainloader  +1


Also:

grub-install /dev/hda returns:
Could not find device for /boot: Not found or not a block device.

Ideas? It's something simple right? :lol:
Back to top
View user's profile Send private message
aaronamd
n00b
n00b


Joined: 13 Oct 2005
Posts: 59

PostPosted: Thu Oct 13, 2005 9:36 pm    Post subject: I have a grub problem to... :( Reply with quote

hello :D I'm currently a noob so be easy on me. ok first lets get this stuff outa the way; I run an athlon FX-55 system on an MSI K8N neo2 with 512megs of ram and a SATA Harddisk that is detected as /dev/sda. upon installing grub I used the genkernel settings because I used genkernel (duh :) ) anyway, when rebooting I get a file not found error, is this because I am using reiserfs as the filesystem on / ? if it is how can I solve this? I need to get this solved so that I can know how to install on my IBM T23 laptop, it only has 256megs of ram so I choose gentoo becuase I can optomize it. thank you :D
Back to top
View user's profile Send private message
b4d
n00b
n00b


Joined: 15 Oct 2005
Posts: 3

PostPosted: Sat Oct 15, 2005 10:20 pm    Post subject: Reply with quote

Code:
fock.ext3: No such file or dir while trying to open /dev/ROOT
/dev/ROOT
The superblock could not be read or does not describe a correct ext2 filesystem. If the device really contains ext2 filesystem (and not swap or ufs), then the superblock is corrupt, and you might try running e2fsck with alternate superblock.


this comes after i manually boot gentoo from gnome, I think i screwed up something in grub setup.

Any suggestions?
Back to top
View user's profile Send private message
aaronamd
n00b
n00b


Joined: 13 Oct 2005
Posts: 59

PostPosted: Sun Oct 16, 2005 2:58 pm    Post subject: Reply with quote

you need to edit your fstab to change /dev/ROOT to whatever your root partition is one like /dev/hda3 etc. ...I think
Back to top
View user's profile Send private message
b4d
n00b
n00b


Joined: 15 Oct 2005
Posts: 3

PostPosted: Sun Oct 16, 2005 3:00 pm    Post subject: Reply with quote

Yah, I found that out about 2 minutes after I posted :P, forgot to update fstab :P me noob. TNX
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4727
Location: Angra do Heroísmo (PT)

PostPosted: Mon Oct 17, 2005 9:11 pm    Post subject: Re: Come on... all those Gentoo guru's Reply with quote

fattboy wrote:
**Can anyone offer some kind of suggestion... even if its an uneducated one**

Same post from last time :

Started installing Gentoo and then ran into this problem. I tried rebooting into Grub and I get the infamous "Grub loading, please wait screen" then it shows the bottom information of my grub.conf file and then reboots. I tried adding (hd0,0) after the kernel (insert) / command and it appeared as if it brought up Grub. But my Graphics looked really bad... grey and black lines everywhere, and I could barely make out my login for Grub. Nevertheless, I would select what appeared to be the words: Gentoo Linux 2.6.12-r6 - but didnt load anything (no console window, ect.).
Please help.

Heres my grub.conf file:

Code:
default 0
timeout 30
splashimage= (hd0,0) /grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r6
root (hd0,0)
kernel /kernel -2.6.12-gentoo-r6 root=/dev/hda3

**I've gotta be missing something from my grub file** | Or maybe I should just start over :( :D :D


Hi.

You have some errors in your grub.conf file that I expect are typos. Instead of
Code:
splashimage= (hd0,0) /grub/splash.xpm.gz
you should have

Code:
splashimage=(hd0,0)/grub/splash.xpm.gz
If that isn't the error, please post the output of fdisk -l and try booting with the splashimage line commented.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4727
Location: Angra do Heroísmo (PT)

PostPosted: Mon Oct 17, 2005 9:17 pm    Post subject: Reply with quote

oldunion wrote:
Sorry for the double-post. This problem was solved, somehow i did. But theres a new problem aven though it works.

When grub starts up you cant see it, and if you do nothing linux will boot up eventually. If you hit the down arrow on the keyboard and then press enter, you load windows. Anyway to get a gui?


Hi.

You seem to have a problem with either the splashimage or the framebuffer. Start by commenting the splashimage line. If you can see the GRUB menu, you must double-check that you're using a proper splashimage and or have the correct name. You should also make sure that the support for the framebuffer in the kernel is correct.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4727
Location: Angra do Heroísmo (PT)

PostPosted: Mon Oct 17, 2005 9:20 pm    Post subject: Reply with quote

Ox- wrote:
I'm getting an error 15 when I try to boot, but my grub.conf has the right filenames.

I've verfiified this from a live CD, but regardless of that my .conf file has been working since I last changed it over a week ago. What's new is apparently a rebuild of grub and all these "stage" files in /boot/grub.

I also get the error 15 when trying to boot from my debian partition, and that grub entry has been working for almost a year.

Both the debian partition and /boot are ext 3. I can't image that being a problem, but possibly?

At the end of the ebuild this command is run:
Code:
/sbin/grub --batch --device-map=/boot/grub/device.map  < /boot/grub/grub.conf > /dev/null 2>&1
.

What is this doing? If, for some reason, it wasn't run could this cause my problem?


Hi.

Make sure that your error isn't with the splashimage. You should also post your grub.conf file if you want us to try to help you.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4727
Location: Angra do Heroísmo (PT)

PostPosted: Mon Oct 17, 2005 9:26 pm    Post subject: Reply with quote

vaxio wrote:
Hi to all, I've a BIG problem with GRUB,

first of all:

Code:
# fdisk -l
/dev/hda1   *      HPFS/NTFS            -->win xp
/dev/hda2           W95 Ext'd(LBA)  --EXT
/dev/hda5           HPFS/NTFS            -->documents
/dev/hda6           Linux                    --> gentoo /
/dev/hda7           Linux                    --> gentoo /boot
/dev/hda8           Linux Swap            --> swap

Setting grub
Code:
root (hd0,6)
setup (hd0)
quit

Code:
# cat /boot/grub/grub.conf
timeout 10
default 0
fallback 0

title=WinXp
rootnoverify (hd0,0)
makeactive
chainloader +1

title=Gentoo
root (hd0,6)
kernel (hd0,6)/vmlinuz ro root=/dev/hda6 vga=791

1.
When I start grub from livecd, and type

Code:
root (hd0,6) //OK!
 Filesystem...is ext2...0x83

kernel (hd0,6)/vmlinuz

Error 15:File not found

2.
When I reboot my laptop (Centrino Sony Vaio)
I saw the cursor for some second runs on the screen and then stops at bottom-right and dispaly a sigle smile face,like this one :o but "shell like".
The only thing I can do is reboot with live CD.

Please, help me?
I lost Win Xp???Why it happens?


Hi.

Your error 15 means that your kernel name is not vmlinuz. You should check the filename with a live-cd or using the GRUB command prompt. You will have to show us the output from the boot process, at least 10 to 15 lines before the smile, for us to help you.
If you can't boot WinXP, you might have a problem with the boot record. What error do you get? Did you try running fixboot from the recovery console?
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4727
Location: Angra do Heroísmo (PT)

PostPosted: Mon Oct 17, 2005 9:34 pm    Post subject: Reply with quote

empie wrote:
Hi,

This is my first attempt to install gentoo on my thinkpad T43p and I'm having some weird problems when trying to install grub and getting it to work.
...
This is my grub.config file
Code:

timeout 30
default 0
fallback 1
splashimage=(hd0,7)/grub/splash.xpm.gz

title Gentoo
root (hd0,7)
kernel /kernel-2.6.13-gentoo-r3 root=/dev/sda10
savedefault
boot

title windows
root (hd0,0)
savedefault
makeactive
chainloader +1

...
When I reboot the system, the menu contains the gentoo linux entry and the windows XP entry. Booting windows works perfectly but when I select the Linux entry in the list, I get the following error:
Code:

Booting Gentoo Linux 2.6.13-gentoo-r3

root (hd0,7)
 Filesystem type is ext2fs, partition type 0x83
kernel /kernel-2.6.13-gentoo-r3 root=/dev/sda10
 [Linux-bzImage,setup=0x1200, size=0x236b0c]
savedefault

Error 1: Filename must be either an absolute pathname or blocklist

Press any key to continue...



When I press "c" in the grub menu and perform the following commands, the system boots (note that The first attempt failed when there was no / before the kernel name. At the second attempt,with the / in place, it worked. in my grub.conf file, the kernel entry also starts with a / (I tried removing it, but no effect)
Code:

grub>root (hd0,7)
 Fylesystem type is ext2fs, partition type 0x83
grub>kernel kernel-2.6.16-gentoo-r3 root=/dev/sda10
 Error 1: Filename must be either an absolute pathname or blocklist
grub>kernel /kernel-2.6.16-gentoo-r3 root=/dev/sda10
 [Linux-bzImage, setup=0x1200, size=0x236b0c]
grub> boot


Why is it working when I type in the commands and more important, why isn't it working via the grub.conf file. In my opinion, both ways of working should be identical. I checked over and over for typing errors, but everything seems ok.

Thanks in advance for the help


Hi.

Have you tried replacing
Code:
kernel /kernel-2.6.13-gentoo-r3 root=/dev/sda10
savedefault
boot

with the following?
Code:
kernel /kernel-2.6.13-gentoo-r3 root=/dev/sda10

_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 2 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum