View previous topic :: View next topic |
Author |
Message |
XLimaX n00b
Joined: 27 Nov 2002 Posts: 6 Location: Netherlands
|
Posted: Wed Nov 27, 2002 11:09 pm Post subject: GRUB sucks |
|
|
I`m like a total n00b but still I understand when there are dozens of posts that say grub sucks and when I have numerously tried to configure it right.... it does really suck.
I have that anoying error: filesystem type unknown, partition type 0x7
and this is how my partition table looks like:
hda1= ntfs
hda5=boot
hda6=swap
hda3=root
now.... why wouldn`t it work?
and yes, I have read most other posts, but they don`t help |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Nov 27, 2002 11:14 pm Post subject: Re: GRUB sucks |
|
|
XLimaX wrote: | I`m like a total n00b but still I understand when there are dozens of posts that say grub sucks and when I have numerously tried to configure it right.... it does really suck. |
Do you think the people who have no trouble with GRUB at all would normally take the time to post "I don't have any problems. I just wanted to say that GRUB doesn't suck."? Perhaps you are seeing skewed samples.
There is lots of GRUB documentation hanging off https://forums.gentoo.org/faq.php#10. If none of that helps you, it would be nice to know the filesystem types you are using and the exact procedure you used to attempt to install GRUB. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
gentoouser n00b
Joined: 27 Nov 2002 Posts: 12
|
Posted: Wed Nov 27, 2002 11:23 pm Post subject: GRUB sucks |
|
|
Grub isn't recognizing what type of file system you have.
Did you select the file type after you partitioned your hard drive? Look http://www.gentoo.org/doc/en/gentoo-x86-install.xml under partition configuration.
Did you select devfs under file systems when you configured your kernel?
If you did that then when you login:
grub> kernel /boot/bzImage
grub> boot
is all you should have to do to login. |
|
Back to top |
|
|
gentoouser n00b
Joined: 27 Nov 2002 Posts: 12
|
Posted: Wed Nov 27, 2002 11:39 pm Post subject: Re: GRUB sucks |
|
|
gentoouser wrote: | Grub isn't recognizing what type of file system you have.
Did you select the file type after you partitioned your hard drive? Look http://www.gentoo.org/doc/en/gentoo-x86-install.xml under partition configuration.
Did you select devfs and config_devfs_mount=y under file systems when you configured your kernel?
If you did that then when you login:
grub> kernel /boot/bzImage
grub> boot
is all you should have to do to login. |
|
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Nov 27, 2002 11:41 pm Post subject: Re: GRUB sucks |
|
|
XLimaX wrote: | I`m like a total n00b but still I understand when there are dozens of posts that say grub sucks and when I have numerously tried to configure it right.... it does really suck.
I have that anoying error: filesystem type unknown, partition type 0x7
and this is how my partition table looks like:
hda1= ntfs
hda5=boot
hda6=swap
hda3=root
now.... why wouldn`t it work?
and yes, I have read most other posts, but they don`t help |
Maybe we would be able to help you if you posted the contents of your /boot/grub/grub.conf file and the /etc/fstab file
Erik |
|
Back to top |
|
|
|the sys admin| n00b
Joined: 19 Nov 2002 Posts: 42 Location: Michigan
|
Posted: Thu Nov 28, 2002 12:01 am Post subject: |
|
|
I'm also having a problem with Grub. I just finished the base install of Gentoo from stage 1. Only took a few hours Anyways, when I boot up the machine and tell the bios to boot from the linux drive, it just prints "GRUB" all over the screen. It just keeps going and I have to ctrl-alt-del to reboot.
Heres what my grub menu file looks like
Code: | default 0
timeout 30
splashimage=(hd1,0) /boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd1,0)
kernal /boot/bzImage root=/dev/hdc1 cdrom0=ide-scsi
|
I followed the install document to the letter.
Could it be the "cdrom=ide-scsi" code?? I did that so that my burner would work.
TIA
[edit]
I removed the "cdrom=ide-scsi" code and it's still doing the same thing.
--Any Suggestions? _________________ Resistance Is Futile, Computers Rule! |
|
Back to top |
|
|
djoi n00b
Joined: 10 Nov 2002 Posts: 49
|
Posted: Thu Nov 28, 2002 2:24 am Post subject: |
|
|
GRUB sucks ?
Nope , coz it rockz....
Maybe the user sucks
The thing is , peepz mostly install it in the MBR but its alot better
(specially for dualboot) not to do that.
Install it in the Bootrecord of your Root Device or whatever.
the make an image of the bootrecord :
dd if=/dev/hda? of=/tmp/grubrock.bin bs=512 count=1
Then copy the file to C:\ ,or where your Windows Bootini exists.
cp /tmp/grubrocks.bin /mnt/win_c
Edit your Boot.ini on C:\ like this:
(Only add the bold line)
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\grubrock.bin="Me sucks I couldnt get it working (Gentoo rulez)"
Thats all you have to do.
From now on, you cant destroy your mbr anymore.
If you compile a new kernel , you have only to mount the /boot partition.
Copy the new kernel there and make an entry in grub.conf for it.
You dont have to touch the MBR or whatever anymore.
Better read the grub configuration in the install doc again.
This all is sooooooo easy.........
IMHo my mind is , its mostly the user he shouldnt use a program
where about he dont have the knowlegde.
So next time post here "I sucks...
Btw. with your information , nobody can help you.
Maybe you need a kerneloption or whatever or you messed with grub ..hehe
Greetz |
|
Back to top |
|
|
B_F_Skinner n00b
Joined: 02 Oct 2002 Posts: 71 Location: Seattle, Washington
|
Posted: Thu Nov 28, 2002 2:28 am Post subject: re: grub problems |
|
|
As for the first comment, I had a similar problem. (Make sure you have compiled support for all file systems into the kernel.) When this happened to me I carefully re-read the installation documentation and noticed that I forgot to do:
Code: | ln -s /boot/grub/grub.conf /boot/grub/menu.lst
*you need to have your /boot partition mounted to do this |
As for whether or not GRUB sucks, I don't know. It works for me. I like the advantage that I don't need to reinstall it every time I recompile my kernel (as I'm always doing because I keep getting new toys for my system).
As for the question about GRUB repeating over and over, I had this happen once with LILO, but have not had this experience with GRUB. What fixed in LILO was to re-write it to the proper boot sector. You could try reinstalling grub.
There are also third-party boot loaders for those with dual-boot machines that may work for you.
Good luck.
Last edited by B_F_Skinner on Thu Nov 28, 2002 2:31 am; edited 1 time in total |
|
Back to top |
|
|
djoi n00b
Joined: 10 Nov 2002 Posts: 49
|
Posted: Thu Nov 28, 2002 2:30 am Post subject: |
|
|
@ |the sys admin]
If this is really your grub.conf , then u should better change kernal to kernel
If this dont help , read again the part about : The most critical part of
understanding GRUB.......... in the install doc.
MAybe it should be root (hd0,0) or whatever..........
greetz |
|
Back to top |
|
|
|the sys admin| n00b
Joined: 19 Nov 2002 Posts: 42 Location: Michigan
|
Posted: Thu Nov 28, 2002 2:56 am Post subject: |
|
|
@djoi---Thank You SO much!!
It was that kernel word. I can now boot into my fresh new linux install (first successful install).
Now I get to spend the rest of the night getting X,KDE and whatnot installed.
Is there a way to sort of chain emerges??
i.e. When X is done emerging, then KDE will start emerging and then after that Fluxbox, etc??? _________________ Resistance Is Futile, Computers Rule! |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Thu Nov 28, 2002 3:23 am Post subject: |
|
|
Quote: | Is there a way to sort of chain emerges??
i.e. When X is done emerging, then KDE will start emerging and then after that Fluxbox, etc??? |
You can emerge as many things as you want at a time and X is obviously a requirement of KDE so the following would be enough:
|
|
Back to top |
|
|
djoi n00b
Joined: 10 Nov 2002 Posts: 49
|
Posted: Thu Nov 28, 2002 3:26 am Post subject: |
|
|
Quote: | Now I get to spend the rest of the night getting X,KDE and whatnot installed. |
Only [b]one[/] night ?
KDE 3.1 only needed ~ 20 - 24 h on my Athlon 1600+.
Ok i worked on other thing while i emerged it
To emerge some pakets at same time , change to another console
with "ALT + F1 ..F2 ..F3...." and emerge there the other things.
At first, i emerged on 4 consoles ..hehe
in chain : emerge Xfree fluxbox bbpager gnome kde mc ...etc.......... and
rest in peace
Imho its better to emerge Xfree and then fluxbox , before kde.
So you have a working WM before.
The first thing i did was :
Changed USE in /etc/make.defaults to USE="-gnome -kde" .
then i emerged Midnight Commander with "emerge mc" (otherwise with
it want too much imho useless stuff which take a bit of time ).
emerge -p mc tell you what it need.
Imho ,I prefer a filemanager as editor for the first time.
After i got Midnight Commander running , i deleted the -gnome -kde and
emerged them later. Only for the apps , coz i prefer fluxbox too .
Greetz , good luck |
|
Back to top |
|
|
XLimaX n00b
Joined: 27 Nov 2002 Posts: 6 Location: Netherlands
|
Posted: Thu Nov 28, 2002 9:14 am Post subject: |
|
|
I stand by what I said, grub sucks.
I have tried all the things you suggest here, but it still won`t work...
anyway... I can`t get to my linux partition, only that cdromimage thing, that`s frustrating
I`m thinking about doing the install all over.... |
|
Back to top |
|
|
Exci Apprentice
Joined: 12 Jul 2002 Posts: 265 Location: The Netherlands, Zoetermeer
|
Posted: Thu Nov 28, 2002 10:05 am Post subject: |
|
|
I think it's a bit to easy to say grub sucks.
When I don't get something to work and there isn't much complaining about it on the forums, I alway think .. damn I suck |
|
Back to top |
|
|
fot_of_the_ape n00b
Joined: 25 Oct 2002 Posts: 3 Location: sweden (gothenburg)
|
Posted: Fri Nov 29, 2002 2:41 pm Post subject: |
|
|
i have problems with GRUB too...
i dont see any menu, i only see the "grub >" prompt..and from ther i can enter gentoo by typing the "root" and "kernel" commands
... strange must be writing something wrong in the grub.conf file.....
but i cant blame GRUB for that, its not grub who is making wrong; its me. terrible to say but thats the cold truth
i almost forgot! anyone know how too boot windows from grub command prompt? (i think my olkd mandrake has messedup my hda (windows))
huh.. |
|
Back to top |
|
|
Exci Apprentice
Joined: 12 Jul 2002 Posts: 265 Location: The Netherlands, Zoetermeer
|
Posted: Fri Nov 29, 2002 2:57 pm Post subject: |
|
|
try to make a symlink from grub.conf to menu.lst
maybe you still have the old grub that still searches for menu.lst |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 29, 2002 7:20 pm Post subject: |
|
|
We have had several reports of people that couldn't get GRUB to understand symlinks for its conf files - try a hard link instead if that doesn't work. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Fri Nov 29, 2002 8:34 pm Post subject: |
|
|
if grub sux, why not emerge lilo ? and then just like configure it like you usually do and lilo. ure done, thats what i did first time, i installed grub succesfully but i didnt like the splashimage, it like takes 0.3 secs for it to load, gotta set the right screen settings and such, i just want the text to scroll by like lilo
the sys admin, how come you cant destroy the mbr? after you do what you say?
dd if=/dev/zero of=/dev/hda bs=512 count=1
or fdisk /mbr if you are not a RealUser(TM) _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
perry Tux's lil' helper
Joined: 18 Nov 2002 Posts: 142 Location: Cornfields of Indiana
|
Posted: Fri Nov 29, 2002 9:39 pm Post subject: |
|
|
nano wrote: | if grub sux, why not emerge lilo ? |
That's what I did! I didn't like having to type in "kernel blah blah blah" each time Grub started, didn't feel like figuring out how to fix it, so I just switched to lilo. No I have a pretty little window that appears right after I boot, and if I don't touch it, Gentoo starts to boot 5 seconds later. I've always used lilo in the past, it's worked, I know how to make it work, so I just kept on using it. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Nov 29, 2002 10:16 pm Post subject: |
|
|
I think that this thread is turning on a chat thread... maybe GRUB is too powerful and flexibile for most users, what sometimes makes it too hard to install (at least at the first time). Anyway, advanced users will love the flexibility and the capacity of fixing stuff when things get broken. You can even boot using kernels stored elsewhere in the network.
Maybe it is the case of programming a grub wizard for the people that cannot handle it yet. Linuxconf did that in Conectiva GNU/Linux, for example.
But you saying "grub sucks", it is just like some windoze user saying that Linux sucks just because he cannot make it work. If you think it sucks, that's OK. If you want help with it, I'd suggest you should try posting with titles like the one rac suggested. No flame intendend.
See also this thread about strange thread titles if you would like to justify your choice for this title. |
|
Back to top |
|
|
|the sys admin| n00b
Joined: 19 Nov 2002 Posts: 42 Location: Michigan
|
Posted: Sat Nov 30, 2002 5:08 pm Post subject: |
|
|
Quote: | the sys admin, how come you cant destroy the mbr? after you do what you say?
dd if=/dev/zero of=/dev/hda bs=512 count=1 icon_wink.gif
or fdisk /mbr if you are not a RealUser(TM) |
Yeah, I did the dd if=.....and now it works awesome. So I use windows bootloader to get into the grub loader, and from their either windows or linux . If I wanted I could set up a whole friggin loop
Anyways, now I have problems trying to get X to work, I have a nice thread in the Desktop Environment section. _________________ Resistance Is Futile, Computers Rule! |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Sat Nov 30, 2002 7:53 pm Post subject: |
|
|
|the sys admin| wrote: | Quote: | the sys admin, how come you cant destroy the mbr? after you do what you say?
dd if=/dev/zero of=/dev/hda bs=512 count=1 icon_wink.gif
or fdisk /mbr if you are not a RealUser(TM) |
Yeah, I did the dd if=.....and now it works awesome. So I use windows bootloader to get into the grub loader, and from their either windows or linux . If I wanted I could set up a whole friggin loop
Anyways, now I have problems trying to get X to work, I have a nice thread in the Desktop Environment section. | dd if=/dev/zero of=/dev/hda bs=512 count=1 should like write zeros (NULL, 0, nilch, nada) of the first 512 bytes of your hda. that is, that command should_ as far as i know make all your first 512 bytes of your hda to zeros. zero it out. it will then loose ALL of the partiotion/filesystem info. everything! next time you reboot, your bios will tell you os missing or similiar. when you run fdisk it will have to write a whole new table. and you will ofcourse loose your existing, the command above zeros out the mbr, even if you have done what you told. nothin can stop it! >: D as fdisk /mbr it writes the winloader to the mbr and te partitiontable as it knows it. the dd ... command worked for me
got my system screwed to the max once, had data i didnt needed and fooled around with a new partitiontable sence i wasent pleased with the one i have, an just for truing it out i did. after that command then started fdisk and it told me that there was no p-table on the mbr, whould you like to write a new one, sure i said. (i did that from a gentoo 1.2 install cd ; ) _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
|the sys admin| n00b
Joined: 19 Nov 2002 Posts: 42 Location: Michigan
|
Posted: Sat Nov 30, 2002 10:04 pm Post subject: |
|
|
Well, I think I screwed up in some things again, so i'm probably gonna REINSTALL Gentoo yet again next week. Oh well, it only takes a weekend for the base system I found out _________________ Resistance Is Futile, Computers Rule! |
|
Back to top |
|
|
maystorm Apprentice
Joined: 02 Jun 2002 Posts: 222 Location: Germany, not far away
|
Posted: Sat Nov 30, 2002 11:58 pm Post subject: |
|
|
nano wrote: | if grub sux, why not emerge lilo ? [...] |
Isn't that the beauty of Linux in general and Gentoo in particular that you can choose freely? _________________ Linux user #216018 |
|
Back to top |
|
|
Lasker Guru
Joined: 17 Jul 2002 Posts: 445
|
Posted: Sun Dec 01, 2002 12:16 am Post subject: |
|
|
Exci wrote: | maybe you still have the old grub that still searches for menu.lst |
My grub is the newest ebuild available: It's grub-0.90-r7
(A more recent version is -0.92 according to ftp://alpha.gnu.org/gnu/grub/ )
and it still needs the symlink to menu.lst
BTW: Grub-0.90-r7 don't seem to recognize reiserfs on /boot
While I get more and more comfortable with Grub, I'll never understand, why they need to introduce their own syntax, this (hd0,0) stuff.
Is this funky? Is this useful?
But I understand: Grub is holy and I'ld shut up quite quickly now... |
|
Back to top |
|
|
|