Debianizzati.Org | Forum | Blog | Guide | IRC
 
 
Forum Italiano Debian - Debianizzati.Org
Dicembre 05, 2008, 06:03:39 am *
Benvenuto! Accedi o registrati.
Hai dimenticato l'e-mail di attivazione?

Accesso con nome utente, password e durata della sessione
Notizia:
 
   Indice   Aiuto Ricerca Agenda Accedi Registrati  
Pagine: [1]   Vai giù
  Stampa  
Autore Discussione: RISOLTO - NIUBBO - Problemi con grub  (Letto 582 volte)
0 utenti e 1 Utente non registrato stanno visualizzando questa discussione.
ermac
Newbie
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 45



Mostra profilo
« inserita:: Novembre 21, 2007, 04:56:26 pm »

Ciao sto diventando pazzo perchè non riesco a capire che cavolo sta combinando grub cercherò di spiegarmi meglio.

In pratica durante l'installazione debian ha installato grub su hda invece che su sda ma a quello ho risolto io installandolo manulmente su sda. il problema è che in pratica quando faccio partire grub da dove lo ha messo debian si carica tutto perfettamnte invece quando lo faccio partire da sda il menu lo carica ma non riesce a far partire qualsisi sistema operativo perchè dice che non riecse a trovarlo

a dimenticavo se attacco un altro disco interno sul canale ide non parte + nenche da dove ha installato debian

Il mio pc è conifgurato in questo modo

Codice:
   Device Boot      Start         End      Blocks   Id  System
/dev/hda2   *           2       14946   120045712+   5  Extended
/dev/hda5               2         202     1614501    b  W95 FAT32 TEMP WINZOZZO
/dev/hda6             203         393     1534176   83  Linux TEMP LINUX
/dev/hda7             394         524     1052226   82  Linux swap / Solaris SWAP
/dev/hda8             525       14946   115844683+  83  Linux DATI VARII

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           2           6       40162+  17  Hidden HPFS/NTFS FILE DI BOOT DI WINZOZZO
/dev/sda2               7          19      104422+  83  Linux /BOOT
/dev/sda3             142       24792   198009157+   5  Extended
/dev/sda5             142        1186     8393931    7  HPFS/NTFS WINZOZZO
/dev/sda6            1187        3498    18571104+   7  HPFS/NTFS FILE VARI WINZOZZO
/dev/sda7            3499        4558     8514418+  83  Linux /
/dev/sda8            4559       24792   162529573+  83  Linux /HOME
« Ultima modifica: Novembre 23, 2007, 05:03:48 pm da ermac » Registrato
samiel
Hero Member
*****

Karma: +11/-0
Scollegato Scollegato

Messaggi: 806


Mostra profilo
« Risposta #1 inserita:: Novembre 21, 2007, 05:21:15 pm »

Posta menu.lst

M.
Registrato
ermac
Newbie
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 45



Mostra profilo
« Risposta #2 inserita:: Novembre 21, 2007, 05:37:21 pm »

Codice:
# 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 change this entry to 'saved' 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         5

# 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/sda7 ro

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

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

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

## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.22-2-k7
root            (hd1,1)
kernel          /vmlinuz-2.6.22-2-k7 root=/dev/sda7 ro
initrd          /initrd.img-2.6.22-2-k7
savedefault

title           Debian GNU/Linux, kernel 2.6.22-2-k7 (single-user mode)
root            (hd1,1)
kernel          /vmlinuz-2.6.22-2-k7 root=/dev/sda7 ro single
initrd          /initrd.img-2.6.22-2-k7
savedefault

### 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
# updatedefaultentry=false

## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.22-2-k7
root            (hd1,1)
kernel          /vmlinuz-2.6.22-2-k7 root=/dev/sda7 ro
initrd          /initrd.img-2.6.22-2-k7
savedefault

title           Debian GNU/Linux, kernel 2.6.22-2-k7 (single-user mode)
root            (hd1,1)
kernel          /vmlinuz-2.6.22-2-k7 root=/dev/sda7 ro single
initrd          /initrd.img-2.6.22-2-k7
savedefault

### 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 NT/2000/XP (loader)
root            (hd1,0)
savedefault
makeactive
map             (hd0) (hd1)
map             (hd1) (hd0)
chainloader     +1

Registrato
samiel
Hero Member
*****

Karma: +11/-0
Scollegato Scollegato

Messaggi: 806


Mostra profilo
« Risposta #3 inserita:: Novembre 21, 2007, 07:35:42 pm »

Elimina le voci relative al grub che intendi togliere

M.
Registrato
ermac
Newbie
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 45



Mostra profilo
« Risposta #4 inserita:: Novembre 22, 2007, 06:44:49 am »

ecco come è diventato dopo il fuoco purificatore dehihihih e l'errore che mi da grub è il 17

Codice:

default         0
timeout         5
color cyan/blue white/blue

title           Debian GNU/Linux, kernel 2.6.22-2-k7
root            (hd1,1)
kernel          /vmlinuz-2.6.22-2-k7 root=/dev/sda7 ro
initrd          /initrd.img-2.6.22-2-k7
savedefault

title           Debian GNU/Linux, kernel 2.6.22-2-k7 (single-user mode)
root            (hd1,1)
kernel          /vmlinuz-2.6.22-2-k7 root=/dev/sda7 ro single
initrd          /initrd.img-2.6.22-2-k7
savedefault

title           Windows NT/2000/XP (loader)
root            (hd1,0)
savedefault
makeactive
map             (hd0) (hd1)
map             (hd1) (hd0)
chainloader     +1

Comunque per la serie io per installare grub nel nuovo disco ho dato questi comandi

Codice:
xxxx:# grub
grub> root (hd1,1)
grub> setup (hd1)
grub> quit

che sono i soliti che davo sulle altre
« Ultima modifica: Novembre 22, 2007, 06:51:54 am da ermac » Registrato
xtow
Hero Member
*****

Karma: +21/-0
Scollegato Scollegato

Messaggi: 717



Mostra profilo E-mail
« Risposta #5 inserita:: Novembre 22, 2007, 07:34:27 am »

Codice:
title           Debian GNU/Linux, kernel 2.6.22-2-k7
root            (hd1,1)
kernel          /vmlinuz-2.6.22-2-k7 root=/dev/sda7 ro
initrd          /initrd.img-2.6.22-2-k7
savedefault

per forza che ti da errore, non può essere root (hd1,1) e poi in kernel root=/dev/sda7
se debian e in sda7 dovresti avere

Codice:
title           Debian GNU/Linux, kernel 2.6.22-2-k7
root            (hd1,6)
kernel          /vmlinuz-2.6.22-2-k7 root=/dev/sda7 ro
initrd          /initrd.img-2.6.22-2-k7
savedefault

per installare grub in MBR
grub-install /dev/hda
Registrato
ermac
Newbie
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 45



Mostra profilo
« Risposta #6 inserita:: Novembre 22, 2007, 04:01:58 pm »

e no il menu list è giusto per due motivi

1) la partizione di boot è diversa da quella di di root
2) ipotizzando che io avessi configurato male il menu config non si spiegherebbbe perchè se alla scheda madre gli faccio fare il boot da hda funziona e invece quando invece glielo faccio fare da sda funziona in parte cioè carica il file menu.list però poi dice che non riesce ad accedere alla partizione di root indipendentemnte sia su linux che su winzozzo
Registrato
gash
Full Member
***

Karma: +1/-1
Scollegato Scollegato

Messaggi: 102



Mostra profilo WWW E-mail
« Risposta #7 inserita:: Novembre 22, 2007, 04:44:03 pm »

Avvia dal'HD che funziona il boot entra in debian e da root dai
Codice:
grub
e poi
Codice:
find /boot/grub/stage1
Posta il risultato.
Registrato

ermac
Newbie
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 45



Mostra profilo
« Risposta #8 inserita:: Novembre 22, 2007, 05:38:02 pm »

Scusate se rompo cosi tanto le palle ma il problema è che quel hdd è quello che uso per i backup ed è in un frame non posso lasciarlo sempre attivo

