bug-grub
[Top][All Lists]
Advanced

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

grub does not recognize ext2 filesystem


From: Peter Keel
Subject: grub does not recognize ext2 filesystem
Date: Mon, 24 Jun 2002 21:38:47 +0200
User-agent: Mutt/1.3.28i

Hello

I checked the archives, and didn't find anything like that. 

I installed grub on a DiskOnChip, using the mtd-patches. Works
in prociple.. But only in princple. Since the DoC is hooked
to int 18 (I think its 18), the first thing that appears is
the DoC with grub. Nice. Now I've got no possibility to boot
anything, except through grub. Only, grub does not want to
boot anything: 

grub does not recognize the filesystems on my disk (which are
ext2). It recognizes the partition table, but not the filesystems. 
"filesystem type unknown"

Partition table 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

So I had the idea of giving it the 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 "kernel (hd0,0)66038+280,4096" only gives me 
"Invalid or unsupported executable format"

I also tried "kernel (hd0,0)528304+1120,512" but that doesn't seem
to work neither. 

- How is that blocklist-thingie supposed to work, and how do I get
  the blocks of the file if not with debugfs? 

- Why aren't my ext2s recognized as such? They worked. I installed
  grub from the system on that disk. 

I'd be glad to have a solution, because that whole machine is
literally trash (unless I wanted to somehow solder off the DoC) 
if grub doesn't boot something. 

Thank you
Peter
-- 
Those who give up essential liberties for temporary safety deserve 
neither liberty nor safety. -- Benjamin Franklin



reply via email to

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