Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Help for a newbie - please
  1998-07-17 17:37       ` furio ercolessi
@ 1998-07-17 10:00         ` Jay.Estabrook
  0 siblings, 0 replies; 5+ messages in thread
From: Jay.Estabrook @ 1998-07-17 10:00 UTC (permalink / raw)
  To: axp-list


>>> furio ercolessi said:
> 
> It must be a bug in ARCS BIOS. It appears to be impossible to construct
> a valid boot partition using Linux tools (fdisk, mkdosfs, dd etc)
> on that machine.  You have to use ARCINST from the Windows NT CDROM.

I'm not sure it qualifies as a "bug", but it is very "choosy" as to the
format it expects the DOS FS to be in... :-\

> It may seem absurd but this is what I had to do, basically
> 
> 1) follow http://www.deskstation.com/linux/install.html
>    to get Linux running (but use the new MILO from gatekeeper.dec.com
>    instead of the one from Deskstation)
> 2) run ARCINST, delete and recreate the boot partition over the
>    same boundaries
> 3) go in ARCS and copy the three MSDOS files into this partition
> 4) now you should be able to boot MILO.   From there
>    boot Linux again.  fdisk will complain about partition 1
>    (logical sectors do not match physical sectors, or something
>    like that), and the swap partition also gives errors
>    (mkswap cannot format it).   Congratulations: by running
>    ARCINST you have damaged the rest of the disk!  But
>    you can still do dd if=/dev/sda1 of=/boot.img and save
>    your boot partition in a file.
>    Go in fdisk and rewrite the partition table to make it
>    Linux-friendly.  You have now destroyed again your boot
>    partition!  But you can restore its contents:
>       dd if=/boot.img of=/dev/sda1
>    Now both ARCS BIOS and fdisk are happy with it: do not
>    touch it any more.
> 5) Reboot and reinstall Linux all over again, skipping
>    the fdisk stage.
> 
> It's easy! ;-)

Yes, but I think there's a better way:

1. use ARCINST to partition and format the boot partition (sda1)
   (you may copy the files from floppy to the boot partition if you
   want to, at this time, but I believe it can successfully be done
   later under LINUX; the critial thing to ARCSBIOS is the partition
   table and DOS FS (FAT) format, and LINUX won't change the important
   parts of those, I believe).
2. do the RH install; I think "fdisk" will pick up on the fact that
   there's already a partition table setup on the disk and a defined
   boot partition; use fdisk to define the remaining partitions on the disk.
3. complete the install as usual.

If you need to create a DOS FS on a floppy, you can use MTools under LINUX,
I believe. That's how the floppy image file contents were originally created,
IIRC.

And DO use the ruffian.img that is available on gatekeeper.dec.com:

	/pub/DEC/Linux-Alpha/Kernels/test-Milos-2.0.30+

as that has the best BIOS emulation and should work for most VGAs.

Good luck.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Motherboards - LINUX Project
Digital Equipment Corp.                 (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545  Jay.Estabrook@digital.com
-------------------------------------------------------------------------------



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

* Help for a newbie - please
  1998-07-17 16:06   ` Paul Tomblin
@ 1998-07-17 16:44     ` Andrew Berge
  1998-07-17 17:37       ` furio ercolessi
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Berge @ 1998-07-17 16:44 UTC (permalink / raw)
  To: axp-list

Hi

  I have an Alpha 533 based on a deskstation RPX-164 'Ruffian' motherboard and am
havinbg some trouble installing linux,

  I have copied linload.exe and the ruffian file from the \Milo directory of the
Linux\Alpha CD onto a dos format floppy and then I adjusted a boot environment
under Arc to

ConsoleOut             =multi(0)video(0)console(1)
ConsoleIn                =multi()Key()console()
LastKnownGood    = False
Countdown              =5
LoadIdentifier         =LINUX
System Partition      = multi(0)disk(0)fdisk(0)
OsloadPartition       = multi(0)disk(0)fdisk(0)
Oload options       =
AUTOLOAD           =YES
OsLoader                 =multi(0)disk(0)fdisk(0)\linload.exe
Osload filename      =\ruffian

But when I try to load the MILO in this way I get a black screen with blinking _
cursor alittle bit of disk activity and nothing more. If I hit a key I get a
message saying hit a key to return to Arc and it simply goes back again,
   Can anybody help me ? I have read through all the docs etc that I can find and
I can't find anything...as they all seem to asume that getting as far as the Milo
prompt should be easy, What am I doing wrong...?


Thanks in advance,


Andrew Berge....


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

* Re: Help for a newbie - please
  1998-07-17 16:44     ` Help for a newbie - please Andrew Berge
@ 1998-07-17 17:37       ` furio ercolessi
  1998-07-17 10:00         ` Jay.Estabrook
  0 siblings, 1 reply; 5+ messages in thread
From: furio ercolessi @ 1998-07-17 17:37 UTC (permalink / raw)
  To: aberge; +Cc: axp-list

>   I have an Alpha 533 based on a deskstation RPX-164 'Ruffian' motherboard and am
> havinbg some trouble installing linux,
> 
>   I have copied linload.exe and the ruffian file from the \Milo directory of the
> Linux\Alpha CD onto a dos format floppy and then I adjusted a boot environment
> under Arc to
> 
> ConsoleOut             =multi(0)video(0)console(1)
> ConsoleIn                =multi()Key()console()
> LastKnownGood    = False
> Countdown              =5
> LoadIdentifier         =LINUX
> System Partition      = multi(0)disk(0)fdisk(0)
> OsloadPartition       = multi(0)disk(0)fdisk(0)
> Oload options       =
> AUTOLOAD           =YES
> OsLoader                 =multi(0)disk(0)fdisk(0)\linload.exe
> Osload filename      =\ruffian
> 
> But when I try to load the MILO in this way I get a black screen with blinking _
> cursor alittle bit of disk activity and nothing more. If I hit a key I get a
> message saying hit a key to return to Arc and it simply goes back again,
>    Can anybody help me ? I have read through all the docs etc that I can find and
> I can't find anything...as they all seem to asume that getting as far as the Milo
> prompt should be easy, What am I doing wrong...?

I went through the exact same blues in the past days.
Your problem is the boot partition on the hard disk, even if the
firmware does not give any clue in this sense.
It must be a bug in ARCS BIOS. It appears to be impossible to construct
a valid boot partition using Linux tools (fdisk, mkdosfs, dd etc)
on that machine.  You have to use ARCINST from the Windows NT CDROM.

It may seem absurd but this is what I had to do, basically
(of course this is just a summary not including wrong paths..):

1) follow http://www.deskstation.com/linux/install.html
   to get Linux running (but use the new MILO from gatekeeper.dec.com
   instead of the one from Deskstation)
   The RH installation made you go through fdisk, you wrote the
   partition table on the disk.  You dutifully made a FAT partition
   on sda1: it is unusable as it is, do not bother to copy
   msdos files over it, not even from ARCS BIOS.  The files go there,
   you see them, but the system will not boot from them.
2) run ARCINST, delete and recreate the boot partition over the
   same boundaries
3) go in ARCS and copy the three MSDOS files into this partition
4) now you should be able to boot MILO.   From there
   boot Linux again.  fdisk will complain about partition 1
   (logical sectors do not match physical sectors, or something
   like that), and the swap partition also gives errors
   (mkswap cannot format it).   Congratulations: by running
   ARCINST you have damaged the rest of the disk!  But
   you can still do dd if=/dev/sda1 of=/boot.img and save
   your boot partition in a file.
   Go in fdisk and rewrite the partition table to make it
   Linux-friendly.  You have now destroyed again your boot
   partition!  But you can restore its contents:
      dd if=/boot.img of=/dev/sda1
   Now both ARCS BIOS and fdisk are happy with it: do not
   touch it any more.
5) Reboot and reinstall Linux all over again, skipping
   the fdisk stage.

It's easy! ;-)

I can made you available our  "boot.img", but I am not sure
if it is disk-dependent or not.  I have a Fujitsu MAB3045.

Hope it helps

furio ercolessi
spin
trieste (italy)


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

* Re: Help for a newbie - please
@ 1998-07-22 16:12 Greg Lindahl
  1998-07-22 22:07 ` Quant-X Alpha Linux Support
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Lindahl @ 1998-07-22 16:12 UTC (permalink / raw)
  To: axp-list

> I'm not sure it qualifies as a "bug", but it is very "choosy" as to the
> format it expects the DOS FS to be in... :-\

BTW, under RedHat 5.1, I was able to use fdisk to partition a blank
SCSI disk such that the ARC console agreed to boot off of it. So it
seems that our partitioning problems are getting better.

-- g


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

* Re: Help for a newbie - please
  1998-07-22 16:12 Help for a newbie - please Greg Lindahl
@ 1998-07-22 22:07 ` Quant-X Alpha Linux Support
  0 siblings, 0 replies; 5+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-07-22 22:07 UTC (permalink / raw)
  To: axp-list

Hi Greg !

> > I'm not sure it qualifies as a "bug", but it is very "choosy" as to the
> > format it expects the DOS FS to be in... :-\
> 
> BTW, under RedHat 5.1, I was able to use fdisk to partition a blank
> SCSI disk such that the ARC console agreed to boot off of it. So it
> seems that our partitioning problems are getting better.

I'm happy that I've never seen a fdisk problem at all.
Maybe because our own setup program uses sfdisk.

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


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

end of thread, other threads:[~1998-07-22 22:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-22 16:12 Help for a newbie - please Greg Lindahl
1998-07-22 22:07 ` Quant-X Alpha Linux Support
  -- strict thread matches above, loose matches on Subject: below --
1998-07-17 15:01 RedHat package contents, was: (or, KDE v GNOME, yet again) Paul Tomblin
1998-07-17 15:46 ` Mike Wangsmo
1998-07-17 16:06   ` Paul Tomblin
1998-07-17 16:44     ` Help for a newbie - please Andrew Berge
1998-07-17 17:37       ` furio ercolessi
1998-07-17 10:00         ` Jay.Estabrook

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