SUCCESS! was: Re: installing from CD

John Baldwin jhb at freebsd.org
Wed Jun 24 14:23:22 UTC 2009


On Tuesday 23 June 2009 12:00:04 pm Anton Shterenlikht wrote:
> On Tue, Jun 23, 2009 at 08:54:33AM -0600, ToyoRunner wrote:
> > If you get your box up, try logging into it with ssh. I was running
> > 6-STABLE and for some reason I too could not get the serial console to
> > display the login prompt. However, ssh login worked fine for me.
> 
> success!!
> 
> Many thanks to all list participants!
> 
> I got into the newly installed system via ssh.
> 
> # uname -srm
> FreeBSD 8.0-CURRENT-200906 ia64
> #
> 
> 
> # df -h
> Filesystem    Size    Used   Avail Capacity  Mounted on
> /dev/da0p2    496M     35M    421M     8%    /
> devfs         1.0K    1.0K      0B   100%    /dev
> /dev/da0p1    256M    156M    100M    61%    /efi
> /dev/da0p5    496M     12K    456M     0%    /tmp
> /dev/da0p6     11G    236M     10G     2%    /usr
> /dev/da0p4    1.9G    228K    1.8G     0%    /var
> #
> 
> Note the EFI files take up 156 MB, whereas the EFI partition created
> by default by the installation program was only 100 MB. This is
> probably a reason for having loader.efi of zero size.
> So, it seems, the installation program needs to be updated to reflect this.

Looks like this might address that:

Index: usr.sbin/sysinstall/label.c
===================================================================
--- usr.sbin/sysinstall/label.c (revision 194698)
+++ usr.sbin/sysinstall/label.c (working copy)
@@ -1389,7 +1389,7 @@
 #ifdef __ia64__
     AutoEfi = NULL;
     if (EfiChunk == NULL) {
-       sz = 100 * ONE_MEG;
+       sz = 200 * ONE_MEG;
        AutoEfi = Create_Chunk_DWIM(label_chunk_info[here].c->disk,
            label_chunk_info[here].c, sz, efi, 0, 0);
        if (AutoEfi == NULL) {

Marcel, do you think this change is ok to bump the EFI part up to 200MB for 
8.0?

-- 
John Baldwin


More information about the freebsd-ia64 mailing list