Bug 167449 - slice re-partitioning cause invalid partition for boot2, boot.config not recognized
Summary: slice re-partitioning cause invalid partition for boot2, boot.config not reco...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-30 10:10 UTC by hans
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hans 2012-04-30 10:10:07 UTC
After deleting the d and e partition and creating a new d partition with the available free space, boot hangs at boot2 

However, entering 0:ad(0,3,a)/boot/loader, I can boot and system works normal

bsdlabel is ok

# /dev/ada0s3:
8 partitions:
#          size     offset    fstype   [fsize bsize bps/cpg]
  a:    4194304          0    4.2BSD        0     0     0
  b:    4190208    4194304      swap                    
  c:   96255999          0    unused        0     0     # "raw" part, don't edit
  d:   87871487    8384512    4.2BSD        0     0     0


so I created /boot.config with the above settings but it seems not beeing read, still hangs at boot2

Editing the label with bsdlabel -e was not permitted

using gpart for bootstrapping
gpart bootcode -b /boot/boot ada0s3

also no success, still hangs at boot2

having currdev and/or rootdev in boot.loader makes no difference either

I am n ot very familare to mbr/disk manipulation, so I do not know what else to do now

My boot loader is grub2 installed on this ada0s3a partition, all other systems are coming up fine, since it is coming until boot2 on ada0s3a I believe the problem is not the boot manager

my partitions are glabeled, some also gjournal, I have two disks, this system should boot from ada0s3a which is label/rootfs

/dev/label/rootfs      2G    394M    1.4G    21%    /
devfs                1.0k    1.0k      0B   100%    /dev
/dev/label/varfs      57G    1.4G     51G     3%    /var
/dev/label/usrfs     134G     12G    111G    10%    /usr
/dev/label/dados      39G     29G    7.4G    80%    /dados
procfs               4.0k    4.0k      0B   100%    /proc
linprocfs            4.0k    4.0k      0B   100%    /compat/linux/proc


glabel status
                  Name  Status  Components
     ext2fs/F16_rootfs     N/A  ada0s1
          label/rootfs     N/A  ada0s3a
           label/swap0     N/A  ada0s3b
             ntfs/Win7     N/A  ada1s2
           label/usrfs     N/A  ada0s2b.journal
           label/varfs     N/A  ada0s2d.journal
           label/dados     N/A  ada0s3d.journal
           label/swap1     N/A  ada1s3b
ext2fs/_Fedora-16-i686     N/A  ada1s6
           label/root0     N/A  ada1s3a.journal
ufsid/4f97986cf50ff2b4     N/A  ada1s3a.journal
             ufs/root0     N/A  ada1s3a.journal

journal status
           Name  Status  Components
ada0s2b.journal     N/A  ada0s2b
ada0s2d.journal     N/A  ada0s2d
ada0s3d.journal     N/A  ada0s3d
ada1s3a.journal     N/A  ada1s3a
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:56 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped