[Risolto] Problemi con la sequenza bi boot

Compilazione del kernel, gestione moduli, servizi attivi, e tutti gli interventi per l'ottimizzazione del sistema operativo.
Avatar utente
knossus
Prode Principiante
Messaggi: 38
Iscrizione: giovedì 23 aprile 2009, 17:17

[Risolto] Problemi con la sequenza bi boot

Messaggio da knossus »

Salve a tutti apro questa discussione premettendo che non ho un problema grave ma che comunque risulta essere una scocciatura:
accendendo il computer non mi parte grub come è giusto che sia ma direttamente win xp.
Ho tre dischi:
  • Nel primo in ordine di boot ho installato linux Mint
  • Nel secondo Ubuntu e win 7
  • E nel terzo win xp
(il tutto è gestito da un solo grub) (nono)

L'unico modo per accedere a grub senza far partire win xp è scegliere da bios il disco da cui fare boot(il secondo) :-\

Vi ringrazio in anticipo per l'aiuto che per l'ennesima volta vi chiedo e se cio può aiutarvi vi posto un fdisk -l e il mio file di grub

Codice: Seleziona tutto

francesco@Giove-Linux:~$ sudo fdisk -l
[sudo] password for francesco: 

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x24522451

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2   *          13        6528    52326400    7  HPFS/NTFS
/dev/sda3            6528       60800   435946145    f  W95 Ext'd (LBA)
/dev/sda5            6528       45690   314570344+   7  HPFS/NTFS
/dev/sda6           45691       57668    96213253+   7  HPFS/NTFS
/dev/sda7           57669       59626    15727603+  83  Linux
/dev/sda8           59627       60277     5229126   83  Linux
/dev/sda9           60278       60800     4200966   82  Linux swap / Solaris

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/sdb2            2551       30401   223713157+   f  W95 Ext'd (LBA)
/dev/sdb5            2551       30401   223713126    7  HPFS/NTFS

Disk /dev/sdc: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x488603db

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         851     6835626    5  Extended
/dev/sdc2            2612        3133     4192965   82  Linux swap / Solaris
/dev/sdc5               1         608     4883697   83  Linux
/dev/sdc6             609         851     1951866   83  Linux

Codice: Seleziona tutto

francesco@Giove-Linux:~$ cat /boot/grub/menu.lst
# 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		8

## 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=470797b1-3d1e-465f-a4e1-5e8114bd844b ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=470797b1-3d1e-465f-a4e1-5e8114bd844b

## 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		Chainload into GRUB 2
uuid		470797b1-3d1e-465f-a4e1-5e8114bd844b
kernel		/boot/grub/core.img

title		��������������������������������������������������������������������
root
		
title		When you have verified GRUB 2 works, you can use this command to
root

title		complete the upgrade:  upgrade-from-grub-legacy
root

title		��������������������������������������������������������������������
root

title		Ubuntu 9.10, kernel 2.6.31-17-generic
uuid		470797b1-3d1e-465f-a4e1-5e8114bd844b
kernel		/boot/vmlinuz-2.6.31-17-generic root=UUID=470797b1-3d1e-465f-a4e1-5e8114bd844b ro quiet splash
initrd		/boot/initrd.img-2.6.31-17-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-17-generic (recovery mode)
uuid		470797b1-3d1e-465f-a4e1-5e8114bd844b
kernel		/boot/vmlinuz-2.6.31-17-generic root=UUID=470797b1-3d1e-465f-a4e1-5e8114bd844b ro single
initrd		/boot/initrd.img-2.6.31-17-generic

title		Ubuntu 9.10, kernel 2.6.28-17-generic
uuid		470797b1-3d1e-465f-a4e1-5e8114bd844b
kernel		/boot/vmlinuz-2.6.28-17-generic root=UUID=470797b1-3d1e-465f-a4e1-5e8114bd844b ro quiet splash
initrd		/boot/initrd.img-2.6.28-17-generic
quiet

title		Ubuntu 9.10, kernel 2.6.28-17-generic (recovery mode)
uuid		470797b1-3d1e-465f-a4e1-5e8114bd844b
kernel		/boot/vmlinuz-2.6.28-17-generic root=UUID=470797b1-3d1e-465f-a4e1-5e8114bd844b ro single
initrd		/boot/initrd.img-2.6.28-17-generic

