Grub Error 12

Installazione, configurazione e uso di programmi e strumenti.
Scrivi risposta
Avatar utente
landolini
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 595
Iscrizione: mercoledì 7 novembre 2007, 15:33

Grub Error 12

Messaggio da landolini »

C'e' una ragione perche'  non mi faccia il boot WinXP.
Anche con SuperGrub non va....

ENTRATA di Windows XP in menu.lst >>>

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda5
title          Microsoft Windows XP Professional
root            (hd0,4)
savedefault
makeactive
chainloader    +1



FDISK >>>>>

Dispositivo Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      15955  128158506    7  HPFS/NTFS
/dev/sda2          15956      25262    74752000    7  HPFS/NTFS
/dev/sda3          25263      40311  120881092+  f  W95 Esteso (LBA)
/dev/sda4          59792      60801    8112825    7  HPFS/NTFS

/dev/sda5          25263      29087    30724281    b  W95 FAT32    <<<<<<<<

/dev/sda6          29088      29818    5871726  83  Linux
/dev/sda7          29819      29977    1277136  82  Linux swap / Solaris
/dev/sda8          29978      35183    41817163+  83  Linux
/dev/sda9          35184      40311    41190628+  83  Linux
Avatar utente
filo1234
Rampante Reduce
Rampante Reduce
Messaggi: 6172
Iscrizione: lunedì 26 febbraio 2007, 21:10
Località: Cagliari

Re: Grub Error 12

Messaggio da filo1234 »

certo che c' è una ragione stai puntando una partizione non bootabile....scusa ma windows dov' è? in sda5?? in fat32?
Avatar utente
landolini
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 595
Iscrizione: mercoledì 7 novembre 2007, 15:33

Re: Grub Error 12

Messaggio da landolini »

filo1234 ha scritto: certo che c' è una ragione stai puntando una partizione non bootabile....scusa ma windows dov' è? in sda5?? in fat32?
In sda1 c'e' Windows Vista che funziona.
In sda5  c'e' Windows XP in una partizione Fat32 che non bootta....
Avatar utente
filo1234
Rampante Reduce
Rampante Reduce
Messaggi: 6172
Iscrizione: lunedì 26 febbraio 2007, 21:10
Località: Cagliari

Re: Grub Error 12

Messaggio da filo1234 »

be ma è bootabile?? verifica con gparted se hai il flag boot
Avatar utente
landolini
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 595
Iscrizione: mercoledì 7 novembre 2007, 15:33

Re: Grub Error 12

Messaggio da landolini »

filo1234 ha scritto: be ma è bootabile?? verifica con gparted se hai il flag boot
Ma il flag di boot possono averlo contemporaneamente due sistemi ? (Vista lo ha...)
Avatar utente
filo1234
Rampante Reduce
Rampante Reduce
Messaggi: 6172
Iscrizione: lunedì 26 febbraio 2007, 21:10
Località: Cagliari

Re: Grub Error 12

Messaggio da filo1234 »

certo che dev' essere bootabile anche l' altra controlla con gparted se non c' è dagli il flag boot
Avatar utente
landolini
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 595
Iscrizione: mercoledì 7 novembre 2007, 15:33

Re: Grub Error 12

Messaggio da landolini »

filo1234 ha scritto: certo che dev' essere bootabile anche l' altra controlla con gparted se non c' è dagli il flag boot
Niente...ho messo il flag ma mi becco sempre Error12 invalid device....
Avatar utente
filo1234
Rampante Reduce
Rampante Reduce
Messaggi: 6172
Iscrizione: lunedì 26 febbraio 2007, 21:10
Località: Cagliari

Re: Grub Error 12

Messaggio da filo1234 »

posta il tuo menu.lst  e anche il risultato di

Codice: Seleziona tutto

sudo vol_id /dev/sda5
Avatar utente
landolini
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 595
Iscrizione: mercoledì 7 novembre 2007, 15:33

Re: Grub Error 12

Messaggio da landolini »

filo1234 ha scritto: posta il tuo menu.lst  e anche il risultato di

Codice: Seleziona tutto

