LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-23-2005, 10:34 PM   #1
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Rep: Reputation: 30
Can't boot into solaris and can't connet to internet


Hello there
This is the first time I install Solaris on my machine, I have widnows XP and Gentoo running without problems and Solaris is fine too, except that I can't boot directly, I have to start with the installation cd, I tried to edit my grub configuration file aading the following lines:

title Solaris
rootnoverify (hd1,1) /*because it's on the second hard drive, second primary partition*/
makeactive
chainloader +1

but I had no success, I also tried witr (hd0,0), (hd0,1) and some vasriants but no luck at all

I also have no internet, I connect via dhcp directly and works with linux and windows

ANy help is greatly apreciated
Thanks a lor
 
Old 01-24-2005, 02:41 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Did you install Solaris with a separate boot partition or is the /boot directory on the ufs partition ?
I think its necessary to have a x86 boot partition to be able to boot solaris from a non boot device, but I may be wrong.

What gives "echo 5 | fdisk -R /dev/rdsk/c*d*p0" for both of your disks ?
 
Old 01-24-2005, 08:49 PM   #3
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Original Poster
Rep: Reputation: 30
Hello there, when I type
echo 5 | fdisk -R /dev/rdsk/c0d0p0" for both of your disks
I get
Partition Status Type
1 Active Linux
2 NTFS
3 EXT LBA

And with

echo 5 | fdisk -R /dev/rdsk/c0d1p0" for both of your disks

I get

Partition Status Type Start End
1 Active Linux 0 6096
2 EXT LBA 14582 38779
3 Solaris 6067 10217

On the first disk I have a /boot partition that I use for linux
maybe that can help
Thanks
 
Old 01-25-2005, 01:54 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Your Solaris partition looks like being the third one, not the second one.

You haven't a solaris x86 boot partition on your first disk, here is what I got:
Code:
             Total disk size is 38765 cylinders
             Cylinder size is 4032 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1                 Solaris           1  15242    15242     39
          2                 DOS-BIG        15243  25404    10162     26
          3       Active    x86 Boot       25405  25410       6      0
          4                 Linux native   25411  38764    13354     34
An x86 boot partition is probably not needed if you use grub, though.
 
Old 01-25-2005, 06:18 AM   #5
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Original Poster
Rep: Reputation: 30
I see that the solaris partition is the third for the system, but if you see the start and end cylinders you will see that it's the second.
Anyway, can I use the same boot partition that I use for linux to boot solaris?? or I have to make a solaris boot partition??
For any of those, how can I do that?
Thanks
 
Old 01-25-2005, 06:19 AM   #6
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Original Poster
Rep: Reputation: 30
I forgot to add, do you know any link to configure dhcp?
Thanks again
 
Old 01-25-2005, 12:51 PM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Partition numbers are not related to the order of disk space allocated for them, it is really partition number 3 you need to use.

Solaris boot partition is a specific, optional FAT partition, to create one, you have to specify it at installation time, doing it later is quite complicated, and probably not needed if you manage to have grub booting Solaris anyway.

Have you really trouble with DHCP only ?
How do you want to connect to the Internet, through a router ?
 
Old 01-25-2005, 01:00 PM   #8
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Original Poster
Rep: Reputation: 30
Heey thanks, I made grub boot the third partition and it worked fine, is there a way to skip all that configuration issues every time I boot into solaris??

Reganding DHCP, I am connecting to the internet with a router, is there a file I should edit such as /etc/resolv.conf in linux??
 
Old 01-25-2005, 03:04 PM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What are the configuration issues you have ?

/etc/resolv.conf is the same file used by all Unix and Unix like O/S, so it should be configured identically.

To enable dns for host name resolutions, you also need to have the /etc/resolv.conf file contain a line like:
hosts: files dns

Finally, you may also need to set the default route to your router, usually done by the /etc/defaultrouter file.
 
Old 01-25-2005, 03:12 PM   #10
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Original Poster
Rep: Reputation: 30
Heey I'll look into that, what I am sure of is that I do NOT have a /etc/resolv.conf in my solaris installation, I wiil create both files and see how it works
Thanks again
 
Old 01-25-2005, 03:16 PM   #11
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Original Poster
Rep: Reputation: 30
I forgot, what should the /etc/defaultrouter file look like??
 
Old 01-25-2005, 03:27 PM   #12
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
It is expected you do not have a resolv.conf file, as creating it is part of the DNS configuration tasks.

/etc/defaultrouter should contain the name or the IP address of the default router(s), quite simple.

By the way, "man defaultrouter" and "man resolv.conf" will tell you useful information about these files ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet and Solaris Ahmed Solaris / OpenSolaris 10 10-03-2005 03:56 PM
Windows and FC3 and Solaris---and only Solaris boot error message zillah Linux - Laptop and Netbook 1 07-07-2005 10:17 PM
SSH wont connet bingo11 Linux - Security 5 06-26-2005 06:04 PM
new to solaris - is it possible to multi-boot with solaris? spyghost Solaris / OpenSolaris 6 02-08-2004 06:39 PM
when I login not as root, it does not connet to internet........ help broodman Linux - Networking 9 07-27-2003 11:13 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration