From: hadi motamedi on
On Jul 31, 2:22 pm, and...(a)cucumber.demon.co.uk (Andrew Gabriel)
wrote:
> In article <1509e625-bdef-4448-92c9-c5bf6bf8b...(a)f33g2000yqe.googlegroups..com>,
>         hadi motamedi <motamed...(a)gmail.com> writes:
>
> > My usb disk is auto-mounted under /rmdisk/rmdisk0 , with slices as
> > s0,s3,s4,s5,s6 . On my solaris8 machine, the /export/home is mounted
> > on /dev/dsk/c0t0d0s6 . I want to ufsdump/ufsrestore this slice to the
> > proper on on the usb disk , as :
> > #ufsdump 0f - /dev/dsk/c0t0d0s6 |ufsrestore -i /rmdisk/rmdisk0/s6 -
> > But it does not work my case. Can you please correct me on your
> > proposed procedure?
>
> Assuming /rmdisk/rmdisk0/s6 is an empty filesystem...
>
> cd /rmdisk/rmdisk0/s6
> ufsdump 0f - /export/home | ufsrestore rf -
>
> --
> Andrew Gabriel
> [email address is not usable -- followup in the newsgroup]

Thank you very much for your reply. I tried for your procedure and it
was successful , I mean I deleted the restored stuff and then dump/
restore them again . Can you please let me know how can I dump/restore
the entire disk this way ( I mean making the same disk on the attached
usb disk and make it bootable) ?
From: Andrew Gabriel on
In article <79c1bfca-e49b-4cb7-9e37-04062e4f2315(a)d17g2000yqb.googlegroups.com>,
hadi motamedi <motamedi24(a)gmail.com> writes:
> On Jul 31, 2:22�pm, and...(a)cucumber.demon.co.uk (Andrew Gabriel)
> wrote:
>> In article <1509e625-bdef-4448-92c9-c5bf6bf8b...(a)f33g2000yqe.googlegroups.com>,
>> � � � � hadi motamedi <motamed...(a)gmail.com> writes:
>>
>> > My usb disk is auto-mounted under /rmdisk/rmdisk0 , with slices as
>> > s0,s3,s4,s5,s6 . On my solaris8 machine, the /export/home is mounted
>> > on /dev/dsk/c0t0d0s6 . I want to ufsdump/ufsrestore this slice to the
>> > proper on on the usb disk , as :
>> > #ufsdump 0f - /dev/dsk/c0t0d0s6 |ufsrestore -i /rmdisk/rmdisk0/s6 -
>> > But it does not work my case. Can you please correct me on your
>> > proposed procedure?
>>
>> Assuming /rmdisk/rmdisk0/s6 is an empty filesystem...
>>
>> cd /rmdisk/rmdisk0/s6
>> ufsdump 0f - /export/home | ufsrestore rf -
> Thank you very much for your reply. I tried for your procedure and it
> was successful , I mean I deleted the restored stuff and then dump/
> restore them again . Can you please let me know how can I dump/restore
> the entire disk this way ( I mean making the same disk on the attached
> usb disk and make it bootable) ?


You have to do the above for each filesystem slice.
Then you need to run installboot(1M) or installgrum(1M)
on the USB disk to put the relevant boot code in it,
depending on the system hardware and which OS release.

The system and OS will also need to support booting from
your USB hardware, which it might or might not.

Finally, you would have to modify the device paths in
/etc/vfstab and possibly elsewhere, so they reference the
USB drive rather than the original drive. This isn't
easy if you're not an experienced sysadmin.

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]
From: hadi motamedi on
On Jul 31, 5:45 pm, and...(a)cucumber.demon.co.uk (Andrew Gabriel)
wrote:
> In article <79c1bfca-e49b-4cb7-9e37-04062e4f2...(a)d17g2000yqb.googlegroups..com>,
>         hadi motamedi <motamed...(a)gmail.com> writes:
>
>
>
> > On Jul 31, 2:22 pm, and...(a)cucumber.demon.co.uk (Andrew Gabriel)
> > wrote:
> >> In article <1509e625-bdef-4448-92c9-c5bf6bf8b...(a)f33g2000yqe.googlegroups.com>,
> >>         hadi motamedi <motamed...(a)gmail.com> writes:
>
> >> > My usb disk is auto-mounted under /rmdisk/rmdisk0 , with slices as
> >> > s0,s3,s4,s5,s6 . On my solaris8 machine, the /export/home is mounted
> >> > on /dev/dsk/c0t0d0s6 . I want to ufsdump/ufsrestore this slice to the
> >> > proper on on the usb disk , as :
> >> > #ufsdump 0f - /dev/dsk/c0t0d0s6 |ufsrestore -i /rmdisk/rmdisk0/s6 -
> >> > But it does not work my case. Can you please correct me on your
> >> > proposed procedure?
>
> >> Assuming /rmdisk/rmdisk0/s6 is an empty filesystem...
>
> >> cd /rmdisk/rmdisk0/s6
> >> ufsdump 0f - /export/home | ufsrestore rf -
> > Thank you very much for your reply. I tried for your procedure and it
> > was successful , I mean I deleted the restored stuff and then dump/
> > restore them again . Can you please let me know how can I dump/restore
> > the entire disk this way ( I mean making the same disk on the attached
> > usb disk and make it bootable) ?
>
> You have to do the above for each filesystem slice.
> Then you need to run installboot(1M) or installgrum(1M)
> on the USB disk to put the relevant boot code in it,
> depending on the system hardware and which OS release.
>
> The system and OS will also need to support booting from
> your USB hardware, which it might or might not.
>
> Finally, you would have to modify the device paths in
> /etc/vfstab and possibly elsewhere, so they reference the
> USB drive rather than the original drive. This isn't
> easy if you're not an experienced sysadmin.
>
> --
> Andrew Gabriel
> [email address is not usable -- followup in the newsgroup]
I have run installboot on it. Can you please confirm if solaris8
supports booting from usb disk?
From: Ian Collins on
On 08/ 1/10 05:02 PM, hadi motamedi wrote:

> I have run installboot on it. Can you please confirm if solaris8
> supports booting from usb disk?

It's so old I can't remember, but if I had to guess, id say no. As I
said elsewhere, USB support on Solaris 8 is poor.

--
Ian Collins
From: hadi motamedi on
On Aug 1, 9:13 am, Ian Collins <ian-n...(a)hotmail.com> wrote:
> On 08/ 1/10 05:02 PM, hadi motamedi wrote:
>
> > I have run installboot on it. Can you please confirm if solaris8
> > supports booting from usb disk?
>
> It's so old I can't remember, but if I had to guess, id say no.  As I
> said elsewhere, USB support on Solaris 8 is poor.
>
> --
> Ian Collins
Excuse me,I mean how to boot from the usb disk at the 'ok' prompt,
when the IDE disk is pulled out?