On 11/08/12 21:13, Steven Chamberlain wrote: [...] > That could be the recently-fixed grub-installer bug (#613430: /proc not > mounted in the target); unfortunately the fix didn't make it into the > beta1 installer, but it should be fixed in sid_d-i daily builds; > > http://cdimage.debian.org/cdimage/daily-builds/sid_d-i/arch-latest/kfreebsd-amd64/ Didn't help, I'm afraid. I did check that linprocfs was correctly mounted on /target/proc. Unfortunately I can't quote the exact error I'm getting from grub-install as it's all happening inside the installer. It did tell me to run grub-probe with a set of arguments and send the result to the GRUB bugs mailing list --- text attached at the end here. [...] > The formatting process for UFS should wipe the first and last 512 KiB of > the partition; maybe that's not enough? It's reproducable: mkfs.jfs /dev/sdd1 mkfs.ufs /dev/sdd1 wipefs /dev/sdd1 -> offset type ---------------------------------------------------------------- 0x1055c ufs [filesystem] 0x8000 jfs [filesystem] UUID: bbd31999-01a4-45eb-bb43-815beaf65a5c That's on Linux Debian with the mkfs.ufs from ufsutils. (Which, annoyingly, refuses to create a file system in an ordinary file so I had to dig up a real USB stick to test with.) [...] > I'm not sure it's meant to, unless the kFreeBSD partition already > contains a valid bootloader for it to chain-load. I was expecting it to detect the /boot/kfreebsd-9.0-1-amd64.gz file and create a menu entry to boot it directly --- it does that on Linux OSes. Output of grub-probe follows: ---snip--- grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd1. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: scanning hd0 for LVM. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: no LVM signature found. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: scanning hd1 for LVM. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: no LVM signature found. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos7. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos6. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos5. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos3. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1,msdos1. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos7. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos6. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos5. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos3. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1,msdos1. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: scanning hd0 for LVM. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: no LVM signature found. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: scanning hd0,msdos7 for LVM. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: no LVM signature found. grub-probe: info: scanning hd0,msdos6 for LVM. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: no LVM signature found. grub-probe: info: scanning hd0,msdos5 for LVM. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: no LVM signature found. grub-probe: info: scanning hd0,msdos3 for LVM. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: no LVM signature found. grub-probe: info: scanning hd0,msdos1 for LVM. grub-probe: info: the size of hd0 is 1953525168. grub-probe: info: no LVM signature found. grub-probe: info: scanning hd1 for LVM. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: no LVM signature found. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: scanning hd1,msdos1 for LVM. grub-probe: info: the size of hd1 is 125045424. grub-probe: info: no LVM signature found. grub-probe: info: changing current directory to /dev. grub-probe: info: changing current directory to fd. grub-probe: info: changing current directory to usb. grub-probe: info: changing current directory to iso9660. grub-probe: info: following geom 'ada0s6'. grub-probe: info: geom 'ada0s6' has parent 'ada0s2'. grub-probe: info: following geom 'ada0s2'. grub-probe: info: geom 'ada0s2' has parent 'ada0'. grub-probe: info: following geom 'ada0'. grub-probe: info: geom 'ada0' has no parent. grub-probe: info: following geom 'ada0s6'. grub-probe: info: geom 'ada0s6' has parent 'ada0s2'. grub-probe: info: following geom 'ada0s2'. grub-probe: info: geom 'ada0s2' has parent 'ada0'. grub-probe: info: following geom 'ada0'. grub-probe: info: geom 'ada0' has no parent. grub-probe: info: following geom 'ada0s6'. grub-probe: info: geom 'ada0s6' has parent 'ada0s2'. grub-probe: info: following geom 'ada0s2'. grub-probe: info: geom 'ada0s2' has parent 'ada0'. grub-probe: info: following geom 'ada0'. grub-probe: info: geom 'ada0' has no parent. grub-probe: info: following geom 'ada0s6'. grub-probe: info: geom 'ada0s6' has parent 'ada0s2'. grub-probe: info: following geom 'ada0s2'. grub-probe: info: geom 'ada0s2' has parent 'ada0'. grub-probe: info: following geom 'ada0'. grub-probe: info: geom 'ada0' has no parent. grub-probe: info: /dev/ada0s6 starts from 218114505. grub-probe: info: opening the device /dev/ada0. grub-probe: info: the size of /dev/ada0 is 1953525168. grub-probe: info: Partition 0 starts from 63. grub-probe: info: Partition 2 starts from 209102848. grub-probe: info: Partition 4 starts from 209715327. grub-probe: info: Partition 5 starts from 218114568. grub-probe: info: Partition 6 starts from 260079616. grub-probe: error: cannot find a GRUB drive for /dev/ada0s6. Check your device.map. ---snip--- Contents of /boot/grub/device.map follows: ---snip--- (hd0) /dev/ad4 (hd1) /dev/ad6 ---snip--- -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ │ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ } │ --- Conway's Game Of Life, in one line of APL
Attachment:
signature.asc
Description: OpenPGP digital signature