public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* grub cannt  boot from doc millennium
@ 2002-05-27 12:31 cytang
  2002-05-27 13:45 ` Ilguiz Latypov
  0 siblings, 1 reply; 2+ messages in thread
From: cytang @ 2002-05-27 12:31 UTC (permalink / raw)
  To: linux-mtd

I searched the mail archive with keyword "grub"
but I only find just one detailed howto : 
http://lists.infradead.org/pipermail/linux-mtd/2001-October/003475.html
Accroding to it ,step by step  on my DoC millennium
(8M), but  I still end up with failure.
My all steps as follow, did I miss something?
1.make a new kernel with DOC support with 2.4.2-2
kernel source  on my RH7.1 box
2.tar zxvf grub-0.90.tar.gz
3.cd grub-0.90; 
  patch -p0 < /usr/src/mtd/grub/grub-0.90-doc.patch
4. rm configure;
   autoconf
5. make ; make install;
6. cp stage2/pre_stage2 /usr/src/mtd/grub
7. cd /usr/src/mtd/grub; make ; cp grub_firmware
/usr/src/mtd/util/
8. cd /usr/src/mtd/util; make ;
9. ./eraseall /dev/mtd0 
10 ./nftl_format /dev/mtd0 98304   
11  fdisk /dev/nftla
     n
     p
     1<Enter><Enter>
     w
     mke2fs /dev/nftla1
     ./doc_loadbios /dev/mtd0 grub_firmware
 
12. # this part install grub on hard disk
   
    mkdir /boot/grub; 
    cp ~/grub-0.90/stage1/stage1  /boot/grub/;
    cp ~/grub-0.90/stage2/stage2  /boot/grub/;
    vi /boot/grub/menu.lst
    timeout 30
    default 0
    fallback 1
    #For booting linux kernel with doc support from
harddisk
    tile linux
    root (hd0,0)
    kernel /boot/bzImage-doc  root=/dev/hda5
    #For booting linux kernel from doc
    tile linuxondoc
    root (dc0,0)
    kernel /boot/bzImage-doc  root=/dev/nftla1
13 grub
   root (hd0,0)
   setup (hd0)
14 reboot

enter grub console : (I dont know why not enter menu
select )
root (dc0,0)
error 21: selected disk does not exist

only 
     root (hd0,0)
     kernel /boot/bzImage-doc root=/dev/hda5 
can boot

_________________________________________________________
Do You Yahoo!? 
摊开你的掌心 让我看看你
http://sweepstakes.yahoo.com/2002cnuser

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: grub cannt  boot from doc millennium
  2002-05-27 12:31 grub cannt boot from doc millennium cytang
@ 2002-05-27 13:45 ` Ilguiz Latypov
  0 siblings, 0 replies; 2+ messages in thread
From: Ilguiz Latypov @ 2002-05-27 13:45 UTC (permalink / raw)
  To: cytang; +Cc: linux-mtd

On Mon, 27 May 2002, [gb2312] cytang wrote:

> I searched the mail archive with keyword "grub"
> but I only find just one detailed howto : 

There is a short how-to in the README_DiskOnChip file created by the
patch.

> 4. rm configure;
>    autoconf
> 5. make ; make install;

Run 

    ./configure --enable-diskonchip-mil512

or

    ./configure --enable-diskonchip-mil256

depending on the type of the DoC Millennium flash parts.  You may want to
explicitly disable unused file system drivers and leave only required one.

> 6. cp stage2/pre_stage2 /usr/src/mtd/grub

This and the next step are no longer needed.  The README_DiskOnChip file
suggests to obtain the GRUB bootloader firmware from stage2/grub_firmware.

Ilguiz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-27 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-27 12:31 grub cannt boot from doc millennium cytang
2002-05-27 13:45 ` Ilguiz Latypov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox