Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Grub Error Collection [Part 8] [POST GRUB QUESTIONS HERE!]

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Locked
Advanced search
707 posts
  • Page 7 of 29
    • Jump to page:
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 29
  • Next
Author
Message
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

Post by desultory » Fri Sep 07, 2007 3:23 am

Have you checked whether grub associates the drive with the same identifiers both during boot and when it is invoked from within a running system?
Top
xavier10
Guru
Guru
Posts: 487
Joined: Mon Jan 19, 2004 1:05 pm
Location: Paris, France

Post by xavier10 » Fri Sep 07, 2007 7:31 am

I have been able to boot the computer, after entering kernel /boot/kernel-2.6.22-r5 on the grub command line.

The fonts are a bit borked in the begining of the boot sequence, but they get fine before the end of it, so that I can log on and install stuffs. When possible, I will copy paste my xorg.conf.

Anyway, the 'automatic' attempt to boot is still initially failed.
Top
xavier10
Guru
Guru
Posts: 487
Joined: Mon Jan 19, 2004 1:05 pm
Location: Paris, France

Post by xavier10 » Fri Sep 07, 2007 8:33 am

Ok, here is my grub.conf:

Code: Select all

$ cat /boot/grub.conf 
default 0
timeout 100

title=Gentoo
root (hd0,0)
kernel /boot/kernel-2.6.22-r5 root=/dev/sda3
and my /etc/fstab:

Code: Select all

$ cat /etc/fstab 
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed; notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1               /boot           ext2            noatime         0 1
/dev/sda3               /               reiserfs        noatime         0 0
/dev/sda2               none            swap    sw                      0 0
/dev/cdrom              /mnt/cdrom      auto    noauto,ro               0 0
/dev/sda4               /mnt/win        vfat    noauto,noatime,user     0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

proc                    /proc           proc            default         0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Fri Sep 07, 2007 12:18 pm

xavier10,

Your /etc/fstab plays no part in loading the kernel. As its located on your kernels root filesystem it cannot be read until the kernel is loaded and root is mounted. By that time grub has completed its tasks.

As you can boot by typing at the prompt, and your grub.conf looks good, grub is not finding your grub.conf file to read.
We know your boot contains

Code: Select all

 lrwxrwxrwx 1 root root       1 Dec 14  2004 boot -> .
Does your /boot/grub contain

Code: Select all

lrwxrwxrwx 1 root root     20 Dec 14  2004 menu.lst -> /boot/grub/grub.conf
Thats menu.lst (lowercase l) not menu.1st, (numeral 1) As its a symbolic link, it should be cyan (pale blue). Any other colour indicates the link is broken.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
xavier10
Guru
Guru
Posts: 487
Joined: Mon Jan 19, 2004 1:05 pm
Location: Paris, France

Post by xavier10 » Fri Sep 07, 2007 7:48 pm

NeddySeagoon wrote: As you can boot by typing at the prompt, and your grub.conf looks good, grub is not finding your grub.conf file to read.
Thank you very much, that was my problem ! Thanks :D
Top
FrancoisVal
Tux's lil' helper
Tux's lil' helper
Posts: 90
Joined: Thu May 12, 2005 9:27 pm
Location: Namur, Belgique

Post by FrancoisVal » Fri Sep 07, 2007 7:53 pm

Hello everybody,
I have an extremely strange and annoying problem with grub. It can't boot any system, even windows. Each time, it fails with "error 15: file not found'. My disk is partitioned as follows:
/dev/hda1 NTFS, WIndows xP
/dev/hda5 ext3, Debian
/dev/hda6 ext3, Debian var
/dev/hda7: NTFS
/dev/hda8: gentoo (boot)
/dev/hda9 LVM2 (3 logical volumes with the gentoo root, src and portage)
/dev/hda10: swap
/dev/hda11 ext3, Home (encrypted)

Here is an extract of my grub.conf file located in /boot (hda8):

Code: Select all

# Splash image to show behind grub.
splashimage=(hd0,7)/grub/splash.xpm.gz
title           Gentoo GNU/Linux, kernel 2.6.22.6
root            (hd0,7)
kernel          (hd0,7)/vmlinuz-2.6.22.6  udev dolvm2 real_root=/dev/mapper/system-root init=/sbin/init ro resume=swap:/dev/hda10 video=uvesafb:1024x768-32,mtrr:3,ywrap splash=silent,fadein,theme:snowboard-tux quiet CONSOLE=/dev/tty1 SELINUX_INIT=NO
initrd          (hd0,7)/initramfs-lvm2.gz
savedefault
boot

