Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2002 10:08:49 -0800 (PST)
From:      Jay Xia <jay@XIAs.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/35984: boot easy does not work as expected
Message-ID:  <200203161808.g2GI8nJ25671@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         35984
>Category:       i386
>Synopsis:       boot easy does not work as expected
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 16 10:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jay Xia
>Release:        4.4
>Organization:
>Environment:
FreeBSD bsd.XIAs.org 4.4-RELEASE FreeBSD 4.4-RELEASE #0: 
Tue Sep 18 11:57:08 PDT 2001     murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386

>Description:
     My 40G EIDE has 4 partitions:
        1   32M for Linus /boot
        2   32M for FreeBSD /boot
        3   18G for FreeBSD (swap, /, /usr, /var, /home)
        4   19G (ext type) for Linux (swap, /, /usr, ...)

BSD Booteasy is installed in MBR. When I reboot PC, I have the 
following:

F1 Linux
F2 FreeBSD
F3 FreeBSD

Default: F2

Invalid Partition
Invalid Partition
No /boot/loader

>How-To-Repeat:
      reboot PC
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> FreeBSD/i386 BOOT
 Default: 0:ad(0,a)/kernel
 boot:
 Invalid Partition
 No /kernel
 
 >> FreeBSD/i386 BOOT
 Default: 0:ad(0,a)/kernel
 boot:
 
 Then it hangs there.
 
 F1 key for boot Linux is working fine. I want F2 working and I do
 not need to see F3 key. But F3 can boot BSD.
 
 Here are some print out:
 
 bsd# boot0cfg -v ad0
 #   flag     start chs   type       end chs       offset         size
 1   0x00      0:  1: 1   0x83      3:254:63           63        64197
 2   0x00      4:  0: 1   0xa5      7:254:63        64260        64260
 3   0x80      8:  0: 1   0xa5   1023:254:63       128520     37736685
 4   0x00   1023:254:63   0x0f   1023:254:63     37865205     40291020
 
 version=1.0  drive=0x80  mask=0xf  ticks=182
 options=packet,update,nosetdrv
 default_selection=F3 (Slice 3)
 
 bsd# ls -l /boot
 total 533
 -r--r--r--  1 root  wheel     512 Sep 18 13:28 boot0
 -r--r--r--  1 root  wheel     512 Sep 18 13:28 boot1
 -r--r--r--  1 root  wheel    7680 Sep 18 13:28 boot2
 -r-xr-xr-x  1 root  wheel  149504 Sep 18 13:28 cdboot
 drwxr-xr-x  2 root  wheel     512 Mar 15 16:27 defaults
 -r-xr-xr-x  1 root  wheel  147456 Sep 18 13:28 loader
 -r--r--r--  1 root  wheel    9237 Sep 18 13:28 loader.4th
 -rw-r--r--  1 root  wheel     134 Mar 15 16:41 loader.conf
 -r--r--r--  1 root  wheel   12064 Sep 18 13:28 loader.help
 -r--r--r--  1 root  wheel     338 Sep 18 13:28 loader.rc
 -r--r--r--  1 root  wheel     512 Sep 18 13:28 mbr
 -r-xr-xr-x  1 root  wheel  149504 Sep 18 13:28 pxeboot
 -r--r--r--  1 root  wheel   25121 Sep 18 13:28 support.4th
 
 bsd# ls -l /
 total 7017
 ...
 drwxr-xr-x   2 root  wheel     1024 Mar 15 16:32 bin
 drwxr-xr-x   3 root  wheel      512 Mar 15 16:41 boot
 dr-xr-xr-x   3 root  wheel     2048 Sep 18 06:51 cdrom
 drwxr-xr-x   3 root  wheel      512 Mar 15 16:43 home
 -r-xr-xr-x   1 root  wheel  3559066 Sep 18 14:57 kernel
 -r-xr-xr-x   1 root  wheel  3559066 Sep 18 14:57 kernel.GENERIC
 drwxr-xr-x   2 root  wheel      512 Sep 18 13:21 mnt
 drwxr-xr-x   2 root  wheel     3072 Mar 15 16:27 modules
 dr-xr-xr-x   1 root  wheel      512 Mar 16 13:03 proc
 drwxr-xr-x   5 root  wheel      512 Mar 16 12:39 root
 drwxr-xr-x   2 root  wheel     2048 Mar 15 16:32 sbin
 drwxr-xr-x   4 root  wheel     1024 Mar 15 16:06 stand
 lrwxrwxrwx   1 root  wheel       11 Mar 15 16:28 sys -> usr/src/sys
 
 So, how can I config BOOTEASY to that F2 key would work and no F3
 key shown up.
 
 Thanks,
 
 - jay
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203161808.g2GI8nJ25671>