Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO]grub
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
betamatteo
n00b
n00b


Joined: 30 May 2007
Posts: 42

PostPosted: Fri Jun 29, 2007 3:34 pm    Post subject: [RISOLTO]grub Reply with quote

grazie, il problema era proprio fstab.

betamatteo




ciao,
ho deciso di installare gentoo dal cd minimale, non riesco ad andare avanti.
nell'installazione di grub ho saltato la parte di configurazione del framebuffer, mi sembrava fosse una scelta opzionale.
quello che succede è che al boot la prima schermata con la scelta del SO da avviare non c'è, dopo i 30" si avvia ma le righe sono illegibili, lo schermo è sgranato.
ho spento con l'interruttore del computer.
ho riavviato e, prima che partisse gentoo, ho premuto la freccia "giù" e si è avviato windows.


intanto vi mando la configurazione di grub.conf per vedere se va bene.
Quote:
default 0
timeout 30
splashimage=(hd0,4) /boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.20-r8
root (hd0,4)
kernel /boot/kernel-genkernel-x86-2.6.20-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda7
initrd /boot/initramfs-genkernel-x86-2.6.20-gentoo-r8

title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

il partizionamento è questo
Code:
  Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1614    12964423+   7  HPFS/NTFS
/dev/hda2            1615        4004    19197675    c  W95 FAT32 (LBA)
/dev/hda3            4005        4864     6907950    5  Extended
/dev/hda5   *        4005        4009       40131   83  Linux
/dev/hda6            4010        4072      506016   82  Linux swap / Solaris
/dev/hda7            4073        4864     6361708+  83  Linux


grazie

betamatteo


Last edited by betamatteo on Sat Jun 30, 2007 7:28 am; edited 1 time in total
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Fri Jun 29, 2007 3:38 pm    Post subject: Re: grub Reply with quote

Il problema è qui:
Code:

splashimage=(hd0,4) /boot/grub/splash.xpm.gz


C'è uno spazio di troppo dopo (hd0,4), per cui GRUB non riesce a caricare correttamente l'immagine dello splashscreen, e pertanto vedi tutte schifezze :P

Soluzioni: o rimuovi/commenti la riga (e avrai una schermata di GRUB nera con scritte grigie, sobria ma leggibile 8) ) o correggi la riga :wink:
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Sw0rdmast3r
n00b
n00b


Joined: 16 Jun 2007
Posts: 46

PostPosted: Fri Jun 29, 2007 3:39 pm    Post subject: Reply with quote

Basta mettere #(e quindi commentare) [code]splashimage=(hd0,4) /boot/grub/splash.xpm.gz[code][/code]
_________________
EnTeR ThE MaTrIx
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Fri Jun 29, 2007 4:01 pm    Post subject: Reply with quote

Oppure assicurarsi che l'immagine esista e levare quello spazio di troppo... Scen, che occhio!! :wink:
Back to top
View user's profile Send private message
betamatteo
n00b
n00b


Joined: 30 May 2007
Posts: 42

PostPosted: Fri Jun 29, 2007 4:02 pm    Post subject: Reply with quote

grazie, risolto con l'eliminazione dello spazio di troppo dopo (hd0,4).
adesso però ho un altro problema, ma per postarlo devo sapere in quale file ci sono le informazioni che da al boot, altrimenti mi tocca scriverle a mano e poi postarle.
Back to top
View user's profile Send private message
betamatteo
n00b
n00b


Joined: 30 May 2007
Posts: 42

PostPosted: Fri Jun 29, 2007 6:15 pm    Post subject: Reply with quote

ci provo,
alla fine del boot:
Code:
fsck.ext3:no suckfile or directory while trying to open /dev/ROOT
/dev/ROOT:
the superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or nfs or something else), then the superblock is corrupt, and you might try running e2fsck mith an alternate superblock:
e2fsck -b 8193 <device>

* filesystem  couldn't be fixed : (
Give root password for maintenance
or type Control-D to continue):

la password che ho usato in fase d'installazione non la riconosce.
ctrl-d riavvia il computer
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4787
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sat Jun 30, 2007 3:59 am    Post subject: Reply with quote

betamatteo wrote:
ci provo,
alla fine del boot:
Code:
/dev/ROOT ...


devi sistemare il file /etc/fstab.
e metterci il nome vero della tua partizione di root, al posto di quello generico del manuale.

leggi `man fstab`. o qualcosa trovato con google.

dopo, eventualmente, riprendi in un nuovo thread:
a quel punto della procedura di avvio, il boot è già avvenuto e non sei più alle prese con un problema di grub.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum