Re: ZFS booting without partitions

2009-06-05 Thread Henri Hennebert
Kip Macy wrote: On Mon, Jun 1, 2009 at 10:21 AM, Adam McDougall mcdou...@egr.msu.edu wrote: I'm thinking that too. I spent some time taking stabs at figuring it out yesterday but didn't get anywhere useful. I did try compiling the -current src/sys/boot tree on 7.2 after a couple header tweaks

Re: ZFS booting without partitions

2009-06-05 Thread Adam McDougall
Henri Hennebert wrote: Kip Macy wrote: On Mon, Jun 1, 2009 at 10:21 AM, Adam McDougall mcdou...@egr.msu.edu wrote: I'm thinking that too. I spent some time taking stabs at figuring it out yesterday but didn't get anywhere useful. I did try compiling the -current src/sys/boot tree on 7.2

Re: ZFS booting without partitions

2009-06-03 Thread Lorenzo Perone
OK, so I've got my next little adventure here to share :-) ... after reading Your posts I was very eager to give the whole boot-zfs-without-partitions thing a new try. My starting situation was a ZFS mirror made up, as I wrote, of two GPT partitions, so my pool looked like: phaedrus# zpool

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-06-01 Thread Alberto Villa
On Thu, May 28, 2009 at 3:58 PM, Lorenzo Perone lopez.on.the.li...@yellowspace.net wrote: the result is, when choosing the disk with the zfs boot sectors in it (in my case F5, which goes to ad6), the kernel is not found. the console shows: forth not found definitions not found only not

Re: ZFS booting without partitions

2009-06-01 Thread Henri Hennebert
Lorenzo Perone wrote: Hi, I tried hard... but without success ;( the result is, when choosing the disk with the zfs boot sectors in it (in my case F5, which goes to ad6), the kernel is not found. the console shows: forth not found definitions not found only not found (the above repeated

Re: ZFS booting without partitions

2009-06-01 Thread Henri Hennebert
Henri Hennebert wrote: Lorenzo Perone wrote: Hi, I tried hard... but without success ;( the result is, when choosing the disk with the zfs boot sectors in it (in my case F5, which goes to ad6), the kernel is not found. the console shows: forth not found definitions not found only not found

Re: ZFS booting without partitions

2009-06-01 Thread Alberto Villa
On Mon, Jun 1, 2009 at 12:06 PM, Henri Hennebert h...@restart.be wrote: This is the file /boot/loader from 7.2-STABLE which is wrong. You can find a copy from 8.0-CURRENT and a script that I tested on a USB key) and is running for me: replacing /boot/loader with yours did the job thanks! --

Re: ZFS booting without partitions

2009-06-01 Thread Kip Macy
Odds are that there are more changes that were made in HEAD to the loader that need to be MFC'd. -Kip On Mon, Jun 1, 2009 at 3:55 AM, Alberto Villa villa.albe...@gmail.com wrote: On Mon, Jun 1, 2009 at 12:06 PM, Henri Hennebert h...@restart.be wrote: This is the file /boot/loader from

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-06-01 Thread Lorenzo Perone
On 31.05.2009, at 09:18, Adam McDougall wrote: I encountered the same symptoms today on both a 32bit and 64bit brand new install using gptzfsboot. It works for me when I use a copy of loader from an 8-current box with zfs support compiled in. I haven't looked into it much yet but it might help

Re: ZFS booting without partitions

2009-06-01 Thread Adam McDougall
I'm thinking that too. I spent some time taking stabs at figuring it out yesterday but didn't get anywhere useful. I did try compiling the -current src/sys/boot tree on 7.2 after a couple header tweaks to make it compile but the loader still didn't work. The working loader is the same file

Re: ZFS booting without partitions

2009-06-01 Thread Enrico M.
On Monday 01 June 2009 12:06:18 Henri Hennebert wrote: Lorenzo Perone wrote: Hi, I tried hard... but without success ;( the result is, when choosing the disk with the zfs boot sectors in it (in my case F5, which goes to ad6), the kernel is not found. the console shows: forth not

Re: ZFS booting without partitions

2009-06-01 Thread Kip Macy
On Mon, Jun 1, 2009 at 10:21 AM, Adam McDougall mcdou...@egr.msu.edu wrote: I'm thinking that too.  I spent some time taking stabs at figuring it out yesterday but didn't get anywhere useful.  I did try compiling the -current src/sys/boot tree on 7.2 after a couple header tweaks to make it

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-05-31 Thread Adam McDougall
I encountered the same symptoms today on both a 32bit and 64bit brand new install using gptzfsboot. It works for me when I use a copy of loader from an 8-current box with zfs support compiled in. I haven't looked into it much yet but it might help you. If you want, you can try the loader I am

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-05-31 Thread Enrico M.
On Thursday 28 May 2009 15:58:04 Lorenzo Perone wrote: Hi, I tried hard... but without success ;( the result is, when choosing the disk with the zfs boot sectors in it (in my case F5, which goes to ad6), the kernel is not found. the console shows: forth not found definitions not found

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-05-28 Thread Mickael MAILLOT
hi, did you erase gmirror meta ? (on the last sector) with: gmirror clear ad6 2009/5/28 Lorenzo Perone lopez.on.the.li...@yellowspace.net: Hi, I tried hard... but without success ;( the result is, when choosing the disk with the zfs boot sectors in it (in my case F5, which goes to ad6),

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-05-28 Thread Lorenzo Perone
On 28.05.2009, at 21:46, Mickael MAILLOT wrote: hi, did you erase gmirror meta ? (on the last sector) with: gmirror clear ad6 ohps I had forgotten that. just did it (in single user mode), but it didn't help :( Shall I repeat any of the other steps after clearing gmirror meta? thanx a lot