[RISOLTO] [Grub] aggiungere sistema operativo a GRUB

Riconoscimento, installazione e configurazione delle periferiche.
Avatar utente
gargantua
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1770
Iscrizione: venerdì 2 giugno 2006, 16:01
Desktop: Ubuntu 12.10 Gnome Shell
Distribuzione: Ubuntu 12.10 i686
Località: Pordenone
Contatti:

[RISOLTO] [Grub] aggiungere sistema operativo a GRUB

Messaggio da gargantua »

Ciao a tutti. Uso Ubuntu 7.10 e l'ho installato in /dev/hdb1, oggi ho provato ad installare Mandriva sulla partizione /dev/hdb5 e l'installazione è andata a buon fine solo che al riavvio il GRUB installato da Mandriva non mi faceva più vedere la partizione dove ho installato Ubuntu. Ho risolto con SuperGrubDisk ed ho ripristinato il vecchio MBR ma a questo punto non riesco più a vedere e far partire Mandriva >:(. come posso risolvere?
Posto qui fdisk -l :

Codice: Seleziona tutto

Disco /dev/hda: 20.5 GB, 20547841536 byte
255 heads, 63 sectors/track, 2498 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x23442343

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        2497    20057121    7  HPFS/NTFS

Disco /dev/hdb: 81.9 GB, 81964302336 byte
255 heads, 63 sectors/track, 9964 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9245af47

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        6115    49118706   83  Linux
/dev/hdb2            6116        9833    29864835    5  Esteso
/dev/hdb3            9834        9964     1052257+  82  Linux swap / Solaris
/dev/hdb5            6116        8152    16362171   83  Linux
/dev/hdb6            8153        9833    13502601   83  Linux
ditemi cos'altro posso postare per aiutarvi a risolvere. Grazie di tutto.
Ultima modifica di gargantua il domenica 17 febbraio 2008, 19:10, modificato 1 volta in totale.
Cordoglio anche nelle fabbriche cinesi Apple: gli operai hanno osservato un secondo di raccoglimento.  ///   Dopo la diagnosi, sette anni per spegnersi. Per una volta è stato lui a copiare Windows.
Avatar utente
carver55
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2490
Iscrizione: domenica 13 agosto 2006, 10:52
Località: lucca

Re: [Grub] aggiungere sistema operativo a GRUB

Messaggio da carver55 »

mandriva usa grub quindi c'è anche il menu.lst. Aprilo copiati le righe che fanno partire il sistema e incollale nel menu.lst di ubu
Linux User # 454540. Ubu user #17949
Ci sedemmo dalla parte del torto perchè tutti gli altri posti erano occupati.
Avatar utente
gargantua
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1770
Iscrizione: venerdì 2 giugno 2006, 16:01
Desktop: Ubuntu 12.10 Gnome Shell
Distribuzione: Ubuntu 12.10 i686
Località: Pordenone
Contatti:

Re: [Grub] aggiungere sistema operativo a GRUB

Messaggio da gargantua »

carver55 ha scritto: mandriva usa grub quindi c'è anche il menu.lst. Aprilo copiati le righe che fanno partire il sistema e incollale nel menu.lst di ubu
Questo è il menu.lst di mandriva:

Codice: Seleziona tutto

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd1,4)/boot/gfxmenu
default 0

title linux
kernel (hd1,4)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hdb5 resume=/dev/hdb3 splash=silent vga=788
initrd (hd1,4)/boot/initrd.img

title linux-nonfb
kernel (hd1,4)/boot/vmlinuz-2.6.22.9-desktop586-1mdv BOOT_IMAGE=linux-nonfb root=/dev/hdb5 resume=/dev/hdb3
initrd (hd1,4)/boot/initrd.img

title failsafe
kernel (hd1,4)/boot/vmlinuz-2.6.22.9-desktop586-1mdv BOOT_IMAGE=failsafe root=/dev/hdb3 failsafe
initrd (hd1,4)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1
e questo quello di Mint:

Codice: Seleziona tutto

# 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.
default		0

gfxmenu=/etc/grub/message.mint

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

# 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=/dev/hdb1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,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

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) 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

## ## End Default Options ##

title		Linux Mint, kernel 2.6.22-14-generic
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro quiet splash
initrd		/boot/initrd.img-2.6.22-14-generic
boot

title		Linux Mint, kernel 2.6.22-14-generic (recovery mode)
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro single
initrd		/boot/initrd.img-2.6.22-14-generic
boot

title		Linux Mint, kernel memtest86+
root		(hd1,0)
kernel		/boot/memtest86+.bin 
boot

### 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		Microsoft Windows XP Home Edition
root		(hd0,0)
savedefault
makeactive
chainloader	+1
quali parti dovrei copiare?
Credo ti faranno santo un giorno!
Cordoglio anche nelle fabbriche cinesi Apple: gli operai hanno osservato un secondo di raccoglimento.  ///   Dopo la diagnosi, sette anni per spegnersi. Per una volta è stato lui a copiare Windows.
Avatar utente
carver55
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2490
Iscrizione: domenica 13 agosto 2006, 10:52
Località: lucca

Re: [Grub] aggiungere sistema operativo a GRUB

Messaggio da carver55 »

io copierei da "title linux fino a title windows escluso  e lo incollerei dopo "end debian automagic kernel list" altrimenti se ti aggiorna il kernel ti cancella le righe che hai aggiunto. Se fosse una distro di Ubu funziorebbe senza problemi , con mandriva ..speriamo
Linux User # 454540. Ubu user #17949
Ci sedemmo dalla parte del torto perchè tutti gli altri posti erano occupati.
Avatar utente
gargantua
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1770
Iscrizione: venerdì 2 giugno 2006, 16:01
Desktop: Ubuntu 12.10 Gnome Shell
Distribuzione: Ubuntu 12.10 i686
Località: Pordenone
Contatti:

Re: [Grub] aggiungere sistema operativo a GRUB

Messaggio da gargantua »

carver55 ha scritto: io copierei da "title linux fino a title windows escluso  e lo incollerei dopo "end debian automagic kernel list" altrimenti se ti aggiorna il kernel ti cancella le righe che hai aggiunto. Se fosse una distro di Ubu funziorebbe senza problemi , con mandriva ..speriamo
Grazie.....ha funzionato alla grande
Cordoglio anche nelle fabbriche cinesi Apple: gli operai hanno osservato un secondo di raccoglimento.  ///   Dopo la diagnosi, sette anni per spegnersi. Per una volta è stato lui a copiare Windows.
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 9 ospiti