Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Multia, RH 5.2 and MILO
@ 1999-01-17  1:20 Adilson Guilherme Vasconcelos Ribeiro
  1999-01-17  3:11 ` Larry Snyder
  0 siblings, 1 reply; 9+ messages in thread
From: Adilson Guilherme Vasconcelos Ribeiro @ 1999-01-17  1:20 UTC (permalink / raw)
  To: axp-list

Hi,

	I've just installed RH5.2 in my new multia, and can't get it to boot
a kernel from the harddisk. Milo complains: "length error -- halting" while
readding the kernel image, and goes back to the boot sequence. I 've tried
gzipped and uncompressed images, aways the same error. 

	Milo can, however,  boot from floppy. (i'm using it this way)

	My multia has a 340Mb HD, with sda1 (3Mb), DOS FS with linload.exe and
MILO, sda2 (extended) containing sda5(32Mb, Swap) and sda6 (300Mb, ext2) 	

	i've tried boot the image from sda1 and sda6, and nothing. always the
same error

	Couldn't find any reference of this error in the archives, os in some
docs i read.

Does anybody have a clue ?

TIA
Adilson Ribeiro


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

* Re: Multia, RH 5.2 and MILO
  1999-01-17  1:20 Multia, RH 5.2 and MILO Adilson Guilherme Vasconcelos Ribeiro
@ 1999-01-17  3:11 ` Larry Snyder
  1999-01-17 14:03   ` Charles E Taylor IV
  1999-01-17 16:22   ` Bill Roman
  0 siblings, 2 replies; 9+ messages in thread
From: Larry Snyder @ 1999-01-17  3:11 UTC (permalink / raw)
  To: axp-list

Hi Adilson --

I had been using SRM on an AS200 for the last six months or so,
so using arc to boot a multia was new to me a couple of weeks ago.
With some help, I got through it.  My apologies for jumping around a
bit, but this worked for me.  If you need any clarifications, just ask.
 
Here's how my disk is set up:
[root@harpo /]# /sbin/fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 32 heads, 63 sectors, 1019 cylinders
Units = cylinders of 2016 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/sda1            3        3       68    66528   82  Linux swap
/dev/sda2           69       69     1019   958608   83  Linux native
/dev/sda3            1        1        2     1984+   4  DOS 16-bit <32M

Command (m for help): q


I used mkdosfs-ygg (it's in the RPMS) to dos-ify sda3.  Your root
partition needs to be /dev/sda2 (unless you want to pass it a different
one at boot time or modify setup.c before building a new kernel).
The kernel lives on sda2 in /.  The command to milo is
boot sda2:vmlinux.gz, and I pass that from arc in the OSLOADOPTIONS
field.  The actual boot to load milo itself says to go to
controller0, disk0(this is the scsi id), partition3, and grab
linload.exe.  One other thing that bit me was the instructions to dd
milo to the hd.  What I ended up doing was to put the msdos fs on sda1,
mount it as such, then copy (NOT dd) linload.exe and the milo image to
it.  Once I pointed arc at it, it worked just fine. 

As I read this back, it looks a bit confusing.  I hope it helps.
-ls-

Adilson Guilherme Vasconcelos Ribeiro <adilson@bahianet.com.br> wrote:
> Hi,
> 
> 	I've just installed RH5.2 in my new multia, and can't get it to boot
> a kernel from the harddisk. Milo complains: "length error -- halting"
> while
> readding the kernel image, and goes back to the boot sequence. I 've
> tried
> gzipped and uncompressed images, aways the same error. 
> 
> 	Milo can, however,  boot from floppy. (i'm using it this way)
> 
> 	My multia has a 340Mb HD, with sda1 (3Mb), DOS FS with linload.exe
> and
> MILO, sda2 (extended) containing sda5(32Mb, Swap) and sda6 (300Mb,
> ext2) 	
> 
> 	i've tried boot the image from sda1 and sda6, and nothing. always the
> same error
> 
> 	Couldn't find any reference of this error in the archives, os in some
> docs i read.
> 
> Does anybody have a clue ?
> 
> TIA
> Adilson Ribeiro
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


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

* Re: Multia, RH 5.2 and MILO
  1999-01-17  3:11 ` Larry Snyder
@ 1999-01-17 14:03   ` Charles E Taylor IV
  1999-01-17 16:22   ` Bill Roman
  1 sibling, 0 replies; 9+ messages in thread
From: Charles E Taylor IV @ 1999-01-17 14:03 UTC (permalink / raw)
  To: axp-list


On 17-Jan-99 Larry Snyder wrote:

> One other thing that bit me was the instructions to dd
> milo to the hd.  What I ended up doing was to put the msdos fs on sda1,
> mount it as such, then copy (NOT dd) linload.exe and the milo image to
> it.  Once I pointed arc at it, it worked just fine. 

What you *can* do is is dd the entire MILO floppy to the MSDOS partition.  This
works as well for booting the Multia as formatting--as-msdos-then-copying.  I
suppose that's what they mean by dd'ing MILO to the msdos partition.

----------------------------------
E-Mail: Charles E Taylor IV <charlet@hubcap.clemson.edu>
Date: 17-Jan-99
Time: 08:58:50
----------------------------------


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

* Re: Multia, RH 5.2 and MILO
  1999-01-17  3:11 ` Larry Snyder
  1999-01-17 14:03   ` Charles E Taylor IV
@ 1999-01-17 16:22   ` Bill Roman
  1999-01-17 17:37     ` Michal Jaegermann
  1 sibling, 1 reply; 9+ messages in thread
From: Bill Roman @ 1999-01-17 16:22 UTC (permalink / raw)
  To: axp-list

Larry Snyder wrote:
> 
> I had been using SRM on an AS200 for the last six months or so,
> so using arc to boot a multia was new to me a couple of weeks ago.
> With some help, I got through it.
> 
> [...]
> 
> I used mkdosfs-ygg (it's in the RPMS) to dos-ify sda3.

Just a reminder (since this hasn't been discussed here for a while):
mkdosfs is not 64-bit clean, and won't always produce a DOS partition
that will be recognized by the firmware (ARC or AlphaBIOS).  It worked
for me, but has failed for others.

I'm sorry not to offer the fix along with the problem statement. I thought
I had saved it but couldn't find it when I went to look for it.

-- 
Bill Roman  (roman@songdog.eskimo.com / roman@songdog.uucp)   running linux


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

* Re: Multia, RH 5.2 and MILO
  1999-01-17 16:22   ` Bill Roman
@ 1999-01-17 17:37     ` Michal Jaegermann
  1999-01-17 17:51       ` Dave Beck
  0 siblings, 1 reply; 9+ messages in thread
From: Michal Jaegermann @ 1999-01-17 17:37 UTC (permalink / raw)
  To: axp-list

Bill Roman wrote:
> 
> Larry Snyder wrote:
> > 
> > I used mkdosfs-ygg (it's in the RPMS) to dos-ify sda3.
> 
> Just a reminder (since this hasn't been discussed here for a while):
> mkdosfs is not 64-bit clean, and won't always produce a DOS partition
> that will be recognized by the firmware (ARC or AlphaBIOS). 

From what I know the problem was not a code itself (which is "64-bit
clean") but a header which used wrong types in a layout for a sector
zero of MS-DOS partition - thus shifting a bunch of fields and creating
a totally bogus file system.

> It worked
> for me, but has failed for others.

This likely depends on a version.  I tried recently mkdosfs from 5.2
distribution on UX; it created a file system which was OK for ARCS
to boot from so the problem seems to take care of.   There was no
NT on this machine so I cannot tell you how happy it would be with
that partition.

OTOH if you happen to have a dual boot box you will be well advised
to use NT tools to format said partition.  A presence of published
standards was never a good reason for M$ software to follow them
and there could be some quirks.

  Michal


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

* Re: Multia, RH 5.2 and MILO
  1999-01-17 17:37     ` Michal Jaegermann
@ 1999-01-17 17:51       ` Dave Beck
  1999-01-17 18:20         ` Larry Snyder
  1999-01-17 18:47         ` Michal Jaegermann
  0 siblings, 2 replies; 9+ messages in thread
From: Dave Beck @ 1999-01-17 17:51 UTC (permalink / raw)
  To: axp-list

I must be silly or something, but I'm at a loss why anyone would
use the mkdosfs tools if you can simply dd a milo disk image.  It
seems like a lot of extra work to make the filesystem and copy 
the files over.  If you really must edit the partition, simply
mount it under linux and have at it from there.

Quoting Michal Jaegermann (michal@ellpspace.math.ualberta.ca):
> Bill Roman wrote:
> > 
> > Larry Snyder wrote:
> > > 
> > > I used mkdosfs-ygg (it's in the RPMS) to dos-ify sda3.
> > 
> > Just a reminder (since this hasn't been discussed here for a while):
> > mkdosfs is not 64-bit clean, and won't always produce a DOS partition
> > that will be recognized by the firmware (ARC or AlphaBIOS). 
> 
> >From what I know the problem was not a code itself (which is "64-bit
> clean") but a header which used wrong types in a layout for a sector
> zero of MS-DOS partition - thus shifting a bunch of fields and creating
> a totally bogus file system.
> 
> > It worked
> > for me, but has failed for others.
> 
> This likely depends on a version.  I tried recently mkdosfs from 5.2
> distribution on UX; it created a file system which was OK for ARCS
> to boot from so the problem seems to take care of.   There was no
> NT on this machine so I cannot tell you how happy it would be with
> that partition.
> 
> OTOH if you happen to have a dual boot box you will be well advised
> to use NT tools to format said partition.  A presence of published
> standards was never a good reason for M$ software to follow them
> and there could be some quirks.
> 
>   Michal
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
Dave Beck 
dave@arginine.umdnj.edu                 Sites of interest (set 2):
Computer Science and Biology            http://www.cyc.com/cyc-2-1/toc.html
Drexel University, Philadelphia PA      http://arginine.umdnj.edu/


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

* Re: Multia, RH 5.2 and MILO
  1999-01-17 17:51       ` Dave Beck
@ 1999-01-17 18:20         ` Larry Snyder
  1999-01-17 18:47         ` Michal Jaegermann
  1 sibling, 0 replies; 9+ messages in thread
From: Larry Snyder @ 1999-01-17 18:20 UTC (permalink / raw)
  To: axp-list

Interestingly enough, dd-ing a bootable milo floppy worked fine...
...once.  The first of the three boxes I built I did that way.
The other two arc wouldn't recognize the fs, thus the mkdosfs
workaround.
-ls- 
Dave Beck <dave@arginine.umdnj.edu> wrote:
> I must be silly or something, but I'm at a loss why anyone would
> use the mkdosfs tools if you can simply dd a milo disk image.  It
> seems like a lot of extra work to make the filesystem and copy 
> the files over.  If you really must edit the partition, simply
> mount it under linux and have at it from there.
> 
> Quoting Michal Jaegermann (michal@ellpspace.math.ualberta.ca):
> > Bill Roman wrote:
> > > 
> > > Larry Snyder wrote:
> > > > 
> > > > I used mkdosfs-ygg (it's in the RPMS) to dos-ify sda3.
> > > 
> > > Just a reminder (since this hasn't been discussed here for a while):
> > > mkdosfs is not 64-bit clean, and won't always produce a DOS partition
> > > that will be recognized by the firmware (ARC or AlphaBIOS). 
> > 
> > >From what I know the problem was not a code itself (which is "64-bit
> > clean") but a header which used wrong types in a layout for a sector
> > zero of MS-DOS partition - thus shifting a bunch of fields and creating
> > a totally bogus file system.
> > 
> > > It worked
> > > for me, but has failed for others.
> > 
> > This likely depends on a version.  I tried recently mkdosfs from 5.2
> > distribution on UX; it created a file system which was OK for ARCS
> > to boot from so the problem seems to take care of.   There was no
> > NT on this machine so I cannot tell you how happy it would be with
> > that partition.
> > 
> > OTOH if you happen to have a dual boot box you will be well advised
> > to use NT tools to format said partition.  A presence of published
> > standards was never a good reason for M$ software to follow them
> > and there could be some quirks.
> > 
> >   Michal
> > 
> > -- 
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> -- 
> Dave Beck 
> dave@arginine.umdnj.edu                 Sites of interest (set 2):
> Computer Science and Biology            http://www.cyc.com/cyc-2-1/toc.html
> Drexel University, Philadelphia PA      http://arginine.umdnj.edu/
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


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

* Re: Multia, RH 5.2 and MILO
  1999-01-17 17:51       ` Dave Beck
  1999-01-17 18:20         ` Larry Snyder
@ 1999-01-17 18:47         ` Michal Jaegermann
  1999-01-17 19:01           ` Dave Beck
  1 sibling, 1 reply; 9+ messages in thread
From: Michal Jaegermann @ 1999-01-17 18:47 UTC (permalink / raw)
  To: axp-list

Dave Beck wrote:
> 
> I must be silly or something, but I'm at a loss why anyone would
> use the mkdosfs tools if you can simply dd a milo disk image.

If you have, say, 5 Mb (or 3, or whatever) disk partition then you
just reduced it in size to 1440k (not even 1.44 Meg).  Maybe you
do not care, but somebody might.  Partition did not shrink, but
a file system on it will believe in what it says in a header.

If your original partition was smaller than 1440k then you are opening
nice possibility that in some moment you will scrible on the next
one (no, not necessarily right away).  Have a nice time recovering
from a "badly damaged file system" disaster.

> It seems like a lot of extra work

'mkdosfs' is indeed a longer program name than 'dd'.  But you
will gain on arguments length. :-)

  Michal


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

* Re: Multia, RH 5.2 and MILO
  1999-01-17 18:47         ` Michal Jaegermann
@ 1999-01-17 19:01           ` Dave Beck
  0 siblings, 0 replies; 9+ messages in thread
From: Dave Beck @ 1999-01-17 19:01 UTC (permalink / raw)
  To: axp-list

I guess I just planned on having a 2mb or so partition and
thusly experienced no problems.  Of course, I should point out
that I got fed up with milo and went to srm, which IMHO seems
infinitely cooler.  Of course, I now boot all my alphas off the
net anyway, so...  my two cents.

Quoting Michal Jaegermann (michal@ellpspace.math.ualberta.ca):
> Dave Beck wrote:
> > 
> > I must be silly or something, but I'm at a loss why anyone would
> > use the mkdosfs tools if you can simply dd a milo disk image.
> 
> If you have, say, 5 Mb (or 3, or whatever) disk partition then you
> just reduced it in size to 1440k (not even 1.44 Meg).  Maybe you
> do not care, but somebody might.  Partition did not shrink, but
> a file system on it will believe in what it says in a header.
> 
> If your original partition was smaller than 1440k then you are opening
> nice possibility that in some moment you will scrible on the next
> one (no, not necessarily right away).  Have a nice time recovering
> from a "badly damaged file system" disaster.
> 
> > It seems like a lot of extra work
> 
> 'mkdosfs' is indeed a longer program name than 'dd'.  But you
> will gain on arguments length. :-)
> 
>   Michal
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
Dave Beck 
dave@arginine.umdnj.edu                 Sites of interest (set 2):
Computer Science and Biology            http://www.cyc.com/cyc-2-1/toc.html
Drexel University, Philadelphia PA      http://arginine.umdnj.edu/


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

end of thread, other threads:[~1999-01-17 19:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-17  1:20 Multia, RH 5.2 and MILO Adilson Guilherme Vasconcelos Ribeiro
1999-01-17  3:11 ` Larry Snyder
1999-01-17 14:03   ` Charles E Taylor IV
1999-01-17 16:22   ` Bill Roman
1999-01-17 17:37     ` Michal Jaegermann
1999-01-17 17:51       ` Dave Beck
1999-01-17 18:20         ` Larry Snyder
1999-01-17 18:47         ` Michal Jaegermann
1999-01-17 19:01           ` Dave Beck

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