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

Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 22, 23, 24  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
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Mon Oct 18, 2004 2:21 pm    Post subject: Reply with quote

@slam633: Everything looks fine to me. Did you do a fsck for /dev/hda1? If this doesn't help, try deleting the kernel (or move away) and copy again from /usr/src/linux/arch/i386/boot/bzImage to /boot/gentoo...
Back to top
View user's profile Send private message
vpupkind
n00b
n00b


Joined: 18 Oct 2004
Posts: 2

PostPosted: Mon Oct 18, 2004 7:36 pm    Post subject: Reply with quote

Maedhros wrote:
Error 21 being: Disk does not exist? Can you post your grub.conf?


It's the standard one:
Code:

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

title=Gentoo Linux 2.6.8
root (hd0,0)
kernel /kernel-2.6.8-gentoo-r4 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initrd-2.6.8-gentoo-r4
Back to top
View user's profile Send private message
slam633
n00b
n00b


Joined: 01 Oct 2004
Posts: 40
Location: Fear me, for I am truly evil.

PostPosted: Mon Oct 18, 2004 7:44 pm    Post subject: Reply with quote

Earthwing,

Thanks for the help.

Here's what I've done:

Quote:
livecd / # umount /dev/hda1
livecd / # umount /dev/hda3
livecd / # fsck
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
/dev/hda3: clean, 136335/2375680 files, 400945/4751223 blocks
esfsck 1.35 (28-Feb-2004)
/dev/hda1: clean, 34/10040 files, 4387/40128 blocks
livecd / # mount /dev/hda1
livecd / # mount /dev/hda3
mount: /dev/hda3 already mounted or / busy
mount: according to mtab, rootfs is already mounted on /

livecd / # rm -rf /boot/kernel-2.4.26-gentoo-r6
livecd / # rm -rf /boot/kernel-2.6.7-gentoo-r11
livecd / # ls /boot
System.map-2.4.26-gentoo-r6 boot config-2/4/26-gentoo-r6 grub lost+found
livecd / # cd /usr/scr/linux
livecd linux # cp arch/i386/boot/bzImage /boot/kernel-2.4.26-gentoo-r6
livecd linux # exit
exit
livecd gentoo # cd
livecd root # umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo
umount: /mnt/gentoo/proc: not found
umount: /mnt/gentoo: device is busy
umount: /mnt/gentoo: device is busy
livecd root # reboot

Broadcast message from root (vc/1) (Mon Oct 18 12:47:48 2004):

The system is going down for reboot NOW!
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
* Setting Console frame buffer images...
* Stopping local...
* Stopping metalog...
* Syncing hardware clock to system clock [UTC]...
* Saving random seed...
* Stopping input hotplugging...
* Stopping pci hotplugging...
* Stopoing usb hotplugging... (System hangs at this point. Pressing <enter> takes me back to..)
livecd root # reboot

(System reboots, goes through POST)

Boot from ATAPI CD-ROM : Failure ...
GRUB Loading stage1.5.

GRUB loading, please wait...
Error 2

Boot from CD:

livecd root# swapon /dev/hda2
livecd root# mount /dev/hda3 /mnt/gentoo
livecd root# mount /dev/hda1 /mnt/gentoo/boot
livecd root# cd /mnt/gentoo
livecd gentoo# mount -t proc none /mnt/gentoo/proc
livecd gentoo# chroot /mnt/gentoo /bin/bash
livecd / # ls -lR /boot
/boot:
total 2269
-rw-r--r-- 1 root root 707291 Oct 16 14:08 System.map-2.4.26-gentoo-r6
lrwxrwxrwx 1 root root 1 Oct 15 10:21 boot -> .
-rw-r--r-- 1 root root 27190 Oct 16 14:09 config-2.4.26-gentoo-r6
drwxr-xr-x 2 root root 1024 Oct 16 08:49 grub
-rw-r--r-- 1 root root 1562012 Oct 18 14:08 kernel-2.4.26-gentoo-r6
drwx------ 2 root root 12288 Oct 15 10:03 lost+found