title   Windows XP
rootnoverify    (hd0,0)
savedefault
makeactive
chainloader +1
In fact, I want to remove Debian. The current grub MBR was installed from debian. So I reinstalled from gentoo with the following commands:

Code: Select all

root (hd0,7)
setup (hd0)
The device.map file also looks correct:

Code: Select all

(fd0)   /dev/fd0
(hd0)   /dev/hda
I didn't encounter any error doing that. But when I want to boot Gentoo or Windows, I get the error 15. What is very strange is that with the TAB completion, each file in boot (hda8) can be found. What I don't understand is that windows can't be booted too. I add that I didn't remove debian partitions yet. So hda8 is still the gentoo boot partition.

Does anybody understand this problem or have a solution ?
Thanks in advance for your help
François Valenduc
Top
blkdragon
n00b
n00b
Posts: 50
Joined: Mon Nov 20, 2006 5:18 am
Contact:
Contact blkdragon
Website

Post by blkdragon » Fri Sep 21, 2007 10:11 am

*First of all, FranciosVal, i have no intention of bumping you aside... I had a look at your problem and believe that the solution is this: grub.conf

Code: Select all

title     Gentoo GNU/Linux, kernel 2.6.22.6
                    root (hd0,7) kernel (hd0,7)/vmlinuz-2.6.22.6  udev dolvm2 real_root=/dev/mapper/system-root init=/sbin/init ro resume=swap:/dev/hda10 video=uvesafb:1024x768-32,mtrr:3,ywrap splash=silent,fadein,theme:snowboard-tux quiet CONSOLE=/dev/tty1 SELINUX_INIT=NO
# initrd          (hd0,7)/initramfs-lvm2.gz
savedefault
boot
That may or may not solve the problem, i have very little experience with grub. Doesnt hurt to try, right?

But I also have a grub problem... I get "Error 18" on boot.

Yes, this is the one where it can't read the kernel (kernel? grub itself has a kernel?) because it's too far away on the drive for the BIOS to read it properly or something. I have upgraded to the latest version of my BIOS for my motherboard, does not fix the problem...

My partition scheme is as follows:
/dev/hda1: 80Gb Windows
/dev/hda2: 512M Swap
/dev/hda3: 80Gb Linux

As you can see, I dont have a separate /boot partition like others have, now i realise that this may be a little problem.

I was wondering if any tinkering i could have done could have caused this, since grub booted both OS's fine 2 weeks beforehand, and this problem has just cropped up. Any way of rectifying without starting again and putting /boot on /dev/hda1 (and repartitioning thw whole system)? I wasn't even aware that GRUB even had a kernel... (surely it's not trying to load the kernel from Linux, Windows is set to boot first by default anyways!)

Thanks, this problem has been doing my head in...
blkdragon
Lovin' Choc Cake...

Toshiba Portege 7020CT
PII, 366Mhz, 192Mb RAM, 30GB HDD, XP & Gentoo

Hewlett Packard 8833
PIII, 1Ghz, 512Mb RAM, 80+40Gb HDD, XP & Gentoo

Non-Branded Computer
P4, 1.6Ghz, 512Mb RAM, 160Gb HDD, XP & Gentoo
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Fri Sep 21, 2007 2:21 pm

blkdragon,

This thread and all the preceding parts are a mishmash of posts from all over. Moderators move things here too and posts are shown in timestamp order, so no need to worry about butting in.

First some PC and hard drive history. The make boot a smal partition at the front of the drive dates to the time when 528Mb was a big drive.
The BIOS limit has moved from 528Mb, 2GB, 4G8, 8Gb 33Gb (approx) 137Gb and is now 256TB. As it used to work, and your hda1 is 80Gb, we can infer that your BIOS limit is 137Gb (All the other limits are inside youe Windows partition)
Thus the BIOS cannot read the last 23Gb of your drive, so if your new kernel is in that area you will get this issue.

The quick and dirty fix is you steal 32Mb of your swap space for a /boot
Boot the liveCD and delete the swap partition. Create 2 partitions in its place, one of 32Mb for /boot and one of 480Mb (the rest of the drive) for swap. Ignore fdisk complaining that your partitions are out of order, thats not an issue.

mkswap /dev/... to get you swap back
mke2fs /dev/... to format /boot

Note that your new /boot contains a directory called lost+found but your old one will not
You are sure to want to be able to tell them apart.

Go into the the chroot and mount your new /boot somewhere, like /mnt/cdrom, just this once.
cp -a everything out of /boot into /mnt/cdrom but don't delete the old /boot just now.
fix /etc/fstab for your new swap and /boot partitions
umount /mnt/cdrom
mount the new /boot in its proper place, over the top of the files already there - they will be hidden.
reinstall grub to the MBR (think about the root (hd0,x) step), it needs to point to your new /boot
fix grub.conf - the hd(x,y) entries have all changed.

Reboot to test. If it works, you can remove the contents of your old /boot, so they are no longer needed.
Thats the one without lost+found
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
blkdragon
n00b
n00b
Posts: 50
Joined: Mon Nov 20, 2006 5:18 am
Contact:
Contact blkdragon
Website

Post by blkdragon » Sat Sep 22, 2007 12:10 am

Heya NeddySeagoon,

Thanks for all the help, i will endeavour to do this when I get home tonight.

You'll hear from me if it doesnt work! (also if it does work)

:wink:

Thanks again...

EDIT: Works a a charm, thanks a lot NeddySeagoon, i owe you one :D
Lovin' Choc Cake...

Toshiba Portege 7020CT
PII, 366Mhz, 192Mb RAM, 30GB HDD, XP & Gentoo

Hewlett Packard 8833
PIII, 1Ghz, 512Mb RAM, 80+40Gb HDD, XP & Gentoo

Non-Branded Computer
P4, 1.6Ghz, 512Mb RAM, 160Gb HDD, XP & Gentoo
Top
KeyThong
n00b
n00b
Posts: 1
Joined: Thu Sep 27, 2007 7:09 pm

Grub Error 15, missing file or file not found

Post by KeyThong » Thu Sep 27, 2007 7:28 pm

I've followed the installation handbook through to my first reboot, after installing Grub.. which went smoothly however I had a couple of problems running Grub's:

Setup (hd0)

Where I later found, had not been pointed to the correct partition and instead the whole drive!

Either way, I managed to run setup after pointing Grub at the correct boot partition, however now I am having problems running Linux on a fresh boot. Though my other Grub option of WinXP works no problems.

Error:

kernel /boot/kernel-genkernel-x86-2.6.22-gentoo-r5 root=/dev/ram0 init=/linuxrc

Error 15 : file not found

And that's it.. Much thanks for any suggestions, in advance.

I've checked the file locations and even tried to remove the boot folder reference to simply the kernel image, however I'm not so sure about my root pointer or init reference.

Sticky situation here, thanks for the help you guys 'n girls. :wink:
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Thu Sep 27, 2007 9:45 pm

KeyThong,

Do you have a file called

Code: Select all

/boot/kernel-genkernel-x86-2.6.22-gentoo-r5
You also need a a symbolic link in /boot showing as

Code: Select all

boot -> .
Look with ls -l /boot after you are back in the chroot.

File names are case sensitive.

============== edit================

Your root (hdX,Y) points to your /boot partition. Its where grub will find the files it needs.
Grub counts from 0, not 1 too
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
oguz286
n00b
n00b
User avatar
Posts: 29
Joined: Sun Jan 04, 2004 9:31 pm

Post by oguz286 » Sun Sep 30, 2007 12:16 pm

Well it's been a long time since i was here but i wanted to pick up Gentoo again.

I can't boot into gentoo because i get an error: "Cannot open root device "hde4" or unknown-block(2,0)"
The thing is, i have a GA P35-DQ6 motherboard and i has a Jmicron chip for IDE devices, but afaik it's a SATA chip.
I have Jmicron, SATA, PATA all in the kernel so that should be no problem.

My partitions:

Code: Select all

/dev/hde1  windows
/dev/hde2  /boot
/dev/hde3  swap
/dev/hde4  /
My grub.conf:

Code: Select all

default 0
timeout 20

Code: Select all

title=Gentoo
root (hd0,1)
kernel /kernel-2.6.22-gentoo-r8 root=/dev/hde4
which i think should work but it doesn't. I tried hda4 and sda4 but it still gives me the same error. I also have tried:

Code: Select all

kernel /kernel-2.6.22-gentoo-r8 root= (hd0,3)/dev/hde4
but this also doesn't work. Yesterday i followed the AMD64 handbook and i made some error which left me a cripple gentoo,
but i could boot at least. Got any ideas? :)

EDIT: I fixed the problem, i had no SCSI-support in my kernel whatsoever so yeah, kind of dumb :lol:
"Windows 9x: n. 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition"
Top
Weedman
n00b
n00b
Posts: 52
Joined: Fri Mar 17, 2006 8:46 am
Location: Tasmania, Australia

Post by Weedman » Wed Oct 03, 2007 3:36 am

Hi all,

I have a massively customised system, maxed out power cables, everything. Not one cable is free. We have dual SCSI hard drives, one which likes to die spontaneously and which gives wierd error messages, and four hard drives connected to a Codegen 450W power supply. Yes, thats right, Codegen.

The problem is: On boot, I get "GRUB" and a blinking cursor. It's like grub doesnt even exist. We followed all the instructions in the handbook to the letter. I've installed Gentoo many, many times and have not gotten such a message before, EVER.

Grub isnt working at all, so i can get into the Grub command-line and see which drives it actually picks up, and in what order they pick up in.

I'm very sure of the boot-order of the BIOS. I know that grub thinks differently to the BIOS, so this is a big problem :?

Any suggestions?
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

Post by desultory » Wed Oct 03, 2007 3:58 am

Try using a different power supply, it may be overburdened. One way to rule out that possibility would be try booting to a live CD environment and doing some basic stress testing from there.

Fixed a typo. -- desultory
Last edited by desultory on Fri Oct 05, 2007 6:04 am, edited 1 time in total.
Top
blkdragon
n00b
n00b
Posts: 50
Joined: Mon Nov 20, 2006 5:18 am
Contact:
Contact blkdragon
Website

Post by blkdragon » Thu Oct 04, 2007 6:17 am

wait, weedman and I are working together on this one, and i can happily say that it is fixed, to a degree.

turns out some of our SCSI hard drives are majorly faulty, and throw out errors all over the shop. Grub doesnt load because weedman mistakenly compiled in the wrong PATA drivers in the kernel, making everything sdx instead of hdx...

Everything works now, but it does take a grub floppy to form the "springboard" from which the actual system can then boot natively from the HDD's.

Thanks guys,
weedman & blkdragon
Lovin' Choc Cake...

Toshiba Portege 7020CT
PII, 366Mhz, 192Mb RAM, 30GB HDD, XP & Gentoo

Hewlett Packard 8833
PIII, 1Ghz, 512Mb RAM, 80+40Gb HDD, XP & Gentoo

Non-Branded Computer
P4, 1.6Ghz, 512Mb RAM, 160Gb HDD, XP & Gentoo
Top
Weedman
n00b
n00b
Posts: 52
Joined: Fri Mar 17, 2006 8:46 am
Location: Tasmania, Australia

Post by Weedman » Thu Oct 04, 2007 12:17 pm

Ahem, blkdragon...

Yes, the SCSI drives are a PITA sometimes, but that is not the end of the story.

It is like the MBR is screwed on the SCSI drives, but GRUB is there, otherwise it wouldn't load a thing.

Loading with a Grub boot floppy works, and it picks up all the drives correctly. Gentoo works, and I am happy.

But I can't for the life of me, figure out what is wrong with the setup. Could it be that grub won't load off SCSI drives? Could it be that my BIOS has some weird bug where it chucks a skitz when booting off SCSI?

Or could it really be the PSU?

Thanks,

weed
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
Top
georanma
n00b
n00b
Posts: 3
Joined: Thu Oct 04, 2007 3:57 pm

Post by georanma » Thu Oct 04, 2007 3:59 pm

i get to my grub menu and select my install and i get this message


booting 'gentoo linux 2.6.19-r5'
kernel /boot/kernel-gentoo-x86-2.6.19-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev

error 15: file not found

press any key to continue

id appreciate some help in fixing this


edit: i saw the post a few up about what looks to be the same problem...but im not sure i understand your explantion of how to fix it...as in i dont know how i would go about that. thanks!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Thu Oct 04, 2007 7:41 pm

