[ug-bosug] need help to install solaris on sun workstation w1100z
Manish Chakravarty
manishchaks at gmail.com
Thu Feb 28 05:32:04 PST 2008
On Thu, Feb 28, 2008 at 3:16 PM, Joseph George <Joe.G at sun.com> wrote:
> I think Chinmayi is more worried about destroying the Linux
> installation that is already on it. Can you clarify if the linux
> installation can be wiped out?
>
Chinmayi,
If you want to preserve the existing Linux partition on that machine, you
have to first check if you have ~15+ GB of free space remaining.
If you do , well you are in luck. Just do the following:
before you begin:
BACKUP your /boot/grub/menu.lst ( I typically mail to the contents to myself
)
On Solaris 10:
S10 will incorrectly report that your Linux swap partition is infact a
Solaris partition. Dont worry too much about that. Delete your swap
partitions and make TWO partitions
1) Replace the swap partition with a FAT partition
2) Create a new Solaris partition of the desired size.
Thus you would have
1) Your existing linux partition ( most probably ext3 )
2) Your new FAT partition ( in place of your old swap)
3) Your new Solaris partition ( Hopefully you have enough space for this)
now..
Boot into your shiny new S10. Log in as root
APPEND the _relevant_ section of your menu.lst to /boot/grub/menu.lst
The relevant section would look something like this:
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel
/boot/vmlinuz-2.6.22-14-genericroot=UUID=2e5c3433-ec02-4b88-91d6-4074ccdf09d0
ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
Save the file and reboot!
You should see your Linux appearing in the boot menu ( called the GRUB menu;
GRUB is the bootloader )
Boot into linux. It will complain about a missing swap partition.
execute a " cat /etc/fstab | grep swap "
On my system, it lists:
open /etc/fstab as root
Look for the line which says "swap"
On my system, the lines look like this
# /dev/sda5
UUID=50ba20d4-c1c2-4406-9640-37e77b0b854a none swap sw
Dont worry about the UUID and stuff now.
Just do
"mkswap /dev/sda5 " (replace /dev/sda5 with the device on your system )
And reboot!
You have your Linux/S10 dual boot system up.
If you are using a recent Solaris Nevada ( ie, Solaris Express Developer
Edition or Solaris Express Community Edition ), it should recognize your
Linux swap partition correctly and you will not have to do all this.
Also, if you do not have extra space on your HDD, you will have to "shrink"
your linux partition.
This is not trivial, but this is not too difficult either.
Post back to me if this is your case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080228/b8b0dcf1/attachment.html
More information about the ug-bosug
mailing list