Skip to contentSkip to conversation

GRUB + DOC2000 = problems

DISCUSSION Alessandro GARDICH 2 participants 6 messages Oct 12, 2000 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

i have a DiskOnChip 2000 (48Mbytes)

kernel 2.4.0-test9 ... and mtd-20000704 and grub-0.5.96

i compiled the kernel with DOC2000 + nflt + mtdchar compiled mtd utils ...
compiled grub ...
copy stage2/pre_stage2 into mtd/grub dir

in mtd/grub execute make ...
so i obtain grub_firmware (size 60,256)

then
doc_loadbios /dev/mtd0 grub_firmware
nftl_format /dev/mtd0 81920
fdisk /dev/nftla
create 3 partirions of 1Mbyte, 100k , and the rest ...
write and quit from fdisk ...

now i vreate the filesystems ...
first partition (nftla1) is where kernel is into and is minix fs

reboot ...

grob start and if i type

root (<TAB>
i obtain

root (hd0,

	Partition num 0, filestem type unknow, partition size 0x83

no other partitions are visible ...
no other devices are avaiable ...
note that i compile grub with --enable-minix and --enable-ext2fs in the HD (primary/master) i have only one partition in ext2 ...

what of wrong i'm doing ????

Signature · 2 lines
 /-----------------------------------------------------------------------\
|                 Alessandro Gardich : [email protected]                 |
Quoted 1 line

-----------------------------------------------------------------------<

| Le aquile possono anche volare,                                         |
|                            ma le talpe non vengono risucchiate nei jet. |
|                                                                         |
|                                                                 "Micol" |

\-----------------------------------------------------------------------/

To unsubscribe, send "unsubscribe mtd" to [email protected]

#1 lore raw
Quoted 4 lines · [email protected] said:

note that i compile grub with --enable-minix and --enable-ext2fs in the HD (primary/master) i have only one partition in ext2 ...

what of wrong i'm doing ????

Did you apply the patches to Grub to provide DiskOnChip support?

--
dwmw2

To unsubscribe, send "unsubscribe mtd" to [email protected]

#2 lore raw
Quoted 11 lines · David Woodhouse
Quoted 4 lines · [email protected] said:

note that i compile grub with --enable-minix and --enable-ext2fs in the HD (primary/master) i have only one partition in ext2 ...

what of wrong i'm doing ????

Did you apply the patches to Grub to provide DiskOnChip support?

--
dwmw2

yes ...

mhhh from mtd/grub/README

1) build grub
2) copy pre_stage2
3) make

i did it ... what else i have to do ???

Signature · 2 lines
 /-----------------------------------------------------------------------\
|                 Alessandro Gardich : [email protected]                 |
Quoted 1 line

-----------------------------------------------------------------------<

| Le aquile possono anche volare,                                         |
|                            ma le talpe non vengono risucchiate nei jet. |
|                                                                         |
|                                                                 "Micol" |

\-----------------------------------------------------------------------/

To unsubscribe, send "unsubscribe mtd" to [email protected]

#3 lore raw
Quoted 1 line · [email protected] said:

yes ...

Quoted 2 lines · [email protected] said:
Quoted 2 lines

note that i compile grub with --enable-minix and --enable-ext2fs in the HD (primary/master) i have only one partition in ext2 ...

You also have to compile Grub with --enable-diskonchip

--
dwmw2

To unsubscribe, send "unsubscribe mtd" to [email protected]

#4 lore raw
Quoted 10 lines · David Woodhouse
Quoted 1 line · [email protected] said:

yes ...

Quoted 2 lines · [email protected] said:
Quoted 2 lines

note that i compile grub with --enable-minix and --enable-ext2fs in the HD (primary/master) i have only one partition in ext2 ...

You also have to compile Grub with --enable-diskonchip

ok now i did ...
nothing changed :( ...

Quoted 2 lines

--
dwmw2

Signature · 2 lines
 /-----------------------------------------------------------------------\
|                 Alessandro Gardich : [email protected]                 |
Quoted 1 line

-----------------------------------------------------------------------<

| Le aquile possono anche volare,                                         |
|                            ma le talpe non vengono risucchiate nei jet. |
|                                                                         |
|                                                                 "Micol" |

\-----------------------------------------------------------------------/

To unsubscribe, send "unsubscribe mtd" to [email protected]

#5 lore raw
Quoted 1 line · [email protected] said:

ok now i did ... nothing changed :( ...

Hmmm. That's not good. What if you type root=(dc0,0)?

It should say _something_ - even if it's only "No DiskOnChip found".

--
dwmw2

To unsubscribe, send "unsubscribe mtd" to [email protected]