Hi!
I don’t know if this issue deserves a thread, since I haven’t found a lot of references to other people having it, but maybe it could help somebody in the future.
The initial situation: I want to add a second hard disk to my old desktop box. I follow both of these guides:
Disk Setup On FreeBSD (Warren Block)
Create MBR slices/partitions and filesystems (Ross at daemon-notes.com)
I follow the recommendations of these guides:
all goes well but an error appears at boot time (verbose):
Then I read [post=163078]in this thread[/post] (please correct me if wrong) that GEOM metadata is stored at the end of the drive, so I try to recreate the partition with a smaller size (-63 logical blocks), with no avail: the partition end offset still goes beyond last LBA.
Well, what is inside this last LBA, the filesystem label? I don’t need it, so I proceed to repeat the whole process but without issuing the glabel command and bingo! No more offset errors!
I’m so surprised nobody has complained about this that I guess the problem lies within the old BIOS of this motherboard, which hangs while recognizing drives unless I instruct it to [post=197395]use the Large access method[/post], but then, this second drive didn’t provoked the hang when I first installed it from another computer, with an MBR scheme created by Windows XP. As soon as I destroyed and created again the MBR with FreeBSD, the computer refused to boot.
Too niche to file a PR? Too long to bother reading it? :r I hope at least it saves somebody the hassle when trying to resurrect old hardware.
Best regards,
Juan
PS: Wouldn’t the integrity check failure prevent the mounting of a root filesystem, as the one described in @wblock@ article?
I don’t know if this issue deserves a thread, since I haven’t found a lot of references to other people having it, but maybe it could help somebody in the future.
The initial situation: I want to add a second hard disk to my old desktop box. I follow both of these guides:
Disk Setup On FreeBSD (Warren Block)
Create MBR slices/partitions and filesystems (Ross at daemon-notes.com)
I follow the recommendations of these guides:
Code:
MBR partitioning schema > FREEBSD partition > BSD partitioning schema > FREEBSD-UFS partition
Code:
GEOM_PART: partition 1 has end offset beyond last LBA: 321672896 > 321672895
GEOM_PART: integrity check failed (label/backup, BSD)
Then I read [post=163078]in this thread[/post] (please correct me if wrong) that GEOM metadata is stored at the end of the drive, so I try to recreate the partition with a smaller size (-63 logical blocks), with no avail: the partition end offset still goes beyond last LBA.
Well, what is inside this last LBA, the filesystem label? I don’t need it, so I proceed to repeat the whole process but without issuing the glabel command and bingo! No more offset errors!
I’m so surprised nobody has complained about this that I guess the problem lies within the old BIOS of this motherboard, which hangs while recognizing drives unless I instruct it to [post=197395]use the Large access method[/post], but then, this second drive didn’t provoked the hang when I first installed it from another computer, with an MBR scheme created by Windows XP. As soon as I destroyed and created again the MBR with FreeBSD, the computer refused to boot.
Too niche to file a PR? Too long to bother reading it? :r I hope at least it saves somebody the hassle when trying to resurrect old hardware.
Best regards,
Juan
PS: Wouldn’t the integrity check failure prevent the mounting of a root filesystem, as the one described in @wblock@ article?
Last edited by a moderator: