Advertisement

Grub

Started by November 10, 2003 02:07 PM
1 comment, last by yves032784 20 years, 11 months ago
Well, as of always, im always messing around with different OSs and this time i decided to give Gentoo linux a shot. Anyways, as a linux newbie, i went along with stage 3. Everything thing went alright AFAIK, except for one thing. GRUB. Looks like i entered the wrong configurations in grub.conf, and i did RTFM. The difference between my system and the manual is that i have a copy of windows running on a partition. Here is my /dev/hda (the only hard drive i have installed on my pc) info (from fdisk):

   device  boot  start  End    Blocks     Id  System
/dev/hda1   *    1      9160   73577668+  7   HPFS/NTFS
/dev/hda2        9161   9964   6458130    f   Win95 Ext'd (LBA)
/dev/hda5        9161   9925   6144831    83  Linux
/dev/hda6        9926   9964   313236     82  Linux swap
 
btw, i installed linux kernel 2.4.20 and if you're curious my specs are AthlonXP 2200+ 256mb DDR 80 gig hd ATI Radeon 7000 agp 4x 64mb ddr So what am I supposed to enter in grub.conf? [edited by - yves032784 on November 10, 2003 3:08:23 PM]
quote: Original post by yves032784
Well, as of always, im always messing around with different OSs and this time i decided to give Gentoo linux a shot. Anyways, as a linux newbie, i went along with stage 3. Everything thing went alright AFAIK, except for one thing. GRUB. Looks like i entered the wrong configurations in grub.conf, and i did RTFM. The difference between my system and the manual is that i have a copy of windows running on a partition. Here is my /dev/hda (the only hard drive i have installed on my pc) info (from fdisk):
   device  boot  start  End    Blocks     Id  System/dev/hda1   *    1      9160   73577668+  7   HPFS/NTFS/dev/hda2        9161   9964   6458130    f   Win95 Ext'd (LBA)/dev/hda5        9161   9925   6144831    83  Linux/dev/hda6        9926   9964   313236     82  Linux swap   

btw, i installed linux kernel 2.4.20
and if you're curious my specs are
AthlonXP 2200+
256mb DDR
80 gig hd
ATI Radeon 7000 agp 4x 64mb ddr

So what am I supposed to enter in grub.conf?

[edited by - yves032784 on November 10, 2003 3:08:23 PM]



root (hd0,4)
kernel /vmlinuz-[version of kernel] ro root=/
-optional * if you need an initrd, it goes here. Otherwise, save and that's it * optional -

initrd /initrd-[version of kernel].img

save that and reboot. No need to re-setup grub.


[Cyberdrek | the last true sorcerer | Spirit Mage - mutedfaith.com][ Administrator & WebMaster GuLSE]

[edited by - cyberdrek on November 13, 2003 3:20:23 PM]
[Cyberdrek | ]
Advertisement
That won''t give you an option to boot up windows. Read up on gnu.org. Look for grub and it has a whole bunch of sample grub.conf''s.

The official zorx website
Zorx (a Puzzle Bobble clone)Discontinuity (an animation system for POV-Ray)

This topic is closed to new replies.

Advertisement