View previous topic :: View next topic |
Author |
Message |
widu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/70252456340e45e2b852bd.jpg)
Joined: 05 Jun 2004 Posts: 333 Location: Freiburg
|
Posted: Sun Aug 29, 2004 4:07 pm Post subject: is this a grub problem? |
|
|
Long story:
I Deleted a few partitions , wich had nothing to do with the running system and on a different harddisk. (It was a second gentoo on hdb)
but since I did that, my grub menu doesn't show up anymore, but boots the default kernel on a distorted screen, wich swiches back to normal during startup.
I've allready searched the forums, but everything mentioned there doesn't help (or at least everything I found).
The grub config shouldn't be the problem because I didn't change it befor or after the problem occured. Anyway here are the relevant parts of my grub.conf:
Code: | timeout 10
default 0
splashimage=(hd1,0)/grub/splash.xpm.gz
#Gentoo-Neu
title gentoo-Neu-2.6.8-r3
root (hd2,0)
kernel (hd2,0)/kernel-2.6.8-gentoo-r3 root=/dev/sda3
|
I tried to write a boot floppy, but I had to notice that grub couldn't find the floppy drive, because /dev/fd0 is missing suddenly. I'v got absolutly no Idea how this can happen (and as well none how to correct it).
To chek if its a hardware-problem, I booted knoppix. And there grub could find the floppy. So I made a new boot floppy in knoppix this way:
Code: |
#grub
grub>root (hd2,0)
grub>setup (fd0)
|
grub installed without an error. And I'm pretty sure that (hd2,0) is the right one (i checked it with tab completion in grub and looking on the "layout" of hd0 hd1 and hd2)
Just in case it could matter:
hd0 and hd1 are ide-drives (hda and hdb)
hd2 is a sata-drive wich shows up as /dev/sda
Well my sytem boots, but I do want my grub menu back and as well my floppy. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54830 Location: 56N 3W
|
Posted: Sun Aug 29, 2004 4:19 pm Post subject: |
|
|
widu,
At a guess, I'd say you have been messing with hdb1, which is where your splash image was. From your post Code: | splashimage=(hd1,0)/grub/splash.xpm.gz |
Its not clear where your /boot partition is/was but it may have been hdb1, which would be in line with the splash image being there.
Many strange things happen during the boot process. The filenames are not always used to find things. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
widu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/70252456340e45e2b852bd.jpg)
Joined: 05 Jun 2004 Posts: 333 Location: Freiburg
|
Posted: Sun Aug 29, 2004 4:46 pm Post subject: |
|
|
Thanks NeddySeagoon, thanks, thanks, thanks.
Indeed hd1,0 was the leftover boot-partition of the old gentoo i deleted. I changed it to hd2,0 wich is /boot and everything is pure eycandy again .I think I could have fooled around for another few hours without noticing this fault.
But the problem that my floppy is gone has got nothing to do with this and still remains, but that's another thing and i will try reading the manpages of mknod.
thanks again
widu |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54830 Location: 56N 3W
|
Posted: Sun Aug 29, 2004 5:15 pm Post subject: |
|
|
widu,
Don't mess with mknod.
Door
to see if its being detected at startup.
If it wasn't found devfsd won't make the /dev/fd0 entry.
Maybe its really faulty. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
widu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/70252456340e45e2b852bd.jpg)
Joined: 05 Jun 2004 Posts: 333 Location: Freiburg
|
Posted: Sun Aug 29, 2004 5:30 pm Post subject: |
|
|
dmesg | grep fd shows nothing, so you're right that the floppy is not beeing detected at startup.this could be the problem of a new kernel I compiled last week (but it was only an update and the same config). I'm gonna try the old one. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
widu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/70252456340e45e2b852bd.jpg)
Joined: 05 Jun 2004 Posts: 333 Location: Freiburg
|
Posted: Sun Aug 29, 2004 5:47 pm Post subject: |
|
|
just booted the old kernel and everything is okay.
I really know why i wanted my grub menu back. I'm again and again pleased that you can boot every kernel thats sitting anywhere in your filesytem without changing a single config.
Now I'll have to look at the kernel config again, but no more today. I'm going back to the real world for this evening.
I wish you a nice evening and thanks for your help
widu |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|