sudo vol_id /dev/sda5
Pensi che il bootini venga utilizzato o no  con grub ?
Perche' questo sistema era sulla partizione C del disco del mio PC rotto un paio di mesi fa . Il disco salvato , ora  e'  funzionante come HD esterno...e la partizione C e' stata copiata in sda5 con Acronis true image. Naturalmente il bootini dira' che e' la prima partizione ecc...

Ecco la roba che mi hai chiesto >>>

lando@lando-desktop:~$ sudo vol_id /dev/sda5

[sudo] password for lando:
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT32
ID_FS_UUID=CCA2-1B96
ID_FS_UUID_ENC=CCA2-1B96
ID_FS_LABEL=XP
ID_FS_LABEL_ENC=XP
ID_FS_LABEL_SAFE=XP




lando@lando-desktop:~$ 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        10

## 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=a959d181-231d-4720-b5aa-ec848c0319f6 ro

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

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

## 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 locale=it_IT

## 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            (hd0,8)
kernel          /boot/vmlinuz-2.6.22-14-generic root=UUID=a959d181-231d-4720-b5aa-ec848c0319f6 ro quiet splash locale=it_IT
initrd          /boot/initrd.img-2.6.22-14-generic
quiet

title          Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root            (hd0,8)
kernel          /boot/vmlinuz-2.6.22-14-generic root=UUID=a959d181-231d-4720-b5aa-ec848c0319f6 ro single
initrd          /boot/initrd.img-2.6.22-14-generic

title          Ubuntu 7.10, memtest86+
root            (hd0,8)
kernel          /boot/memtest86+.bin
quiet

### 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/sda1
title          Windows Vista/Longhorn (loader)
root            (hd0,0)
savedefault
makeactive
chainloader    +1


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


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda5
title          Microsoft Windows XP Professional
root            (hd0,4)
savedefault
makeactive
chainloader    +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
title          linux (on /dev/sda8)
root            (hd0,5)
kernel          /vmlinuz BOOT_IMAGE=linux root=/dev/sda8 noapic nolapic resume=/dev/sda7 splash=silent pci=noacpi vga=788
initrd          (hd0,5)/initrd.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
title          linux-nonfb (on /dev/sda8)
root            (hd0,5)
kernel          /vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/sda8 noapic nolapic resume=/dev/sda7 acpi=ht
initrd          (hd0,5)/initrd.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
title          failsafe (on /dev/sda8)
root            (hd0,5)
kernel          /vmlinuz BOOT_IMAGE=failsafe root=/dev/sda8 failsafe
initrd          (hd0,5)/initrd.img
savedefault
boot
Avatar utente
landolini
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 595
Iscrizione: mercoledì 7 novembre 2007, 15:33

Re: Grub Error 12

Messaggio da landolini »

Tra le mie letture e una risposta da un forum americano sul comportamento di Windows,
si puo' dire che "grub Error 12" avviene prima del lancio del loader di Windows ( i messaggi del loader di windows sono differenti...). Allora vorrei provare
a fare il boot usando il CD di Super Grub .....Mi fa partire bene Vista che e' nella prima partizione ...ma scegliendo la strada Windows Avanzato  (allegato) che mi mostra tutte le partizioni, se scelgo la mia sda5...va in linea comando "Grub > " e qui non so andare avanti....
C'e' qualche esperto  che ha voglia di giocarci ? (la menu.lst che e' sul CD e' solo per la prima partizione...bisognerebbe cambiarla...
Allegati
guide_restore_grub_step12.png
Avatar utente
landolini
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 595
Iscrizione: mercoledì 7 novembre 2007, 15:33

Re: Grub Error 12

Messaggio da landolini »

...sono andato in linea comando Grub > e ho sottomesso i comandi di menu.lst relativi a windows XP ,  vedo che "Grub ERRor 12 " me lo becco sul comando "makeactive"..
vorra dire qualcosa ? ( con (hd0,1) non succede ..)

title Boot WindowsXP
rootnoverify (hd0,4)
makeactive
chainloader +1
boot
Ultima modifica di landolini il martedì 18 dicembre 2007, 14:46, modificato 1 volta in totale.
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 17 ospiti