title		Ubuntu 9.10, kernel 2.6.27-11-generic
uuid		470797b1-3d1e-465f-a4e1-5e8114bd844b
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=470797b1-3d1e-465f-a4e1-5e8114bd844b ro quiet splash
initrd		/boot/initrd.img-2.6.27-11-generic
quiet

title		Ubuntu 9.10, kernel 2.6.27-11-generic (recovery mode)
uuid		470797b1-3d1e-465f-a4e1-5e8114bd844b
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=470797b1-3d1e-465f-a4e1-5e8114bd844b ro single
initrd		/boot/initrd.img-2.6.27-11-generic

title		Ubuntu 9.10, memtest86+
uuid		470797b1-3d1e-465f-a4e1-5e8114bd844b
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
Ancora grazie in anticipo per l'aiuto (good)
Ultima modifica di knossus il venerdì 5 febbraio 2010, 13:00, modificato 1 volta in totale.
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40351
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: Problemi con la sequenza bi boot

Messaggio da steff »

Non puoi mettere predefinito il secondo disco?

Se no basta installare grub sul primo disco (ti avvia windows?) con quel metodo (il primo con find /boot/grub/stage1)
http://wiki.ubuntu-it.org/Amministrazio ... Ripristino
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
Avatar utente
MrMars
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1860
Iscrizione: giovedì 29 ottobre 2009, 14:15
Contatti:

Re: Problemi con la sequenza bi boot

Messaggio da MrMars »

E' anche più facile, probabilmente:
Accendi il computer, vai nelle impostazioni del bios (F2, ESC, o quello che è il tuo tasto) e avrai un ordine di boot simile a questo:
-floppy (forse no)
-Hdd numero x
-Lettore Dvd
-Penna Usb

Almeno il mio è così, e a questo punto sostituisci hdd numero x (che è quello di win xp) con hdd numero y (che è win7 e ubuntu)
Infatti a me, se premo il tasto di selezione boot, mi mostra tutti i dischi rigidi che ho (avviabili), ma nella sequenza di boot posso scegliere un solo disco come boot primario  :)
Avatar utente
knossus
Prode Principiante
Messaggi: 38
Iscrizione: giovedì 23 aprile 2009, 17:17

Re: Problemi con la sequenza bi boot

Messaggio da knossus »

No. il problema è che xp sta già per ultimo in sequenza di boot dal bios (almeno credo perchè se seleziono il disco da cui fare boot da bios quello con winxp risulta stare per ultimo) >:(

Comunque ora provo a vedere se da bios è possibile configurare qualcosa.
Se no basta installare grub sul primo disco (ti avvia windows?) con quel metodo (il primo con find /boot/grub/stage1)
Si da gub riesco a far partire tutti i sistemi (a meno che non intendi un'altra cosa)
Ultima modifica di knossus il venerdì 5 febbraio 2010, 12:48, modificato 1 volta in totale.
Avatar utente
MrMars
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1860
Iscrizione: giovedì 29 ottobre 2009, 14:15
Contatti:

Re: Problemi con la sequenza bi boot

Messaggio da MrMars »

L'ordine che hai quando fai la selezione boot "una tantum" non rispecchia sempre quello "impostato"
Avatar utente
knossus
Prode Principiante
Messaggi: 38
Iscrizione: giovedì 23 aprile 2009, 17:17

Re: Problemi con la sequenza bi boot

Messaggio da knossus »

Ok allora provo a cambiare le impostazioni da bios.
Avatar utente
knossus
Prode Principiante
Messaggi: 38
Iscrizione: giovedì 23 aprile 2009, 17:17

Re: Problemi con la sequenza bi boot

Messaggio da knossus »

Upgrade ha scritto: L'ordine che hai quando fai la selezione boot "una tantum" non rispecchia sempre quello "impostato"
Avevi ragione tu "Upgrade" c'era un'altra lista di boot oltre a quella per scegliere il disco e adesso funziona tutto alla grande. (good)

Grazie mille per l'aiuto e....... come al solito "al prossimo problema" che spero di riuscire a crearmi entro pochi giorni. (b2b)
Scrivi risposta

Ritorna a “Kernel e servizi di sistema”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti