[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SILO possible on fourth partition?



On Thu, Sep 26, 2002 at 01:54:28PM +0200, Pieter-Paul Spiertz wrote:
> Hello,
> 
> I'm doing a network install of Woody on my Ultra 5, and I hope to be able
> to dualboot to Solaris 9, which is already on it. I have read some FAQs, but
> I guess I have made a few silly false beginner assumptions.
> 
> This is my disk:
> 
> Disk /dev/hda (Sun disk label): 16 heads, 63 sectors, 39702 cylinders
> 
>    Device     Start      End   Blocks Id  System
> /dev/hda1     17354    27512  5119632  2  SunOS root
> /dev/hda2         0     1041   524664  3  SunOS swap
> /dev/hda3         0    39702 20009808  5  Whole disk
> /dev/hda4      1041    17354  8221752 83  Linux native
> /dev/hda8     27512    39702  6143760  8  SunOS home
> 
> 
> First off, is this setup any wise? Can I share the swap (I think yes) and
> home (according to Google in 2001, no) partitions?
> 
> This is my self-created /target/etc/silo.conf, sitting in tty2 in the Debian
> installer:
> 
> partition=4
> root=/dev/hda4
> timeout=100
> image=/vmlinuz
>   label=linux
>   read-only
> image=/vmlinuz.old
>   label=linux-old
>   read-only
> other=/pci@1f,0/pci@1,1/ide@3/disk@0,0:a
>   label=solaris
> 
> # silo -r /target -f
> /etc/silo.conf appears to be valid
> #
> 
> No sign of real writing.. When I reboot, 'boot disk:d' at the prom returns that
> 'the loaded file appears not to be executable'. That is a FAQ, but the answers on
> Google do not indicate how to solve it. 'boot /pci@1f,0/pci@1,1/ide@3/disk@0,0:d'
> gives the same. 'boot net root=/dev/hda4' just starts the installer from scratch
> over again.. :(
> I have thought of using 'partition=1', but in that case I think I might not be
> able to boot Solaris anymore.

Yicks.  I don't have a debian/sparc box available to me this second, but
I did do this recently, and any attempt to get fancy, like your
silo.conf above, never worked.  I was using sol9 as well, it just
wouldn't boot.  I tried a lot of things, and no go.  I eventually ended
up going with the silo -t option, and that was that.  At least in sol9,
it wants to be the mbr and ufsboot or genunix doesn't want to be mucked
with at all.  So after re-installing solaris ~:^((( I just resigned
myself to booting linux with "boot disk:d" at the OBP prompt, and just
plain boot or boot disk for solaris.  I don't get to boot whatever I
want from silo, but it works and I could get on with my, well, work.
Check out the man page for silo.conf for further details.

To instantiate, I installed Woody *first*, leaving a partition for
solaris and a partition for solaris swap.  Yup, no shared swap
partition.  If you simply must share a swap partition, then you have to
configure linux to boot up without swap, and have a boot time script of
your own perform an mkswap and a swapon, rather than doing it from the
fstab file.  Sharing a swap partition also will have implications for
processing crash dumps, which is of big importance to me.

<advocacy> Having Woody on my SPARCblade CP1500 cPCI systems is sweet.
Sweeeeeeeeeeeet. </advocacy>  No, SPARCblade is not SunBlade.  I wish.

a



Reply to: