Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB sucks
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
XLimaX
n00b
n00b


Joined: 27 Nov 2002
Posts: 6
Location: Netherlands

PostPosted: Wed Nov 27, 2002 11:09 pm    Post subject: GRUB sucks Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Nov 27, 2002 11:14 pm    Post subject: Re: GRUB sucks Reply with quote

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
View user's profile Send private message
gentoouser
n00b
n00b


Joined: 27 Nov 2002
Posts: 12

PostPosted: Wed Nov 27, 2002 11:23 pm    Post subject: GRUB sucks Reply with quote

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
View user's profile Send private message
gentoouser
n00b
n00b


Joined: 27 Nov 2002
Posts: 12

PostPosted: Wed Nov 27, 2002 11:39 pm    Post subject: Re: GRUB sucks Reply with quote

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
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Nov 27, 2002 11:41 pm    Post subject: Re: GRUB sucks Reply with quote

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
View user's profile Send private message
|the sys admin|
n00b
n00b


Joined: 19 Nov 2002
Posts: 42
Location: Michigan

PostPosted: Thu Nov 28, 2002 12:01 am    Post subject: Reply with quote

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
View user's profile Send private message
djoi
n00b
n00b


Joined: 10 Nov 2002
Posts: 49

PostPosted: Thu Nov 28, 2002 2:24 am    Post subject: Reply with quote

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...

:D :D :D

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
View user's profile Send private message
B_F_Skinner
n00b
n00b


Joined: 02 Oct 2002
Posts: 71
Location: Seattle, Washington

PostPosted: Thu Nov 28, 2002 2:28 am    Post subject: re: grub problems Reply with quote

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
View user's profile Send private message
djoi
n00b
n00b


Joined: 10 Nov 2002
Posts: 49

PostPosted: Thu Nov 28, 2002 2:30 am    Post subject: Reply with quote

@ |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
View user's profile Send private message
|the sys admin|
n00b
n00b


Joined: 19 Nov 2002
Posts: 42
Location: Michigan

PostPosted: Thu Nov 28, 2002 2:56 am    Post subject: Reply with quote

@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
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Thu Nov 28, 2002 3:23 am    Post subject: Reply with quote

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:
Code:

emerge kde fluxbox
Back to top
View user's profile Send private message
djoi
n00b
n00b


Joined: 10 Nov 2002
Posts: 49

PostPosted: Thu Nov 28, 2002 3:26 am    Post subject: Reply with quote

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
View user's profile Send private message
XLimaX
n00b
n00b


Joined: 27 Nov 2002
Posts: 6
Location: Netherlands

PostPosted: Thu Nov 28, 2002 9:14 am    Post subject: Reply with quote

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 8O
I`m thinking about doing the install all over....
Back to top
View user's profile Send private message
Exci
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 265
Location: The Netherlands, Zoetermeer

PostPosted: Thu Nov 28, 2002 10:05 am    Post subject: Reply with quote

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
View user's profile Send private message
fot_of_the_ape
n00b
n00b


Joined: 25 Oct 2002
Posts: 3
Location: sweden (gothenburg)

PostPosted: Fri Nov 29, 2002 2:41 pm    Post subject: Reply with quote

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 :roll:


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
View user's profile Send private message
Exci
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 265
Location: The Netherlands, Zoetermeer

PostPosted: Fri Nov 29, 2002 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Nov 29, 2002 7:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Fri Nov 29, 2002 8:34 pm    Post subject: Reply with quote

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 :D

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
View user's profile Send private message
perry
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2002
Posts: 142
Location: Cornfields of Indiana

PostPosted: Fri Nov 29, 2002 9:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Fri Nov 29, 2002 10:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
|the sys admin|
n00b
n00b


Joined: 19 Nov 2002
Posts: 42
Location: Michigan

PostPosted: Sat Nov 30, 2002 5:08 pm    Post subject: Reply with quote

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 :D . 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
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Sat Nov 30, 2002 7:53 pm    Post subject: Reply with quote

|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 :D . 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
View user's profile Send private message
|the sys admin|
n00b
n00b


Joined: 19 Nov 2002
Posts: 42
Location: Michigan

PostPosted: Sat Nov 30, 2002 10:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
maystorm
Apprentice
Apprentice


Joined: 02 Jun 2002
Posts: 222
Location: Germany, not far away

PostPosted: Sat Nov 30, 2002 11:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lasker
Guru
Guru


Joined: 17 Jul 2002
Posts: 445

PostPosted: Sun Dec 01, 2002 12:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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