/boot/grub:
total 845
-rw-r--r-- 1 root root 11264 Oct 16 08:40 e2fs_stage1_5
-rw-r--r-- 1 root root 10256 Oct 16 08:40 fat_stage1_5
-rw-r--r-- 1 root root 9216 Oct 16 08:40 ffs_stage1_5
-rw-r--r-- 1 root root 157 Oct 16 08:49 grub.conf
-rw-r--r-- 1 root root 1495 Oct 16 08:40 grub.conf.sample
-rw-r--r-- 1 root root 11456 Oct 16 08:40 jfs_stage1_5
lrwxrwxrwx 1 root root 9 Oct 16 08:40 menu.lst -> grub.conf
-rw-r--r-- 1 root root 9600 Oct 16 08:40 minix_stage1_5
-rwxr-xr-x 1 root root 196836 Oct 16 08:40 nbgrub
-rwxr-xr-x 1 root root 197860 Oct 16 08:40 pxegrub
-rw-r--r-- 1 root root 12864 Oct 16 08:40 reiserfs_stage1_5
-rw-r--r-- 1 root root 33856 Oct 16 08:40 splash.xpm.gz
-rw-r--r-- 1 root root 512 Oct 16 08:40 stage1
-rw-r--r-- 1 root root 135148 Oct 16 08:40 stage2
-rwxr-xr-x 1 root root 196900 Oct 16 08:40 stage2.netboot
-rw-r--r-- 1 root root 8896 Oct 16 08:40 vstafs_stage1_5
-rw-r--r-- 1 root root 12840 Oct 16 08:40 xfs_stage1_5

/boot/lost+found:
total 0


The only diffence I can see is that the the "/boot, -rw-r--r-- 1 root root 1562012 Oct 18 14:08 kernel-2.4.26-gentoo-r6" had the date changed.

What is my next step, or what should I read?

I've played a bit here and there, but not getting the desired results.

Thanks for your help.
_________________
"Beer is proof God loves us, and wants us to be happy. Ben Franklin"
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Mon Oct 18, 2004 8:02 pm    Post subject: Reply with quote

Force a filesystem check for boot (that means run fsck with -f parameter). It has not been checked yet. Just boot from livecd, don't mount anything and run
Code:
fsck.ext2 -f /dev/hda1
Back to top
View user's profile Send private message
slam633
n00b
n00b


Joined: 01 Oct 2004
Posts: 40
Location: Fear me, for I am truly evil.

PostPosted: Mon Oct 18, 2004 8:50 pm    Post subject: Reply with quote

Earthwings,

Thanks for your help,

I forced the check:

Quote:
Boot from CD:

livecd root # fsck.ext2 -f /dev/hda1
e2fsck 1.35 (28-Feb-2004)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hda1: 34/10040 files (5.9% non-contiguous), 4387/40128 blocks
livecd root # reboot

Broadcast message from root (vc/1) (Mon Oct 18 12:47:48 2004):

The system is going down for reboot NOW!
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
* Setting Console frame buffer images...
* Stopping local...
* Stopping metalog...
* Syncing hardware clock to system clock [UTC]...
* Saving random seed...
* Stopping input hotplugging...
* Stopping pci hotplugging...
* Stopping usb hotplugging... (System hangs at this point. Pressing <enter> takes me back to..)
livecd root # reboot

(System reboots, goes through POST)

Boot from ATAPI CD-ROM : Failure ...
GRUB Loading stage1.5.

GRUB loading, please wait...
Error 2


Am I missing a step somewhere. When I loaded 1.4 a couple of years ago, I didn't have any problems. This is a different box, but It worked with another OS.
_________________
"Beer is proof God loves us, and wants us to be happy. Ben Franklin"
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Mon Oct 18, 2004 9:26 pm    Post subject: Reply with quote

I would try lilo next to decide whether it is a problem of grub or with your kernel/partition or whatever. There's a description on how to install lilo in the handbook as well.
Back to top
View user's profile Send private message
slam633
n00b
n00b


Joined: 01 Oct 2004
Posts: 40
Location: Fear me, for I am truly evil.

PostPosted: Mon Oct 18, 2004 9:38 pm    Post subject: Reply with quote

Earthwings,

Thanks,

I'll remove grub, install LILO. If that doesn't work, I reload the kernel.

Should I clean the hard drive to clear any possible problems, or does repartitioning and adding the file systems do that for me?

I tried to follow the steps in the handbook, that's why I tried the 2.4 kernel.

If I reinstall, I'll go with the grub and the 2.6 kernel, I've heard/read that it works better with dual processors.

Thanks again for your help,

Rob
_________________
"Beer is proof God loves us, and wants us to be happy. Ben Franklin"
Back to top
View user's profile Send private message
slam633
n00b
n00b


Joined: 01 Oct 2004
Posts: 40
Location: Fear me, for I am truly evil.

PostPosted: Tue Oct 19, 2004 12:36 am    Post subject: Reply with quote

Earthwings,

Thanks,

I'll remove grub, install LILO. If that doesn't work, I reload the kernel.

Should I clean the hard drive to clear any possible problems, or does repartitioning and adding the file systems do that for me?

I tried to follow the steps in the handbook, that's why I tried the 2.4 kernel.

If I reinstall, I'll go with the grub and the 2.6 kernel, I've heard/read that it works better with dual processors.

Thanks again for your help,

Rob
_________________
"Beer is proof God loves us, and wants us to be happy. Ben Franklin"
Back to top
View user's profile Send private message
SoNiCfReAk
n00b
n00b


Joined: 04 Sep 2004
Posts: 16
Location: Nova Scotia, Canada

PostPosted: Wed Oct 20, 2004 5:50 am    Post subject: Reply with quote

When I boot the kernel I get

VFS: cannot open root device "sda3" or unknown-block (0,0) please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on unknown-block

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

title=      Gentoo
root      (hd0,2)
kernel      /kernel-2.6.8-gentoo-r4 vga=795   root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 noacpi
initrd      /initrd-2.6.8-gentoo-r4


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



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

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda2      /boot      ext3      noauto,noatime      1 2
/dev/sda3      /      ext3      defaults,noatime   0 1
/dev/sda4      none      swap      sw         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro      0 0
#/dev/fd0      /mnt/floppy   auto      noauto         0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      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)
# Adding the following line to /etc/fstab should take care of this:

none         /dev/shm   tmpfs      defaults      0 0


Any help would be greatly appreciated, thanks!
Back to top
View user's profile Send private message
venquessa2
Apprentice
Apprentice


Joined: 27 Oct 2004
Posts: 283

PostPosted: Wed Oct 27, 2004 12:03 pm    Post subject: Reply with quote

Just some thoughts...

I never did get the grub-install to work. Possibly because I wasnt' using a separate boot partition. I got endless "can't find /boot" or "is not a block device" errors. Using the manual grub command line and all worked fine.

The default grub.conf is a little odd if you use the manual method, the titles for "change colors" and "install to hard disk" appear as boot options, so need removed.

I would ask if it is possible for veterans that you state in the install docs that the grub.conf is symlinked with menu.lst as this caused me some confusion at first.

Finally, Packard Bell igo450 laptop does not like grub at all. I had to use Lilo. On boot I recieved "Loading grub....." and nothing further. I checked the grub conf and reinstalled the boot block with and without splash screen , but it wouldn't run grub. Lilo worked perfectly.

