public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: Problems with GRUB & nftl_format
  2002-11-03 23:02 Problems with GRUB & nftl_format Joseph Teichman
@ 2002-11-03 22:45 ` Henrik Nordström
  2002-11-04 13:35 ` Mark Meade
  1 sibling, 0 replies; 3+ messages in thread
From: Henrik Nordström @ 2002-11-03 22:45 UTC (permalink / raw)
  To: Joseph Teichman; +Cc: linux-mtd

You need to reserve sufficient amount of binary flash for the GRUB image
before the NFTL partition. This is set by the "<start offset>" argument to
nftl_format IIRC.

Alternatively, use the msys 5.X dformat tool to install GRUB. I think
current versions of the DOC GRUB should be compatible with msys dformat
5.x. (unfortunately I have not yet had time to verify)

Regards
Henrik Nordström
MARA Systems AB, Sweden


On Sun, 3 Nov 2002, Joseph Teichman wrote:

> partition it and set up an ext2 file system. Then, I used doc_loadbios
> tool to install GRUB. GRUB Installed successfully, and it works, but at
> the same time, it seems to have hosed up the doc again. The only thing
> that I can do is to reformat the doc, which of course overwrites GRUB,
> leaving back to square one. I am using a 2.4.19 kernel, with the latest
> cvs grab of mtd-linux. Can anyone tell me what is happening and how I
> can work around it?

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

* Problems with GRUB & nftl_format
@ 2002-11-03 23:02 Joseph Teichman
  2002-11-03 22:45 ` Henrik Nordström
  2002-11-04 13:35 ` Mark Meade
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph Teichman @ 2002-11-03 23:02 UTC (permalink / raw)
  To: linux-mtd


I have a Virgin Webplayer with a doc2000. I had completely hosed the doc
after trying to write somebody's image to the doc. So, I did an erase
all and used nftl_format to set up the doc again. I used fdisk to
partition it and set up an ext2 file system. Then, I used doc_loadbios
tool to install GRUB. GRUB Installed successfully, and it works, but at
the same time, it seems to have hosed up the doc again. The only thing
that I can do is to reformat the doc, which of course overwrites GRUB,
leaving back to square one. I am using a 2.4.19 kernel, with the latest
cvs grab of mtd-linux. Can anyone tell me what is happening and how I
can work around it?
Thanks,
Joe

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

* Re: Problems with GRUB & nftl_format
  2002-11-03 23:02 Problems with GRUB & nftl_format Joseph Teichman
  2002-11-03 22:45 ` Henrik Nordström
@ 2002-11-04 13:35 ` Mark Meade
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Meade @ 2002-11-04 13:35 UTC (permalink / raw)
  To: Joseph Teichman, linux-mtd

Is the nftl driver part of your kernel, or compiled as a module?  Bad things 
can happen if the nftl driver is loaded when nftl_format is run:

http://lists.infradead.org/pipermail/linux-mtd/2002-June/005123.html
http://lists.infradead.org/pipermail/linux-mtd/2002-August/005831.html

As Henrik mentioned, you could try the 5.x dformat utility (under DOS) to 
install Grub and format the DoC.  After that, the normal Linux tools (fdisk, 
mke2fs, etc) can be used to partition and create the filesystem.

The other alternative is to compile the MTD code as modules, and make sure 
nftl is not loaded when running nftl_format.

See http://lists.infradead.org/pipermail/linux-mtd/2002-October/006166.html 
for details on both methods.

Regards,

Mark

Joseph Teichman wrote:
> I have a Virgin Webplayer with a doc2000. I had completely hosed the doc
> after trying to write somebody's image to the doc. So, I did an erase
> all and used nftl_format to set up the doc again. I used fdisk to
> partition it and set up an ext2 file system. Then, I used doc_loadbios
> tool to install GRUB. GRUB Installed successfully, and it works, but at
> the same time, it seems to have hosed up the doc again. The only thing
> that I can do is to reformat the doc, which of course overwrites GRUB,
> leaving back to square one. I am using a 2.4.19 kernel, with the latest
> cvs grab of mtd-linux. Can anyone tell me what is happening and how I
> can work around it?

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

end of thread, other threads:[~2002-11-04 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-03 23:02 Problems with GRUB & nftl_format Joseph Teichman
2002-11-03 22:45 ` Henrik Nordström
2002-11-04 13:35 ` Mark Meade

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