| View previous topic :: View next topic |
| Author |
Message |
MALDATA n00b

Joined: 07 Apr 2011 Posts: 15
|
Posted: Tue Jan 24, 2012 3:08 pm Post subject: |
|
|
| 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 |
|
 |
MALDATA n00b

Joined: 07 Apr 2011 Posts: 15
|
Posted: Wed Jan 25, 2012 3:17 am Post subject: |
|
|
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 |
|
 |
dwbowyer Tux's lil' helper

Joined: 18 Apr 2008 Posts: 139
|
Posted: Tue Feb 07, 2012 2:51 am Post subject: |
|
|
| 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 |
|
 |
MALDATA n00b

Joined: 07 Apr 2011 Posts: 15
|
Posted: Tue Feb 07, 2012 4:47 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|