Codice:
    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

       [ 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

Error 15: File not found

grub>


Scusa ma mi sembra assurdo come risultato nella cartella di grub ci stanno sia lo stage1 che il 2 (ovviamnte entrandoci da shell classica
« Ultima modifica: Novembre 22, 2007, 05:42:58 pm da ermac » Registrato
gash
Full Member
***

Karma: +1/-1
Scollegato Scollegato

Messaggi: 102



Mostra profilo WWW E-mail
« Risposta #9 inserita:: Novembre 22, 2007, 08:51:26 pm »

Il risutato è alquanto brutto, comunque prova a mettere nel menu.lst del grub che hai in /boot su sda2 al posto di
Codice:
root (hd1,1)
Codice:
root (hd0,1)
E poi prova a bootare da quello.
Registrato

ermac
Newbie
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 45



Mostra profilo
« Risposta #10 inserita:: Novembre 23, 2007, 04:35:54 pm »

oooooo come sono feliceeeeeeeeeeeeeeee!!!! comunque mi ero confuso con hdd questo non è nel frame questo devo lasciarlo attacto è quello con i temporanei e la swap

comunque ora provo
Registrato
ermac
Newbie
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 45



Mostra profilo
« Risposta #11 inserita:: Novembre 23, 2007, 05:06:28 pm »

Non so su quale diavolo di principio grub si è comportato in questo modo ma avevi ragione facendolo partire come root 0,1 è andato anche se device.map il disco sda me lo da come hd1 e non hd0

Il risutato è alquanto brutto, comunque prova a mettere nel menu.lst del grub che hai in /boot su sda2 al posto di
Codice:
root (hd1,1)
Codice:
root (hd0,1)
E poi prova a bootare da quello.
Registrato
gash
Full Member
***

Karma: +1/-1
Scollegato Scollegato

Messaggi: 102



Mostra profilo WWW E-mail
« Risposta #12 inserita:: Novembre 23, 2007, 05:35:16 pm »

Perchè lui legge come hd0 il primo hd su cui fai il boot, quindi durante l'installazione di grub
Codice:
root (hd1,1)
andava bene perchè avevi bootato con hda, poi nel bios invertendo i due hd sul menu.lst è restato logicamente il tuo (hd1,1) ma il bios e il grub lo vedevano come primo quindi hd0.
Registrato

ermac
Newbie
*

Karma: +0/-0
Scollegato Scollegato

Messaggi: 45



Mostra profilo
« Risposta #13 inserita:: Novembre 23, 2007, 07:09:35 pm »

OK TNK per la spiegazione scusa per tutte ste rotture sono nuovo di debian e altrettanto di linux ho usato per iniziare la fedora 8 mesi + o - ma ho deciso di pasare su qualcosa di + performante hehehe
Registrato
gash
Full Member
***

Karma: +1/-1
Scollegato Scollegato

Messaggi: 102



Mostra profilo WWW E-mail
« Risposta #14 inserita:: Novembre 23, 2007, 07:34:07 pm »

Parere personale ma penso visto la community in cui siamo condiviso, non c'è proprio storia tra le due.
Registrato

Pagine: [1]   Vai su
  Stampa  
 
Vai a:  

Altri Topic Correlati
Oggetto Aperta da Risposte Visite Ultimo messaggio
[risolto]initrd + scsi + niubbo = disastro Kernel hal9000 5 896 Ultimo messaggio Marzo 21, 2006, 05:55:53 am
da hal9000
Problemi vari in Debian.. Aiuto sono NIUBBO!! Hardware « 1 2 » massi1984 24 1700 Ultimo messaggio Marzo 25, 2007, 04:15:38 am
da massi1984
Niubbo-Problemi Asus pro31j Laptop Adam 1 329 Ultimo messaggio Luglio 31, 2007, 11:10:26 am
da Finn
[RISOLTO]Problemi con l'installazione del grub Hardware Nirvana 8 392 Ultimo messaggio Novembre 26, 2007, 03:12:40 pm
da Nirvana
[risolto]: problemi con grub Kernel menmar 5 522 Ultimo messaggio Giugno 15, 2008, 07:12:44 am
da marbel
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC XHTML 1.0 valido! CSS valido!
Pagina creata in 0.102 secondi con 20 interrogazioni al database.