Hey everyone, I have 2 disks (found as c0d0 and c1d0), one has a newly installed SXCE b68, the other is clean. I''ve tried running zfs-actual-root-install.sh (from http://blogs.sun.com/timf/entry/zfs_bootable_datasets_happily_rumbling) as: # ./zfs-actual-root-install.sh c1d0s0 It creates a valid zfs pool, partition, copies everything, etc.. but grub wouldn''t come up. So I tried to debug to see what was the problem, I noticed that installgrub actually failed, when I tried to run it manually it says: cannot open/stat device /dev/rdsk/c1d0s2 What am I doing wrong here ? Thanks in advance. This message posted from opensolaris.org
Lurie wrote:> So I tried to debug to see what was the problem, I noticed that installgrub actually failed, when I tried to run it manually it says: > cannot open/stat device /dev/rdsk/c1d0s2 > > What am I doing wrong here ? > >My first guess is that slice 2 simply doesn''t exist. Did you try installgrub with c1d0s0? -- Ralf Ramge Senior Solaris Administrator, SCNA, SCSA Tel. +49-721-91374-3963 ralf.ramge at webde.de - http://web.de/ 1&1 Internet AG Brauerstra?e 48 76135 Karlsruhe Amtsgericht Montabaur HRB 6484 Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss Aufsichtsratsvorsitzender: Michael Scheeren
The argument was c1d0s0 in the first place, i.e.: installgrub pathToStage1 pathToStage2 /dev/rdsk/c1d0s0 This message posted from opensolaris.org
I''m seeing the same problem with b75a. I ran the manual setup instructions - I have an IDE disk I''m using as the temporary UFS drive and a pair of SATA HDD''s to use as a zfs mirror for root/boot. Did you get it working? If so, how? reformatting the drive(s) so that s2 is the whole disk? This message posted from opensolaris.org
For the archive, I think the reason this happened is because I''d used ZFS before on these disks, and fdisk wasn''t happy. See here : As mentioned above, ZFS root boot only works with SMI labeled disks - if you''ve ever given ZFS the entire disk before, it''ll have put an EFI label on the disk, so you need to remove that using fdisk, then rewrite the label using format, or fmthard. Not too scary - here''s me having just changed the disk type: from http://blogs.sun.com/timf/entry/zfs_bootable_datasets_happily_rumbling I''m redoing the setup now to see how it goes This message posted from opensolaris.org
further to this, there''s quite a trick to getting fdisk to work. It''s not at all intuitive! from here : http://www.opensolaris.org/jive/thread.jspa?messageID=77297 run format->fdisk, delete the current partition, quit format rerun format, answer no if you are asked to Label it now. select fdisk and type "y" to accept the default partition. select type->0(Auto configure) label the disk. This message posted from opensolaris.org