From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,9093c8acf0fc2adf X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: milo.conf Date: 2000/01/07 Message-ID: <855ld1$iss$1@pulp.srv.ualberta.ca>#1/1 X-Deja-AN: 569715607 References: <3872C2A6.85738452@uswest.net> <85262a$pas$1@nnrp1.deja.com> <852k1h$c42$1@pulp.srv.ualberta.ca> <387644E4.F8DF64E8@uswest.net> Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.alpha Mike Langas (mlangas@uswest.net) wrote: : Are you implying I can put milo on a partition that is something other : than FAT? Milo has to live on a partition type which is recognized by a firmware which is loading it. So this limits your choices to FAT and iso9660 (plain, no "Rock Ridge extensions" or anything like that). This "partition" may be actually on a floppy, but hard disk is usually more convenient and iso9660 file system on a hard disk is not a great idea. :-) It is read only. : Does etc/milo.conf have to exist on the partion with the milo image or : the kernel image? This 'milo.conf' has to be on the same partition with your boot image, i.e. kernel stuff. Milo is a loader. That means that if you have your kernel on a root partition, as usually is the case, then you will use /etc/milo.conf and if you kernel you want to boot lives in /boot/test/vmlinux-my-latest-experimental-stuff-which-may-not-work.gz you may add to /etc/milo.conf a stanza with the above name and a short label and save yourself a lot of typing. I assume, of course that /boot/test is a part of your root partition and not mounted from somewhere else. If it would you could have one 'milo.conf' in /etc and another one on this "experimental" partition and you would get labels from one or another depending on which partition you have chosen to boot from milo prompt. You can mount your '/' from the same partition on all cases - of course. Note that in such situation not only locations of 'milo.conf' would be relative to partitions on which you put it but also boot image names. This is read by milo, when nothing is mounted yet, so there is yet no subdirectory on which this eventually end up. : The reason I ask is that the default install placed the milo.conf file : on the same partition as the kernel. And this is correct; unless this is something like RH 6.1, which puts boot images in /boot, AND you told installer to mount /boot from its own partition. I did not try if an installer is smart enough to realize what is going on. :-) It is probably not a problem in practice as people who would to that likely realize also what is going on and can boot in any case. : After the install I end up with milo and linload on a 1440K FAT : partition (sda1) and my / partition is ext2 (sda2). the milo.conf file : is on sda2. At the milo prompt I type 'b sda2:' I then get a list of : defined labels in the milo.conf file. When I type in one of the label : names the system boots. The problem is that I want the system to boot : automatically. You do that by putting your __full__ boot command line into OSLOADOPTIONS of a default menu entry in ARC (AlphaBIOS, ARCBIOS, the same thing with a different eye candy) and setting a non-zero timeout (say 15 seconds). Then even after 'shutdown -r' milo will reuse the last boot command and after some countdown will reboot automatically. If you are booting from SRM, and not from ARC, then you do not have a FAT partition and you are dealing with 'aboot.conf' and not 'milo.conf'. :-) Automatic booting is then a tad different but also trivial. : Some of the documentation says you can type something like 'b sda2: : label_name' : to tell milo what label to use. No, this does not work - at least for all milos which I have seen. But nobody is forcing you to use that "simplified" method. 'milo.conf' makes an __interactive__ reboot simpler. : If milo.conf is supposed to go on the same partition as the milo image, : it seems like we : end up with a catch 22. Nobody said that; "a system boot image" is something totally different from milo. Michal