GRUB on DoC Millennium/2000 - Instructions
Quoted 5 lines · Peter Keel
I'd love to. Of course, for some reason my grub can't read the filesystem on the disk. The Question now is:
"If grub can't read the filesystem, how do I tell grub where the kernel resides, and how do I find this out where it is?".
Peter,
What type of filesystem is on your hard drive? If it's ext2, GRUB should recognize the filesystem -- if you just type "kernel (hd0,0)/" and then hit TAB, the auto-completion feature should give you a list of possibilities.
If the hard drive you are trying to boot from has a filesystem other than ext2, you would need to rebuild GRUB to support it -- the "./configure" script used in the instructions explicitly disabled all other types of filesystems.
Mark
Quoted 11 lines · * on the Mon, Jun 24, 2002 at 11:19:10AM -0400, Mark Meade wrote:
Quoted 5 lines · Peter Keel
I'd love to. Of course, for some reason my grub can't read the filesystem on the disk. The Question now is:
"If grub can't read the filesystem, how do I tell grub where the kernel resides, and how do I find this out where it is?".
What type of filesystem is on your hard drive? If it's ext2, GRUB should recognize the filesystem -- if you just type "kernel (hd0,0)/" and then hit TAB, the auto-completion feature should give you a list of possibilities.
I'm hoping. It was reiserfs, but now it'll be ext3.. I hope grub has no problems reading ext3 since its the same as ext2 anyway... in principle.. ;)
Quoted 4 lines
If the hard drive you are trying to boot from has a filesystem other than ext2, you would need to rebuild GRUB to support it -- the "./configure" script used in the instructions explicitly disabled all other types of filesystems.
I didn't take your example, and theoretically grub should have had support for reiserfs -- but I guess it hadn't.
Peter
Signature · 2 lines
Those who give up essential liberties for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin
Peter,
The --enable-diskonchip-biosnetboot cat not sometime prevent BIOS from invoking the network boot code directly. I observed this with an Advantech PCA 6753 board.
As for the ext3 support in GRUB, I am not sure. I know that ext3 driver can read ext2 partition, but I read somewhere that opposite may not always be possible. For this reason I keep the kernel image in a separate ext2 partition and the rest in ext3.
It seems that the default journalling mode in ext3 driver has been changed from "data journalling" to "data ordered" one. Does this mean that no double write operation will occur with regard to the file data?
Ilguiz
Quoted 3 lines · Peter Keel
I'm hoping. It was reiserfs, but now it'll be ext3.. I hope grub has no problems reading ext3 since its the same as ext2 anyway... in principle.. ;)
Quoted 3 lines · * on the Mon, Jun 24, 2002 at 12:40:51PM -0400, Ilguiz Latypov wrote:
The --enable-diskonchip-biosnetboot cat not sometime prevent BIOS from invoking the network boot code directly. I observed this with an Advantech PCA 6753 board.
I only use --enable-diskonchip-2000. No netboot.
Quoted 5 lines · Peter Keel
Quoted 4 lines
I'm hoping. It was reiserfs, but now it'll be ext3.. I hope grub has no problems reading ext3 since its the same as ext2 anyway... in principle.. ;)
I changed it to ext2. No avail. It just won't find anything on that disk; all it says is "unknown filesystem type 0x83" when i set "root (hd0,0)", so I assume grub can read my partition table. Which looks like this:
Disk /dev/hdc: 524 cylinders, 64 heads, 63 sectors/track Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System /dev/hdc1 * 63 2032127 2032065 83 Linux /dev/hdc2 2032128 2112767 80640 82 Linux swap
Anyway. I was looking for those blocks:
debugfs: stat vmlinuz-2.4.18 Inode: 31810 Type: regular Mode: 0644 Flags: 0x0 Generation: 4021347668 User: 0 Group: 0 Size: 1142751 File ACL: 0 Directory ACL: 0 Links: 1 Blockcount: 2240 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x3d16ffac -- Mon Jun 24 13:17:00 2002 atime: 0x3d175b67 -- Mon Jun 24 19:48:23 2002 mtime: 0x3d154d99 -- Sun Jun 23 06:24:57 2002
BLOCKS:
(0-11):66038-66049, (IND):66050, (12-278):66051-66317
TOTAL: 280
But that doesn't seem to work either.
"kernel (hd0,0)66038+280" does just nothing, namely "Invalid or unsupported executable format" -- you always get that when referencing to some bogus structure on the disk. Does grub use other blocks than those?
slowly I'm beginning to think I should subscribe to some grub-mailinglist.
thank you anyway.
Peter
Signature · 2 lines
Those who give up essential liberties for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin