[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-sparc
Subject:    Re: [gentoo-sparc] reuse Solaris swap slice for Gentoo
From:       Klaus Wagner <klaus () it-austria ! net>
Date:       2005-04-19 9:26:24
Message-ID: 20050419092624.GA8931 () aeon ! user ! lan ! at
[Download RAW message or body]

On Tue, Apr 19, 2005 at 08:54:57AM +0200, Romain wrote:
> Under Gentoo, you can use the command swapon,
> 
> if its an ide drive swapon /dev/hda2
> 
> scsi drive : swapon /dev/sda2
> 
well that is only the half truth,
linux relies on preformated swap devices,
so you have to issue (for example)

mkswap /dev/sda2

you could make some sort of boot script like
(simplyfied)
(i would not put /dev/sda2 in fstab because it
will fail if the swap device is not formated)

mkswap /dev/sda2
swapon /dev/sda2

anyhow, I don't know if solaris uses the,
swap device raw, or preformated.
If it uses the device raw, then you just need,
the script for linux und leave the solaris settings
as they are. If it is preformated, you will have
to preformat it before solaris tries to use it.

regards klaus
-- 
gentoo-sparc@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic