Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi grub[RISOLTO]
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
mattylux
Apprentice
Apprentice


Joined: 19 Jul 2008
Posts: 240
Location: bologna

PostPosted: Sat Apr 04, 2009 2:33 pm    Post subject: problemi grub[RISOLTO] Reply with quote

Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.24-r5
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

# vim:ft=conf:
title Windows XP
rootnoverify (hd0,5)]
makeactive
chainloader +1

Code:
grub> root (hd0,0)
 Filesystem type unknown, partition type 0x7

grub> root (hd0,1)
 Filesystem type unknown, partition type 0x82

grub> root (hd0,5)
 Filesystem type is ext2fs, partition type 0x83

grub> set
 Possible commands are: setkey setupe

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... no

Error 15: File not found


non riesco a capire come fare partire windowzz e gentoo che cosa posso fare
_________________
persempre gentoo
il mio progetto in fase di lavoro
Http://stradedicarta.netsons.org


Last edited by mattylux on Mon Apr 06, 2009 6:59 am; edited 1 time in total
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Sat Apr 04, 2009 3:19 pm    Post subject: Reply with quote

ma fdisk -l cosa dice?
Back to top
View user's profile Send private message
mattylux
Apprentice
Apprentice


Joined: 19 Jul 2008
Posts: 240
Location: bologna

PostPosted: Sat Apr 04, 2009 3:24 pm    Post subject: Reply with quote

Code:


Disk /dev/hda: 120.0 GB, 120034123776 bytes
240 heads, 63 sectors/track, 15505 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xa57aa57a

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        4064    30723808+   7  HPFS/NTFS
/dev/hda2            4065        4196      997920   82  Linux swap / Solaris
/dev/hda3            4197        6783    19557720   83  Linux
/dev/hda4            6784       15505    65938320    5  Extended
/dev/hda5            6784        7819     7832128+  83  Linux
/dev/hda6            7820        8597     5881648+  83  Linux
/dev/hda7            8598        9246     4906408+  83  Linux
/dev/hda8            9247       11829    19527448+   7  HPFS/NTFS
/dev/hda9           11830       15505    27790528+   b  W95 FAT32

_________________
persempre gentoo
il mio progetto in fase di lavoro
Http://stradedicarta.netsons.org
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


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

PostPosted: Sat Apr 04, 2009 4:04 pm    Post subject: Re: problemi grub Reply with quote

mattylux wrote:
Code:

title Windows XP
rootnoverify (hd0,5)]

non riesco a capire come fare partire windowzz e gentoo che cosa posso fare

davvero hai copiato con il taglia incolla questo codice?
e se sì, ti sei preoccupato di leggerlo, prima di postare'?
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
grifone87
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2005
Posts: 81
Location: Rome, Italy

PostPosted: Sat Apr 04, 2009 7:48 pm    Post subject: Re: problemi grub Reply with quote

mattylux wrote:
Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.24-r5
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

# vim:ft=conf:
title Windows XP
rootnoverify (hd0,5)]
makeactive
chainloader +1



Come puoi leggere qui (dove peraltro hai preso il codice) la riga root (hd0,0) deve indicare la partizione dove si trova l'immagine del kernel, quindi dipende da come hai partizionato il disco e dove monti queste partizioni. Dall'output di fdisk (hd0,0)=/dev/hda1 è una partizione NTFS, quindi è sbagliata. Stesso discorso per (hd0,5)=/dev/sda6 che è una partizione Linux e non Windows.
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1415
Location: <ud|me|ts> - Italy

PostPosted: Sat Apr 04, 2009 7:52 pm    Post subject: Reply with quote

sarebbe molto utile conoscere il contenuto del file /etc/fstab
_________________
LP
Back to top
View user's profile Send private message
mattylux
Apprentice
Apprentice


Joined: 19 Jul 2008
Posts: 240
Location: bologna

PostPosted: Mon Apr 06, 2009 6:59 am    Post subject: Reply with quote

risolto dovevo soltanto moficare delle cose nel grub.conf ma ora gentoo e vivo...

Code:
default 0
timeout 30
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.24-r5
root (hd0,2)
kernel /boot/kernel-genkernel-x86-2.6.27-gentoo-r8 root=/dev/ram0 real_root=/dev/hda3
initrd /boot/initramfs-genkernel-x86-2.6.27-gentoo-r8

# vim:ft=conf:
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1


grazie comunque
_________________
persempre gentoo
il mio progetto in fase di lavoro
Http://stradedicarta.netsons.org
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