PDA

View Full Version : Problema multiboot Vista+XP+Linux


Reverbero
23-12-2007, 13:35
Nel PC ho 3 hd sata2, 2 in raid 0 dove ho due partizioni una con Vista ed una con XP, il terzo lo uso come archivio e su questo mi è saltato in mente di ridurre la partizione e fare posto per installare Ubuntu, il problema è che al termine dell'installazione al riavvio del PC mi ritrovo con questo errore:

GRUB loading, please wait...
Error 21
:help:
Ringrazio coloro che cercheranno di aiutarmi:)

Gollum63
23-12-2007, 18:33
Ciao i dati sono insufficenti x capire il problema, sarebbe utile :
sapere la configurazione del grub,
la ripartizione dei dischi,
lo stato attuale del sistema tipo se riesci ad entrare in uno o + sistemi e da quale,
i dischi come sono collegati .
ps l'errore evidenziato dal grub dice che il bios non riconosce o non trova il disco o parte di esso

Reverbero
23-12-2007, 19:39
Ciao i dati sono insufficenti x capire il problema, sarebbe utile :
sapere la configurazione del grub,
la ripartizione dei dischi,
lo stato attuale del sistema tipo se riesci ad entrare in uno o + sistemi e da quale,
i dischi come sono collegati .
ps l'errore evidenziato dal grub dice che il bios non riconosce o non trova il disco o parte di esso

Ciao il problema dell'error 21 penso di averlo risolto (nel bios era impostato come hd di boot quello raid invece di quello dove c'è linux) adesso però il problema è che mi compare il bootloader OSL2000 ma ubuntu non si avvia mentre sia vista che xp partono tranquillamente :help:

Cerco di spiegare meglio la mia configurazione:

HD1: 2 partizioni una ubuntu laltra archivio

HD2(2dischi in raid 0): 2 partizioni una vista ed una xp

Gollum63
23-12-2007, 20:44
Il grub si è installato da solo o l'hai configurato tu e come è configurato?

Reverbero
23-12-2007, 21:05
Il grub si è installato da solo o l'hai configurato tu e come è configurato?

si è installato da solo
mi sa che adesso ho fatto un bel casino, ho provato a ripristinare il grub caricando il live cd e digitando delle righe di comando che ho trovato su una guida, solo che adesso mi è tornato error 21 del grub e osl2000 non esce più quindi non posso più neanche avviare windows...

Gollum63
23-12-2007, 21:08
il livecd ti funziona se si lancia da terminale il comando
sudo fdisk -l
e cerca di postare l'output

Reverbero
23-12-2007, 21:25
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1d0e1d0d

Device Boot Start End Blocks Id System
/dev/sda1 * 1 31500 253023718+ 7 HPFS/NTFS
/dev/sda2 31501 60797 235328152+ 7 HPFS/NTFS

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

Disk /dev/sdb doesn't contain a valid partition table

Unable to open -

Disk /dev/sdc: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x26dc98d7

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 2489 19992861 83 Linux
/dev/sdc2 2490 36481 273040740 f W95 Ext'd (LBA)
/dev/sdc5 2552 36481 272542693+ 7 HPFS/NTFS
/dev/sdc6 2490 2551 497952 82 Linux swap / Solaris

Partition table entries are not in disk order
ubuntu@ubuntu:~$

Gollum63
23-12-2007, 21:44
Questa è l'analisi del partizionamento dei tuoi dischi che come saprai in RAID0 vengono letti come un disco anche se divisi.
Ora io vedo in sda1 il boot di win ed in sdc1quello che dovrebbe essere il grub, mentre non esiste un partizionamento valido in sdb.
Ubuntu dove l'avresti installato in sdb?
vista dove si trova ed xp?

Reverbero
23-12-2007, 21:48
Ubuntu l'ho installato su sdc1
XP su sda1
Vista su sda2

Gollum63
23-12-2007, 21:53
in sdb cosa dovrebbe esserci perchè probabilmente grub legge quello come errore

Reverbero
23-12-2007, 22:00
in sdb cosa dovrebbe esserci perchè probabilmente grub legge quello come errore

sdb è il disco in raid insieme a sda, sono due dischi da 250gb solo che le partizioni le fa vedere tutte e due su sda che sommate fanno circa 500gb

Gollum63
23-12-2007, 22:11
Puoi farmi vedere la configurazione di grub
da terminale
sudo cat /boot/grub/menu.lst
oppure se sei in live
sudo cat /media/cdrom/boot/grub/menu.lst

Reverbero
23-12-2007, 22:33
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# 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=UUID=e311f381-0ba5-4426-89d2-4d1587b31452 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

## 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=quiet splash

## 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=(recovery) single
# altoptions=(recovery 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

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd2,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e311f381-0ba5-4426-89d2-4d1587b31452 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd2,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e311f381-0ba5-4426-89d2-4d1587b31452 ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd2,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

Gollum63
23-12-2007, 23:26
vedendo la configurazione di grub mi sembra in ordine almeno x quanto riguarda ubuntu ma non c'è nessun riferimento a win non è che hai l'Mbr da ripristinare?
Potremmo fare una prova modificando il menu.lst
sudo gedit /boot/grub/menu.lst
ti si apre l'editor di testo e modifichiamo la stringa di avvio sostituiamo quiet con boot

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd2,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e311f381-0ba5-4426-89d2-4d1587b31452 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

Reverbero
24-12-2007, 10:51
Ho provato ma mi esce il solito errore:

Error21:Selected disk does not exist
Press any key to continue...

premendo un tasto esce il menu del grub con le 3 scelte linux ma non con quella di windows

Gollum63
24-12-2007, 14:21
Ho provato ma mi esce il solito errore:

Error21:Selected disk does not exist
Press any key to continue...

premendo un tasto esce il menu del grub con le 3 scelte linux ma non con quella di windows
Ma in questo modo ti si avvia almeno ubuntu?

Reverbero
24-12-2007, 15:50
Ma in questo modo ti si avvia almeno ubuntu?

No, sempre error21...
Ci rinuncio, grazie lo stesso per l'aiuto :)

Gollum63
24-12-2007, 16:09
prima di arrenderti, che non è bello,
prova a dare un occhiata qui (http://salaros.blogspot.com/2007/07/installare-ubuntu-704-su-raid0-in-dual.html)