Encontro DebianDayPT 2008 - Inscreve-te! | Visite também o Planeta DebianPT.org

grub não detecta solaris 10[RESOLVIDO]

Submetido por cktiger a Sábado, 2007-07-28 02:09.

olá , boas a todos , eu instalei o vista no disco hda com 80 gigas só pra ele ,
neste mesmo pc tenho outro disco de 250 gigas que dividi pelo solaris e debian que instalei por ultimo pensando que o grub detectava todos os S.O.s
mas não , eu vou postar aqui o resultado do comando fdisk -l para me poderem ajudar . obrigado até+

t1g3rd3b:/home/ckt1g3r# fdisk -l

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 10011 80413326 7 HPFS/NTFS

Disk /dev/hdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 12750 102406342+ bf Solaris
/dev/hdb2 * 12751 13601 6835657+ 83 Linux
/dev/hdb3 13602 30401 134946000 5 Extended
/dev/hdb5 13602 13931 2650693+ 82 Linux swap / Solaris
/dev/hdb6 13932 30401 132295243+ 83 Linu

ckt1g3r

Comentários

Opções de visualização dos comentários

Seleccione a sua forma preferida de visualização de comentários e clique "Gravar configuração" para activar as suas alterações.

e o /boot/grub/menu.lst

e o /boot/grub/menu.lst ?

::-------------------------------------
"Knowledge is power, wisdom is the way. Learn something new every day!"

/boot/grub/menu.lst

/boot/grub/menu.lst

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hdb2 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,1)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.18-4-k7
root (hd1,1)
kernel /boot/vmlinuz-2.6.18-4-k7 root=/dev/hdb2 ro
initrd /boot/initrd.img-2.6.18-4-k7
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-k7 (single-user mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.18-4-k7 root=/dev/hdb2 ro single
initrd /boot/initrd.img-2.6.18-4-k7
savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1

mete isto no final do

mete isto no final do menu.lst

title Solaris
root (hd1,0)
savedefault
makeactive
chainloader +1

deve resolver o teu problema :)

::-------------------------------------
"Knowledge is power, wisdom is the way. Learn something new every day!"

adicionou o solaris no boot

adicionou o solaris no boot mas quando escolho o solaris
arranca mas dá error dizendo:

Booting "Solaris 10 11/06 s10x_u3wos_10x_86"

root (hd0,0,a)

Error 22:No such partitition

Press any key to cont...

e nada , mas desde já um obrigado LUNIX pela ajuda , até +

ckt1g3r

Bom dia,Em primeiro lugar,

Bom dia,

Em primeiro lugar, gostaria de dizer que copiar o menu.lst por inteiro tinha sido dispensável, tinha bastado apenas as entradas do menu.

Em segundo lugar, não sei se foi assim que fizeste, pois não referiste, mas fica a dica na mesma: deve-se sempre iniciar o sistema instalado antes de instalar sistemas adicionais, para confirmar que funciona e melhor isolar possiveis erros.

Em terceiro lugar, ler a documentação do software ajuda sempre.... e a SUN até tem info sobre isto.

Para terminar, basicamente a informação que te foi indicada é a correcta, mas obviamente tens de afinar para o teu esquema de partições. ( Daí ter dito que testar o arranque do sistema após instalação é o ideal )
Aproveito ainda para indicar que o "makeactive" só deve existir numa das entradas do menu, para a tornar na opção de arranque por omissão.

Aproveita e lê:
http://www.sun.com/bigadmin/features/articles/grub_boot_solaris.html

Cumprimentos

n sabia essa do makeactive.

n sabia essa do makeactive. Normalmente quando quero mexer nestas coisas é sp de manual ao lado :) mas por vezes o google é mais expedito mas pode induzir alguns erros :)

::-------------------------------------
"Knowledge is power, wisdom is the way. Learn something new every day!"

o que acho estranho é que

boas a todos e obrigado pela vossa atenção mas o grub para
mim é uma grande confusão , pois não consigo por isto a 100%
e o que acho estranho é que se eu colocar na bios o 2ºdisco
para para arrancar como se fosse o 1º aparece-me o grub mas desta vez do solaris 10 e este não detecta nem o debian nem o win , ou seja ele arranca normalmente e fica tudo ok ( no solaris ), alguém tem uma dica , obrigado , até+

ckt1g3r

Apesar de estar de

Apesar de estar de vacances... ainda vou dando uns toques por aqui de quando em vez...

fizeste o que te disse?

a entrada que meteste no grub foi exactamente o que te disse?

fizeste um update-grub a seguir?

Olhaste para os docs que o motas te apontou?

A conf que te meti aqui supostamente iria fazer exactamente o que fizeste na BIOS...

::-------------------------------------
"Knowledge is power, wisdom is the way. Learn something new every day!"

sim li os docs da sun e

sim li os docs da sun e meti exactamente como me disses-te lunix , só não fiz update-grub a seguir , mas vou já faze-lo
obrigado. até +

ckt1g3r

problema resolvido e muito obrigado a todos

era mesmo isso lunix eu como me tinha esquecido de fazer o
#update-grub e ja tinha resolvido o assunto a mais tempo ,
um muito obrigado a todos pela atencao , abracos , ate +

ckt1g3r

Back to top