Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2008 23:12:09 +0100
From:      "Olivier SMEDTS" <olivier@gid0.org>
To:        freebsd-fs@freebsd.org
Subject:   ZFSBoot try and bsdlabel bootstrap code
Message-ID:  <367b2c980811191412h5e0af470k165b37edc2fc5853@mail.gmail.com>

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

I want to boot off a ZFS pool (version 13) on an USB stick for testing
purposes. But I'm stuck with the bsdlabel bootstrap code size...
I'm using a 2 hours old CURRENT.

# kldload usb2_storage_mass
# kldload zfs
# dd if=/dev/zero of=/dev/da0 bs=512 count=32
# fdisk -BI da0
# dd if=/dev/zero of=/dev/da0s1 bs=512 count=32
# bsdlabel -wB -b /boot/zfsboot da0s1
bsdlabel: boot code /boot/zfsboot is wrong size

Is what I'm trying to do with bsdlabel wrong ?
I previously tried with the default bootstrap code but I had an
(expected) "boot: Not ufs" error at boot.

PS : I'm not subscribed to this list.

Cheers,
Olivier

-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier@gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."



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