Hello All,
Is there a way I can remove my old boot environments? Is it as simple as
performing a ''zfs destroy'' on the older entries, followed by
removing the entry from the menu.lst?? I have been searching, but have not
found anything... Any help would be much appreciated!!
Here is what my /rpool/boot/grub/menu.lst looks like:
# cat menu.lst
splashimage /boot/grub/splash.xpm.gz
timeout 30
default 3
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title OpenSolaris 2008.05 snv_86_rc3 X86
bootfs rpool/ROOT/opensolaris
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------
title opensolaris-1
bootfs rpool/ROOT/opensolaris-1
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#============ End of LIBBE entry ============title opensolaris-2
bootfs rpool/ROOT/opensolaris-2
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#============ End of LIBBE entry ============#---------- ADDED BY BOOTADM - DO
NOT EDIT ----------
title Solaris 2008.11 snv_91 X86
findroot (pool_rpool,0,a)
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------
title opensolaris-3
bootfs rpool/ROOT/opensolaris-3
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#============ End of LIBBE entry ============title opensolaris-4
bootfs rpool/ROOT/opensolaris-4
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#============ End of LIBBE entry ============
And here is the zfs list:
# zfs list
NAME USED AVAIL REFER
MOUNTPOINT
rpool 6.66G 27.8G 59.5K
/rpool
rpool at install 19.5K -
55K -
rpool/ROOT 6.56G 27.8G 18K
/rpool/ROOT
rpool/ROOT at install 15K -
18K -
rpool/ROOT/opensolaris 757M 27.8G 2.51G
legacy
rpool/ROOT/opensolaris at static:-:2008-07-03-00:43:32 7.09M -
2.41G -
rpool/ROOT/opensolaris-1 7.33M 27.8G 3.21G
legacy
rpool/ROOT/opensolaris-1/opt 101K 27.8G 1.02G
/opt
rpool/ROOT/opensolaris-2 1.37M 27.8G 2.41G
/tmp/tmp8Petug
rpool/ROOT/opensolaris-2/opt 0 27.8G 989M
/tmp/tmp8Petug/opt
rpool/ROOT/opensolaris-3 3.17M 27.8G 3.21G
/tmp/tmpPK0x35
rpool/ROOT/opensolaris-3/opt 0 27.8G 1.02G
/tmp/tmpPK0x35/opt
rpool/ROOT/opensolaris-4 5.81G 27.8G 3.29G
legacy
rpool/ROOT/opensolaris-4 at install 64.3M -
2.22G -
rpool/ROOT/opensolaris-4 at static:-:2008-05-16-01:39:46 76.3M -
2.38G -
rpool/ROOT/opensolaris-4 at static:-:2008-07-08-03:53:06 12.9M -
3.21G -
rpool/ROOT/opensolaris-4 at static:-:2008-07-08-04:26:54 7.41M -
3.21G -
rpool/ROOT/opensolaris-4/opt 1.02G 27.8G 1.02G
/opt
rpool/ROOT/opensolaris-4/opt at install 111K -
3.60M -
rpool/ROOT/opensolaris-4/opt at static:-:2008-05-16-01:39:46 1.22M -
989M -
rpool/ROOT/opensolaris-4/opt at static:-:2008-07-08-03:53:06 101K -
1.02G -
rpool/ROOT/opensolaris-4/opt at static:-:2008-07-08-04:26:54 0 -
1.02G -
rpool/ROOT/opensolaris/opt 510K 27.8G 989M
/opt
rpool/ROOT/opensolaris/opt at static:-:2008-07-03-00:43:32 48K -
989M -
rpool/export 98.5M 27.8G 19K
/export
rpool/export at install 15K -
19K -
rpool/export/home 98.5M 27.8G 98.4M
/export/home
rpool/export/home at install 18K -
21K -
Cheers,
Ted
This message posted from opensolaris.org