> > Ok,  apart from what I had already done, the
> > following is what I did to get it working. Since,
> I
> > did not have a Solaris box and I needed to write a
> > UFS filesystem, I booted milax.iso inside
> > Virtualbox.
> > 
> > cp /boot/milax /tmp/milax.gz
> > gunzip /tmp/milax.gz
> > lofiadm -a /tmp/milax (it will say /dev/lofi/2,
> use
> > whatever it says)
> > mkdir /tmp/mntusb
> > mount /dev/lofi/2 /tmp/mntusb
> > cp -pr /usr/lib/fs/pcfs /tmp/mntusb/usr/lib/fs/
> > vi /tmp/mntusb/lib/svc/method/live-fs-root &
> replace
> > 
> > /usr/lib/fs/ufs/fstyp $rdev 2>&1 | grep "^ufs$"
> > 
> > with
> > 
> > /usr/lib/fs/pcfs/fstyp $rdev 2>&1 | grep "^pcfs$"
> > 
> > and
> > 
> > $MOUNT -F ufs -o nologging,noatime $dev /.cdrom ||
> > break
> > 
> > with
> > 
> > $MOUNT -F pcfs -o ro $dev /.cdrom || break
> > 
> > umount /tmp/mntusb
> > lofiadm -d /dev/lofi/2
> > gzip /tmp/milax
> > mv /tmp/milax.gz /tmp/milax
> > 
> > Now, /tmp/milax can be moved back into /boot/
> Great!
> ::alhazred

Alex,

Are you planning to include the pcfs support in the next Milax livecd image you 
create. I think the steps I followed have a clear patch that needs to be 
applied. Basically, try ufs first, if that fails, try pcfs.

Also, some basic programs like vim, less, more, df etc., when the mount of /usr 
fails, will be very useful. That way, even if you don't get graphical desktop, 
you can use the maintenance mode to rectify ZFS issues etc. Note that the 
Solaris console framebuffer is crappy and has limited visible space. 

-devsk
-- 
This message posted from opensolaris.org
_______________________________________________
distribution-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/distribution-discuss

Reply via email to