(another note for first boot on the mentioned laptop, is don't use the kernel framebuffer SiS driver, I got major font distortion. The VESA driver works perfect at 1024x768x16)

Paul
Workstation - Gentoo
Server - LFS
Back to top
View user's profile Send private message
chrisduck
Apprentice
Apprentice


Joined: 30 Jun 2004
Posts: 283
Location: California

PostPosted: Sat Oct 30, 2004 10:03 pm    Post subject: error 15 Reply with quote

I'm getting the error 15 message.

To be brief, I'll quickly list information that seems necessary
first
- I did a stage two installation
- Grub loads fine and will boot windows
- when I use the tab completion method from grub, it completes the correct kernel file
- it cannot find the initrd file
- ls boot shows kernel-2.6.9-gentoo-r1, but it does not show an initrd file

here is my grub.conf

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

title=Gentoo Linux 2.6.9-r1
root (hd 0,1)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/ram0 video=vesafb:ywrap,pmipal,1440x900-3 ramdisk=8192 real_root=/dev/hda4
initrd /initrd-2.6.9-gentoo-r1

title=WindowsXP
root (hd0,0)
makeactive
chainloader +1

Thanks for any help[/b]
Back to top
View user's profile Send private message
chrisduck
Apprentice
Apprentice


Joined: 30 Jun 2004
Posts: 283
Location: California

PostPosted: Sat Oct 30, 2004 10:40 pm    Post subject: Reply with quote

I thought that I should add the happening of my latest experiment.
I commented out the initrd section of grub.conf. It started to boot as it normally might then it stopped. It gave these final lines of text.

VFS: Cannot open root device "ram0" or unknown block (0,0)
Please append a correct "root=" boot option
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block (0,0)

now I'm more confused.
Back to top
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Sun Oct 31, 2004 7:51 pm    Post subject: Re: grub error collection Reply with quote

idoneus wrote:

[*]Boot Windows from your second harddrive
If you've got problems doing so, try this tip from cyrillic: change your windows boot entry to this:
Code:
title Win2k
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1


This thread has helped me yet again! Thanks so much for this great thread. I usu. come here first when I have any grub issues, and seldom do any of the problems I have with grub extend beyong trying what's recommended somewhere herein. Good work!
_________________
http://dkap.info
Back to top
View user's profile Send private message
slam633
n00b
n00b


Joined: 01 Oct 2004
Posts: 40
Location: Fear me, for I am truly evil.

PostPosted: Thu Nov 04, 2004 8:32 pm    Post subject: Grub error [SOLVED] Reply with quote

Earthwings,

Thanks for all the help.

Turns out that I didn't have my hard drive set to use LBA.

Thanks
_________________
"Beer is proof God loves us, and wants us to be happy. Ben Franklin"
Back to top
View user's profile Send private message
astaines
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2004
Posts: 101
Location: Ireland

PostPosted: Sat Nov 06, 2004 9:54 pm    Post subject: GRUB Error 15 - solution on a Comapq DL380 Reply with quote

Problem :- Grub crashes out at
Code:

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

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... no

Error 15: File not found


while trying to install GENTOO on a Compaq DL380.

Solution

Code:

1) CFLAGS="" emerge grub
2) grub-install hd0
3) grub
   grub> root (hd0,0)
   grub> setup (hd0)


Seems to work fine.
Back to top
View user's profile Send private message
Invincible_777
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 107
Location: Washington, USA

PostPosted: Sat Nov 13, 2004 2:42 am    Post subject: Reply with quote

Quote:
Grub error 15
After hitting return in the grub prompt you get something similar to this one?
Code:
Booting 'gentoo Linux'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792

Error 15: File not found
Press any key to continue...
info grub wrote:
15 : File not found
This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK.

If it's the kernel that it's missing (bzImage, kernel...):make sure that the file it is referring to exists on your boot partition.

To find out what the exact name of your kernel is, first boot from the live-cd or into your existing linux installation. Then mount /boot if you've got a seperate partition, or mount / if you don't. Then do the following:Code:
cd /boot
ls
This will list all the kernels that you've got on your boot partition.




But my STILL DOES NOT WORK !!!!!
_________________
Carry out the bigger will for your life....
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Sat Nov 13, 2004 10:13 am    Post subject: Reply with quote

You could have mentioned you already opened a thread about it.
:arrow: https://forums.gentoo.org/viewtopic.php?t=251139
Back to top
View user's profile Send private message
Hyrken
n00b
n00b


Joined: 09 Aug 2004
Posts: 3
Location: Andorra

PostPosted: Tue Nov 16, 2004 10:18 pm    Post subject: "GRUB GRUB GRUB..." Reply with quote

Airheat found the good solution. I has the same trouble and thanks to him I solved it in 5 min! Thanks guy
Back to top
View user's profile Send private message
AngryLlama
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2004
Posts: 111

PostPosted: Thu Dec 02, 2004 9:38 pm    Post subject: Reply with quote

I just found this sticky after posting a grub/dualboot problem I am having. I haven't gotten through all 12 pages yet... I'm around page 4. Here is a reference to my problem if anyone can help me out.

Thanks!
Back to top
View user's profile Send private message
Mr. Garr
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2003
Posts: 130
Location: Shangri-La

PostPosted: Tue Dec 14, 2004 3:30 pm    Post subject: Reply with quote

hmm on my box it shows error 15 but i can;t do anything, it just stops after "loading grub" or sth like that
my grub conf:
Code:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo
root (hd0,0)
kernel /nitro root=/dev/hda2 hdc=ide-scsi video=1024x768-16@60

_________________
Illuminatus Primus
Back to top
View user's profile Send private message
Karsten1973
Guru
Guru


Joined: 17 Dec 2004
Posts: 303
Location: Berlin, Germany

PostPosted: Fri Dec 17, 2004 10:08 am    Post subject: Reply with quote

Hey,

your list looks very complete - but does not solve my problem. I have the all-i-get-is-the-grub-prompt problem.

typing configfile and then giving it my grub.conf works. What am I doing wrong?

I think I have the right softlinks:

bash-2.05b# pwd
/boot/grub
bash-2.05b# ls -lsa
total 847
1 drwxr-xr-x 2 root root 1024 Dec 17 10:47 .
1 drwxr-xr-x 5 root root 1024 Dec 15 23:00 ..
11 -rw-r--r-- 1 root root 11264 Dec 15 22:53 e2fs_stage1_5
11 -rw-r--r-- 1 root root 10256 Dec 15 22:53 fat_stage1_5
9 -rw-r--r-- 1 root root 9216 Dec 15 22:53 ffs_stage1_5
1 -rw-r--r-- 1 root root 330 Dec 15 23:37 grub.conf
2 -rw-r--r-- 1 root root 1495 Dec 15 22:53 grub.conf.sample
12 -rw-r--r-- 1 root root 11456 Dec 15 22:53 jfs_stage1_5
0 lrwxrwxrwx 1 root root 9 Dec 17 10:47 menu.lst -> grub.conf
10 -rw-r--r-- 1 root root 9600 Dec 15 22:53 minix_stage1_5
194 -rwxr-xr-x 1 root root 196836 Dec 15 22:53 nbgrub
195 -rwxr-xr-x 1 root root 197860 Dec 15 22:53 pxegrub
14 -rw-r--r-- 1 root root 12864 Dec 15 22:53 reiserfs_stage1_5
35 -rw-r--r-- 1 root root 33856 Dec 15 22:53 splash.xpm.gz
1 -rw-r--r-- 1 root root 512 Dec 15 22:53 stage1
133 -rw-r--r-- 1 root root 135148 Dec 15 22:53 stage2
194 -rwxr-xr-x 1 root root 196900 Dec 15 22:53 stage2.netboot
9 -rw-r--r-- 1 root root 8896 Dec 15 22:53 vstafs_stage1_5
14 -rw-r--r-- 1 root root 12840 Dec 15 22:53 xfs_stage1_5

/boot is a partion:
/dev/hda2 /boot ext2 noatime,noauto 1 2
/dev/hda4 / reiserfs noatime,notail 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
none /proc/bus/usb usbfs defaults 0 0
/dev/sda1 /mnt/usbstick vfat defaults,users,noauto 0 0
/dev/hda1 /mnt/windows vfat noauto 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0

And last but not least:

bash-2.05b# cat /boot/grub/grub.conf
# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# For booting GNU/Hurd
title Gentoo Linux
root (hd0,1)
kernel /kernel-2.6.9-karsten2 root=/dev/hda4
# vga=791
# initrd /initrd

# For booting Windows NT or Windows95
title Windows 98 SE
rootnoverify (hd0,0)
makeactive
chainloader +1

Any suggestions?
Back to top
View user's profile Send private message
Karsten1973
Guru
Guru


Joined: 17 Dec 2004
Posts: 303
Location: Berlin, Germany

PostPosted: Sat Dec 18, 2004 10:56 pm    Post subject: Reply with quote

Solved that. I lacked the symlink from /boot/boot to /boot :oops:
Back to top
View user's profile Send private message
SniperSlap
n00b
n00b


Joined: 26 Nov 2004
Posts: 45
Location: Winnipeg, MB

PostPosted: Mon Dec 20, 2004 12:57 pm    Post subject: GRUB & Linux Boot Issues Reply with quote

Despite having read all the available posts and documentation, I haven't been able to come up with a solution to my bootup problem.

I noticed that a lot of people have been getting similar error messages as me, however the layout of their systems has been different to mine...

As a preface, my hard drive is as configured as follows:

200gb Western Digital SATA on a Silicon Image 3112 Controller (Abit NF7-S, NOT NF7-S2)
And yes, the kernel has BOTH ReiserFS and the Silicon Image chip's support compiled in. And YES, /dev is set to automount at boot.

Partitions of "sda" (as the gentoo CD recognizes it):

sda1 - WindowsXP - NTFS
sda2 - Swap Partition
sda3 - ReiserFS - / - includes /boot directory (I don't use a /boot partition)

I configured Grub's .conf file as best as I could eyeball it, but I turned up no results, so I've resorted to simply making entries and alterations in the grub console until I can sort this out...No sense in making broken configuration files.

My kernel seems to load in the SATA driver, but unfortunatley, there's no way for me to slow down or save the output of my kernel bootup, and so the screens just go whipping right by me!

The error message I end with though - without having it in front of me - is:

"kernel panic - not syncing VFS unable to mount root FS on unknown block (8,3)"

No matter how I play around with GRUB in it's console, I simply get this message, or some variant of it. Obviously it's related to the root=/dev/XXXX kernel option that I pass. But it seems like I can't find the magic spot. /dev/sda3 doesn't get me anywhere, /dev/hd[a/b/c/d/e]3 are all no-gos as well.

The least I'd like is some way of slowing down or debugging my kernel output, but I doubt this is possible. Ideally, I'd like to just have my Linux system booting properly.

I'm having a heck of a time getting SATA drives to work, they're quite the nightmare...To Grub's credit, I really enjoy the versatility it offers DURING the boot menu, and it seems like a fantastic boot loader. So instead of attributing my troubles to a crappy program, I'm just going to say these are growing pains.

:)
Back to top
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Mon Dec 20, 2004 10:28 pm    Post subject: GRUB & Linux Boot Issues Reply with quote

Well, I see a lot of file not founds, but only one 'the file /boot/boot/grub/stage1 not read correctly'. Since most want the grub.conf, here it is:

default 0
timeout 5
splashimage=(hd1,0)/grub/splash.xpm.gz

title Gentoo Linux
root (hd1,0)
kernel /kernel-2.6.9-gentoo root=/dev/sda3 doscsi


I am running SATA drives using grub-static 0.93.20030118 and kernel 2.6.9-r9 on an amd64 system. I originally tried (sd0,0) and (sd1,0) instead of (hd1,0). In device.map it lists hd1 as being /dev/sda ... possibly configured the kernal wrong? Thanks.

[edit]After more reading, apparently this issue of naming is common. Futhermore, using (interactive?) 'grub' to 'setup (hd1,0)' it gets an Error 15 which is fairly common in this thread. Back to reading ...[/edit]

[EDIT]
Well, I got frustrated and decided to reboot. At the grub prompt, I passed it 'root (hd1,0)' 'kernel /kernel-2.6.9-gentoo' and then 'boot' ... and it booted. *shrug* It wasn't bringing up the menu list so I went back into gentoo in the /boot/grub directory and did 'ln -s grub.conf menu.lst' to create the symlink. And that, apparently, fixes my grub errors although I have no idea why ... now to get sk98lin loading and the framebuffer looking sexy.
[/EDIT]
Back to top
View user's profile Send private message
Lazy_Dewd
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2004
Posts: 144

PostPosted: Mon Dec 27, 2004 12:54 pm    Post subject: Reply with quote

-SOLVED-
I have a very common problem. it's something like this:
Code:
VFS: cannot open root device "sda3" or unknown-block (0,0) please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on unknown-block

I want to post my grub.conf but I don't know how I can get it.
I rebooted using the livecd, mounted my partitions and entered the chrooted environment.
I found nothing in my /boot related to grub
How can i get the file?

if somebody else wants to know:
boot using your livecd
mount /boot
Code:
mount /dev/sda1 /mnt/gentoo
(if using sata)
then
Code:
nano /mnt/gentoo/grub/grub.conf

et voila
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 ... 11, 12, 13 ... 22, 23, 24  Next
Page 12 of 24

 
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