Re: grub can't find new F12 install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark LaPierre wrote:
> sean darcy wrote:
>> I have an old F9 production remote server. I put in a new hard disk - 
>> sdb - and installed F12.
>>
>> I want to be able to boot from sda to both my old trusted F9 and the new 
>> F12.
>>
>> But now booting to F12 fails, can't find the files.
>>
>> sdb is partitioned with ext3 for /boot - sdb1 and the rest is LVM for /. 
>> All done by anaconda on the install.
>>
>> When I boot to F9, I can mount sdb1 and see the grub folder. But if I 
>> got to grub, find fails to see the grub folder on sdb1:
>>
>> grub> find /grub/device.map
>> find /grub/device.map
>>   (hd0,0)
>>
>> But, weirdly, if I cp device.map to the top folder on sdb1, grub does 
>> see it:
>>
>>   grub> find /device.map
>> find /device.map
>>   (hd1,0)
>>
>> Grub gets the geometry right:
>>
>> geometry (hd1)
>> drive 0x81: C/H/S = 9726/255/63, The number of sectors = 156250000, /dev/sdb
>>     Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
>>     Partition num: 1,  Filesystem type unknown, partition type 0x8e
>>
>> I've fsck'd sdb1.
>>
>> Any help appreciated. I'm clueless.
>>
>> sean
>>
>>   
> 
> Take a look at your grub config file on your boot disk, which I assume 
> is sda1. The entry for F12 has to point to sdb1 for the F12 files. Grub 
> nows nothing about the config files on the non-boot drive. It has to 
> find all it needs to know on the boot drive.
> 
> Mark

Right, of course.

Here's /boot/grub/grub.conf on sda1:

# grub.conf generated by anaconda
.........................
#boot=/dev/sda
default=saved
# default=0
fallback 0 1
timeout=5

title Fedora (2.6.27.25-78.2.56.fc9.i686)
	root (hd0,0)
	kernel /vmlinuz-2.6.27.25-78.2.56.fc9.i686 ro root=/dev/VolGroup00/LogVol00
	initrd /initrd-2.6.27.25-78.2.56.fc9.i686.img
         savedefault

title Fedora (2.6.27.24-78.2.53.fc9.i686)
	root (hd0,0)
	kernel /vmlinuz-2.6.27.24-78.2.53.fc9.i686 ro root=/dev/VolGroup00/LogVol00
	initrd /initrd-2.6.27.24-78.2.53.fc9.i686.img

title Fedora 12 (2.6.31.5-127.fc12.i686.PAE)
         root (hd1,0)
         kernel /vmlinuz-2.6.31.5-127.fc12.i686.PAE ro 
root=/dev/mapper/vg_server-lv_root  LANG=en_US.UTF-8 
SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
         initrd /initramfs-2.6.31.5-127.fc12.i686.PAE.img
         savedefault 0

And grub does find the kernel and initrd on (hd1,0)

grub> find /vmlinuz-2.6.31.5-127.fc12.i686.PAE
find /vmlinuz-2.6.31.5-127.fc12.i686.PAE
  (hd1,0)
grub> find /initramfs-2.6.31.5-127.fc12.i686.PAE.img
find /initramfs-2.6.31.5-127.fc12.i686.PAE.img
  (hd1,0)

So I'm beginning to think my problem is that grub just doesn't boot F12. 
As I said this is a remote server. And I want to make sure it's running 
_something_.

I've set up grub.conf with fallback and savedefault, as you can see. I 
then run "savedefault --default=2 --once" from the grub command line, 
and reboot.

Any thoughts? I'll start a new thread with better subject line.

Thanks,

sean

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux