View previous topic :: View next topic |
Author |
Message |
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Tue Jan 27, 2004 6:05 am Post subject: Grub.conf --- I don't understand it:Solved |
|
|
in the tutorial, it shows
Quote: | title=My example Gentoo Linux
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda3
|
and well, I don't understand the (hd0,0) if its hard drive 0 or 1 (doesn't matter I think) why is the second 0 there?
could someone please explain this.. _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Last edited by Rukie on Wed Jan 28, 2004 1:22 am; edited 1 time in total |
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Tue Jan 27, 2004 6:07 am Post subject: |
|
|
by the way, my setup is
Quote: | /dev/hda1 1 14 105808+ 83 Linux
/dev/hda2 15 81 506520 82 Linux swap
/dev/hda3 82 3876 28690200 83 Linux
|
the sizes are inconsistent, but I do hve my Linux boot partition...
also, grub was installed onthe MBR fromwhat I know.. please tell me what info I forgot hehe.
so if you could, explain how my grub.conf would be setup.. _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Tue Jan 27, 2004 6:26 am Post subject: |
|
|
by the way, the reason I want to understand this more indepth.. is so I can solve the problem I'm having..
Quote: | Booting 'Gentoo Linux'
root (hd0,0)
Filesystem type is ext3fs, partition type 0x83
kernel (hd0,0)/boot/bzImage root=dev/hda3
Error 15: File not found
Press any key to continue... | and this comes right after the grub screen where I select what I want to boot.. _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Tue Jan 27, 2004 8:02 am Post subject: Re: Grub.conf --- I don't understand it |
|
|
Rukie wrote: | in the tutorial, it shows
Quote: | title=My example Gentoo Linux
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda3
|
and well, I don't understand the (hd0,0) if its hard drive 0 or 1 (doesn't matter I think) why is the second 0 there?
could someone please explain this.. |
In grub: hd0 = the very first HDD on the system, usu. the master in IDE channel 1
The next "0" is the partition on that hard drive that bears your boot partition.
If you have Windows XP installed, for instance on the first part of the hard drive (or on the first hard drive like I do), then it would look something like this:
Code: |
title=Gentoo 2.6.1-gentoo
root (hd1,0)
kernel (hd1,0)/vmlinuz-2.6.1-gentoo /root=/dev/hdb3
|
Actually, as you can see from mine, I have gentoo on a separate drive (hd1), and it's boot partition is the first partition on the hard drive, (start counting from "0").
My (hd0,0) is like this:
Code: |
title=Windows XP Professional
root (hd0,0)
chainloader +1
|
So winxp is on the first partition on the first HDD. _________________ http://dkap.info |
|
Back to top |
|
|
nE0 Tux's lil' helper
Joined: 08 Aug 2002 Posts: 146 Location: The Netherlands, Breda
|
Posted: Tue Jan 27, 2004 8:06 am Post subject: |
|
|
In addition: Whith this button you can edit your post.
So you don't have to post 4 messages. _________________ All things considerring! I'm considerring to...never mind! |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Tue Jan 27, 2004 8:07 am Post subject: |
|
|
Rukie wrote: | by the way, the reason I want to understand this more indepth.. is so I can solve the problem I'm having..
Quote: | Booting 'Gentoo Linux'
root (hd0,0)
Filesystem type is ext3fs, partition type 0x83
kernel (hd0,0)/boot/bzImage root=dev/hda3
Error 15: File not found
Press any key to continue... | and this comes right after the grub screen where I select what I want to boot.. |
The file doesn't exist. Are you sure that the file named "bzimage" exists on hd0, partition 0? This could be something simple like you failed to mount boot when you (re)compiled your kernel, so you copied your bzimage to the wrong boot partition. Or, the kernel you are pointing to is named something else.
Go into the liveCD, remount your boot partition and check the file, then edit grub.conf to point to the right file. Should work. _________________ http://dkap.info |
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Tue Jan 27, 2004 9:18 pm Post subject: |
|
|
alright.. thx _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Tue Jan 27, 2004 9:36 pm Post subject: |
|
|
alright.. I feel like such an idiot lol.. problem fixed.. bu tnow I have
Quote: | modprobe: Can't locate module /dev/ROOT
fsck.ext3: No such file or directory while trying to open /dev/ROOT
dev/ROOT:
The superblock could not be read or does nto describe a correct ext2 filesystem. If the device is valid and it really contrains an ext2 filesystem (and not swap or ufs or somethign else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
*Filesystem couldn't be fixed |
would that be grub or somethign else? I'm thinking something else heh
i checked my /etc/fstab file and i forgot to change /dev/ROOT to /dev/hda3 hehe so problem solved _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
|
|
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
|
|