Pagina 1 di 2

[Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 18:36
da già52
ciao, ho bisogno di essere guidato per una analisi dello stato attuale del sistema per capire gli errori (ed eventuali soluzioni). Ho molto smanettato negli ultimi giorni seguendo le indicazioni sia del forum che della documentazione, ho quindi usato super Grub, il cd di win (ad un certo punto mi chiede passw. di amministrat. che non ho mai dato, ho provato a copiare grub du floppy ma anche questa operazione non è potuta andare in porto ( o non sono stato capace). Ho assoluto bisogno di accedere a xp.!! (rischio il divorzio), perchè winzzozz è usato da mia moglie, ha molto materiale che le necessita per il suo lavoro

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 18:46
da già52
sono proprio fuso!! non ho dato info.
ho 2 Hd uno interno da 400G dovo ho montato Xp l'altro esterno (usb) da250G dove c'è ubuntu 8.04 in avvio mi da la schermata di scelta su quale s.o. aprire se ubuntu è tutto ok, se chiedo xp scermata nera per qualche secondo e poi mi rimanda alla fase di scelta del S.o.
La genesi del tutto è da far risalire ad un tentativo di avanzamento di versione di ubuntu da 8.04 a 8.10 a metà si è impastato e ho dovuto reinstallare 8.04 (e da qui non ho potuto più avviare xp)

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 18:51
da patel
La via più semplice è super grub disk, puoi ripristinare il mbr del disco fisso in modo che parta Xp, c'è una voce del tipo "MBR e Win". Ti conviene farlo col disco usb staccato.
Altrimenti col cd di installazione. Se ti chiede la passw dai Invio. i comandi sono
fixmbr
fixboot
non ti preoccupare dei messaggi cattivi.

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 19:16
da già52
ok! provo a seguire ti prego se resti connesso più tardi dai un'occhiata per vedere se sono ancora nei guai grazie patel, ciao

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 19:54
da njin
Posta :
sudo fdisk -l #è una elle
/boot/grub/menu.lst

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 20:11
da già52
LO SCHE RMOè tutto nero con il cursore in alto a sinix che lampeggia ...angoscia!!!!
Ho usato super grub ma non ho ottenuto risultati
ho provato con un cd di win digitando fixmbr e fix boot ci sono state delle modifichealla partizione ecco cosa veniva riportato:
C: fat 32    3745..Mb \device\harddisk0\partition1
H: fat 32    8765...Mb \device\harddisk0\partition2
poi ho dato avvio.......e sob! aiuto!!!!

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 20:34
da njin
Ma Ubuntu funziona??

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 20:35
da già52
no! non si schioda da quella schermata nera iniziale
ora ho avviato la live

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 20:37
da njin
Dalla live apri un terminale e digita

sudo fdisk -l  #e' una elle
e postalo qui

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 20:39
da già52
Disk /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe48be48b

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      47494  381495523+  c  W95 FAT32 (LBA)
/dev/sda2          47495      48641    9213277+  c  W95 FAT32 (LBA)

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

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              1      30026  241183813+  83  Linux
/dev/sdb2          30027      30401    3012187+  5  Extended
/dev/sdb5          30027      30401    3012156  82  Linux swap / Solaris

Disk /dev/sdg: 1 MB, 1474560 bytes
1 heads, 3 sectors/track, 960 cylinders
Units = cylinders of 3 * 512 = 1536 bytes
Disk identifier: 0x64616572

This doesn't look like a partition table
Probably you selected the wrong device.

  Device Boot      Start        End      Blocks  Id  System
/dev/sdg1  ?  623187467  1167881778  817041466  44  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(10, 0, 13) logical=(623187466, 0, 3)
Partition 1 has different physical/logical endings:
    phys=(363, 105, 51) logical=(1167881777, 0, 1)
Partition 1 does not end on cylinder boundary.
/dev/sdg2  ?  179662788  359321550  269488144  65  Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
    phys=(370, 108, 53) logical=(179662787, 0, 1)
Partition 2 has different physical/logical endings:
    phys=(0, 13, 10) logical=(359321549, 0, 2)
Partition 2 does not end on cylinder boundary.
/dev/sdg3  ?  464871435  464878547      10668+  53  OnTrack DM6 Aux3
Partition 3 has different physical/logical beginnings (non-Linux?):
    phys=(333, 89, 19) logical=(464871434, 0, 3)
Partition 3 has different physical/logical endings:
    phys=(339, 68, 15) logical=(464878546, 0, 3)
Partition 3 does not end on cylinder boundary.

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

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 20:50
da njin
Ok, hai per caso inserito il floppy?

Monta l'HD dove hai ubuntu e apri un terminale e digita
sudo gedit

e apri il file boot -> grub -> menu.lst

edit : e postalo qui

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 20:57
da già52
si avevo collegato un dispositivo floppy usb
non ho chiaro cosa significhi "montare l'hd dove c'è ubuntu"

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 20:59
da njin
vai su places -> computer e doppio click sul disco dove hai ubuntu e controlla che appaia sulla scrivania.

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 21:06
da già52
digitando sudo gedit mi appare una pagina bianca

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 21:09
da njin
ok, clicca su apri e trova il percorso che ti ho indicato.

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 21:13
da già52
ho selezionato solo la parte teminale spero vada bene
## ## End Default Options ##

title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=ea7f1b56-b26e-4a8a-bc08-05355d1ea79c ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=ea7f1b56-b26e-4a8a-bc08-05355d1ea79c ro single
initrd /boot/initrd.img-2.6.24-21-generic

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=ea7f1b56-b26e-4a8a-bc08-05355d1ea79c ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=ea7f1b56-b26e-4a8a-bc08-05355d1ea79c ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd1,0)
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 XP Media Center Edition
root (hd0,0)
savedefault
makeactive
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
#title Windows NT/2000/XP
#root (hd0,1)
#savedefault
#makeactive
#chainloader

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 21:16
da njin
No, postalo tutto perche all'inizio ci sono setting importanti

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 21:18
da già52
# 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=ea7f1b56-b26e-4a8a-bc08-05355d1ea79c ro

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

## 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

## 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 8.04.1, kernel 2.6.24-21-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=ea7f1b56-b26e-4a8a-bc08-05355d1ea79c ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=ea7f1b56-b26e-4a8a-bc08-05355d1ea79c ro single
initrd /boot/initrd.img-2.6.24-21-generic

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=ea7f1b56-b26e-4a8a-bc08-05355d1ea79c ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=ea7f1b56-b26e-4a8a-bc08-05355d1ea79c ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd1,0)
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 XP Media Center Edition
root (hd0,0)
savedefault
makeactive
chainloader +1


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

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 21:29
da njin
Ok menu.lst è ok
Vai qui e prova con il primo metodo

http://wiki.ubuntu-it.org/AmministrazioneSistema/Grub/Ripristino?highlight=(grub)

Re: [Boot] problema boot/grub: non si avvia xp

Inviato: domenica 9 novembre 2008, 21:43
da già52
scusa njin, prima di procedere mi è venuto un dubbio: l'hd1,0 lo devo lasciare cosi o trasformare in 0,0?
qui sotto è quello apparso con sudo grub
ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.

      [ Minimal BASH-like line editing is supported.  For
        the  first  word,  TAB  lists  possible  command
        completions.  Anywhere else TAB lists the possible
        completions of a device/filename. ]
grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd1,0)
grub> root (hd1,0)
root (hd1,0)
grub> setup (hd1,0)