georanma,

Welcome to Gentoo.

Error 15 from grub means that it cannot find a file you have asked it to load. As you get to the menu, either the file

Code: Select all

/boot/kernel-gentoo-x86-2.6.19-r5
does not exist or the initrd file, listed in grub.con just after that kernel line, does not exit. You fix it by editing grub.conf, but first you need to get back into your install by following this guide

If your problems persist, we will need to see your grub.conf file and the output of

Code: Select all

ls -l /boot
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Thu Oct 04, 2007 7:46 pm

Weedman,

grub has no knowledge of the drive electrical interface. Grub calls the BIOS to read the drive to load itself.
This means that if you have a drive the BIOS cant see, grub can'r boot from it either.
Cheap (ISA) SCSI cards with no BIOS are about the only deivices I know of like this and its unlikely you have obe of these.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
georanma
n00b
n00b
Posts: 3
Joined: Thu Oct 04, 2007 3:57 pm

Post by georanma » Fri Oct 05, 2007 4:39 am

NeddySeagoon wrote:georanma,

Welcome to Gentoo.

Error 15 from grub means that it cannot find a file you have asked it to load. As you get to the menu, either the file

Code: Select all

/boot/kernel-gentoo-x86-2.6.19-r5
does not exist or the initrd file, listed in grub.con just after that kernel line, does not exit. You fix it by editing grub.conf, but first you need to get back into your install by following this guide

If your problems persist, we will need to see your grub.conf file and the output of

Code: Select all

ls -l /boot
thanks for the help...turned out that I just put the wrong kernel info in the grub.conf file...twice
I suck at life...anyways ...now to figure out how to get a desktop gui on this thing
Top
Weedman
n00b
n00b
Posts: 52
Joined: Fri Mar 17, 2006 8:46 am
Location: Tasmania, Australia

Post by Weedman » Fri Oct 05, 2007 11:52 am

Hmm,

Grub works fine if it is booted off a floppy. It also picks up all of the drives, which is interesting. NeddySeagoon, you were correct about the drives.

If I load the grub.conf from the drive on which / is located, it runs fine. No issues.

But it still won't load grub from the SCSI drives. It is like the mbr is screwed.

No floppy, no working system.

weed
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Fri Oct 05, 2007 9:56 pm

Weedman,

Explain all your hard drives, their partitions, filesystems and their connections to the system.
An annotated

Code: Select all

fdisk -l
would be useful.

Please post your grub.conf too.

Long short. Toy have changed the filesystem on /boot since grub was installed on the MBR.
Grub can work with lots of filesystems on /boot but the grub installation space only has room for one, which is chosen at grub install time. If you change the filesystem, on /boot grub breaks until you reinstall it. Thats why is is a lot of different stage1.5 files
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
DaveDay
n00b
n00b
Posts: 29
Joined: Thu Oct 04, 2007 5:08 pm

/dev/sda becomes /dev/sdb and hoses boot process - why???

Post by DaveDay » Sat Oct 06, 2007 8:10 pm

Please excuse this repost from a few days ago. I am still having the problem and would appreciate your wisdom.
Meanwhile, I continue trying to get to know udev etc.

Quote:

I am learning Gentoo and so far have three of my machines up and humming along nicely.

This week I have been reinstalling XP on my wife's pc (hd0,0) and left myself some room for Gentoo so I could add her machine to my little compile farm when she is not using it.

XP is on (hd0,0) or /dev/sda1

/boot is /dev/sda2 (hd0,1)
/swap is /dev/sda3 (hd0,2)
/ is /dev/sda4 (hd0,3)

Upon booting, the system (Genkernel all or make menuconfig, does it either way) starts up and appears to find /boot correctly. Shortly after starting mdev, the system complains that /dev/sda4 is not a proper root device and asks for the correct one.

When I drop to a shell and "ls /dev/sd*" this is what I see:

/dev/sda /dev/sdb /dev/sdb1 /dev/sdb2 /dev/sdb3 /dev/sdb4 ..... and then the cdrom, etc.

When I look on /dev/sdb4, I find it is indeed my / partition, renamed without my knowledge or permission!

So it looks to me that grub is correct (there is NO /dev/sda4).

Why this is happening is over my head at the moment.

Any thoughts appreciated.

Dave Day

UnQuote

Thanks again for any insight you might have to share.

Dave
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

Post by desultory » Sat Oct 06, 2007 11:53 pm

DaveDay wrote:Please excuse this repost from a few days ago. I am still having the problem and would appreciate your wisdom.
Instead of reposting the same data, you should have simply included a link to the old post. There are provisions for both quoting and linking to specific posts in the markup language used for posts in this forum.
DaveDay wrote:When I look on /dev/sdb4, I find it is indeed my / partition, renamed without my knowledge or permission!

So it looks to me that grub is correct (there is NO /dev/sda4).
Either replace /dev/sda with /dev/sdb in /etc/fstab (and the kernel command line) or convert /etc/fstab to use volume labels or partition UUIDs to identify the device to be mounted.
DaveDay wrote:Why this is happening is over my head at the moment.
Some other device has been assigned /dev/sda.
Top
hookooekoo
Apprentice
Apprentice
Posts: 196
Joined: Sun May 02, 2004 12:07 am

Boot problems, Grub Error 2

Post by hookooekoo » Wed Oct 10, 2007 11:59 pm

I have given tons of info to help resolve the issue, probably overkill.

Grub Errors out immediately.

Dell Precision 390 Quad Core
Hardware Raid to sata drives.

I have to assume i am missing the appropriate module in the kernel construct.

Code: Select all

00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub
00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 RAID bus controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA RAID Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02)
05:02.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)
Kernel (relevant parts) I even put Y on extra ones in hopes.

Code: Select all

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
# CONFIG_SCSI_TGT is not set
CONFIG_SCSI_NETLINK=y
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=y
# CONFIG_SCSI_ISCSI_ATTRS is not set
CONFIG_SCSI_SAS_ATTRS=y
CONFIG_SCSI_SAS_LIBSAS=y
CONFIG_SCSI_SAS_LIBSAS_DEBUG=y

#
# SCSI low-level drivers
#
# CONFIG_ISCSI_TCP is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
CONFIG_SCSI_AIC79XX=y
CONFIG_AIC79XX_CMDS_PER_DEVICE=32
CONFIG_AIC79XX_RESET_DELAY_MS=4000
# CONFIG_AIC79XX_DEBUG_ENABLE is not set
CONFIG_AIC79XX_DEBUG_MASK=0
# CONFIG_AIC79XX_REG_PRETTY_PRINT is not set
CONFIG_SCSI_AIC94XX=y
CONFIG_AIC94XX_DEBUG=y
# CONFIG_SCSI_ARCMSR is not set
CONFIG_MEGARAID_NEWGEN=y
CONFIG_MEGARAID_MM=y
CONFIG_MEGARAID_MAILBOX=y
CONFIG_MEGARAID_LEGACY=y
CONFIG_MEGARAID_SAS=y
# CONFIG_SCSI_HPTIOP is not set
CONFIG_SCSI_BUSLOGIC=y
# CONFIG_SCSI_OMIT_FLASHPOINT is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
CONFIG_SCSI_GDTH=y
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SRP is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_ACPI=y
CONFIG_SATA_AHCI=y
CONFIG_SATA_SVW=y
CONFIG_ATA_PIIX=y
# CONFIG_SATA_MV is not set
CONFIG_SATA_NV=y
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
CONFIG_SATA_PROMISE=y
CONFIG_SATA_SX4=y
CONFIG_SATA_SIL=y
CONFIG_SATA_SIL24=y
CONFIG_SATA_SIS=y
CONFIG_SATA_ULI=y
CONFIG_SATA_VIA=y
# CONFIG_SATA_VITESSE is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_MARVELL is not set
CONFIG_PATA_MPIIX=y
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RZ1000 is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_SIL680 is not set
CONFIG_PATA_SIS=y
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set
to be thorough

Code: Select all

# 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 10
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Pimp Mother Fucker
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.22-gentoo-r8 root=/dev/sda3

title=Gentoo Linux 2.6.22-r8 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.22-gentoo-r8 root=/dev/sda3 init=/bin/bb

# 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
#rootnoverify (hd0,5)
#makeactive
#chainloader +1
thanks for any help.
Top
Locked

707 posts
  • Page 7 of 29
    • Jump to page:
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 29
  • Next

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic