From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,1a35931a53f04b60 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-09-19 14:40:15 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!rover.ucs.ualberta.ca!not-for-mail From: Michal Jaegermann Newsgroups: comp.os.linux.alpha Subject: Re: aboot installation ? Date: 19 Sep 2002 21:01:17 GMT Organization: Disorganized Bits Message-ID: References: <3D860541.9AA1A6FF@phys.uconn.edu> <3D8A117D.168B6974@phys.uconn.edu> NNTP-Posting-Host: gortel.phys.ualberta.ca User-Agent: tin/1.5.13-20020614 ("Sugar") (UNIX) (Linux/2.4.18-10 (i686)) Xref: archiver1.google.com comp.os.linux.alpha:6273 Ionel Simbotin wrote: > > > Is aboot something one needs to install > before/during/after the Linux install? 'aboot' package is a series of tools and a piece of a data, usually called bootlx but the name is not important, which with these tools you write on a hard disk so firmware can grab it and pass an execution to then next stage of booting. Later it will load your kernel. Strictly speaking you do not need to ever "install" it as you can boot from other media. It is a good idea, though. > Is it even > possible to install aboot before? It is but this is not very useful. :-) > "[....] modern Alphas which use SRM and aboot can boot > directly from the Red Hat Linux CD 1 shipped in the > boxed set." > > Does this mean my Alpha has to somehow have aboot > already installed BEFORE the Linux install? There is a boot block already written on a distribution CD (one of tools in 'aboot' package will do that on a CD image if you are making your own CDs) and floppy images also have boot blocks on them. They are set to boot by a default into a small Linux system mounted on a ramdisk. > Or AFTER? > I've been looking through the SRM/aboot howto but > couldn't quite understand. An installer will write that boot block on a hard disk for you provided: - there is space left for that purpose - a partition table on a disk if of a "BSD disk label" type. Even a skeleton 'aboot.conf' will be created to save you typing. Here is the catch which I do not think mentioned anywhere in Red Hat docs. If you are "recycling" an old disk and there are leftovers of a "FAT" type partition table on it then an installer will take that seriously and it will NOT change a partition type. To prevent that you should wipe out first few sectors. Something like that dd if=/dev/zero of= count=4 ('count=1' should be enough but let's be generous), or an equivalent - an OS type and CPU totally immaterial, should do the trick. Do not do something like that on a disk where you want to still use old data. 'gpart' gives you ways to recover from such experiments but this may be more that you wanted to handle. :-) OTOH you want "FAT" table if you boot via ARC/Milo but this is "officially not supported" (it works but you are on your own to make it work). > I haven't got the box yet (we'll get it in a few days) > so I can just put the CD in and see what happens.... A bit depends on your firmware. Some older version have troubles booting from CDs, or from ATAPI CDs, and then you have to boot from a floppy (a network can be used as a boot device as well but you have to setup properly a server for that). With something reasonably recent you will type b -fl 0 and you will be on your way (use '-fl i' to see other boot options). "" is what SRM will show you about your CD when you will type "show dev" at SRM prompt. Michal