RE: YAMON booting Linux kernels from malta board harddisk....

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

 



Hi Beth
	My question was which partition to put the md.conf? Does it go
with the mb.bin or it can be put at any other partition?

Thanks & Regards,
KH 

-----Original Message-----
From: Elizabeth Oldham [mailto:beth@xxxxxxxx] 
Sent: Friday, September 21, 2007 7:00 PM
To: Teh Kok How (IFAP DC COM WL SD)
Cc: linux-mips@xxxxxxxxxxxxxx; Nachtmann Friedrich (IFAP DC COM WL SD
External); kurt@xxxxxxxx
Subject: Re: YAMON booting Linux kernels from malta board harddisk....

KokHow.Teh@xxxxxxxxxxxx wrote:

> /dev/hdd6          8323     10403   1048578+  83  Linux
> 	So I `dd if=mb-0.3.bin of=/dev/hdd6 bs=1024 count=150` and hope
it 
> works. Now there are 2 questions:

It will be easier if you change fdisk's units to sectors, so it prints
the start of the partition for you. I get this from my set up:

Command (m for help): u
Changing display/entry units to sectors

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/hda1              63       20159       10048+  83  Linux
/dev/hda2           20160    15646175     7813008   83  Linux
/dev/hda3        15646176    31272191     7813008   83  Linux
/dev/hda4        31272192    72481247    20604528    5  Extended
/dev/hda5        31272255    32249951      488848+  82  Linux swap
/dev/hda6        32250015    47875967     7812976+  83  Linux

So (I think, if there are no gotchas - it's a while since I played with
this stuff) the YAMON command would be:

YAMON> disk read hda 1ec18a0 ff 800d0000; go 800d0000

where 1ec18a0 is (32250015 + 1) in hex.

> (1)	where to put mb.conf?

As it stands the bootloader will look in /dev/hda2 if you are running BE
and /dev/hda3 if LE. For now just try getting MIPSboot to start :)

Beth


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux