* fail to build milo
1998-07-07 14:36 ` Buda Sandor Attila
@ 1998-04-17 13:30 ` ward
0 siblings, 0 replies; 3+ messages in thread
From: ward @ 1998-04-17 13:30 UTC (permalink / raw)
To: axp-list
Dear Sir,
Using the milo geting from
"gatekeeper.dec.com/pub/DEC/Linux-Alpha/Kernels/Test-Milos-2.0.30+",I
can boot my kernel.But when I build the milo with linux-2.0.30 and
milo-2.0.30 by myself,it did not work.Can anyone tell me which version
of kernel and milo source code I should get in order to build milo?In
the "gatekeeper.dec.com/pub/DEC/Linux-Alpha/Kernels",I can get
milo-sources-2.0.30-0.4.tgz,alpha-patches-2.0.30-0.1.gz,alpha-patches-2.0.30-0.3.gz,alpha-patches-2.0.30-0.4.gz,BUT
ALPHA-PATCHES-2.0.30-0.2.gz IS MISSING.What is The newest version of
milo?
Thanks.
ward1997.7.17
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: more on aboot...
@ 1998-07-07 1:33 Tibbetts, Richard
1998-07-07 14:36 ` Buda Sandor Attila
0 siblings, 1 reply; 3+ messages in thread
From: Tibbetts, Richard @ 1998-07-07 1:33 UTC (permalink / raw)
To: 'axp-list@redhat.com'
I'm using the SRM & aboot to boot an AlphaStation 200.
swriteboot does _NOT_ work with PC Style partitions. You must use BSD.
And it gets tricky because the RedHat install process does not recognize
the BSD partitions... (It gets hairy!) (it's a kind of the old "chicken
& egg problem"!)
What I had to do was:
At the point in the install where you partition your disk up,
set it up with regular PC style partitions. Leave about 1-2 mb
unallocated at the beginning of the disk (just start your first
partition at cylinder 2 or 3 rather than at cylinder 1 (make sure that
NO partitions start at cylinder 1). save & exit fdisk. Then go back into
fdisk, and select option "b" to select BSD style labels, and set up the
partitions to "exactly" match the starting & ending cylinders on the PC
"side" for all of your partitions(*) (more on this below).
Then finish your install. When your done, run swriteboot -v
/dev/sda2 /boot/bootlx. NOTE: This WILL trash your PC Style Partition
table! If you check fdisk, it will show that only partitions 1 & 2 will
have survived. (watch for errors, & correct as necessary)
However, what has happened is that the information that was on
the trashed partitions is still alive & valid, but on the BSD
partitions. If you matched everything up correctly, they'll be alive &
well. You can re-boot at this point, and at the prompt:
>>>b dka0 -fi 2/vmlinux.gz -fl "root=/dev/sda2" (assuming the
correct drive numbers..)
It should boot without problem. If all is well, you can set your
boot options to allow either full automatic booting, or controlled
booting, depending on your preferences.
* Now the something more from above:
When I set mine up using this method, I had a "lot" of troubles
with the partitions not lining up. Gave me a full night of fits! Until I
simplified the system. What I did was:
When in fdisk doing the initial setup for the PC style
partitions, I only set up 3 (/, swap, and /usr), then in the BSD side, I
set up the first three to match them, and then set up the remaining
partitions as desired.
After completing the load, and when it had done a successful
re-boot, and I was comfortable that all was well, I went back and made
the appropriate filesystems on the pre-defined partitions, (just as you
normally would make a new filesystem) to finish out the system.
NOTE here: Just do a "mke2fs /dev/sda3 /var" (for example) to
make the filesystem... do not go back into fdisk, if you try to set up
new partitions, you'll trash aboot!
There were only 3 filesystems that had things to watch out for:
/var Has installed content. Tar this up FIRST, and stash the
tar file. Create the new /var, and mount it, then untar the original
/var contents into it. Test... If everything checks out ok, then unmount
it, and delete the contents in the original /var (you won't need them,
and they're taking up space on your root filesystem).
/home Same as /var
/usr/local Same as /var & /home
It's a pain! But it gives me a good boot console now. With this
in place, and if you set up your boot defaults, you have all the control
that you need. In my case, I don't want a full automatic boot, because
I'm working on the kernel. If I get a bad kernel, I need the option to
boot and alternate. Thus on my system, I've set up my boot options as:
auto_action halt
bootdef_dev dka0 (my harddrive)
boot_file 2/vmlinux.gz 2 being /dev/sda2. It resolves
that itself
boot_osflags "root=/dev/sda2"
Now upon bootup, at the >>> prompt, I can enter as little as
>>>b to boot. This will boot it using all the defaults. But what if I
put an unknown kernel in?
Use: >>> b -fi 2/vmlinux.test.gz
It will now use all the defaults "except" the kernel. If it
doesn't work, or the new kernel locks up your system, just reboot it
back to your last known kernel (vmlinux.gz), and your back on your way.
Got it all settled, and you don't want to make any more changes?
Do this:
>>> set auto_action boot
Then when you boot it up... It'll boot straight into Linux.
I hope all of this helps someone. I went through a lot of misery
working it all out. This also goes out with many thanks to B. James
Phillippe <bryan@terran.org>
He was endlessly patient with me in working this out!
It's painful, but it works. I personally didn't want my Alpha
box to rely on a "DOS" partition to boot! So it was worth the extra
effort!
Good Luck!
> ______________________________
> Ric Tibbetts
> Boeing SSG Distributed CATIA
> Central Administration
> CAS-CADE Central Administration
> Phone: 425/393-4442 Pager: 425/645-2012
> E-Mail: richard.tibbetts@boeing.com
>
> Eagles may soar, but weasels don't get sucked into jet engines.
> _______________________________
>
>
>
> ----------
> From: Brian Craft[SMTP:bcboy@dorothy.wanglab.brandeis.edu]
> Reply To: axp-list@redhat.com
> Sent: Monday, July 06, 1998 4:45 PM
> To: axp-list@redhat.com
> Subject: more on aboot...
>
> I just tried using "swriteboot -f1 -f3", which successfully destroyed
> the
> partition table. I re-wrote the table with fdisk.
>
> Does swriteboot not work with fdisk partitioned disks? The docs imply
> it
> does. They apparently are reading different tables, though, because
> swriteboot
> thinks partitions 1 and 3 begin at offset 0, while fdisk shows
> partition 1 doesn't
> exist and partition 3 is offset 84 Meg from the begining of the disk.
>
> This disk used to have digital unix on it, so perhaps there's some
> left
> over data that's confusing swriteboot??
>
> b.c.
>
> --
> 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] 3+ messages in thread
* RE: more on aboot...
1998-07-07 1:33 more on aboot Tibbetts, Richard
@ 1998-07-07 14:36 ` Buda Sandor Attila
1998-04-17 13:30 ` fail to build milo ward
0 siblings, 1 reply; 3+ messages in thread
From: Buda Sandor Attila @ 1998-07-07 14:36 UTC (permalink / raw)
To: axp-list
On Mon, 6 Jul 1998, Tibbetts, Richard wrote:
> I'm using the SRM & aboot to boot an AlphaStation 200.
> swriteboot does _NOT_ work with PC Style partitions. You must use BSD.
> And it gets tricky because the RedHat install process does not recognize
> the BSD partitions... (It gets hairy!) (it's a kind of the old "chicken
> & egg problem"!)
....
i used a little trick.
in the redhat 5.0 the install recognize bsd partitions correctly
(why 5.1 not ??)
so i used the 5.0 ramdisk and installed 5.1 with it :-)
before it i waste a lot of time partitioning bsd and fdisk like,but the
5.1 install always said "corrupt disk label ..."
with the 5.0 ramdisk everything worked fine ...
Special Thanx to Bruce Williams
p.s.
Do you know why i never use capital letters ? Suggestions ? :-)
Nyasi
nyasi@sun.bzlogi.hu
http://sun.bzlogi.hu/~nyasi
Broadcast message from God : Shutdown in one million year.
And no Backup was made ...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-07-17 13:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-07 1:33 more on aboot Tibbetts, Richard
1998-07-07 14:36 ` Buda Sandor Attila
1998-04-17 13:30 ` fail to build milo ward
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox