Hi Luca,

The bootfs entry is needed if you have more than one BE and wish to boot to a 
BE 
that is not the default BE set in the "bootfs" property of the root pool. This 
is why beadm adds this entry, it enables booting to BE's other than the default 
by overriding the "bootfs" property of the root pool. Without this it would not 
be possible to boot any BE other than the one defined in the "bootfs" property 
of the root pool.

Part of the problem is that beadm should really be using bootadm to add these 
entries in menu.lst however bootadm is not currently capable of adding the 
needed BOOTFS entrys.

-evan

Vikram Hegde wrote:
> Hi,
> 
> findroot is a replacement for the "root" command (not bootfs). bootfs 
> can be used with
> findroot without any ill-effects. findroot menu is the preferred option 
> over root because the
> current beadm menu (which doesn't have either root or findroot) will not 
> work correctly
> if you have multiple disks.
> 
> Vikram
> 
> 
> ----- Original Message ----
> From: Luca Morettoni <[EMAIL PROTECTED]>
> To: Indiana Discuss <[EMAIL PROTECTED]>; 
> zfs-discuss@opensolaris.org
> Sent: Monday, September 22, 2008 3:15:12 AM
> Subject: [indiana-discuss] bootfs or findroot in GRUB menu?
> 
> Hi, after some upgrade (now I run OpenSolaris snv_98 and ZFS revision
> 13) I executed the upgrade steps (from [0]), but now I see this 2 entry
> in menu.lst (both running well):
> 
> #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
> title Solaris 2008.11 snv_98 X86
> findroot (pool_rpool,1,a)
> kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
> module$ /platform/i86pc/$ISADIR/boot_archive
> #---------------------END BOOTADM--------------------
> title Solaris 2008.11 snv_98 X86
> bootfs rpool/ROOT/opensolaris-98
> kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
> module$ /platform/i86pc/$ISADIR/boot_archive
> #============ End of LIBBE entry =============
> 
> the first use findroot, the other bootfs, which is the *best* command to
> use?
> 
> Thanks and sorry for the cross-post!
> -- 
> Luca Morettoni <luca(AT)morettoni(DOT)net> - http://morettoni.net
> BLOG @ http://morettoni.blogspot.com/ | GPG key 0xD69411BB
> jugUmbria founder - https://jugUmbria.dev.java.net/ | Thawte notary
> ITL-OSUG leader - http://www.opensolaris.org/os/project/itl-osug/
> _______________________________________________
> indiana-discuss mailing list
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> indiana-discuss mailing list
> [EMAIL PROTECTED]
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to