bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel panic


From: mi
Subject: kernel panic
Date: Wed, 19 Mar 2003 17:18:33 +0100

And that's the reason i wanted a full functional bootfloppy first ;-)

Stages and menu so far work well. Great the commandline.

Now I've got my linux /boot on the second hd (ide1 primary) and tried two 
titles: kernel on (hd0,1) and kernel on (fd0). 
Grub also starts the kernel successfully.
Unfortunateley both titles end up in a kernel panic.
It's halted after 'freeing unused memory 224k',
saying 'unable to read requested page' then spitting out a bunch of cryptic 
numbers. It's the same 2.4.17 from the harddrive, booting with lilo fairly 
well. 
I think the problem is i am not used to the special grub terminology.
'root-device ' e.g. for me is the linux-root-filesystem-partition containing 
all the  mountpoints and directories.
What's meant in grub - this one or the source of the kernel-image ? 
Yes, "root" often is mentioned in the manual.
But afaics _never_ clearly defined ! That's my problem.
Here's my menu.lst (the important parts):

# -------------- LINUX
title Woody 2.4.17  kernel (fd0)
kernel (fd0)/boot/vmlinuz-2.4.17 root=/dev/hdc6
# root (fd0) ???

title Woody 2.4.17 kernel (fd0) ro single
kernel (fd0)/boot/vmlinuz-2.4.17 root=/dev/hdc6 ro single 
# root (fd0) ???

title Woody 2.4.17  kernel (hd1,0)
kernel (hd1,0)/vmlinuz root=/dev/hdc6
# root (hd1,0) ???

title Woody 2.4.17 kernel (hd1,0) ro single
kernel (hd1,0)/boot/vmlinuz root=/dev/hdc6 ro single
# root (hd1,0) ???

# ============= /etc/fstab: Partitions
# GRUB ||  DEVICE        MOUNT  TYPE    OPTIONS  SIZE
# 1,5  || /dev/hdc6       /     ext2    auto,user,rw,exec,dev,suid ....... 3100
# 1,6  || /dev/hdc7      none   swap    sw,pri=1 ......................... 1000
# 1,0  || /dev/hdc1      /boot  ext2    auto,user,rw,exec,suid ...........   50
# 1,1  || /dev/hdc2      /usr   ext2    auto,user,rw,exec,suid ........... 7200
# 1,2  || /dev/hdc3      /Bak_c3  ext2  auto,user,rw,exec,suid ........... 5100
# 1,4  || /dev/hdc5      /home  ext2    auto,user,rw,exec,suid ........... 5100
# 1,7  || /dev/hdc8      /tmp   ext2    auto,user,rw,exec,dev,suid ....... 1000
# 1,8  || /dev/hdc9      /var   ext2    auto,user,rw,exec,dev,suid ....... 1000
# 1,9  || /dev/hdc10 /Bak_c10 ext2  noauto,user,rw,exec,suid .............3000
# fd0  || /dev/fd0       /floppy auto   defaults,user,noauto
# hdb  || /dev/hdb       /cdrom iso9660 defaults,ro,user,noauto
# 0,2   || /dev/hda3  none      swap    sw,pri=2 ......................

Now you would say 'read the FAQ' again 
;-| you see, i do my best, but after all it's not easy to puzzle the right 
pieces together. It's too much spread. It costs too much time.
For example after 1 hour reading and pondering about the manual i came to the 
point it says "now thats all only was for installing with /boot on the root 
FS - if not you must specify --root-directory.... " which was exactly the 
imformation i needed first, not last. 
So i recognize one has to read ALL up in the beginning. That's a deal.
But what if used the FAQ's floppy install with "setup", 
and not "grub-install --root-directory" ?
And anyway, i still don't know how to specify "--root-directory" inside 
menu.lst - is it the same as "root (hd1,0)" for hdc1 ?
And so on....see what i mean:
"Someday we'll get our arms around all this stuff and clean it up
a little!  Meanwhile, this file describes the system as it is today."
Linux Kernel-Source Docu,
Michael Elizabeth Chastain, 24 January 1999

-- 
                                                                              
                          micha.

btw. I'm a real grub newbie.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]