Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel lines in grub.conf don't appear in grub
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MALDATA
n00b
n00b


Joined: 07 Apr 2011
Posts: 15

PostPosted: Tue Jan 24, 2012 3:08 pm    Post subject: Reply with quote

Quote:
Have you try to umount the boot partition (umount /boot) and see what is the contain of the /boot directory (ls -a /boot) when nothing is mounted in?


Yep. In fact, that was Jaglover's first reply also. I gave it a try, but there's nothing in /boot when it's not mounted.
Back to top
View user's profile Send private message
MALDATA
n00b
n00b


Joined: 07 Apr 2011
Posts: 15

PostPosted: Wed Jan 25, 2012 3:17 am    Post subject: Reply with quote

I tried a couple simple things... my grub menu has a listing for Windows, so in /boot I did a grep for that to see if maybe there were multiple files in there that grub might be looking at.

Code:
# grep -r Windows *
grep: warning: boot/boot: recursive directory loop
boot/grub/grub.conf:title Windows XP Pro
boot/grub/menu.lst:title Windows XP Pro
grub/grub.conf:title Windows XP Pro
grub/menu.lst:title Windows XP Pro


Since boot is a symlink to ./ and grub/menu.lst is a symlink to grub.conf, all these things in the list are the same file. By the way, those symlinks were made by the system, I didn't set it up that way.

Anyway, if I change the name in the Windows title line to something else, the change is not shown in the grub menu on a reboot. So, grub has to be getting its information from a different file. Anyone know if there's a way to ask grub which file it's reading?
Back to top
View user's profile Send private message
dwbowyer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2008
Posts: 139

PostPosted: Tue Feb 07, 2012 2:51 am    Post subject: Reply with quote

MALDATA: Thinking about your LAST post, I am wondering, is there ANY possibility that you have another /boot partition, such as say a separate Ubuntu install on any drive in the PC? Could it be that the system boots from a different grub installation than the Gentoo one and thus you would have another /boot/grub/grub.conf that is being read?
Back to top
View user's profile Send private message
MALDATA
n00b
n00b


Joined: 07 Apr 2011
Posts: 15

PostPosted: Tue Feb 07, 2012 4:47 am    Post subject: Reply with quote

Hi all,

I figured out what happened. My /boot partition is a software raid1. But when I took a look at cat /proc/mdstat, only one of the two drives was there. It wasn't that one device had failed... it just wasn't there at all. I have no idea what happened. So I had to do
Code:

# mdadm --add /dev/md1 /dev/sda2

to add the other drive back in, it synced them, and then all of a sudden, everything was cool.

So I guess my only question now is why would a drive just get booted out of a raid array? And is there something I should have been doing to keep an eye on it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 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