Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Newbie question about MILO and some partition locations
@ 2000-03-26  5:00 Mig
  2000-03-26  5:00 ` Andrew `Hex' Munkres
  0 siblings, 1 reply; 6+ messages in thread
From: Mig @ 2000-03-26  5:00 UTC (permalink / raw)


I have a Digital Alpha PC 164SX with two harddrives, a 550meg and a
400 meg. Using MILO, I am able to boot the generic.img, and from
there, load the ramdisk.img and get into the installer for redhat 6.1.
After going through the entire install, everything goes fine, until
the reboot, and then i cannot find the kernal.

I originally made the following partitions:

/	hda1: linux-native partition		
swap	hdb1:linux-swap partition
/home	hdb2: linux-native partition

at the MILO prompt, i type 

	boot hda1:vmlinux.gz root=/dev/hda1

to which I get a reply of Unknown filesystem device on void-failed to
load the kernal

I imagine the problem is that I don't have a /boot partition

Any recomendation on how the partitions should be setup, and then the
correct line of syntax?

If I put a /boot partition ms-dos at hda1 and leave the rest of the
disk at / hda2, is the correct syntax 
	boot hda1:vmlinux.gz root=/dev/hda2

Thanks for any and all insight to the matter.

-Mig



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

* Re: Newbie question about MILO and some partition locations
  2000-03-26  5:00 Newbie question about MILO and some partition locations Mig
@ 2000-03-26  5:00 ` Andrew `Hex' Munkres
  2000-03-27  5:00   ` Ian Wilkinson
  2000-03-27  5:00   ` Michal Jaegermann
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew `Hex' Munkres @ 2000-03-26  5:00 UTC (permalink / raw)


Mig <Nada@Nada.org> writes:

> If I put a /boot partition ms-dos at hda1 and leave the rest of the
> disk at / hda2, is the correct syntax 
> 	boot hda1:vmlinux.gz root=/dev/hda2

That should work except that the kernel is called vmlinuz, not
vmlinux.gz. (IIUC MILO can't read >16MB partitions, which is why it
couldn't read hda1.)

-- 
	"I want to resist, but I can't hold it back!
	The beast is unleashed, it's got to attack!"
	- Udo "Slave To Metal" Dirkschneider
	"Sic 'em, Wuffles!" - Andrew "Drongo of Alternate Sanity" Munkres



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

* Re: Newbie question about MILO and some partition locations
  2000-03-26  5:00 ` Andrew `Hex' Munkres
@ 2000-03-27  5:00   ` Ian Wilkinson
  2000-03-27  5:00   ` Michal Jaegermann
  1 sibling, 0 replies; 6+ messages in thread
From: Ian Wilkinson @ 2000-03-27  5:00 UTC (permalink / raw)



Andrew `Hex' Munkres <amunk@efn.org> wrote in message
news:m3bt41ntvc.fsf@efn.org...
> Mig <Nada@Nada.org> writes:
>
> > If I put a /boot partition ms-dos at hda1 and leave the rest of the
> > disk at / hda2, is the correct syntax
> > boot hda1:vmlinux.gz root=/dev/hda2
>
> That should work except that the kernel is called vmlinuz, not
> vmlinux.gz. (IIUC MILO can't read >16MB partitions, which is why it
> couldn't read hda1.)

My kernel is called vmlinux.gz, but it is kept in /boot so I type
boot hda3:/boot/vmlinux.gz root=/dev/hda3
as I have a 10MB fat12 part (hda1 and mounted under /boot/milo )
a swap of 64MB (hda2)
and linux ext2 of 1.2GB (hda3 mounted as / )

The kernel only became called vmlinux.gz after I made it myself...

Ian.
--
http://www.sgtwilko.f9.co.uk/ - With the New Tomato WebCam...





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

* Re: Newbie question about MILO and some partition locations
  2000-03-26  5:00 ` Andrew `Hex' Munkres
  2000-03-27  5:00   ` Ian Wilkinson
@ 2000-03-27  5:00   ` Michal Jaegermann
  2000-03-27  5:00     ` Andrew `Hex' Munkres
  1 sibling, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 2000-03-27  5:00 UTC (permalink / raw)


Andrew `Hex' Munkres (amunk@efn.org) wrote:

: That should work except that the kernel is called vmlinuz, not
: vmlinux.gz.

A kernel is called the way you named it.  As far as Milo and Linux
are concerned you may call it "RedRidingHood" as well.  It does not
matter as long as you are pointing to a correct device and a name.

: (IIUC MILO can't read >16MB partitions, which is why it
: couldn't read hda1.)

Could you, please, get into a habit of checking your information before
you post? This is not the first time.

Milo can read all partitions which Linux kernel can.  After all it is
based on the same sources (which is easy to check).  But, current
versions of milo, or at least those I am aware of, will have troubles
loading a kernel which is - whole or in parts - located further then a
2 GB __offset__ from a partition beginning.  The easiest way to prevent
that from happening is to keep a partion from which milo load a kernel
below that "magic" size.  There are also other good reasons to keep root
and/or boot partitions relatively small and 2 GB is usually way too big
anyway for that purpose.

What is more, if a particular milo is based on kernel sources from a 2.0
series (most of them floating around) then it will not read partitions
with block sizes other then 1024 and file system features like sparse
superblocks.  It is good to keep that in mind when creating a file
system which milo will have to read.  mke2fs from versions 1.17 and 1.18
will use by default sparse superblocks and 4096 block size for file
systems "big enough" unless explicitely told otherwise.  Red Hat
installer is aware of that tidbit.

  Michal



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

* Re: Newbie question about MILO and some partition locations
  2000-03-27  5:00   ` Michal Jaegermann
@ 2000-03-27  5:00     ` Andrew `Hex' Munkres
  2000-03-28  5:00       ` Michal Jaegermann
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew `Hex' Munkres @ 2000-03-27  5:00 UTC (permalink / raw)


michal@gortel.phys.ualberta.ca (Michal Jaegermann) writes:

> Andrew `Hex' Munkres (amunk@efn.org) wrote:
>
> : (IIUC MILO can't read >16MB partitions, which is why it
> : couldn't read hda1.)
> 
> Could you, please, get into a habit of checking your information before
> you post? This is not the first time.
> 
> Milo can read all partitions which Linux kernel can.  After all it is
> based on the same sources (which is easy to check).  But, current
> versions of milo, or at least those I am aware of, will have troubles
> loading a kernel which is - whole or in parts - located further then a
> 2 GB __offset__ from a partition beginning.  The easiest way to prevent
> that from happening is to keep a partion from which milo load a kernel
> below that "magic" size.  There are also other good reasons to keep root
> and/or boot partitions relatively small and 2 GB is usually way too big
> anyway for that purpose.

On mine, I tried to use MILO's ls command on my / partition (which is
>2GB) and it failed. The MILO version I'm using is the one from the
RH6.1 CD. Both / and /boot partitions use ext2fs. I thought that this
was because the root partition was too large for MILO to read.

-- 
	"I want to resist, but I can't hold it back!
	The beast is unleashed, it's got to attack!"
	- Udo "Slave To Metal" Dirkschneider
	"Sic 'em, Wuffles!" - Andrew "Drongo of Alternate Sanity" Munkres



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

* Re: Newbie question about MILO and some partition locations
  2000-03-27  5:00     ` Andrew `Hex' Munkres
@ 2000-03-28  5:00       ` Michal Jaegermann
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 2000-03-28  5:00 UTC (permalink / raw)


Andrew `Hex' Munkres (amunk@efn.org) wrote:

: On mine, I tried to use MILO's ls command on my / partition (which is
: >2GB) and it failed.

That very well may be.  Check with 'tune2fs -l ...' characteristics of
these partitions.  Even if blocks are 1024 and no sparse superblocks
were used it is possible that your milo is using 'lseek' to read
directory as well and this may have troubles like you encountered.
Remember that you are not dealing with a "real ls" but some very simple
minded built-in file system reader meant to help a tiny bit in a boot
phase.  One would have to check milo sources to know for sure.  Like I
mentioned - milo will definitely keel over a boot image located "too far".

But you claimed in your previous posting that Milo cannot read
partitions over 16 MB.  This is definitely not the case.

: Both / and /boot partitions use ext2fs.

See my earlier posting in this thread.  As far as milo is concerned
e2fsprogs-1.14 and e2fsprogs-1.17 or 1.18 are quite different animals
and due care is required.

  Michal



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

end of thread, other threads:[~2000-03-28  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-26  5:00 Newbie question about MILO and some partition locations Mig
2000-03-26  5:00 ` Andrew `Hex' Munkres
2000-03-27  5:00   ` Ian Wilkinson
2000-03-27  5:00   ` Michal Jaegermann
2000-03-27  5:00     ` Andrew `Hex' Munkres
2000-03-28  5:00       ` Michal Jaegermann

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