Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sopleme
n00b
n00b


Joined: 25 Feb 2005
Posts: 12

PostPosted: Thu Mar 03, 2005 11:47 pm    Post subject: grub problems Reply with quote

thought i had it working buttttt guess not
Code:

grub conf file

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

title=Gentoo Linux
root (hd0,2)
kernel /boot/kernel-2.6.10-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdg3
initrd /boot/initrd-2.6.10-gentoo-r6

# Only in case you want to dual-boot
title=Windows XP
map (hd0) (hd2)
map (hd2) (hd0)
root (hd2,0)
rootnoverify (hd2,0)
makeactive
chainloader +1


well i redid the install because i was getting feed up with it not working thinking maybe doing it fresh would help well it didnt, i get the splash screen and all so i no its accessing that part of the drive. when i press enter to load gentoo i get this error
root(hd0,2)
filetype is reiserfs, partition type 0x83
kernel /boot/kernel-2.6.10-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdg3
error: 15 file cant be found
but the file is there iv used the live cd to goto the folder and check to see if its there and it is so i dont no what its talking about.... now if i change the roo(hd0,0) it will start to boot but then when it getts to the loading of the file system i will get this
block device /dev/hdg3 is not a valid root device...
please specify a device or a "shell" for a shell....

im almost positive that the fs is there.
when making the fs i used this command
mkreiserfs /dev/hdg3
and then went on with the install as usuall. my fstab looks like this
Code:


/dev/hdg1   /boot     ext2    defaults,noatime     1 2
/dev/hdg3   /         ext3    notail,noatime              0 0
/dev/hdg2   none      swap    sw                   0 0
/dev/cdroms/cdrom0    /mnt/cdrom    auto      noauto,user    0 0

none        /proc     proc    defaults             0 0
none        /dev/shm  tmpfs   nodev,nosuid,noexec  0 0



this is becoming a problem since i cant get into my windows boot up either and i have things on there that i need to use
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Thu Mar 03, 2005 11:50 pm    Post subject: Reply with quote

Code:
title=Gentoo Linux
root (hd0,2)
kernel /boot/kernel-2.6.10-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdg3
initrd /boot/initrd-2.6.10-gentoo-r6
root (hd0,2) should read root (hd0,0). Are you sure that your hard drive is /dev/hdg? That would make it the 7th ide drive. If grub reads it as (hd0) I would think it would be /dev/hda, making your root partition /dev/hda3. Could you post the output of fdisk -l on your system?
_________________
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Back to top
View user's profile Send private message
sopleme
n00b
n00b


Joined: 25 Feb 2005
Posts: 12

PostPosted: Fri Mar 04, 2005 12:10 am    Post subject: Reply with quote

here you go... and yes im sure its hdg lol i no its a long way down the line to explain why its on a ide controller.
Code:


Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1              1       24320   195350368+   7  HPFS/NTFS #this has windowsxp installed

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1              1       19456   156280288+   7  HPFS/NTFS

Disk /dev/hdg: 40.0 GB, 40020664320 bytes
16 heads, 63 sectors/track, 77545 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdg1   *           1          63       31720+  83  Linux
/dev/hdg2              64        1056      500472   82  Linux swap / Solaris
/dev/hdg3            1057       77545    38550456   83  Linux
Back to top
View user's profile Send private message
sopleme
n00b
n00b


Joined: 25 Feb 2005
Posts: 12

PostPosted: Fri Mar 04, 2005 12:13 am    Post subject: Reply with quote

root (hd0,2) should read root (hd0,0).
ii have tried it as that too t will start to boot but then when it gets to the loading of the file system i will get this
block device /dev/hdg3 is not a valid root device...
please specify a device or a "shell" for a shell....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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