Hi, Andre,

Yes, I used to boot xVM using ufs root, but now I had destroyed my ufs 
root slice :(

Regards,

Andre Wenas wrote:
> Can you boot xVM using ufs root ?
>
> Yong Sun wrote:
>> Hi, Andre,
>>
>> Thanks so much for sharing your configuration.
>>
>>  > Based on experience few mistake that can cause zfs root doesn't work:
>>  >  * Must use latest stage1 stage2 files when you do installgrub. 
>> Sometimes when you install
>>  >    new build, you are still using old stage* files from earlier 
>> build.
>>  > * Don't forget to set zfs mountpoint=legacy
>>  > * Wrong entry in vfstab
>>  > * Forget to modify /boot/solaris/filelist.ramdisk to include 
>> /etc/zfs/zpool.cache
>>  > * Forget to re-create bootarchive.
>>
>> I think I had done correct steps, since I could boot off zfs-root 
>> with non-xVM kernel. But I failed to boot zfsroot with xVM, do you 
>> have any idea about that?
>>
>> Regards,
>>
>> Andre Wenas wrote:
>>  
>>> Hi Yong Sun,
>>>
>>> Here is my grub menu.lst:
>>> # boot
>>> title Solaris xVM 75 ZFS
>>> root (hd0,2,e)
>>> bootfs xenpool/snv_75
>>> kernel$ /boot/$ISADIR/xen.gz
>>> module$ /platform/i86xpv/kernel/$ISADIR/unix 
>>> /platform/i86xpv/kernel/$ISADIR/unix -B $ZFS-BOOTFS
>>> module$ /platform/i86pc/$ISADIR/boot_archive
>>>
>>> bash-3.2$ df -k /
>>> Filesystem            kbytes    used   avail capacity  Mounted on
>>> xenpool/snv_75       6451200 3220132 3055481    52%    /
>>>
>>> The filesystem is compressed:
>>> bash-3.2$ zfs get compression xenpool/snv_75
>>> NAME            PROPERTY     VALUE           SOURCE
>>> xenpool/snv_75  compression  on              local
>>>
>>> bash-3.2$ zfs get compressratio xenpool/snv_75
>>> NAME            PROPERTY       VALUE           SOURCE
>>> xenpool/snv_75  compressratio  1.74x           -
>>>
>>> /etc/vfstab:
>>> xenpool/snv_75 - / zfs - no -
>>>
>>> bash-3.2$ sudo xm list
>>> Name                                      ID   Mem VCPUs      
>>> State   Time(s)
>>> Domain-0                                   0  1874     2     
>>> r-----    107.7
>>>
>>> Based on experience few mistake that can cause zfs root doesn't work:
>>> * Must use latest stage1 stage2 files when you do installgrub. 
>>> Sometimes when you install new build, you are still using old stage* 
>>> files from earlier build.
>>> * Don't forget to set zfs mountpoint=legacy
>>> * Wrong entry in vfstab
>>> * Forget to modify /boot/solaris/filelist.ramdisk to include 
>>> /etc/zfs/zpool.cache
>>> * Forget to re-create bootarchive.
>>>
>>> Rgds,
>>> Andre W.
>>>
>>> Yong Sun wrote:
>>>    
>>>> Hi, Andre,
>>>>
>>>> Would you share your grub configuration? And I followed the 
>>>> instructions on 
>>>> http://www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/ to 
>>>> setup my zfs boot. So my grub file is on /rootpool/boot/grub/menu.lst.
>>>>
>>>> Regards,
>>>>
>>>> Andre Wenas wrote:
>>>>  
>>>>      
>>>>> Hi James,
>>>>>
>>>>> I'm running Intel Core 2 Duo, the flags are the same:
>>>>> bash-3.2$ file /lib/libc.so.1
>>>>> /lib/libc.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1 [SSE 
>>>>> MMX CMOV SEP CX8 FPU], dynamically linked, not stripped, no 
>>>>> debugging information available
>>>>>
>>>>> I can boot xVM (b75a) from zfs boot (compressed) without any problem.
>>>>>
>>>>> Rgds,
>>>>> Andre W.
>>>>>
>>>>> James Cornell wrote:
>>>>>           
>>>>>> Yong Sun wrote:
>>>>>>  
>>>>>>               
>>>>>>> I have destroyed my ufs root slice. Here is the result I got 
>>>>>>> from the running system, the only different one is the 
>>>>>>> /lib/libc.so.1
>>>>>>>
>>>>>>> file /lib/libc.so.1
>>>>>>> /lib/libc.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1 [SSE 
>>>>>>> MMX CMOV SEP CX8 FPU], dynamically linked, not stripped, no 
>>>>>>> debugging information available
>>>>>>>
>>>>>>> My laptop has a dual-core intel processor.
>>>>>>>  
>>>>>>>  
>>>>>>> This message posted from opensolaris.org
>>>>>>> _______________________________________________
>>>>>>> xen-discuss mailing list
>>>>>>> [email protected]
>>>>>>>                           
>>>>>> Tha's strange.  All dual core Intel processors also have SSE2 and 
>>>>>> afaik
>>>>>> SSE3 also.  Why aren't the flags showing up?
>>>>>>
>>>>>> James
>>>>>> _______________________________________________
>>>>>> xen-discuss mailing list
>>>>>> [email protected]
>>>>>>                   
>>>> _______________________________________________
>>>> xen-discuss mailing list
>>>> [email protected]
>>>>         
>>
>> _______________________________________________
>> xen-discuss mailing list
>> [email protected]
>>   
>

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to